.gitignore000064400000000521146412132660006537 0ustar00composer.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.dist000064400000005666146412132660007005 0ustar00setRiskyAllowed(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.md000064400000071731146412132660006733 0ustar002024-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. LICENSE000064400000026161146412132660005564 0ustar00 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.md000064400000001452146412132660006330 0ustar00[English](README.md) | 简体中文 ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg) # 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.md000064400000001476146412132660006040 0ustar00English | [简体中文](README-CN.md) ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg) # 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.php000064400000001066146412132660007075 0ustar005.5", "alibabacloud/darabonba-openapi": "^0.2.10", "alibabacloud/tea-utils": "^0.2.19", "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\\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\\Vapaas_1_0\\": "src/apaas_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vapp_market_1_0\\": "src/app_market_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_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\\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\\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\\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_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\\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.php000064400000011515146412132660012104 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CreateActivityRequest $request * @param CreateActivityHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateActivityRequest $request * * @return CreateActivityResponse */ public function createActivity($request) { $runtime = new RuntimeOptions([]); $headers = new CreateActivityHeaders([]); return $this->createActivityWithOptions($request, $headers, $runtime); } /** * @param ListActivityRequest $request * @param ListActivityHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListActivityRequest $request * * @return ListActivityResponse */ public function listActivity($request) { $runtime = new RuntimeOptions([]); $headers = new ListActivityHeaders([]); return $this->listActivityWithOptions($request, $headers, $runtime); } } src/activity_1_0/Models/CreateActivityHeaders.php000064400000002334146412132660016005 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001700146412132660016056 0ustar00 '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.php000064400000007751146412132660017334 0ustar00 '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.php000064400000003325146412132660020752 0ustar00 '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.php000064400000002726146412132660016235 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001543146412132660017047 0ustar00 '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.php000064400000002330146412132660015511 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002311146412132660015565 0ustar00 '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.php000064400000002716146412132660015744 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004001146412132660016547 0ustar00 '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_.php000064400000006605146412132660017675 0ustar00 '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/ai_paa_s_1_0/Dingtalk.php000064400000051731146412132660012010 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param ExecuteAgentRequest $request * @param ExecuteAgentHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ExecuteAgentRequest $request * * @return ExecuteAgentResponse */ public function executeAgent($request) { $runtime = new RuntimeOptions([]); $headers = new ExecuteAgentHeaders([]); return $this->executeAgentWithOptions($request, $headers, $runtime); } /** * @param LiandanTextImageGetRequest $request * @param LiandanTextImageGetHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param LiandanTextImageGetRequest $request * * @return LiandanTextImageGetResponse */ public function liandanTextImageGet($request) { $runtime = new RuntimeOptions([]); $headers = new LiandanTextImageGetHeaders([]); return $this->liandanTextImageGetWithOptions($request, $headers, $runtime); } /** * @param LiandanluExclusiveModelRequest $request * @param LiandanluExclusiveModelHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param LiandanluExclusiveModelRequest $request * * @return LiandanluExclusiveModelResponse */ public function liandanluExclusiveModel($request) { $runtime = new RuntimeOptions([]); $headers = new LiandanluExclusiveModelHeaders([]); return $this->liandanluExclusiveModelWithOptions($request, $headers, $runtime); } /** * @param LiandanluTextToImageModelRequest $request * @param LiandanluTextToImageModelHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param LiandanluTextToImageModelRequest $request * * @return LiandanluTextToImageModelResponse */ public function liandanluTextToImageModel($request) { $runtime = new RuntimeOptions([]); $headers = new LiandanluTextToImageModelHeaders([]); return $this->liandanluTextToImageModelWithOptions($request, $headers, $runtime); } /** * @param QueryBaymaxSkillLogRequest $request * @param QueryBaymaxSkillLogHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryBaymaxSkillLogRequest $request * * @return QueryBaymaxSkillLogResponse */ public function queryBaymaxSkillLog($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBaymaxSkillLogHeaders([]); return $this->queryBaymaxSkillLogWithOptions($request, $headers, $runtime); } /** * @param string $cid * @param QueryConversationMessageForAIRequest $tmpReq * @param QueryConversationMessageForAIHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $cid * @param QueryConversationMessageForAIRequest $request * * @return QueryConversationMessageForAIResponse */ public function queryConversationMessageForAI($cid, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryConversationMessageForAIHeaders([]); return $this->queryConversationMessageForAIWithOptions($cid, $request, $headers, $runtime); } /** * @param QueryMemoryLearningTaskRequest $request * @param QueryMemoryLearningTaskHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryMemoryLearningTaskRequest $request * * @return QueryMemoryLearningTaskResponse */ public function queryMemoryLearningTask($request) { $runtime = new RuntimeOptions([]); $headers = new QueryMemoryLearningTaskHeaders([]); return $this->queryMemoryLearningTaskWithOptions($request, $headers, $runtime); } /** * @param SubmitMemoryLearningTaskRequest $tmpReq * @param SubmitMemoryLearningTaskHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SubmitMemoryLearningTaskRequest $request * * @return 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.php000064400000002330146412132660015342 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004336146412132660015427 0ustar00 '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.php000064400000002646146412132660016753 0ustar00 '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.php000064400000002716146412132660015575 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001711146412132660016405 0ustar00 '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.php000064400000002214146412132660017722 0ustar00 '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.php000064400000002346146412132660016606 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002654146412132660016665 0ustar00 '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.php000064400000002752146412132660017032 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002272146412132660017645 0ustar00 '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.php000064400000002356146412132660017551 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003422146412132660017621 0ustar00 '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.php000064400000002772146412132660017776 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002547146412132660020614 0ustar00 '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.php000064400000002362146412132660017771 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004057146412132660020051 0ustar00 '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.php000064400000003002146412132660020204 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002442146412132660021031 0ustar00 '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.php000064400000002772146412132660022355 0ustar00 '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/QueryBaymaxSkillLogHeaders.php000064400000002346146412132660016700 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003353146412132660016754 0ustar00 '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.php000064400000002752146412132660017124 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001555146412132660017742 0ustar00 '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.php000064400000002372146412132660020655 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003472146412132660020734 0ustar00 '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.php000064400000003022146412132660021071 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002730146412132660021714 0ustar00 '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.php000064400000006404146412132660023525 0ustar00 '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.php000064400000003623146412132660025153 0ustar00 '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.php000064400000003621146412132660025003 0ustar00 '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.php000064400000003460146412132660022110 0ustar00 '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.php000064400000002356146412132660017572 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002251146412132660017641 0ustar00 '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.php000064400000002772146412132660020017 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001752146412132660020632 0ustar00 '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.php000064400000002121146412132660022137 0ustar00 '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.php000064400000002360146412132660017723 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003614146412132660020003 0ustar00 '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.php000064400000002233146412132660021451 0ustar00 '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.php000064400000002776146412132660020161 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001755146412132660020773 0ustar00 '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.php000064400000002640146412132660022303 0ustar00 '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.php000064400000003433146412132660021161 0ustar00 '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.php000064400000013176146412132660011177 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param NlpWordDistinguishRequest $request * @param NlpWordDistinguishHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param NlpWordDistinguishRequest $request * * @return NlpWordDistinguishResponse */ public function nlpWordDistinguish($request) { $runtime = new RuntimeOptions([]); $headers = new NlpWordDistinguishHeaders([]); return $this->nlpWordDistinguishWithOptions($request, $headers, $runtime); } /** * @param OkrOpenRecommendRequest $request * @param OkrOpenRecommendHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param OkrOpenRecommendRequest $request * * @return OkrOpenRecommendResponse */ public function okrOpenRecommend($request) { $runtime = new RuntimeOptions([]); $headers = new OkrOpenRecommendHeaders([]); return $this->okrOpenRecommendWithOptions($request, $headers, $runtime); } } src/algo_1_0/Models/NlpWordDistinguishHeaders.php000064400000002340146412132660015750 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003375146412132660016036 0ustar00 '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.php000064400000004342146412132660023122 0ustar00 '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.php000064400000002742146412132660016201 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003443146412132660017016 0ustar00 '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.php000064400000001454146412132660021476 0ustar00 '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.php000064400000002334146412132660015362 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000006105146412132660015437 0ustar00 '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.php000064400000003750146412132660021034 0ustar00 '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.php000064400000004744146412132660022632 0ustar00 '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.php000064400000002564146412132660025616 0ustar00 '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.php000064400000002732146412132660015607 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003574146412132660016432 0ustar00 '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.php000064400000007512146412132660022055 0ustar00 '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.php000064400000003006146412132660026545 0ustar00 '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.php000064400000003100146412132660026677 0ustar00 '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.php000064400000076645146412132660011733 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddCityCarApplyRequest $request * @param AddCityCarApplyHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AddCityCarApplyRequest $request * * @return AddCityCarApplyResponse */ public function addCityCarApply($request) { $runtime = new RuntimeOptions([]); $headers = new AddCityCarApplyHeaders([]); return $this->addCityCarApplyWithOptions($request, $headers, $runtime); } /** * @param ApproveCityCarApplyRequest $request * @param ApproveCityCarApplyHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ApproveCityCarApplyRequest $request * * @return ApproveCityCarApplyResponse */ public function approveCityCarApply($request) { $runtime = new RuntimeOptions([]); $headers = new ApproveCityCarApplyHeaders([]); return $this->approveCityCarApplyWithOptions($request, $headers, $runtime); } /** * @param BillSettementBtripTrainRequest $request * @param BillSettementBtripTrainHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BillSettementBtripTrainRequest $request * * @return BillSettementBtripTrainResponse */ public function billSettementBtripTrain($request) { $runtime = new RuntimeOptions([]); $headers = new BillSettementBtripTrainHeaders([]); return $this->billSettementBtripTrainWithOptions($request, $headers, $runtime); } /** * @param BillSettementCarRequest $request * @param BillSettementCarHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BillSettementCarRequest $request * * @return BillSettementCarResponse */ public function billSettementCar($request) { $runtime = new RuntimeOptions([]); $headers = new BillSettementCarHeaders([]); return $this->billSettementCarWithOptions($request, $headers, $runtime); } /** * @param BillSettementFlightRequest $request * @param BillSettementFlightHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BillSettementFlightRequest $request * * @return BillSettementFlightResponse */ public function billSettementFlight($request) { $runtime = new RuntimeOptions([]); $headers = new BillSettementFlightHeaders([]); return $this->billSettementFlightWithOptions($request, $headers, $runtime); } /** * @param BillSettementHotelRequest $request * @param BillSettementHotelHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BillSettementHotelRequest $request * * @return BillSettementHotelResponse */ public function billSettementHotel($request) { $runtime = new RuntimeOptions([]); $headers = new BillSettementHotelHeaders([]); return $this->billSettementHotelWithOptions($request, $headers, $runtime); } /** * @param GetFlightExceedApplyRequest $request * @param GetFlightExceedApplyHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetFlightExceedApplyRequest $request * * @return GetFlightExceedApplyResponse */ public function getFlightExceedApply($request) { $runtime = new RuntimeOptions([]); $headers = new GetFlightExceedApplyHeaders([]); return $this->getFlightExceedApplyWithOptions($request, $headers, $runtime); } /** * @param GetHotelExceedApplyRequest $request * @param GetHotelExceedApplyHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetHotelExceedApplyRequest $request * * @return GetHotelExceedApplyResponse */ public function getHotelExceedApply($request) { $runtime = new RuntimeOptions([]); $headers = new GetHotelExceedApplyHeaders([]); return $this->getHotelExceedApplyWithOptions($request, $headers, $runtime); } /** * @param GetTrainExceedApplyRequest $request * @param GetTrainExceedApplyHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetTrainExceedApplyRequest $request * * @return GetTrainExceedApplyResponse */ public function getTrainExceedApply($request) { $runtime = new RuntimeOptions([]); $headers = new GetTrainExceedApplyHeaders([]); return $this->getTrainExceedApplyWithOptions($request, $headers, $runtime); } /** * @param QueryCityCarApplyRequest $request * @param QueryCityCarApplyHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCityCarApplyRequest $request * * @return QueryCityCarApplyResponse */ public function queryCityCarApply($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCityCarApplyHeaders([]); return $this->queryCityCarApplyWithOptions($request, $headers, $runtime); } /** * @param QueryUnionOrderRequest $request * @param QueryUnionOrderHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryUnionOrderRequest $request * * @return QueryUnionOrderResponse */ public function queryUnionOrder($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUnionOrderHeaders([]); return $this->queryUnionOrderWithOptions($request, $headers, $runtime); } /** * @param SyncExceedApplyRequest $request * @param SyncExceedApplyHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SyncExceedApplyRequest $request * * @return SyncExceedApplyResponse */ public function syncExceedApply($request) { $runtime = new RuntimeOptions([]); $headers = new SyncExceedApplyHeaders([]); return $this->syncExceedApplyWithOptions($request, $headers, $runtime); } } src/alitrip_1_0/Models/AddCityCarApplyHeaders.php000064400000002335146412132660015653 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000013656146412132660015740 0ustar00 '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.php000064400000002731146412132660016076 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001537146412132660016717 0ustar00 '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.php000064400000002345146412132660016600 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004757146412132660016666 0ustar00 '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.php000064400000002751146412132660017024 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001641146412132660017637 0ustar00 '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.php000064400000002355146412132660017452 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004441146412132660017525 0ustar00 '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.php000064400000002771146412132660017677 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003535146412132660020514 0ustar00 '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.php000064400000005561146412132660022002 0ustar00 '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.php000064400000040314146412132660023542 0ustar00 '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.php000064400000002337146412132660016101 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004423146412132660016154 0ustar00 '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.php000064400000002735146412132660016326 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003510146412132660017134 0ustar00 '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.php000064400000005543146412132660020431 0ustar00 '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.php000064400000045160146412132660022175 0ustar00 '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.php000064400000002345146412132660016610 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004707146412132660016671 0ustar00 '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.php000064400000002751146412132660017034 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003521146412132660017646 0ustar00 '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.php000064400000005551146412132660021140 0ustar00 '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.php000064400000056577146412132660022723 0ustar00 '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.php000064400000002343146412132660016444 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004705146412132660016525 0ustar00 '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.php000064400000002745146412132660016675 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003516146412132660017510 0ustar00 '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.php000064400000005547146412132660021003 0ustar00 '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.php000064400000042054146412132660022542 0ustar00 '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.php000064400000002347146412132660016702 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002224146412132660016751 0ustar00 '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.php000064400000002755146412132660017130 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000011040146412132660017731 0ustar00 '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.php000064400000011235146412132660024013 0ustar00 '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.php000064400000002345146412132660016536 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002224146412132660016607 0ustar00 '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.php000064400000002751146412132660016762 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000011012146412132660017566 0ustar00 '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.php000064400000005254146412132660023655 0ustar00 '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.php000064400000002345146412132660016540 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002223146412132660016610 0ustar00 '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.php000064400000002751146412132660016764 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000011017146412132660017575 0ustar00 '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.php000064400000010665146412132660023661 0ustar00 '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.php000064400000002341146412132660016265 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005637146412132660016355 0ustar00 '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.php000064400000002741146412132660016514 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003344146412132660017332 0ustar00 '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.php000064400000014155146412132660021315 0ustar00 '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.php000064400000005320146412132660024001 0ustar00 '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.php000064400000012346146412132660024157 0ustar00 '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.php000064400000002335146412132660016010 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003217146412132660016065 0ustar00 '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.php000064400000002731146412132660016233 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000010722146412132660017050 0ustar00 '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.php000064400000002435146412132660021163 0ustar00 '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.php000064400000002412146412132660021014 0ustar00 '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.php000064400000002413146412132660021017 0ustar00 '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.php000064400000002461146412132660021324 0ustar00 '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.php000064400000002335146412132660015736 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004675146412132660016024 0ustar00 '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.php000064400000002731146412132660016161 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001532146412132660016775 0ustar00 '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/apaas_1_0/Dingtalk.php000064400000033452146412132660011341 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param BatchCreateTemplateRequest $request * @param BatchCreateTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchCreateTemplateRequest $request * * @return BatchCreateTemplateResponse */ public function batchCreateTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new BatchCreateTemplateHeaders([]); return $this->batchCreateTemplateWithOptions($request, $headers, $runtime); } /** * @param BatchQueryByTemplateKeyRequest $request * @param BatchQueryByTemplateKeyHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchQueryByTemplateKeyRequest $request * * @return BatchQueryByTemplateKeyResponse */ public function batchQueryByTemplateKey($request) { $runtime = new RuntimeOptions([]); $headers = new BatchQueryByTemplateKeyHeaders([]); return $this->batchQueryByTemplateKeyWithOptions($request, $headers, $runtime); } /** * @param BatchUpdateTemplateRequest $request * @param BatchUpdateTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchUpdateTemplateRequest $request * * @return BatchUpdateTemplateResponse */ public function batchUpdateTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new BatchUpdateTemplateHeaders([]); return $this->batchUpdateTemplateWithOptions($request, $headers, $runtime); } /** * @param QueryIndustryTagListHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return QueryIndustryTagListResponse */ public function queryIndustryTagList() { $runtime = new RuntimeOptions([]); $headers = new QueryIndustryTagListHeaders([]); return $this->queryIndustryTagListWithOptions($headers, $runtime); } /** * @param QueryRoleTagListHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return QueryRoleTagListResponse */ public function queryRoleTagList() { $runtime = new RuntimeOptions([]); $headers = new QueryRoleTagListHeaders([]); return $this->queryRoleTagListWithOptions($headers, $runtime); } /** * @param QueryTemplateCategorysHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return QueryTemplateCategorysResponse */ public function queryTemplateCategorys() { $runtime = new RuntimeOptions([]); $headers = new QueryTemplateCategorysHeaders([]); return $this->queryTemplateCategorysWithOptions($headers, $runtime); } /** * @param RecallAuditTemplateRequest $request * @param RecallAuditTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param RecallAuditTemplateRequest $request * * @return RecallAuditTemplateResponse */ public function recallAuditTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new RecallAuditTemplateHeaders([]); return $this->recallAuditTemplateWithOptions($request, $headers, $runtime); } } src/apaas_1_0/Models/BatchCreateTemplateHeaders.php000064400000002343146412132660016157 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002755146412132660016243 0ustar00 '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.php000064400000015654146412132660020714 0ustar00 '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.php000064400000002747146412132660016412 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003104146412132660017214 0ustar00 '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.php000064400000002200146412132660022506 0ustar00 '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.php000064400000002353146412132660017026 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001676146412132660017112 0ustar00 '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.php000064400000002767146412132660017262 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003010146412132660020056 0ustar00 '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.php000064400000015626146412132660022545 0ustar00 '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.php000064400000002343146412132660016176 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002755146412132660016262 0ustar00 '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.php000064400000015130146412132660020720 0ustar00 '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.php000064400000002747146412132660016431 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003104146412132660017233 0ustar00 '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.php000064400000002200146412132660022544 0ustar00 '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.php000064400000002345146412132660016457 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002753146412132660016705 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001702146412132660017514 0ustar00 '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.php000064400000002335146412132660015536 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002733146412132660015763 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001622146412132660016575 0ustar00 '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.php000064400000002351146412132660016777 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002763146412132660017231 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003452146412132660020043 0ustar00 '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.php000064400000002172146412132660022512 0ustar00 '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.php000064400000002343146412132660016203 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001666146412132660016267 0ustar00 '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.php000064400000002747146412132660016436 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002774146412132660017254 0ustar00 '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.php000064400000002304146412132660021702 0ustar00 '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.php000064400000033763146412132660012404 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CreateAppGoodsServiceConversationRequest $request * @param CreateAppGoodsServiceConversationHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateAppGoodsServiceConversationRequest $request * * @return CreateAppGoodsServiceConversationResponse */ public function createAppGoodsServiceConversation($request) { $runtime = new RuntimeOptions([]); $headers = new CreateAppGoodsServiceConversationHeaders([]); return $this->createAppGoodsServiceConversationWithOptions($request, $headers, $runtime); } /** * @param GetCoolAppAccessStatusRequest $request * @param GetCoolAppAccessStatusHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetCoolAppAccessStatusRequest $request * * @return GetCoolAppAccessStatusResponse */ public function getCoolAppAccessStatus($request) { $runtime = new RuntimeOptions([]); $headers = new GetCoolAppAccessStatusHeaders([]); return $this->getCoolAppAccessStatusWithOptions($request, $headers, $runtime); } /** * @param GetInAppSkuUrlRequest $request * @param GetInAppSkuUrlHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetInAppSkuUrlRequest $request * * @return GetInAppSkuUrlResponse */ public function getInAppSkuUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetInAppSkuUrlHeaders([]); return $this->getInAppSkuUrlWithOptions($request, $headers, $runtime); } /** * @param GetPersonalExperienceInfoRequest $request * @param GetPersonalExperienceInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetPersonalExperienceInfoRequest $request * * @return GetPersonalExperienceInfoResponse */ public function getPersonalExperienceInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetPersonalExperienceInfoHeaders([]); return $this->getPersonalExperienceInfoWithOptions($request, $headers, $runtime); } /** * @param string $orderId * @param QueryMarketOrderHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $orderId * * @return QueryMarketOrderResponse */ public function queryMarketOrder($orderId) { $runtime = new RuntimeOptions([]); $headers = new QueryMarketOrderHeaders([]); return $this->queryMarketOrderWithOptions($orderId, $headers, $runtime); } /** * @param UserTaskReportRequest $request * @param UserTaskReportHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UserTaskReportRequest $request * * @return UserTaskReportResponse */ public function userTaskReport($request) { $runtime = new RuntimeOptions([]); $headers = new UserTaskReportHeaders([]); return $this->userTaskReportWithOptions($request, $headers, $runtime); } } src/app_market_1_0/Models/CreateAppGoodsServiceConversationHeaders.php000064400000002404146412132660022126 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002216146412132660022204 0ustar00 '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.php000064400000003044146412132660022352 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002437146412132660023175 0ustar00 '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.php000064400000002356146412132660017703 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003243146412132660017754 0ustar00 '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.php000064400000002770146412132660020126 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001521146412132660020735 0ustar00 '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.php000064400000002336146412132660016173 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003371146412132660016250 0ustar00 '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.php000064400000002730146412132660016414 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001446146412132660017235 0ustar00 '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.php000064400000002364146412132660020426 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001515146412132660020500 0ustar00 '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.php000064400000003004146412132660020641 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001764146412132660021472 0ustar00 '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.php000064400000001603146412132660023000 0ustar00 '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.php000064400000002342146412132660016620 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002740146412132660017045 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000012377146412132660017672 0ustar00 '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.php000064400000002336146412132660016313 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003460146412132660016367 0ustar00 '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.php000064400000002566146412132660016543 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function 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/ats_1_0/Dingtalk.php000064400000150154146412132660011042 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddApplicationRegFormTemplateRequest $request * @param AddApplicationRegFormTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AddApplicationRegFormTemplateRequest $request * * @return AddApplicationRegFormTemplateResponse */ public function addApplicationRegFormTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new AddApplicationRegFormTemplateHeaders([]); return $this->addApplicationRegFormTemplateWithOptions($request, $headers, $runtime); } /** * @param AddFileRequest $request * @param AddFileHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AddFileRequest $request * * @return AddFileResponse */ public function addFile($request) { $runtime = new RuntimeOptions([]); $headers = new AddFileHeaders([]); return $this->addFileWithOptions($request, $headers, $runtime); } /** * @param AddUserAccountRequest $request * @param AddUserAccountHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AddUserAccountRequest $request * * @return AddUserAccountResponse */ public function addUserAccount($request) { $runtime = new RuntimeOptions([]); $headers = new AddUserAccountHeaders([]); return $this->addUserAccountWithOptions($request, $headers, $runtime); } /** * @param CollectRecruitJobDetailRequest $request * @param CollectRecruitJobDetailHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CollectRecruitJobDetailRequest $request * * @return CollectRecruitJobDetailResponse */ public function collectRecruitJobDetail($request) { $runtime = new RuntimeOptions([]); $headers = new CollectRecruitJobDetailHeaders([]); return $this->collectRecruitJobDetailWithOptions($request, $headers, $runtime); } /** * @param CollectResumeDetailRequest $request * @param CollectResumeDetailHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CollectResumeDetailRequest $request * * @return CollectResumeDetailResponse */ public function collectResumeDetail($request) { $runtime = new RuntimeOptions([]); $headers = new CollectResumeDetailHeaders([]); return $this->collectResumeDetailWithOptions($request, $headers, $runtime); } /** * @param CollectResumeMailRequest $request * @param CollectResumeMailHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CollectResumeMailRequest $request * * @return CollectResumeMailResponse */ public function collectResumeMail($request) { $runtime = new RuntimeOptions([]); $headers = new CollectResumeMailHeaders([]); return $this->collectResumeMailWithOptions($request, $headers, $runtime); } /** * @param string $rightsCode * @param ConfirmRightsRequest $request * @param ConfirmRightsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $rightsCode * @param ConfirmRightsRequest $request * * @return ConfirmRightsResponse */ public function confirmRights($rightsCode, $request) { $runtime = new RuntimeOptions([]); $headers = new ConfirmRightsHeaders([]); return $this->confirmRightsWithOptions($rightsCode, $request, $headers, $runtime); } /** * @param string $taskCode * @param FinishBeginnerTaskRequest $request * @param FinishBeginnerTaskHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $taskCode * @param FinishBeginnerTaskRequest $request * * @return FinishBeginnerTaskResponse */ public function finishBeginnerTask($taskCode, $request) { $runtime = new RuntimeOptions([]); $headers = new FinishBeginnerTaskHeaders([]); return $this->finishBeginnerTaskWithOptions($taskCode, $request, $headers, $runtime); } /** * @param string $flowId * @param GetApplicationRegFormByFlowIdRequest $request * @param GetApplicationRegFormByFlowIdHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $flowId * @param GetApplicationRegFormByFlowIdRequest $request * * @return GetApplicationRegFormByFlowIdResponse */ public function getApplicationRegFormByFlowId($flowId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetApplicationRegFormByFlowIdHeaders([]); return $this->getApplicationRegFormByFlowIdWithOptions($flowId, $request, $headers, $runtime); } /** * @param GetCandidateByPhoneNumberRequest $request * @param GetCandidateByPhoneNumberHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetCandidateByPhoneNumberRequest $request * * @return GetCandidateByPhoneNumberResponse */ public function getCandidateByPhoneNumber($request) { $runtime = new RuntimeOptions([]); $headers = new GetCandidateByPhoneNumberHeaders([]); return $this->getCandidateByPhoneNumberWithOptions($request, $headers, $runtime); } /** * @param GetFileUploadInfoRequest $request * @param GetFileUploadInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetFileUploadInfoRequest $request * * @return GetFileUploadInfoResponse */ public function getFileUploadInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetFileUploadInfoHeaders([]); return $this->getFileUploadInfoWithOptions($request, $headers, $runtime); } /** * @param GetFlowIdByRelationEntityIdRequest $request * @param GetFlowIdByRelationEntityIdHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetFlowIdByRelationEntityIdRequest $request * * @return GetFlowIdByRelationEntityIdResponse */ public function getFlowIdByRelationEntityId($request) { $runtime = new RuntimeOptions([]); $headers = new GetFlowIdByRelationEntityIdHeaders([]); return $this->getFlowIdByRelationEntityIdWithOptions($request, $headers, $runtime); } /** * @param string $jobId * @param GetJobAuthRequest $request * @param GetJobAuthHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $jobId * @param GetJobAuthRequest $request * * @return GetJobAuthResponse */ public function getJobAuth($jobId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetJobAuthHeaders([]); return $this->getJobAuthWithOptions($jobId, $request, $headers, $runtime); } /** * @param QueryCandidatesRequest $request * @param QueryCandidatesHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCandidatesRequest $request * * @return QueryCandidatesResponse */ public function queryCandidates($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCandidatesHeaders([]); return $this->queryCandidatesWithOptions($request, $headers, $runtime); } /** * @param QueryInterviewsRequest $request * @param QueryInterviewsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryInterviewsRequest $request * * @return QueryInterviewsResponse */ public function queryInterviews($request) { $runtime = new RuntimeOptions([]); $headers = new QueryInterviewsHeaders([]); return $this->queryInterviewsWithOptions($request, $headers, $runtime); } /** * @param ReportMessageStatusRequest $request * @param ReportMessageStatusHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ReportMessageStatusRequest $request * * @return ReportMessageStatusResponse */ public function reportMessageStatus($request) { $runtime = new RuntimeOptions([]); $headers = new ReportMessageStatusHeaders([]); return $this->reportMessageStatusWithOptions($request, $headers, $runtime); } /** * @param SyncChannelMessageRequest $request * @param SyncChannelMessageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SyncChannelMessageRequest $request * * @return SyncChannelMessageResponse */ public function syncChannelMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SyncChannelMessageHeaders([]); return $this->syncChannelMessageWithOptions($request, $headers, $runtime); } /** * @param string $flowId * @param UpdateApplicationRegFormRequest $request * @param UpdateApplicationRegFormHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $flowId * @param UpdateApplicationRegFormRequest $request * * @return UpdateApplicationRegFormResponse */ public function updateApplicationRegForm($flowId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateApplicationRegFormHeaders([]); return $this->updateApplicationRegFormWithOptions($flowId, $request, $headers, $runtime); } /** * @param string $interviewId * @param UpdateInterviewSignInInfoRequest $request * @param UpdateInterviewSignInInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $interviewId * @param UpdateInterviewSignInInfoRequest $request * * @return UpdateInterviewSignInInfoResponse */ public function updateInterviewSignInInfo($interviewId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInterviewSignInInfoHeaders([]); return $this->updateInterviewSignInInfoWithOptions($interviewId, $request, $headers, $runtime); } /** * @param UpdateJobDeliverRequest $request * @param UpdateJobDeliverHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateJobDeliverRequest $request * * @return UpdateJobDeliverResponse */ public function updateJobDeliver($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateJobDeliverHeaders([]); return $this->updateJobDeliverWithOptions($request, $headers, $runtime); } } src/ats_1_0/Models/AddApplicationRegFormTemplateHeaders.php000064400000002365146412132660017656 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004111146412132660017722 0ustar00 '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.php000064400000003015146412132660020072 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002312146412132660020707 0ustar00 '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.php000064400000002311146412132660013303 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003406146412132660013366 0ustar00 '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.php000064400000002665146412132660013542 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002706146412132660014354 0ustar00 '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.php000064400000002327146412132660014666 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005224146412132660014742 0ustar00 '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.php000064400000002721146412132660015107 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001501146412132660015720 0ustar00 '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.php000064400000002351146412132660016520 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000006701146412132660016600 0ustar00 '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.php000064400000012716146412132660020171 0ustar00 '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.php000064400000005452146412132660021615 0ustar00 '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.php000064400000003224146412132660022560 0ustar00 '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.php000064400000010210146412132660022555 0ustar00 '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.php000064400000003523146412132660021727 0ustar00 '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.php000064400000002765146412132660016754 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001512146412132660017557 0ustar00 '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.php000064400000002341146412132660015707 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000007732146412132660015775 0ustar00 '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.php000064400000015032146412132660020057 0ustar00 '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.php000064400000017303146412132660021610 0ustar00 '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.php000064400000002420146412132660022521 0ustar00 '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.php000064400000005513146412132660024230 0ustar00 '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.php000064400000004315146412132660022004 0ustar00 '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.php000064400000002446146412132660022646 0ustar00 '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.php000064400000005210146412132660024062 0ustar00 '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.php000064400000006470146412132660023242 0ustar00 '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.php000064400000003012146412132660020060 0ustar00 '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.php000064400000002745146412132660016142 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001526146412132660016754 0ustar00 '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.php000064400000002335146412132660015372 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000012352146412132660015447 0ustar00 '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.php000064400000003022146412132660017541 0ustar00 '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.php000064400000002735146412132660015621 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001522146412132660016430 0ustar00 '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.php000064400000002325146412132660014576 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001524146412132660014653 0ustar00 '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.php000064400000002715146412132660015024 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001522146412132660015635 0ustar00 '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.php000064400000002337146412132660015540 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002215146412132660015610 0ustar00 '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.php000064400000002741146412132660015762 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001534146412132660016577 0ustar00 '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.php000064400000002365146412132660017611 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001564146412132660017666 0ustar00 '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.php000064400000003015146412132660020025 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000007721146412132660020653 0ustar00 '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.php000064400000002355146412132660016775 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002316146412132660017047 0ustar00 '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.php000064400000002775146412132660017226 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002271146412132660020033 0ustar00 '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.php000064400000002335146412132660015321 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004063146412132660015376 0ustar00 '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.php000064400000002735146412132660015550 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000006153146412132660016364 0ustar00 '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.php000064400000002361146412132660017307 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003165146412132660017367 0ustar00 '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.php000064400000003005146412132660017526 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001557146412132660020356 0ustar00 '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.php000064400000002317146412132660014015 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001472146412132660014073 0ustar00 '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.php000064400000002701146412132660014235 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003260146412132660015054 0ustar00 '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.php000064400000002055146412132660017025 0ustar00 '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/QueryCandidatesHeaders.php000064400000002331146412132660015102 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003464146412132660015167 0ustar00 '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.php000064400000002725146412132660015334 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004414146412132660016147 0ustar00 '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_.php000064400000003536146412132660017265 0ustar00 '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.php000064400000002331146412132660015202 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005202146412132660015257 0ustar00 '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.php000064400000002725146412132660015434 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004456146412132660016255 0ustar00 '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_.php000064400000007017146412132660017363 0ustar00 '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.php000064400000001533146412132660022106 0ustar00 '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.php000064400000002341146412132660016002 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005627146412132660016071 0ustar00 '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.php000064400000002745146412132660016235 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001504146412132660017043 0ustar00 '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.php000064400000002337146412132660015535 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005623146412132660015613 0ustar00 '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.php000064400000002741146412132660015757 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001502146412132660016567 0ustar00 '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.php000064400000002353146412132660016711 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003217146412132660016766 0ustar00 '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.php000064400000004154146412132660021147 0ustar00 '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.php000064400000002771146412132660017140 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000006004146412132660017747 0ustar00 '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.php000064400000002355146412132660017066 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002377146412132660017147 0ustar00 '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.php000064400000002205146412132660017303 0ustar00 '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.php000064400000002333146412132660015207 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000006757146412132660015302 0ustar00 '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.php000064400000002731146412132660015434 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001505146412132660016250 0ustar00 '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.php000064400000324740146412132660012365 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddLeaveTypeRequest $request * @param AddLeaveTypeHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AddLeaveTypeRequest $request * * @return AddLeaveTypeResponse */ public function addLeaveType($request) { $runtime = new RuntimeOptions([]); $headers = new AddLeaveTypeHeaders([]); return $this->addLeaveTypeWithOptions($request, $headers, $runtime); } /** * @param AttendanceBleDevicesAddRequest $request * @param AttendanceBleDevicesAddHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AttendanceBleDevicesAddRequest $request * * @return AttendanceBleDevicesAddResponse */ public function attendanceBleDevicesAdd($request) { $runtime = new RuntimeOptions([]); $headers = new AttendanceBleDevicesAddHeaders([]); return $this->attendanceBleDevicesAddWithOptions($request, $headers, $runtime); } /** * @param AttendanceBleDevicesQueryRequest $request * @param AttendanceBleDevicesQueryHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AttendanceBleDevicesQueryRequest $request * * @return AttendanceBleDevicesQueryResponse */ public function attendanceBleDevicesQuery($request) { $runtime = new RuntimeOptions([]); $headers = new AttendanceBleDevicesQueryHeaders([]); return $this->attendanceBleDevicesQueryWithOptions($request, $headers, $runtime); } /** * @param AttendanceBleDevicesRemoveRequest $request * @param AttendanceBleDevicesRemoveHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AttendanceBleDevicesRemoveRequest $request * * @return AttendanceBleDevicesRemoveResponse */ public function attendanceBleDevicesRemove($request) { $runtime = new RuntimeOptions([]); $headers = new AttendanceBleDevicesRemoveHeaders([]); return $this->attendanceBleDevicesRemoveWithOptions($request, $headers, $runtime); } /** * @param BatchBossCheckRequest $request * @param BatchBossCheckHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchBossCheckRequest $request * * @return BatchBossCheckResponse */ public function batchBossCheck($request) { $runtime = new RuntimeOptions([]); $headers = new BatchBossCheckHeaders([]); return $this->batchBossCheckWithOptions($request, $headers, $runtime); } /** * @param CalculateDurationRequest $request * @param CalculateDurationHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CalculateDurationRequest $request * * @return CalculateDurationResponse */ public function calculateDuration($request) { $runtime = new RuntimeOptions([]); $headers = new CalculateDurationHeaders([]); return $this->calculateDurationWithOptions($request, $headers, $runtime); } /** * @param CheckClosingAccountRequest $request * @param CheckClosingAccountHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CheckClosingAccountRequest $request * * @return CheckClosingAccountResponse */ public function checkClosingAccount($request) { $runtime = new RuntimeOptions([]); $headers = new CheckClosingAccountHeaders([]); return $this->checkClosingAccountWithOptions($request, $headers, $runtime); } /** * @param CheckWritePermissionRequest $request * @param CheckWritePermissionHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CheckWritePermissionRequest $request * * @return CheckWritePermissionResponse */ public function checkWritePermission($request) { $runtime = new RuntimeOptions([]); $headers = new CheckWritePermissionHeaders([]); return $this->checkWritePermissionWithOptions($request, $headers, $runtime); } /** * @param CreateApproveRequest $request * @param CreateApproveHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateApproveRequest $request * * @return CreateApproveResponse */ public function createApprove($request) { $runtime = new RuntimeOptions([]); $headers = new CreateApproveHeaders([]); return $this->createApproveWithOptions($request, $headers, $runtime); } /** * @param string $unionId * @param DeleteLeaveRequestRequest $request * @param DeleteLeaveRequestHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $unionId * @param DeleteLeaveRequestRequest $request * * @return DeleteLeaveRequestResponse */ public function deleteLeaveRequest($unionId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteLeaveRequestHeaders([]); return $this->deleteLeaveRequestWithOptions($unionId, $request, $headers, $runtime); } /** * @param DeleteWaterMarkTemplateRequest $request * @param DeleteWaterMarkTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param DeleteWaterMarkTemplateRequest $request * * @return DeleteWaterMarkTemplateResponse */ public function deleteWaterMarkTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteWaterMarkTemplateHeaders([]); return $this->deleteWaterMarkTemplateWithOptions($request, $headers, $runtime); } /** * @param DingTalkSecurityCheckRequest $request * @param DingTalkSecurityCheckHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param DingTalkSecurityCheckRequest $request * * @return DingTalkSecurityCheckResponse */ public function dingTalkSecurityCheck($request) { $runtime = new RuntimeOptions([]); $headers = new DingTalkSecurityCheckHeaders([]); return $this->dingTalkSecurityCheckWithOptions($request, $headers, $runtime); } /** * @param GetATManageScopeRequest $request * @param GetATManageScopeHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetATManageScopeRequest $request * * @return GetATManageScopeResponse */ public function getATManageScope($request) { $runtime = new RuntimeOptions([]); $headers = new GetATManageScopeHeaders([]); return $this->getATManageScopeWithOptions($request, $headers, $runtime); } /** * @param GetAdjustmentsRequest $request * @param GetAdjustmentsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetAdjustmentsRequest $request * * @return GetAdjustmentsResponse */ public function getAdjustments($request) { $runtime = new RuntimeOptions([]); $headers = new GetAdjustmentsHeaders([]); return $this->getAdjustmentsWithOptions($request, $headers, $runtime); } /** * @param GetCheckInSchemaTemplateRequest $request * @param GetCheckInSchemaTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetCheckInSchemaTemplateRequest $request * * @return GetCheckInSchemaTemplateResponse */ public function getCheckInSchemaTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new GetCheckInSchemaTemplateHeaders([]); return $this->getCheckInSchemaTemplateWithOptions($request, $headers, $runtime); } /** * @param GetCheckinRecordByUserRequest $request * @param GetCheckinRecordByUserHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetCheckinRecordByUserRequest $request * * @return GetCheckinRecordByUserResponse */ public function getCheckinRecordByUser($request) { $runtime = new RuntimeOptions([]); $headers = new GetCheckinRecordByUserHeaders([]); return $this->getCheckinRecordByUserWithOptions($request, $headers, $runtime); } /** * @param string $classId * @param GetClassWithDeletedHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $classId * * @return GetClassWithDeletedResponse */ public function getClassWithDeleted($classId) { $runtime = new RuntimeOptions([]); $headers = new GetClassWithDeletedHeaders([]); return $this->getClassWithDeletedWithOptions($classId, $headers, $runtime); } /** * @param GetClosingAccountsRequest $request * @param GetClosingAccountsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetClosingAccountsRequest $request * * @return GetClosingAccountsResponse */ public function getClosingAccounts($request) { $runtime = new RuntimeOptions([]); $headers = new GetClosingAccountsHeaders([]); return $this->getClosingAccountsWithOptions($request, $headers, $runtime); } /** * @param GetLeaveRecordsRequest $request * @param GetLeaveRecordsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetLeaveRecordsRequest $request * * @return GetLeaveRecordsResponse */ public function getLeaveRecords($request) { $runtime = new RuntimeOptions([]); $headers = new GetLeaveRecordsHeaders([]); return $this->getLeaveRecordsWithOptions($request, $headers, $runtime); } /** * @param GetLeaveTypeRequest $request * @param GetLeaveTypeHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetLeaveTypeRequest $request * * @return GetLeaveTypeResponse */ public function getLeaveType($request) { $runtime = new RuntimeOptions([]); $headers = new GetLeaveTypeHeaders([]); return $this->getLeaveTypeWithOptions($request, $headers, $runtime); } /** * @param string $devId * @param GetMachineHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $devId * * @return GetMachineResponse */ public function getMachine($devId) { $runtime = new RuntimeOptions([]); $headers = new GetMachineHeaders([]); return $this->getMachineWithOptions($devId, $headers, $runtime); } /** * @param string $devId * @param GetMachineUserRequest $request * @param GetMachineUserHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $devId * @param GetMachineUserRequest $request * * @return GetMachineUserResponse */ public function getMachineUser($devId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetMachineUserHeaders([]); return $this->getMachineUserWithOptions($devId, $request, $headers, $runtime); } /** * @param GetOvertimeSettingRequest $request * @param GetOvertimeSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetOvertimeSettingRequest $request * * @return GetOvertimeSettingResponse */ public function getOvertimeSetting($request) { $runtime = new RuntimeOptions([]); $headers = new GetOvertimeSettingHeaders([]); return $this->getOvertimeSettingWithOptions($request, $headers, $runtime); } /** * @param GetShiftRequest $request * @param GetShiftHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetShiftRequest $request * * @return GetShiftResponse */ public function getShift($request) { $runtime = new RuntimeOptions([]); $headers = new GetShiftHeaders([]); return $this->getShiftWithOptions($request, $headers, $runtime); } /** * @param GetSimpleGroupsRequest $request * @param GetSimpleGroupsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetSimpleGroupsRequest $request * * @return GetSimpleGroupsResponse */ public function getSimpleGroups($request) { $runtime = new RuntimeOptions([]); $headers = new GetSimpleGroupsHeaders([]); return $this->getSimpleGroupsWithOptions($request, $headers, $runtime); } /** * @param GetSimpleOvertimeSettingRequest $request * @param GetSimpleOvertimeSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetSimpleOvertimeSettingRequest $request * * @return GetSimpleOvertimeSettingResponse */ public function getSimpleOvertimeSetting($request) { $runtime = new RuntimeOptions([]); $headers = new GetSimpleOvertimeSettingHeaders([]); return $this->getSimpleOvertimeSettingWithOptions($request, $headers, $runtime); } /** * @param GetUserHolidaysRequest $request * @param GetUserHolidaysHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetUserHolidaysRequest $request * * @return GetUserHolidaysResponse */ public function getUserHolidays($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserHolidaysHeaders([]); return $this->getUserHolidaysWithOptions($request, $headers, $runtime); } /** * @param GroupAddRequest $request * @param GroupAddHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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)); } /** * @param GroupAddRequest $request * * @return GroupAddResponse */ public function groupAdd($request) { $runtime = new RuntimeOptions([]); $headers = new GroupAddHeaders([]); return $this->groupAddWithOptions($request, $headers, $runtime); } /** * @param GroupUpdateRequest $request * @param GroupUpdateHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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->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)); } /** * @param GroupUpdateRequest $request * * @return GroupUpdateResponse */ public function groupUpdate($request) { $runtime = new RuntimeOptions([]); $headers = new GroupUpdateHeaders([]); return $this->groupUpdateWithOptions($request, $headers, $runtime); } /** * @param InitAndGetLeaveALlocationQuotasRequest $request * @param InitAndGetLeaveALlocationQuotasHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param InitAndGetLeaveALlocationQuotasRequest $request * * @return InitAndGetLeaveALlocationQuotasResponse */ public function initAndGetLeaveALlocationQuotas($request) { $runtime = new RuntimeOptions([]); $headers = new InitAndGetLeaveALlocationQuotasHeaders([]); return $this->initAndGetLeaveALlocationQuotasWithOptions($request, $headers, $runtime); } /** * @param ListApproveByUsersRequest $request * @param ListApproveByUsersHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListApproveByUsersRequest $request * * @return ListApproveByUsersResponse */ public function listApproveByUsers($request) { $runtime = new RuntimeOptions([]); $headers = new ListApproveByUsersHeaders([]); return $this->listApproveByUsersWithOptions($request, $headers, $runtime); } /** * @param ModifyWaterMarkTemplateRequest $request * @param ModifyWaterMarkTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ModifyWaterMarkTemplateRequest $request * * @return ModifyWaterMarkTemplateResponse */ public function modifyWaterMarkTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new ModifyWaterMarkTemplateHeaders([]); return $this->modifyWaterMarkTemplateWithOptions($request, $headers, $runtime); } /** * @param ProcessApproveCreateRequest $request * @param ProcessApproveCreateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ProcessApproveCreateRequest $request * * @return ProcessApproveCreateResponse */ public function processApproveCreate($request) { $runtime = new RuntimeOptions([]); $headers = new ProcessApproveCreateHeaders([]); return $this->processApproveCreateWithOptions($request, $headers, $runtime); } /** * @param ProcessApproveFinishRequest $request * @param ProcessApproveFinishHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ProcessApproveFinishRequest $request * * @return ProcessApproveFinishResponse */ public function processApproveFinish($request) { $runtime = new RuntimeOptions([]); $headers = new ProcessApproveFinishHeaders([]); return $this->processApproveFinishWithOptions($request, $headers, $runtime); } /** * @param string $unionId * @param ReduceQuotaWithLeaveRecordRequest $request * @param ReduceQuotaWithLeaveRecordHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $unionId * @param ReduceQuotaWithLeaveRecordRequest $request * * @return ReduceQuotaWithLeaveRecordResponse */ public function reduceQuotaWithLeaveRecord($unionId, $request) { $runtime = new RuntimeOptions([]); $headers = new ReduceQuotaWithLeaveRecordHeaders([]); return $this->reduceQuotaWithLeaveRecordWithOptions($unionId, $request, $headers, $runtime); } /** * @param RetainLeaveTypesRequest $request * @param RetainLeaveTypesHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param RetainLeaveTypesRequest $request * * @return RetainLeaveTypesResponse */ public function retainLeaveTypes($request) { $runtime = new RuntimeOptions([]); $headers = new RetainLeaveTypesHeaders([]); return $this->retainLeaveTypesWithOptions($request, $headers, $runtime); } /** * @param ReverseTrialAdvancedLeaveRequest $request * @param ReverseTrialAdvancedLeaveHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ReverseTrialAdvancedLeaveRequest $request * * @return ReverseTrialAdvancedLeaveResponse */ public function reverseTrialAdvancedLeave($request) { $runtime = new RuntimeOptions([]); $headers = new ReverseTrialAdvancedLeaveHeaders([]); return $this->reverseTrialAdvancedLeaveWithOptions($request, $headers, $runtime); } /** * @param SaveCustomWaterMarkTemplateRequest $request * @param SaveCustomWaterMarkTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SaveCustomWaterMarkTemplateRequest $request * * @return SaveCustomWaterMarkTemplateResponse */ public function saveCustomWaterMarkTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new SaveCustomWaterMarkTemplateHeaders([]); return $this->saveCustomWaterMarkTemplateWithOptions($request, $headers, $runtime); } /** * @param SyncScheduleInfoRequest $request * @param SyncScheduleInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SyncScheduleInfoRequest $request * * @return SyncScheduleInfoResponse */ public function syncScheduleInfo($request) { $runtime = new RuntimeOptions([]); $headers = new SyncScheduleInfoHeaders([]); return $this->syncScheduleInfoWithOptions($request, $headers, $runtime); } /** * @param UpdateLeaveTypeRequest $request * @param UpdateLeaveTypeHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateLeaveTypeRequest $request * * @return UpdateLeaveTypeResponse */ public function updateLeaveType($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateLeaveTypeHeaders([]); return $this->updateLeaveTypeWithOptions($request, $headers, $runtime); } } src/attendance_1_0/Models/AddLeaveTypeHeaders.php000064400000002332146412132660015644 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000017532146412132660015731 0ustar00 '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.php000064400000003542146412132660021164 0ustar00 '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.php000064400000003564146412132660020703 0ustar00 '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.php000064400000002243146412132660021124 0ustar00 '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.php000064400000002720146412132660016070 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001715146412132660016711 0ustar00 '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.php000064400000011247146412132660020230 0ustar00 '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.php000064400000003556146412132660023473 0ustar00 '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.php000064400000003601146412132660023175 0ustar00 '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.php000064400000002257146412132660023433 0ustar00 '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.php000064400000002360146412132660017743 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003141146412132660020016 0ustar00 '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.php000064400000002774146412132660020177 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004631146412132660021007 0ustar00 '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.php000064400000004063146412132660022773 0ustar00 '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.php000064400000002756146412132660025265 0ustar00 '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.php000064400000002745146412132660023317 0ustar00 '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.php000064400000002364146412132660020364 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002330146412132660020432 0ustar00 '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.php000064400000003004146412132660020577 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002654146412132660021427 0ustar00 '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.php000064400000002734146412132660022744 0ustar00 '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.php000064400000002366146412132660020516 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003147146412132660020571 0ustar00 '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.php000064400000003010146412132660020724 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003542146412132660021554 0ustar00 '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.php000064400000002754146412132660023545 0ustar00 '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.php000064400000002336146412132660016147 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003236146412132660016224 0ustar00 '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.php000064400000003355146412132660017511 0ustar00 '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.php000064400000002730146412132660016370 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001533146412132660017206 0ustar00 '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.php000064400000002344146412132660016743 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005503146412132660017020 0ustar00 '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.php000064400000002744146412132660017172 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002362146412132660020004 0ustar00 '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.php000064400000003533146412132660021323 0ustar00 '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.php000064400000002234146412132660024270 0ustar00 '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.php000064400000002350146412132660017206 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004202146412132660017261 0ustar00 '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.php000064400000002160146412132660022034 0ustar00 '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.php000064400000002754146412132660017441 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002505146412132660020251 0ustar00 '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.php000064400000002352146412132660017440 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003600146412132660017512 0ustar00 '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.php000064400000002760146412132660017666 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001702146412132660020477 0ustar00 '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.php000064400000002334146412132660016077 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005047146412132660016160 0ustar00 '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.php000064400000003646146412132660020261 0ustar00 '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.php000064400000002724146412132660016325 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001642146412132660017141 0ustar00 '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.php000064400000002346146412132660017072 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001555146412132660017150 0ustar00 '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.php000064400000002750146412132660017314 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002135146412132660020127 0ustar00 '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.php000064400000002360146412132660020052 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000006410146412132660020127 0ustar00 '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.php000064400000002774146412132660020306 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001623146412132660021114 0ustar00 '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.php000064400000002354146412132660017524 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004200146412132660017571 0ustar00 '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.php000064400000002764146412132660017754 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001750146412132660020564 0ustar00 '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.php000064400000002332146412132660022077 0ustar00 '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.php000064400000002342146412132660016405 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002751146412132660016466 0ustar00 '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.php000064400000002740146412132660016632 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002621146412132660017446 0ustar00 '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.php000064400000003022146412132660020760 0ustar00 '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.php000064400000002336146412132660016302 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002252146412132660016354 0ustar00 '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.php000064400000002730146412132660016523 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001723146412132660017342 0ustar00 '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.php000064400000004000146412132660020647 0ustar00 '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.php000064400000002562146412132660022003 0ustar00 '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.php000064400000002362146412132660020121 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003671146412132660020202 0ustar00 '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.php000064400000003000146412132660020332 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001761146412132660021164 0ustar00 '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.php000064400000010372146412132660022500 0ustar00 '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.php000064400000012164146412132660027276 0ustar00 '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.php000064400000002356146412132660017640 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004653146412132660017717 0ustar00 '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.php000064400000002770146412132660020063 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001753146412132660020701 0ustar00 '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.php000064400000003340146412132660022211 0ustar00 '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.php000064400000010335146412132660023763 0ustar00 '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.php000064400000002515146412132660026724 0ustar00 '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.php000064400000002350146412132660017165 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002754146412132660017420 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001742146412132660020232 0ustar00 '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.php000064400000006232146412132660021547 0ustar00 '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.php000064400000003611146412132660024210 0ustar00 '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.php000064400000002645146412132660026646 0ustar00 '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.php000064400000002303146412132660027721 0ustar00 '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.php000064400000002277146412132660027415 0ustar00 '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.php000064400000002621146412132660023374 0ustar00 '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.php000064400000004131146412132660024513 0ustar00 '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.php000064400000002346146412132660017100 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001607146412132660017154 0ustar00 '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.php000064400000002750146412132660017322 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002627146412132660020143 0ustar00 '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.php000064400000004566146412132660021465 0ustar00 '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.php000064400000004625146412132660025415 0ustar00 '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.php000064400000001674146412132660026566 0ustar00 '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/GetLeaveRecordsHeaders.php000064400000002340146412132660016352 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004221146412132660016427 0ustar00 '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.php000064400000002734146412132660016604 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002354146412132660017420 0ustar00 '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.php000064400000003415146412132660020735 0ustar00 '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.php000064400000013703146412132660023354 0ustar00 '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.php000064400000002332146412132660015673 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002332146412132660015750 0ustar00 '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.php000064400000002720146412132660016117 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002605146412132660016737 0ustar00 '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.php000064400000013271146412132660020256 0ustar00 '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.php000064400000003556146412132660023522 0ustar00 '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.php000064400000003601146412132660023224 0ustar00 '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.php000064400000002257146412132660023462 0ustar00 '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.php000064400000002326146412132660015344 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002710146412132660015564 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001707146412132660016407 0ustar00 '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.php000064400000010760146412132660017724 0ustar00 '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.php000064400000011021146412132660023452 0ustar00 '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.php000064400000002336146412132660016204 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002202146412132660016251 0ustar00 '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.php000064400000002730146412132660016425 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001723146412132660017244 0ustar00 '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.php000064400000003752146412132660020566 0ustar00 '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.php000064400000002524146412132660022374 0ustar00 '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.php000064400000002346146412132660017132 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001762146412132660017210 0ustar00 '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.php000064400000002750146412132660017354 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002627146412132660020175 0ustar00 '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.php000064400000012500146412132660021502 0ustar00 '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.php000064400000003074146412132660025232 0ustar00 '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.php000064400000002573146412132660024701 0ustar00 '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.php000064400000002322146412132660015051 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002154146412132660015131 0ustar00 '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.php000064400000002700146412132660015274 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001701146412132660016112 0ustar00 '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.php000064400000007351146412132660017437 0ustar00 '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.php000064400000005033146412132660021261 0ustar00 '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.php000064400000011460146412132660022727 0ustar00 '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.php000064400000003102146412132660025765 0ustar00 '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.php000064400000002122146412132660030414 0ustar00src '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.php000064400000003234146412132660022422 0ustar00 '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.php000064400000005655146412132660022117 0ustar00 '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.php000064400000002340146412132660016425 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002264146412132660016507 0ustar00 '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.php000064400000002734146412132660016657 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001726146412132660017475 0ustar00 '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.php000064400000003323146412132660021006 0ustar00 '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.php000064400000020633146412132660022330 0ustar00 '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.php000064400000005046146412132660025107 0ustar00 '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.php000064400000002663146412132660026740 0ustar00 '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.php000064400000003012146412132660030046 0ustar00 '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.php000064400000007627146412132660026573 0ustar00 '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.php000064400000002711146412132660031131 0ustar00src/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.php000064400000002317146412132660032217 0ustar00src/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.php000064400000002313146412132660031675 0ustar00src/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.php000064400000002362146412132660020302 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002276146412132660020363 0ustar00 '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.php000064400000003000146412132660020513 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001761146412132660021345 0ustar00 '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.php000064400000004024146412132660022656 0ustar00 '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.php000064400000002574146412132660024007 0ustar00 '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.php000064400000002340146412132660016407 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002770146412132660016473 0ustar00 '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.php000064400000002734146412132660016641 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002616146412132660017456 0ustar00 '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.php000064400000003273146412132660020774 0ustar00 '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.php000064400000003414146412132660022605 0ustar00 '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.php000064400000002322146412132660015041 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000051102146412132660015116 0ustar00 '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', '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->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['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.php000064400000001550146412132660017636 0ustar00 '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.php000064400000003042146412132660020333 0ustar00 '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.php000064400000002574146412132660022653 0ustar00 '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.php000064400000002614146412132660016554 0ustar00 '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.php000064400000004152146412132660017150 0ustar00 '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.php000064400000001524146412132660017337 0ustar00 '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.php000064400000002173146412132660016243 0ustar00 '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.php000064400000002700146412132660015264 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002327146412132660016107 0ustar00 '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.php000064400000002005146412132660017416 0ustar00 '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.php000064400000002330146412132660015572 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000033716146412132660015663 0ustar00 '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', 'groupId' => 'groupId', 'groupName' => 'groupName', 'managerList' => 'managerList', 'offset' => 'offset', '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->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->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['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['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.php000064400000003050146412132660021064 0ustar00 '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.php000064400000002577146412132660023410 0ustar00 '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.php000064400000004155146412132660017705 0ustar00 '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.php000064400000001527146412132660020074 0ustar00 '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.php000064400000002714146412132660016023 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002340146412132660016634 0ustar00 '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.php000064400000002010146412132660020144 0ustar00 '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.php000064400000002400146412132660021437 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003021146412132660021514 0ustar00 '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.php000064400000003034146412132660021666 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002676146412132660022517 0ustar00 '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.php000064400000007660146412132660024033 0ustar00 '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.php000064400000002346146412132660017127 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003615146412132660017204 0ustar00 '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.php000064400000002750146412132660017351 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002627146412132660020172 0ustar00 '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.php000064400000006700146412132660021504 0ustar00 '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.php000064400000002360146412132660020077 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000007615146412132660020164 0ustar00 '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.php000064400000002774146412132660020333 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001623146412132660021141 0ustar00 '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.php000064400000002352146412132660017436 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005124146412132660017513 0ustar00 '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.php000064400000003640146412132660021612 0ustar00 '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.php000064400000002760146412132660017664 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001745146412132660020504 0ustar00 '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.php000064400000001705146412132660022016 0ustar00 '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.php000064400000002352146412132660017453 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000007342146412132660017534 0ustar00 '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.php000064400000005067146412132660026202 0ustar00 '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.php000064400000002760146412132660017701 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002373146412132660020517 0ustar00 '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.php000064400000003541146412132660022033 0ustar00 '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.php000064400000002237146412132660025004 0ustar00 '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.php000064400000002366146412132660020535 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004606146412132660020611 0ustar00 '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.php000064400000003010146412132660020743 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002155146412132660021572 0ustar00 '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.php000064400000014377146412132660017557 0ustar00 '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.php000064400000002143146412132660023514 0ustar00 '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.php000064400000002604146412132660022763 0ustar00 '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.php000064400000002342146412132660016562 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003015146412132660016635 0ustar00 '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.php000064400000002740146412132660017007 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002621146412132660017623 0ustar00 '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.php000064400000017536146412132660021154 0ustar00 '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.php000064400000003531146412132660024401 0ustar00 '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.php000064400000003551146412132660024116 0ustar00 '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.php000064400000002262146412132660024344 0ustar00 '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.php000064400000002364146412132660020354 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002267146412132660020433 0ustar00 '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.php000064400000003004146412132660020567 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002153146412132660021411 0ustar00 '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.php000064400000002370146412132660020742 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000007526146412132660021027 0ustar00 '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.php000064400000003014146412132660021161 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001772146412132660022010 0ustar00 '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.php000064400000002421146412132660023316 0ustar00 '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/SyncScheduleInfoHeaders.php000064400000002342146412132660016543 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003445146412132660016625 0ustar00 '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.php000064400000003734146412132660021421 0ustar00 '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.php000064400000002172146412132660016767 0ustar00 '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.php000064400000002340146412132660016375 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000012503146412132660016454 0ustar00 '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.php000064400000003545146412132660021721 0ustar00 '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.php000064400000003567146412132660021440 0ustar00 '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.php000064400000002246146412132660021661 0ustar00 '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.php000064400000002734146412132660016627 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001726146412132660017445 0ustar00 '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.php000064400000011263146412132660020760 0ustar00 '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.php000064400000003561146412132660024221 0ustar00 '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.php000064400000003604146412132660023732 0ustar00 '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.php000064400000002262146412132660024161 0ustar00 '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.php000064400000061113146412132660011311 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CreateBadgeCodeUserInstanceRequest $request * @param CreateBadgeCodeUserInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateBadgeCodeUserInstanceRequest $request * * @return CreateBadgeCodeUserInstanceResponse */ public function createBadgeCodeUserInstance($request) { $runtime = new RuntimeOptions([]); $headers = new CreateBadgeCodeUserInstanceHeaders([]); return $this->createBadgeCodeUserInstanceWithOptions($request, $headers, $runtime); } /** * @param CreateBadgeNotifyRequest $request * @param CreateBadgeNotifyHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateBadgeNotifyRequest $request * * @return CreateBadgeNotifyResponse */ public function createBadgeNotify($request) { $runtime = new RuntimeOptions([]); $headers = new CreateBadgeNotifyHeaders([]); return $this->createBadgeNotifyWithOptions($request, $headers, $runtime); } /** * @param DecodeBadgeCodeRequest $request * @param DecodeBadgeCodeHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param DecodeBadgeCodeRequest $request * * @return DecodeBadgeCodeResponse */ public function decodeBadgeCode($request) { $runtime = new RuntimeOptions([]); $headers = new DecodeBadgeCodeHeaders([]); return $this->decodeBadgeCodeWithOptions($request, $headers, $runtime); } /** * @param NotifyBadgeCodePayResultRequest $request * @param NotifyBadgeCodePayResultHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param NotifyBadgeCodePayResultRequest $request * * @return NotifyBadgeCodePayResultResponse */ public function notifyBadgeCodePayResult($request) { $runtime = new RuntimeOptions([]); $headers = new NotifyBadgeCodePayResultHeaders([]); return $this->notifyBadgeCodePayResultWithOptions($request, $headers, $runtime); } /** * @param NotifyBadgeCodeRefundResultRequest $request * @param NotifyBadgeCodeRefundResultHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param NotifyBadgeCodeRefundResultRequest $request * * @return NotifyBadgeCodeRefundResultResponse */ public function notifyBadgeCodeRefundResult($request) { $runtime = new RuntimeOptions([]); $headers = new NotifyBadgeCodeRefundResultHeaders([]); return $this->notifyBadgeCodeRefundResultWithOptions($request, $headers, $runtime); } /** * @param NotifyBadgeCodeVerifyResultRequest $request * @param NotifyBadgeCodeVerifyResultHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param NotifyBadgeCodeVerifyResultRequest $request * * @return NotifyBadgeCodeVerifyResultResponse */ public function notifyBadgeCodeVerifyResult($request) { $runtime = new RuntimeOptions([]); $headers = new NotifyBadgeCodeVerifyResultHeaders([]); return $this->notifyBadgeCodeVerifyResultWithOptions($request, $headers, $runtime); } /** * @param SaveBadgeCodeCorpInstanceRequest $request * @param SaveBadgeCodeCorpInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SaveBadgeCodeCorpInstanceRequest $request * * @return SaveBadgeCodeCorpInstanceResponse */ public function saveBadgeCodeCorpInstance($request) { $runtime = new RuntimeOptions([]); $headers = new SaveBadgeCodeCorpInstanceHeaders([]); return $this->saveBadgeCodeCorpInstanceWithOptions($request, $headers, $runtime); } /** * @param UpdateBadgeCodeUserInstanceRequest $request * @param UpdateBadgeCodeUserInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateBadgeCodeUserInstanceRequest $request * * @return UpdateBadgeCodeUserInstanceResponse */ public function updateBadgeCodeUserInstance($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateBadgeCodeUserInstanceHeaders([]); return $this->updateBadgeCodeUserInstanceWithOptions($request, $headers, $runtime); } } src/badge_1_0/Models/CreateBadgeCodeUserInstanceHeaders.php000064400000002363146412132660017542 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000011673146412132660017623 0ustar00 '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.php000064400000002277146412132660022545 0ustar00 '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.php000064400000003007146412132660017761 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002314146412132660020577 0ustar00 '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.php000064400000002337146412132660015615 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003156146412132660015672 0ustar00 '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.php000064400000002737146412132660016044 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001537146412132660016657 0ustar00 '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.php000064400000002333146412132660015173 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002150146412132660015245 0ustar00 '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.php000064400000002727146412132660015425 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000007116146412132660016240 0ustar00 '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.php000064400000002355146412132660017135 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000016222146412132660017210 0ustar00 '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.php000064400000010202146412132660023241 0ustar00 '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.php000064400000005166146412132660027027 0ustar00 '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.php000064400000002773146412132660017364 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001557146412132660020201 0ustar00 '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.php000064400000002363146412132660017626 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000011313146412132660017676 0ustar00 '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.php000064400000007666146412132660023757 0ustar00 '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.php000064400000005126146412132660027515 0ustar00 '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.php000064400000003007146412132660020045 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001565146412132660020672 0ustar00 '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.php000064400000002363146412132660017647 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000010000146412132660017707 0ustar00 '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.php000064400000003007146412132660020066 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001565146412132660020713 0ustar00 '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.php000064400000002357146412132660017225 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003446146412132660017302 0ustar00 '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.php000064400000002777146412132660017456 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003316146412132660020262 0ustar00 '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.php000064400000002363146412132660017561 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000010777146412132660017646 0ustar00 '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.php000064400000002277146412132660022564 0ustar00 '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.php000064400000003007146412132660020000 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001570146412132660020621 0ustar00 '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.php000064400000006104146412132660011666 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param QueryBaymaxSkillLogRequest $request * @param QueryBaymaxSkillLogHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryBaymaxSkillLogRequest $request * * @return QueryBaymaxSkillLogResponse */ public function queryBaymaxSkillLog($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBaymaxSkillLogHeaders([]); return $this->queryBaymaxSkillLogWithOptions($request, $headers, $runtime); } } src/bay_max_1_0/Models/QueryBaymaxSkillLogHeaders.php000064400000002345146412132660016563 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002640146412132660016636 0ustar00 '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.php000064400000002751146412132660017007 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001554146412132660017625 0ustar00 '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.php000064400000413042146412132660012361 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AppendRolePermissionRequest $tmpReq * @param AppendRolePermissionHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AppendRolePermissionRequest $request * * @return AppendRolePermissionResponse */ public function appendRolePermission($request) { $runtime = new RuntimeOptions([]); $headers = new AppendRolePermissionHeaders([]); return $this->appendRolePermissionWithOptions($request, $headers, $runtime); } /** * @param BatchAddInvoiceRequest $request * @param BatchAddInvoiceHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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)); } /** * @param BatchAddInvoiceRequest $request * * @return BatchAddInvoiceResponse */ public function batchAddInvoice($request) { $runtime = new RuntimeOptions([]); $headers = new BatchAddInvoiceHeaders([]); return $this->batchAddInvoiceWithOptions($request, $headers, $runtime); } /** * @param BatchCreateCustomerRequest $request * @param BatchCreateCustomerHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchCreateCustomerRequest $request * * @return BatchCreateCustomerResponse */ public function batchCreateCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new BatchCreateCustomerHeaders([]); return $this->batchCreateCustomerWithOptions($request, $headers, $runtime); } /** * @param BindCompanyAccountantBookRequest $request * @param BindCompanyAccountantBookHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BindCompanyAccountantBookRequest $request * * @return BindCompanyAccountantBookResponse */ public function bindCompanyAccountantBook($request) { $runtime = new RuntimeOptions([]); $headers = new BindCompanyAccountantBookHeaders([]); return $this->bindCompanyAccountantBookWithOptions($request, $headers, $runtime); } /** * @param CheckVoucherStatusRequest $request * @param CheckVoucherStatusHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CheckVoucherStatusRequest $request * * @return CheckVoucherStatusResponse */ public function checkVoucherStatus($request) { $runtime = new RuntimeOptions([]); $headers = new CheckVoucherStatusHeaders([]); return $this->checkVoucherStatusWithOptions($request, $headers, $runtime); } /** * @param CreateCustomerRequest $request * @param CreateCustomerHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateCustomerRequest $request * * @return CreateCustomerResponse */ public function createCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCustomerHeaders([]); return $this->createCustomerWithOptions($request, $headers, $runtime); } /** * @param CreateReceiptRequest $request * @param CreateReceiptHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateReceiptRequest $request * * @return CreateReceiptResponse */ public function createReceipt($request) { $runtime = new RuntimeOptions([]); $headers = new CreateReceiptHeaders([]); return $this->createReceiptWithOptions($request, $headers, $runtime); } /** * @param DeleteReceiptRequest $request * @param DeleteReceiptHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param DeleteReceiptRequest $request * * @return DeleteReceiptResponse */ public function deleteReceipt($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteReceiptHeaders([]); return $this->deleteReceiptWithOptions($request, $headers, $runtime); } /** * @param GetBookkeepingUserListHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return GetBookkeepingUserListResponse */ public function getBookkeepingUserList() { $runtime = new RuntimeOptions([]); $headers = new GetBookkeepingUserListHeaders([]); return $this->getBookkeepingUserListWithOptions($headers, $runtime); } /** * @param GetCategoryRequest $request * @param GetCategoryHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetCategoryRequest $request * * @return GetCategoryResponse */ public function getCategory($request) { $runtime = new RuntimeOptions([]); $headers = new GetCategoryHeaders([]); return $this->getCategoryWithOptions($request, $headers, $runtime); } /** * @param GetCustomerRequest $request * @param GetCustomerHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetCustomerRequest $request * * @return GetCustomerResponse */ public function getCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new GetCustomerHeaders([]); return $this->getCustomerWithOptions($request, $headers, $runtime); } /** * @param GetFinanceAccountRequest $request * @param GetFinanceAccountHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetFinanceAccountRequest $request * * @return GetFinanceAccountResponse */ public function getFinanceAccount($request) { $runtime = new RuntimeOptions([]); $headers = new GetFinanceAccountHeaders([]); return $this->getFinanceAccountWithOptions($request, $headers, $runtime); } /** * @param GetFormTemplateInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return GetFormTemplateInfoResponse */ public function getFormTemplateInfo() { $runtime = new RuntimeOptions([]); $headers = new GetFormTemplateInfoHeaders([]); return $this->getFormTemplateInfoWithOptions($headers, $runtime); } /** * @param GetInvoiceByPageRequest $tmpReq * @param GetInvoiceByPageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetInvoiceByPageRequest $request * * @return GetInvoiceByPageResponse */ public function getInvoiceByPage($request) { $runtime = new RuntimeOptions([]); $headers = new GetInvoiceByPageHeaders([]); return $this->getInvoiceByPageWithOptions($request, $headers, $runtime); } /** * @param GetIsNewVersionHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return GetIsNewVersionResponse */ public function getIsNewVersion() { $runtime = new RuntimeOptions([]); $headers = new GetIsNewVersionHeaders([]); return $this->getIsNewVersionWithOptions($headers, $runtime); } /** * @param string $companyCode * @param GetMultiCompanyInfoByCodeHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $companyCode * * @return GetMultiCompanyInfoByCodeResponse */ public function getMultiCompanyInfoByCode($companyCode) { $runtime = new RuntimeOptions([]); $headers = new GetMultiCompanyInfoByCodeHeaders([]); return $this->getMultiCompanyInfoByCodeWithOptions($companyCode, $headers, $runtime); } /** * @param GetProductRequest $request * @param GetProductHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetProductRequest $request * * @return GetProductResponse */ public function getProduct($request) { $runtime = new RuntimeOptions([]); $headers = new GetProductHeaders([]); return $this->getProductWithOptions($request, $headers, $runtime); } /** * @param GetProjectRequest $request * @param GetProjectHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetProjectRequest $request * * @return GetProjectResponse */ public function getProject($request) { $runtime = new RuntimeOptions([]); $headers = new GetProjectHeaders([]); return $this->getProjectWithOptions($request, $headers, $runtime); } /** * @param GetReceiptRequest $request * @param GetReceiptHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetReceiptRequest $request * * @return GetReceiptResponse */ public function getReceipt($request) { $runtime = new RuntimeOptions([]); $headers = new GetReceiptHeaders([]); return $this->getReceiptWithOptions($request, $headers, $runtime); } /** * @param GetSupplierRequest $request * @param GetSupplierHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetSupplierRequest $request * * @return GetSupplierResponse */ public function getSupplier($request) { $runtime = new RuntimeOptions([]); $headers = new GetSupplierHeaders([]); return $this->getSupplierWithOptions($request, $headers, $runtime); } /** * @param GetYongYouOpenApiTokenRequest $request * @param GetYongYouOpenApiTokenHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetYongYouOpenApiTokenRequest $request * * @return GetYongYouOpenApiTokenResponse */ public function getYongYouOpenApiToken($request) { $runtime = new RuntimeOptions([]); $headers = new GetYongYouOpenApiTokenHeaders([]); return $this->getYongYouOpenApiTokenWithOptions($request, $headers, $runtime); } /** * @param GetYongYouOrgRelationHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return GetYongYouOrgRelationResponse */ public function getYongYouOrgRelation() { $runtime = new RuntimeOptions([]); $headers = new GetYongYouOrgRelationHeaders([]); return $this->getYongYouOrgRelationWithOptions($headers, $runtime); } /** * @param ProfessionBenefitConsumeRequest $request * @param ProfessionBenefitConsumeHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ProfessionBenefitConsumeRequest $request * * @return ProfessionBenefitConsumeResponse */ public function professionBenefitConsume($request) { $runtime = new RuntimeOptions([]); $headers = new ProfessionBenefitConsumeHeaders([]); return $this->professionBenefitConsumeWithOptions($request, $headers, $runtime); } /** * @param PushHistoricalReceiptsRequest $request * @param PushHistoricalReceiptsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param PushHistoricalReceiptsRequest $request * * @return PushHistoricalReceiptsResponse */ public function pushHistoricalReceipts($request) { $runtime = new RuntimeOptions([]); $headers = new PushHistoricalReceiptsHeaders([]); return $this->pushHistoricalReceiptsWithOptions($request, $headers, $runtime); } /** * @param QueryCategoryByPageRequest $request * @param QueryCategoryByPageHeaders $headers * @param RuntimeOptions $runtime * * @return 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' => 'json', 'bodyType' => 'json', ]); return QueryCategoryByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryCategoryByPageRequest $request * * @return QueryCategoryByPageResponse */ public function queryCategoryByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCategoryByPageHeaders([]); return $this->queryCategoryByPageWithOptions($request, $headers, $runtime); } /** * @param QueryCompanyInvoiceRelationCountRequest $request * @param QueryCompanyInvoiceRelationCountHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCompanyInvoiceRelationCountRequest $request * * @return QueryCompanyInvoiceRelationCountResponse */ public function queryCompanyInvoiceRelationCount($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCompanyInvoiceRelationCountHeaders([]); return $this->queryCompanyInvoiceRelationCountWithOptions($request, $headers, $runtime); } /** * @param QueryCustomerByPageRequest $request * @param QueryCustomerByPageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCustomerByPageRequest $request * * @return QueryCustomerByPageResponse */ public function queryCustomerByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCustomerByPageHeaders([]); return $this->queryCustomerByPageWithOptions($request, $headers, $runtime); } /** * @param QueryCustomerInfoRequest $request * @param QueryCustomerInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCustomerInfoRequest $request * * @return QueryCustomerInfoResponse */ public function queryCustomerInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCustomerInfoHeaders([]); return $this->queryCustomerInfoWithOptions($request, $headers, $runtime); } /** * @param QueryEnterpriseAccountByPageRequest $request * @param QueryEnterpriseAccountByPageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryEnterpriseAccountByPageRequest $request * * @return QueryEnterpriseAccountByPageResponse */ public function queryEnterpriseAccountByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryEnterpriseAccountByPageHeaders([]); return $this->queryEnterpriseAccountByPageWithOptions($request, $headers, $runtime); } /** * @param QueryFinanceCompanyInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return QueryFinanceCompanyInfoResponse */ public function queryFinanceCompanyInfo() { $runtime = new RuntimeOptions([]); $headers = new QueryFinanceCompanyInfoHeaders([]); return $this->queryFinanceCompanyInfoWithOptions($headers, $runtime); } /** * @param QueryInvoiceRelationCountHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return QueryInvoiceRelationCountResponse */ public function queryInvoiceRelationCount() { $runtime = new RuntimeOptions([]); $headers = new QueryInvoiceRelationCountHeaders([]); return $this->queryInvoiceRelationCountWithOptions($headers, $runtime); } /** * @param QueryMultiCompanyInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return QueryMultiCompanyInfoResponse */ public function queryMultiCompanyInfo() { $runtime = new RuntimeOptions([]); $headers = new QueryMultiCompanyInfoHeaders([]); return $this->queryMultiCompanyInfoWithOptions($headers, $runtime); } /** * @param QueryPermissionByUserIdRequest $request * @param QueryPermissionByUserIdHeaders $headers * @param RuntimeOptions $runtime * * @return QueryPermissionByUserIdResponse */ public function queryPermissionByUserIdWithOptions($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' => '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)); } /** * @param QueryPermissionByUserIdRequest $request * * @return QueryPermissionByUserIdResponse */ public function queryPermissionByUserId($request) { $runtime = new RuntimeOptions([]); $headers = new QueryPermissionByUserIdHeaders([]); return $this->queryPermissionByUserIdWithOptions($request, $headers, $runtime); } /** * @param QueryPermissionRoleMemberRequest $request * @param QueryPermissionRoleMemberHeaders $headers * @param RuntimeOptions $runtime * * @return QueryPermissionRoleMemberResponse */ public function queryPermissionRoleMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; 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)); } /** * @param QueryPermissionRoleMemberRequest $request * * @return QueryPermissionRoleMemberResponse */ public function queryPermissionRoleMember($request) { $runtime = new RuntimeOptions([]); $headers = new QueryPermissionRoleMemberHeaders([]); return $this->queryPermissionRoleMemberWithOptions($request, $headers, $runtime); } /** * @param QueryProductByPageRequest $request * @param QueryProductByPageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryProductByPageRequest $request * * @return QueryProductByPageResponse */ public function queryProductByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryProductByPageHeaders([]); return $this->queryProductByPageWithOptions($request, $headers, $runtime); } /** * @param QueryProjectByPageRequest $request * @param QueryProjectByPageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryProjectByPageRequest $request * * @return QueryProjectByPageResponse */ public function queryProjectByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryProjectByPageHeaders([]); return $this->queryProjectByPageWithOptions($request, $headers, $runtime); } /** * @param QueryReceiptDetailForInvoiceRequest $request * @param QueryReceiptDetailForInvoiceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryReceiptDetailForInvoiceRequest $request * * @return QueryReceiptDetailForInvoiceResponse */ public function queryReceiptDetailForInvoice($request) { $runtime = new RuntimeOptions([]); $headers = new QueryReceiptDetailForInvoiceHeaders([]); return $this->queryReceiptDetailForInvoiceWithOptions($request, $headers, $runtime); } /** * @param QueryReceiptForInvoiceRequest $request * @param QueryReceiptForInvoiceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryReceiptForInvoiceRequest $request * * @return QueryReceiptForInvoiceResponse */ public function queryReceiptForInvoice($request) { $runtime = new RuntimeOptions([]); $headers = new QueryReceiptForInvoiceHeaders([]); return $this->queryReceiptForInvoiceWithOptions($request, $headers, $runtime); } /** * @param QueryReceiptsBaseInfoRequest $request * @param QueryReceiptsBaseInfoHeaders $headers * @param RuntimeOptions $runtime * * @return QueryReceiptsBaseInfoResponse */ public function queryReceiptsBaseInfoWithOptions($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; } 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)); } /** * @param QueryReceiptsBaseInfoRequest $request * * @return QueryReceiptsBaseInfoResponse */ public function queryReceiptsBaseInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryReceiptsBaseInfoHeaders([]); return $this->queryReceiptsBaseInfoWithOptions($request, $headers, $runtime); } /** * @param QueryReceiptsByPageRequest $request * @param QueryReceiptsByPageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryReceiptsByPageRequest $request * * @return QueryReceiptsByPageResponse */ public function queryReceiptsByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryReceiptsByPageHeaders([]); return $this->queryReceiptsByPageWithOptions($request, $headers, $runtime); } /** * @param QueryRoleMemberByPageRequest $request * @param QueryRoleMemberByPageHeaders $headers * @param RuntimeOptions $runtime * * @return QueryRoleMemberByPageResponse */ public function queryRoleMemberByPageWithOptions($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->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)); } /** * @param QueryRoleMemberByPageRequest $request * * @return QueryRoleMemberByPageResponse */ public function queryRoleMemberByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryRoleMemberByPageHeaders([]); return $this->queryRoleMemberByPageWithOptions($request, $headers, $runtime); } /** * @param QuerySupplierByPageRequest $request * @param QuerySupplierByPageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QuerySupplierByPageRequest $request * * @return QuerySupplierByPageResponse */ public function querySupplierByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySupplierByPageHeaders([]); return $this->querySupplierByPageWithOptions($request, $headers, $runtime); } /** * @param QueryUserRoleListRequest $request * @param QueryUserRoleListHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryUserRoleListRequest $request * * @return QueryUserRoleListResponse */ public function queryUserRoleList($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUserRoleListHeaders([]); return $this->queryUserRoleListWithOptions($request, $headers, $runtime); } /** * @param UnbindApplyReceiptAndInvoiceRelatedRequest $request * @param UnbindApplyReceiptAndInvoiceRelatedHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UnbindApplyReceiptAndInvoiceRelatedRequest $request * * @return UnbindApplyReceiptAndInvoiceRelatedResponse */ public function unbindApplyReceiptAndInvoiceRelated($request) { $runtime = new RuntimeOptions([]); $headers = new UnbindApplyReceiptAndInvoiceRelatedHeaders([]); return $this->unbindApplyReceiptAndInvoiceRelatedWithOptions($request, $headers, $runtime); } /** * @param UpdateApplyReceiptAndInvoiceRelatedRequest $request * @param UpdateApplyReceiptAndInvoiceRelatedHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateApplyReceiptAndInvoiceRelatedRequest $request * * @return UpdateApplyReceiptAndInvoiceRelatedResponse */ public function updateApplyReceiptAndInvoiceRelated($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateApplyReceiptAndInvoiceRelatedHeaders([]); return $this->updateApplyReceiptAndInvoiceRelatedWithOptions($request, $headers, $runtime); } /** * @param UpdateDigitalInvoiceOrgInfoRequest $request * @param UpdateDigitalInvoiceOrgInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateDigitalInvoiceOrgInfoRequest $request * * @return UpdateDigitalInvoiceOrgInfoResponse */ public function updateDigitalInvoiceOrgInfo($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateDigitalInvoiceOrgInfoHeaders([]); return $this->updateDigitalInvoiceOrgInfoWithOptions($request, $headers, $runtime); } /** * @param UpdateFinanceCompanyInfoRequest $request * @param UpdateFinanceCompanyInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateFinanceCompanyInfoRequest $request * * @return UpdateFinanceCompanyInfoResponse */ public function updateFinanceCompanyInfo($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateFinanceCompanyInfoHeaders([]); return $this->updateFinanceCompanyInfoWithOptions($request, $headers, $runtime); } /** * @param UpdateFinanceMultiCompanyInfoRequest $request * @param UpdateFinanceMultiCompanyInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateFinanceMultiCompanyInfoRequest $request * * @return UpdateFinanceMultiCompanyInfoResponse */ public function updateFinanceMultiCompanyInfo($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateFinanceMultiCompanyInfoHeaders([]); return $this->updateFinanceMultiCompanyInfoWithOptions($request, $headers, $runtime); } /** * @param UpdateInvoiceAbandonStatusRequest $request * @param UpdateInvoiceAbandonStatusHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateInvoiceAbandonStatusRequest $request * * @return UpdateInvoiceAbandonStatusResponse */ public function updateInvoiceAbandonStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceAbandonStatusHeaders([]); return $this->updateInvoiceAbandonStatusWithOptions($request, $headers, $runtime); } /** * @param UpdateInvoiceAccountPeriodRequest $request * @param UpdateInvoiceAccountPeriodHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateInvoiceAccountPeriodRequest $request * * @return UpdateInvoiceAccountPeriodResponse */ public function updateInvoiceAccountPeriod($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceAccountPeriodHeaders([]); return $this->updateInvoiceAccountPeriodWithOptions($request, $headers, $runtime); } /** * @param UpdateInvoiceAccountingPeriodDateRequest $request * @param UpdateInvoiceAccountingPeriodDateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateInvoiceAccountingPeriodDateRequest $request * * @return UpdateInvoiceAccountingPeriodDateResponse */ public function updateInvoiceAccountingPeriodDate($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceAccountingPeriodDateHeaders([]); return $this->updateInvoiceAccountingPeriodDateWithOptions($request, $headers, $runtime); } /** * @param UpdateInvoiceAccountingStatusRequest $request * @param UpdateInvoiceAccountingStatusHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateInvoiceAccountingStatusRequest $request * * @return UpdateInvoiceAccountingStatusResponse */ public function updateInvoiceAccountingStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceAccountingStatusHeaders([]); return $this->updateInvoiceAccountingStatusWithOptions($request, $headers, $runtime); } /** * @param UpdateInvoiceAndReceiptRelatedRequest $request * @param UpdateInvoiceAndReceiptRelatedHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateInvoiceAndReceiptRelatedRequest $request * * @return UpdateInvoiceAndReceiptRelatedResponse */ public function updateInvoiceAndReceiptRelated($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceAndReceiptRelatedHeaders([]); return $this->updateInvoiceAndReceiptRelatedWithOptions($request, $headers, $runtime); } /** * @param UpdateInvoiceIgnoreStatusRequest $request * @param UpdateInvoiceIgnoreStatusHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateInvoiceIgnoreStatusRequest $request * * @return UpdateInvoiceIgnoreStatusResponse */ public function updateInvoiceIgnoreStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceIgnoreStatusHeaders([]); return $this->updateInvoiceIgnoreStatusWithOptions($request, $headers, $runtime); } /** * @param UpdateInvoiceVerifyStatusRequest $request * @param UpdateInvoiceVerifyStatusHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateInvoiceVerifyStatusRequest $request * * @return UpdateInvoiceVerifyStatusResponse */ public function updateInvoiceVerifyStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceVerifyStatusHeaders([]); return $this->updateInvoiceVerifyStatusWithOptions($request, $headers, $runtime); } /** * @param UpdateInvoiceVoucherStatusRequest $request * @param UpdateInvoiceVoucherStatusHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateInvoiceVoucherStatusRequest $request * * @return UpdateInvoiceVoucherStatusResponse */ public function updateInvoiceVoucherStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceVoucherStatusHeaders([]); return $this->updateInvoiceVoucherStatusWithOptions($request, $headers, $runtime); } /** * @param UpdateReceiptRequest $request * @param UpdateReceiptHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateReceiptRequest $request * * @return UpdateReceiptResponse */ public function updateReceipt($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateReceiptHeaders([]); return $this->updateReceiptWithOptions($request, $headers, $runtime); } /** * @param UpdateReceiptVoucherStatusRequest $request * @param UpdateReceiptVoucherStatusHeaders $headers * @param RuntimeOptions $runtime * * @return 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; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->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)); } /** * @param UpdateReceiptVoucherStatusRequest $request * * @return UpdateReceiptVoucherStatusResponse */ public function updateReceiptVoucherStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateReceiptVoucherStatusHeaders([]); return $this->updateReceiptVoucherStatusWithOptions($request, $headers, $runtime); } } src/bizfinance_1_0/Models/AppendRolePermissionHeaders.php000064400000002352146412132660017443 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003753146412132660017526 0ustar00 '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.php000064400000003623146412132660024207 0ustar00 '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.php000064400000002542146412132660027232 0ustar00 '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.php000064400000002760146412132660017671 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001513146412132660020502 0ustar00 '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.php000064400000002500146412132660020672 0ustar00 '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.php000064400000002340146412132660016305 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005145146412132660016370 0ustar00 'companyCode', 'generalInvoiceVOList' => 'generalInvoiceVOList', 'operator' => 'operator', '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->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['source'])) { $model->source = $map['source']; } return $model; } } src/bizfinance_1_0/Models/BatchAddInvoiceRequest/generalInvoiceVOList.php000064400000046600146412132660022424 0ustar00 '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', 'reviewer' => 'reviewer', '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->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->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['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['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.php000064400000010043146412132660027572 0ustar00 '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.php000064400000006705146412132660030337 0ustar00src '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.php000064400000013671146412132660027640 0ustar00src '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.php000064400000012606146412132660027073 0ustar00 '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.php000064400000002734146412132660016537 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004701146412132660017351 0ustar00 '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.php000064400000002247146412132660021704 0ustar00 '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.php000064400000002233146412132660022216 0ustar00 '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.php000064400000002350146412132660017226 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004062146412132660017305 0ustar00 '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.php000064400000010243146412132660024475 0ustar00 '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.php000064400000002754146412132660017461 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003415146412132660020272 0ustar00 '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.php000064400000002165146412132660022623 0ustar00 '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/BindCompanyAccountantBookHeaders.php000064400000002364146412132660020402 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002445146412132660020457 0ustar00 '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.php000064400000003004146412132660020615 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001525146412132660021441 0ustar00 '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/CheckVoucherStatusHeaders.php000064400000002346146412132660017121 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000007473146412132660017204 0ustar00 '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.php000064400000002750146412132660017343 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002135146412132660020156 0ustar00 '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/CreateCustomerHeaders.php000064400000002336146412132660016270 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000010702146412132660016341 0ustar00 '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.php000064400000002730146412132660016511 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001631146412132660017326 0ustar00 '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.php000064400000002334146412132660016060 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002635146412132660016141 0ustar00 '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.php000064400000012444146412132660017756 0ustar00 '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.php000064400000002724146412132660016306 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002632146412132660017122 0ustar00 '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.php000064400000003410146412132660020616 0ustar00 '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.php000064400000002334146412132660016057 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002635146412132660016140 0ustar00 '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.php000064400000002776146412132660017764 0ustar00 '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.php000064400000002724146412132660016305 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002632146412132660017121 0ustar00 '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.php000064400000003403146412132660020617 0ustar00 '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.php000064400000002356146412132660017735 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002770146412132660020160 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001617146412132660020775 0ustar00 '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.php000064400000002330146412132660015552 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001501146412132660015626 0ustar00 '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.php000064400000002714146412132660016003 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005512146412132660016620 0ustar00 'accountantBookIdList', 'code' => 'code', 'isDir' => 'isDir', 'name' => 'name', 'parentCode' => 'parentCode', '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->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['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/bizfinance_1_0/Models/GetCustomerHeaders.php000064400000002330146412132660015576 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001477146412132660015666 0ustar00 '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.php000064400000002714146412132660016027 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005676146412132660016657 0ustar00 '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.php000064400000002344146412132660016662 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001552146412132660016737 0ustar00 '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.php000064400000002744146412132660017111 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000010431146412132660017717 0ustar00 '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.php000064400000002350146412132660017212 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002754146412132660017445 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003424146412132660020256 0ustar00 '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.php000064400000003513146412132660025700 0ustar00 'name', 'processCode' => 'processCode', 'status' => 'status', 'suiteId' => 'suiteId', ]; public function validate() { } public function toMap() { $res = []; 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['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; } } src/bizfinance_1_0/Models/GetInvoiceByPageHeaders.php000064400000002342146412132660016464 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001727146412132660016547 0ustar00 '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.php000064400000007016146412132660020234 0ustar00 '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.php000064400000002740146412132660016711 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003475146412132660017535 0ustar00 '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.php000064400000004346146412132660021051 0ustar00 '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_.php000064400000042030146412132660022153 0ustar00 '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.php000064400000007354146412132660027343 0ustar00 '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.php000064400000006667146412132660027073 0ustar00 '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.php000064400000013667146412132660027462 0ustar00 '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.php000064400000012031146412132660026621 0ustar00 '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.php000064400000001556146412132660017726 0ustar00 '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.php000064400000002340146412132660016371 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002734146412132660016623 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002127146412132660017435 0ustar00 '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.php000064400000002364146412132660020327 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003004146412132660020542 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000007142146412132660021367 0ustar00 '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.php000064400000003746146412132660025334 0ustar00 '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.php000064400000002326146412132660015422 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001475146412132660015503 0ustar00 '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.php000064400000002710146412132660015642 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000007134146412132660016465 0ustar00 'accountantBookIdList', 'code' => 'code', 'createTime' => 'createTime', 'description' => 'description', '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->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['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.php000064400000002326146412132660015410 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001475146412132660015471 0ustar00 '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.php000064400000002710146412132660015630 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000007604146412132660016455 0ustar00 '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.php000064400000002326146412132660015375 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002246146412132660015453 0ustar00 '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.php000064400000002710146412132660015615 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004710146412132660016435 0ustar00 '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.php000064400000002330146412132660015600 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001476146412132660015667 0ustar00 '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.php000064400000002714146412132660016031 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005675146412132660016660 0ustar00 '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.php000064400000002356146412132660017673 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001552146412132660017745 0ustar00 '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.php000064400000002770146412132660020116 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000007117146412132660020734 0ustar00 '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.php000064400000002354146412132660017562 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002764146412132660020012 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003651146412132660020624 0ustar00 '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.php000064400000002362146412132660020320 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003012146412132660020366 0ustar00 '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.php000064400000003000146412132660020531 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001534146412132660021361 0ustar00 '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.php000064400000002356146412132660020005 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004170146412132660020056 0ustar00 '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.php000064400000002770146412132660020230 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001521146412132660021037 0ustar00 '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/QueryCategoryByPageHeaders.php000064400000002350146412132660017232 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002717146412132660017316 0ustar00 '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.php000064400000002754146412132660017465 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003255146412132660020300 0ustar00 '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_.php000064400000004464146412132660021415 0ustar00 'code', 'isDir' => 'isDir', 'name' => 'name', 'parentCode' => 'parentCode', '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->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['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/bizfinance_1_0/Models/QueryCompanyInvoiceRelationCountHeaders.php000064400000002402146412132660022015 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001653146412132660022101 0ustar00 '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.php000064400000003040146412132660022237 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001676146412132660023072 0ustar00 '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.php000064400000002350146412132660017256 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002264146412132660017337 0ustar00 '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.php000064400000002754146412132660017511 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003255146412132660020324 0ustar00 '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_.php000064400000004675146412132660021445 0ustar00 '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.php000064400000002344146412132660017005 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002712146412132660017061 0ustar00 '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.php000064400000002744146412132660017234 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003767146412132660020060 0ustar00 '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_.php000064400000015666146412132660021173 0ustar00 '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.php000064400000002372146412132660021116 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002306146412132660021170 0ustar00 '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.php000064400000003020146412132660021330 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003310146412132660022150 0ustar00 '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_.php000064400000007423146412132660023273 0ustar00 '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.php000064400000002360146412132660020074 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002774146412132660020330 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002666146412132660021146 0ustar00 '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.php000064400000002364146412132660020475 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003004146412132660020710 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001660146412132660021534 0ustar00 '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.php000064400000002354146412132660017626 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002764146412132660020056 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002577146412132660020676 0ustar00 '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_.php000064400000007642146412132660022006 0ustar00 '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.php000064400000003747146412132660025747 0ustar00 '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/QueryPermissionByUserIdHeaders.php000064400000002360146412132660020125 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001511146412132660020177 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; 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['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/QueryPermissionByUserIdResponse.php000064400000002774146412132660020361 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003646146412132660021176 0ustar00 'permissionDTOList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; 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['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.php000064400000002471146412132660024564 0ustar00 '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.php000064400000002364146412132660020474 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001707146412132660020551 0ustar00 'roleCodeList', ]; public function validate() { } public function toMap() { $res = []; 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['roleCodeList'])) { if (!empty($map['roleCodeList'])) { $model->roleCodeList = $map['roleCodeList']; } } return $model; } } src/bizfinance_1_0/Models/QueryPermissionRoleMemberResponse.php000064400000003004146412132660020707 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002237146412132660021534 0ustar00 '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.php000064400000002346146412132660017102 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002262146412132660017154 0ustar00 '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.php000064400000002750146412132660017324 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003216146412132660020140 0ustar00 '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_.php000064400000005545146412132660021261 0ustar00 'code', 'createTime' => 'createTime', 'description' => 'description', '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->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['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.php000064400000002346146412132660017070 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002262146412132660017142 0ustar00 '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.php000064400000002750146412132660017312 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003252146412132660020126 0ustar00 '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_.php000064400000007177146412132660021252 0ustar00 '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.php000064400000002372146412132660021073 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001640146412132660021145 0ustar00 '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.php000064400000003020146412132660021305 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001775146412132660022142 0ustar00 '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.php000064400000024627146412132660023461 0ustar00 '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.php000064400000002734146412132660025113 0ustar00 '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.php000064400000002166146412132660025314 0ustar00 '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.php000064400000011405146412132660026577 0ustar00 '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.php000064400000002356146412132660017752 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000010435146412132660020024 0ustar00 '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.php000064400000002770146412132660020175 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004010146412132660021000 0ustar00 '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_.php000064400000024517146412132660022130 0ustar00 '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.php000064400000002725146412132660023564 0ustar00 '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.php000064400000002157146412132660023765 0ustar00 '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.php000064400000011376146412132660025257 0ustar00 '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.php000064400000002354146412132660017556 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000007025146412132660017633 0ustar00 'accountantBookId', '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->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['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.php000064400000002764146412132660020006 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004005146412132660020612 0ustar00 '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_.php000064400000016020146412132660021724 0ustar00 'accountantBookId', 'amount' => 'amount', 'businessId' => 'businessId', 'companyCode' => 'companyCode', 'createTime' => 'createTime', 'creator' => 'creator', 'customer' => 'customer', '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->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->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['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['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.php000064400000002724146412132660023371 0ustar00 '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.php000064400000002156146412132660023572 0ustar00 '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.php000064400000002564146412132660023715 0ustar00 '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.php000064400000002055146412132660023375 0ustar00 '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.php000064400000002057146412132660023574 0ustar00 '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.php000064400000002350146412132660017233 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005043146412132660017312 0ustar00 '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.php000064400000002754146412132660017466 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003260146412132660020275 0ustar00 '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_.php000064400000004706146412132660021415 0ustar00 '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.php000064400000002354146412132660017512 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003016146412132660017563 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'roleCode' => 'roleCode', ]; 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->roleCode) { $res['roleCode'] = $this->roleCode; } return $res; } /** * @param array $map * * @return QueryRoleMemberByPageRequest */ 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['roleCode'])) { $model->roleCode = $map['roleCode']; } return $model; } } src/bizfinance_1_0/Models/QueryRoleMemberByPageResponse.php000064400000002764146412132660017742 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004363146412132660020555 0ustar00 '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_.php000064400000002546146412132660021670 0ustar00 '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.php000064400000002350146412132660017260 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002264146412132660017341 0ustar00 '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.php000064400000002754146412132660017513 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003255146412132660020326 0ustar00 '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_.php000064400000004700146412132660021434 0ustar00 '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.php000064400000002344146412132660016764 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001540146412132660017036 0ustar00 '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.php000064400000002744146412132660017213 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005143146412132660020025 0ustar00 '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.php000064400000003347146412132660024371 0ustar00 '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.php000064400000002302146412132660022061 0ustar00 '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.php000064400000003335146412132660015533 0ustar00 'roleCode', 'memberList' => 'memberList', ]; 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; } } } 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; } } } return $model; } } src/bizfinance_1_0/Models/RoleMemberMapValue/memberList.php000064400000002701146412132660017632 0ustar00 '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.php000064400000002410146412132660022336 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004352146412132660022422 0ustar00 '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.php000064400000002346146412132660025631 0ustar00 '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.php000064400000003054146412132660022566 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005276146412132660023414 0ustar00 '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.php000064400000003237146412132660030610 0ustar00src '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.php000064400000002406146412132660034013 0ustar00src/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.php000064400000002277146412132660027632 0ustar00 '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.php000064400000002410146412132660022341 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004472146412132660022430 0ustar00 '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.php000064400000046256146412132660026471 0ustar00 '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; } } UpdateApplyReceiptAndInvoiceRelatedRequest/generalInvoiceVOList/generalInvoiceDetailVOList.php000064400000010067146412132660033557 0ustar00src/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.php000064400000006731146412132660034374 0ustar00src/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.php000064400000013715146412132660033675 0ustar00src/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.php000064400000012632146412132660033051 0ustar00src/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.php000064400000003054146412132660022571 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005276146412132660023417 0ustar00 '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.php000064400000003237146412132660030613 0ustar00src '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.php000064400000002406146412132660034016 0ustar00src/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.php000064400000002277146412132660027635 0ustar00 '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.php000064400000002370146412132660020662 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003742146412132660020743 0ustar00 '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.php000064400000003014146412132660021101 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001531146412132660021721 0ustar00 '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.php000064400000002362146412132660020213 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004142146412132660020266 0ustar00 '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.php000064400000003000146412132660020424 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001523146412132660021252 0ustar00 '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.php000064400000002374146412132660021231 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005131146412132660021300 0ustar00 '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.php000064400000003024146412132660021445 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001535146412132660022270 0ustar00 '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.php000064400000002366146412132660020574 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000011602146412132660020642 0ustar00 '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.php000064400000044364146412132660024664 0ustar00 '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.php000064400000010107146412132660031747 0ustar00src/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.php000064400000006720146412132660032567 0ustar00src/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.php000064400000013704146412132660032070 0ustar00src/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.php000064400000012654146412132660031252 0ustar00src/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.php000064400000044323146412132660024502 0ustar00 '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.php000064400000010110146412132660031564 0ustar00src/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.php000064400000006717146412132660032420 0ustar00src/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.php000064400000013703146412132660031712 0ustar00src/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.php000064400000012653146412132660031074 0ustar00src/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.php000064400000003010146412132660021002 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001527146412132660021633 0ustar00 '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.php000064400000002366146412132660020565 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000007320146412132660020635 0ustar00 '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.php000064400000046201146412132660024671 0ustar00 '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.php000064400000010056146412132660031767 0ustar00src/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.php000064400000006720146412132660032604 0ustar00src/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.php000064400000013704146412132660032105 0ustar00src/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.php000064400000012621146412132660031261 0ustar00src/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.php000064400000002337146412132660024046 0ustar00 '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.php000064400000003010146412132660020773 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004755146412132660021632 0ustar00 '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.php000064400000002262146412132660024151 0ustar00 '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.php000064400000002246146412132660024472 0ustar00 '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.php000064400000002404146412132660022052 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004663146412132660022140 0ustar00 '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.php000064400000004054146412132660026767 0ustar00 '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.php000064400000003044146412132660022276 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002014146412132660023110 0ustar00 '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.php000064400000004165146412132660024437 0ustar00 '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.php000064400000003612146412132660027046 0ustar00 '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.php000064400000002374146412132660021323 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004647146412132660021405 0ustar00 '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.php000064400000003767146412132660026244 0ustar00 '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.php000064400000003024146412132660021537 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002000146412132660022346 0ustar00 '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.php000064400000004155146412132660023701 0ustar00 '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.php000064400000003607146412132660026315 0ustar00 '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.php000064400000002376146412132660021346 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004673146412132660021425 0ustar00 '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.php000064400000065224146412132660024623 0ustar00 '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', '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->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['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.php000064400000005412146412132660031207 0ustar00src/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.php000064400000010107146412132660031710 0ustar00src/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.php000064400000006720146412132660032530 0ustar00src/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.php000064400000013704146412132660032031 0ustar00src/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.php000064400000012654146412132660031213 0ustar00src/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.php000064400000003030146412132660021555 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001537146412132660022405 0ustar00 '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.php000064400000002364146412132660020453 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002771146412132660020532 0ustar00 '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.php000064400000003004146412132660020666 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001525146412132660021512 0ustar00 '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.php000064400000002364146412132660020474 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000010060146412132660020541 0ustar00 '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.php000064400000046174146412132660024613 0ustar00 '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.php000064400000010055146412132660031677 0ustar00src/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.php000064400000006717146412132660032523 0ustar00src/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.php000064400000013703146412132660032015 0ustar00src/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.php000064400000012620146412132660031171 0ustar00src/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.php000064400000002336146412132660023756 0ustar00 '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.php000064400000003004146412132660020707 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001525146412132660021533 0ustar00 '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.php000064400000002366146412132660020645 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005132146412132660020714 0ustar00 '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.php000064400000003010146412132660021053 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002155146412132660021702 0ustar00 '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.php000064400000002334146412132660016077 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002635146412132660016160 0ustar00 '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.php000064400000012452146412132660017774 0ustar00 '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.php000064400000002724146412132660016325 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002632146412132660017141 0ustar00 '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.php000064400000003410146412132660020635 0ustar00 '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.php000064400000002366146412132660020644 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005065146412132660020720 0ustar00 'accountPeriod', 'actionType' => 'actionType', 'operatorId' => 'operatorId', 'receiptId' => 'receiptId', 'voucherCode' => 'voucherCode', 'voucherId' => 'voucherId', ]; 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; } 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']; } return $model; } } src/bizfinance_1_0/Models/UpdateReceiptVoucherStatusResponse.php000064400000003010146412132660021052 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001527146412132660021703 0ustar00 '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.php000064400000104706146412132660012366 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param BatchDeleteReceiptRequest $request * @param BatchDeleteReceiptHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchDeleteReceiptRequest $request * * @return BatchDeleteReceiptResponse */ public function batchDeleteReceipt($request) { $runtime = new RuntimeOptions([]); $headers = new BatchDeleteReceiptHeaders([]); return $this->batchDeleteReceiptWithOptions($request, $headers, $runtime); } /** * @param GetCategoryRequest $request * @param GetCategoryHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetCategoryRequest $request * * @return GetCategoryResponse */ public function getCategory($request) { $runtime = new RuntimeOptions([]); $headers = new GetCategoryHeaders([]); return $this->getCategoryWithOptions($request, $headers, $runtime); } /** * @param GetFinanceAccountRequest $request * @param GetFinanceAccountHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetFinanceAccountRequest $request * * @return GetFinanceAccountResponse */ public function getFinanceAccount($request) { $runtime = new RuntimeOptions([]); $headers = new GetFinanceAccountHeaders([]); return $this->getFinanceAccountWithOptions($request, $headers, $runtime); } /** * @param GetProjectRequest $request * @param GetProjectHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetProjectRequest $request * * @return GetProjectResponse */ public function getProject($request) { $runtime = new RuntimeOptions([]); $headers = new GetProjectHeaders([]); return $this->getProjectWithOptions($request, $headers, $runtime); } /** * @param GetSupplierRequest $request * @param GetSupplierHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetSupplierRequest $request * * @return GetSupplierResponse */ public function getSupplier($request) { $runtime = new RuntimeOptions([]); $headers = new GetSupplierHeaders([]); return $this->getSupplierWithOptions($request, $headers, $runtime); } /** * @param LinkCommonInvokeRequest $request * @param LinkCommonInvokeHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param LinkCommonInvokeRequest $request * * @return LinkCommonInvokeResponse */ public function linkCommonInvoke($request) { $runtime = new RuntimeOptions([]); $headers = new LinkCommonInvokeHeaders([]); return $this->linkCommonInvokeWithOptions($request, $headers, $runtime); } /** * @param QueryCategoryByPageRequest $request * @param QueryCategoryByPageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCategoryByPageRequest $request * * @return QueryCategoryByPageResponse */ public function queryCategoryByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCategoryByPageHeaders([]); return $this->queryCategoryByPageWithOptions($request, $headers, $runtime); } /** * @param QueryCustomerByPageRequest $request * @param QueryCustomerByPageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCustomerByPageRequest $request * * @return QueryCustomerByPageResponse */ public function queryCustomerByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCustomerByPageHeaders([]); return $this->queryCustomerByPageWithOptions($request, $headers, $runtime); } /** * @param QueryEnterpriseAccountByPageRequest $request * @param QueryEnterpriseAccountByPageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryEnterpriseAccountByPageRequest $request * * @return QueryEnterpriseAccountByPageResponse */ public function queryEnterpriseAccountByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryEnterpriseAccountByPageHeaders([]); return $this->queryEnterpriseAccountByPageWithOptions($request, $headers, $runtime); } /** * @param string $instanceId * @param QueryInstancePaymentOrderDetailRequest $request * @param QueryInstancePaymentOrderDetailHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $instanceId * @param QueryInstancePaymentOrderDetailRequest $request * * @return QueryInstancePaymentOrderDetailResponse */ public function queryInstancePaymentOrderDetail($instanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryInstancePaymentOrderDetailHeaders([]); return $this->queryInstancePaymentOrderDetailWithOptions($instanceId, $request, $headers, $runtime); } /** * @param QueryProjectByPageRequest $request * @param QueryProjectByPageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryProjectByPageRequest $request * * @return QueryProjectByPageResponse */ public function queryProjectByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryProjectByPageHeaders([]); return $this->queryProjectByPageWithOptions($request, $headers, $runtime); } /** * @param QuerySupplierByPageRequest $request * @param QuerySupplierByPageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QuerySupplierByPageRequest $request * * @return QuerySupplierByPageResponse */ public function querySupplierByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySupplierByPageHeaders([]); return $this->querySupplierByPageWithOptions($request, $headers, $runtime); } /** * @param SignEnterpriseAccountRequest $request * @param SignEnterpriseAccountHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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)); } /** * @param SignEnterpriseAccountRequest $request * * @return SignEnterpriseAccountResponse */ public function signEnterpriseAccount($request) { $runtime = new RuntimeOptions([]); $headers = new SignEnterpriseAccountHeaders([]); return $this->signEnterpriseAccountWithOptions($request, $headers, $runtime); } /** * @param SyncReceiptRecallRequest $request * @param SyncReceiptRecallHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SyncReceiptRecallRequest $request * * @return SyncReceiptRecallResponse */ public function syncReceiptRecall($request) { $runtime = new RuntimeOptions([]); $headers = new SyncReceiptRecallHeaders([]); return $this->syncReceiptRecallWithOptions($request, $headers, $runtime); } /** * @param string $instanceId * @param UpdateInstanceOrderInfoRequest $tmpReq * @param UpdateInstanceOrderInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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)); } /** * @param string $instanceId * @param UpdateInstanceOrderInfoRequest $request * * @return UpdateInstanceOrderInfoResponse */ public function updateInstanceOrderInfo($instanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInstanceOrderInfoHeaders([]); return $this->updateInstanceOrderInfoWithOptions($instanceId, $request, $headers, $runtime); } } src/bizfinance_2_0/Models/BatchDeleteReceiptHeaders.php000064400000002346146412132660017025 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002420146412132660017073 0ustar00 '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.php000064400000002750146412132660017247 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001507146412132660020064 0ustar00 '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/GetCategoryHeaders.php000064400000002330146412132660015553 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001501146412132660015627 0ustar00 '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.php000064400000002714146412132660016004 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005512146412132660016621 0ustar00 'accountantBookIdList', 'code' => 'code', 'isDir' => 'isDir', 'name' => 'name', 'parentCode' => 'parentCode', '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->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['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/bizfinance_2_0/Models/GetFinanceAccountHeaders.php000064400000002344146412132660016663 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001552146412132660016740 0ustar00 '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.php000064400000002744146412132660017112 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000010431146412132660017720 0ustar00 '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.php000064400000002326146412132660015411 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001475146412132660015472 0ustar00 '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.php000064400000002710146412132660015631 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000007604146412132660016456 0ustar00 '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/GetSupplierHeaders.php000064400000002330146412132660015601 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001476146412132660015670 0ustar00 '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.php000064400000002714146412132660016032 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005675146412132660016661 0ustar00 '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.php000064400000002342146412132660016563 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003373146412132660016645 0ustar00 '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.php000064400000002740146412132660017010 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002557146412132660017634 0ustar00 '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/QueryCategoryByPageHeaders.php000064400000002350146412132660017233 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002717146412132660017317 0ustar00 '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.php000064400000002754146412132660017466 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003255146412132660020301 0ustar00 '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_.php000064400000004464146412132660021416 0ustar00 'code', 'isDir' => 'isDir', 'name' => 'name', 'parentCode' => 'parentCode', '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->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['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/bizfinance_2_0/Models/QueryCustomerByPageHeaders.php000064400000002350146412132660017257 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002264146412132660017340 0ustar00 '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.php000064400000002754146412132660017512 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003255146412132660020325 0ustar00 '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_.php000064400000004675146412132660021446 0ustar00 '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.php000064400000002372146412132660021117 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002306146412132660021171 0ustar00 '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.php000064400000003020146412132660021331 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003310146412132660022151 0ustar00 '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_.php000064400000007423146412132660023274 0ustar00 '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.php000064400000002400146412132660021603 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001575146412132660021674 0ustar00 '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.php000064400000003034146412132660022032 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000006054146412132660022655 0ustar00 '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.php000064400000002113146412132660025634 0ustar00 '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.php000064400000005303146412132660027665 0ustar00src '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.php000064400000002752146412132660025662 0ustar00 '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.php000064400000005303146412132660027702 0ustar00src '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.php000064400000002346146412132660017071 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002262146412132660017143 0ustar00 '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.php000064400000002750146412132660017313 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003252146412132660020127 0ustar00 '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_.php000064400000007177146412132660021253 0ustar00 '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.php000064400000002350146412132660017261 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002264146412132660017342 0ustar00 '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.php000064400000002754146412132660017514 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003255146412132660020327 0ustar00 '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_.php000064400000004700146412132660021435 0ustar00 '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/SignEnterpriseAccountHeaders.php000064400000002354146412132660017622 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003632146412132660017677 0ustar00 'bankCardNo', 'bankOpenId' => 'bankOpenId', '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->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['operator'])) { $model->operator = $map['operator']; } if (isset($map['signOperateType'])) { $model->signOperateType = $map['signOperateType']; } return $model; } } src/bizfinance_2_0/Models/SignEnterpriseAccountResponse.php000064400000002764146412132660020052 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001515146412132660020661 0ustar00 '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.php000064400000002344146412132660016716 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003065146412132660016774 0ustar00 '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.php000064400000002744146412132660017145 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001505146412132660017755 0ustar00 '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.php000064400000002360146412132660020060 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005071146412132660020137 0ustar00 'failReason', 'orderNo' => 'orderNo', 'outOrderNo' => 'outOrderNo', 'payerBank' => 'payerBank', '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->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['status'])) { $model->status = $map['status']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_2_0/Models/UpdateInstanceOrderInfoRequest/payerBank.php000064400000002200146412132660022042 0ustar00 '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.php000064400000002774146412132660020314 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001521146412132660021117 0ustar00 '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.php000064400000004731146412132660021320 0ustar00 'failReason', 'orderNo' => 'orderNo', 'outOrderNo' => 'outOrderNo', 'payerBankShrink' => 'payerBank', '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->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['status'])) { $model->status = $map['status']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/blackboard_1_0/Dingtalk.php000064400000012635146412132660012340 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param QueryBlackboardReadUnReadRequest $request * @param QueryBlackboardReadUnReadHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryBlackboardReadUnReadRequest $request * * @return QueryBlackboardReadUnReadResponse */ public function queryBlackboardReadUnRead($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBlackboardReadUnReadHeaders([]); return $this->queryBlackboardReadUnReadWithOptions($request, $headers, $runtime); } /** * @param QueryBlackboardSpaceRequest $request * @param QueryBlackboardSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryBlackboardSpaceRequest $request * * @return QueryBlackboardSpaceResponse */ public function queryBlackboardSpace($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBlackboardSpaceHeaders([]); return $this->queryBlackboardSpaceWithOptions($request, $headers, $runtime); } } src/blackboard_1_0/Models/QueryBlackboardReadUnReadHeaders.php000064400000002364146412132660020265 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003716146412132660020344 0ustar00 '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.php000064400000003004146412132660020500 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003307146412132660021324 0ustar00 '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.php000064400000002714146412132660022466 0ustar00 '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.php000064400000002352146412132660017343 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001665146412132660017426 0ustar00 '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.php000064400000002760146412132660017571 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001526146412132660020406 0ustar00 '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.php000064400000265674146412132660012042 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param AddAttendeeRequest $request * @param AddAttendeeHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param AddAttendeeRequest $request * * @return AddAttendeeResponse */ public function addAttendee($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddAttendeeHeaders([]); return $this->addAttendeeWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param AddMeetingRoomsRequest $request * @param AddMeetingRoomsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param AddMeetingRoomsRequest $request * * @return AddMeetingRoomsResponse */ public function addMeetingRooms($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddMeetingRoomsHeaders([]); return $this->addMeetingRoomsWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param CheckInHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param string $eventId * * @return CheckInResponse */ public function checkIn($userId, $calendarId, $eventId) { $runtime = new RuntimeOptions([]); $headers = new CheckInHeaders([]); return $this->checkInWithOptions($userId, $calendarId, $eventId, $headers, $runtime); } /** * @param string $userId * @param ConvertLegacyEventIdRequest $request * @param ConvertLegacyEventIdHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param ConvertLegacyEventIdRequest $request * * @return ConvertLegacyEventIdResponse */ public function convertLegacyEventId($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new ConvertLegacyEventIdHeaders([]); return $this->convertLegacyEventIdWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param CreateAclsRequest $request * @param CreateAclsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param CreateAclsRequest $request * * @return CreateAclsResponse */ public function createAcls($userId, $calendarId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateAclsHeaders([]); return $this->createAclsWithOptions($userId, $calendarId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param CreateEventRequest $request * @param CreateEventHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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)); } /** * @param string $userId * @param string $calendarId * @param CreateEventRequest $request * * @return CreateEventResponse */ public function createEvent($userId, $calendarId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateEventHeaders([]); return $this->createEventWithOptions($userId, $calendarId, $request, $headers, $runtime); } /** * @param string $calendarId * @param CreateEventByMeRequest $request * @param CreateEventByMeHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $calendarId * @param CreateEventByMeRequest $request * * @return CreateEventByMeResponse */ public function createEventByMe($calendarId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateEventByMeHeaders([]); return $this->createEventByMeWithOptions($calendarId, $request, $headers, $runtime); } /** * @param string $userId * @param CreateSubscribedCalendarRequest $request * @param CreateSubscribedCalendarHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param CreateSubscribedCalendarRequest $request * * @return CreateSubscribedCalendarResponse */ public function createSubscribedCalendar($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateSubscribedCalendarHeaders([]); return $this->createSubscribedCalendarWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param string $aclId * @param DeleteAclHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param string $aclId * * @return DeleteAclResponse */ public function deleteAcl($userId, $calendarId, $aclId) { $runtime = new RuntimeOptions([]); $headers = new DeleteAclHeaders([]); return $this->deleteAclWithOptions($userId, $calendarId, $aclId, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param DeleteEventRequest $request * @param DeleteEventHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param DeleteEventRequest $request * * @return DeleteEventResponse */ public function deleteEvent($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteEventHeaders([]); return $this->deleteEventWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param DeleteSubscribedCalendarHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * * @return DeleteSubscribedCalendarResponse */ public function deleteSubscribedCalendar($userId, $calendarId) { $runtime = new RuntimeOptions([]); $headers = new DeleteSubscribedCalendarHeaders([]); return $this->deleteSubscribedCalendarWithOptions($userId, $calendarId, $headers, $runtime); } /** * @param string $userId * @param GenerateCaldavAccountRequest $request * @param GenerateCaldavAccountHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param GenerateCaldavAccountRequest $request * * @return GenerateCaldavAccountResponse */ public function generateCaldavAccount($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new GenerateCaldavAccountHeaders([]); return $this->generateCaldavAccountWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param GetEventRequest $request * @param GetEventHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param GetEventRequest $request * * @return GetEventResponse */ public function getEvent($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetEventHeaders([]); return $this->getEventWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @param string $userId * @param GetMeetingRoomsScheduleRequest $request * @param GetMeetingRoomsScheduleHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param GetMeetingRoomsScheduleRequest $request * * @return GetMeetingRoomsScheduleResponse */ public function getMeetingRoomsSchedule($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetMeetingRoomsScheduleHeaders([]); return $this->getMeetingRoomsScheduleWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param GetScheduleRequest $request * @param GetScheduleHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param GetScheduleRequest $request * * @return GetScheduleResponse */ public function getSchedule($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetScheduleHeaders([]); return $this->getScheduleWithOptions($userId, $request, $headers, $runtime); } /** * @param string $calendarId * @param string $userId * @param string $eventId * @param GetSignInLinkHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $calendarId * @param string $userId * @param string $eventId * * @return GetSignInLinkResponse */ public function getSignInLink($calendarId, $userId, $eventId) { $runtime = new RuntimeOptions([]); $headers = new GetSignInLinkHeaders([]); return $this->getSignInLinkWithOptions($calendarId, $userId, $eventId, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param GetSignInListRequest $request * @param GetSignInListHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param GetSignInListRequest $request * * @return GetSignInListResponse */ public function getSignInList($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetSignInListHeaders([]); return $this->getSignInListWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @param string $calendarId * @param string $userId * @param string $eventId * @param GetSignOutLinkHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $calendarId * @param string $userId * @param string $eventId * * @return GetSignOutLinkResponse */ public function getSignOutLink($calendarId, $userId, $eventId) { $runtime = new RuntimeOptions([]); $headers = new GetSignOutLinkHeaders([]); return $this->getSignOutLinkWithOptions($calendarId, $userId, $eventId, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param GetSignOutListRequest $request * @param GetSignOutListHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param GetSignOutListRequest $request * * @return GetSignOutListResponse */ public function getSignOutList($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetSignOutListHeaders([]); return $this->getSignOutListWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param GetSubscribedCalendarHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * * @return GetSubscribedCalendarResponse */ public function getSubscribedCalendar($userId, $calendarId) { $runtime = new RuntimeOptions([]); $headers = new GetSubscribedCalendarHeaders([]); return $this->getSubscribedCalendarWithOptions($userId, $calendarId, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param ListAclsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * * @return ListAclsResponse */ public function listAcls($userId, $calendarId) { $runtime = new RuntimeOptions([]); $headers = new ListAclsHeaders([]); return $this->listAclsWithOptions($userId, $calendarId, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param ListAttendeesRequest $request * @param ListAttendeesHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param ListAttendeesRequest $request * * @return ListAttendeesResponse */ public function listAttendees($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListAttendeesHeaders([]); return $this->listAttendeesWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @param string $userId * @param ListCalendarsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * * @return ListCalendarsResponse */ public function listCalendars($userId) { $runtime = new RuntimeOptions([]); $headers = new ListCalendarsHeaders([]); return $this->listCalendarsWithOptions($userId, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param ListEventsRequest $request * @param ListEventsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param ListEventsRequest $request * * @return ListEventsResponse */ public function listEvents($userId, $calendarId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListEventsHeaders([]); return $this->listEventsWithOptions($userId, $calendarId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param ListEventsInstancesRequest $request * @param ListEventsInstancesHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param ListEventsInstancesRequest $request * * @return ListEventsInstancesResponse */ public function listEventsInstances($userId, $calendarId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListEventsInstancesHeaders([]); return $this->listEventsInstancesWithOptions($userId, $calendarId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param ListEventsViewRequest $request * @param ListEventsViewHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param ListEventsViewRequest $request * * @return ListEventsViewResponse */ public function listEventsView($userId, $calendarId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListEventsViewHeaders([]); return $this->listEventsViewWithOptions($userId, $calendarId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param ListInstancesRequest $request * @param ListInstancesHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param ListInstancesRequest $request * * @return ListInstancesResponse */ public function listInstances($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListInstancesHeaders([]); return $this->listInstancesWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param PatchEventRequest $request * @param PatchEventHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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)); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param PatchEventRequest $request * * @return PatchEventResponse */ public function patchEvent($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new PatchEventHeaders([]); return $this->patchEventWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param RemoveAttendeeRequest $request * @param RemoveAttendeeHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param RemoveAttendeeRequest $request * * @return RemoveAttendeeResponse */ public function removeAttendee($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new RemoveAttendeeHeaders([]); return $this->removeAttendeeWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param RemoveMeetingRoomsRequest $request * @param RemoveMeetingRoomsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param RemoveMeetingRoomsRequest $request * * @return RemoveMeetingRoomsResponse */ public function removeMeetingRooms($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new RemoveMeetingRoomsHeaders([]); return $this->removeMeetingRoomsWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param RespondEventRequest $request * @param RespondEventHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param RespondEventRequest $request * * @return RespondEventResponse */ public function respondEvent($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new RespondEventHeaders([]); return $this->respondEventWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param SignInHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param string $eventId * * @return SignInResponse */ public function signIn($userId, $calendarId, $eventId) { $runtime = new RuntimeOptions([]); $headers = new SignInHeaders([]); return $this->signInWithOptions($userId, $calendarId, $eventId, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param string $eventId * @param SignOutHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * @param string $eventId * * @return SignOutResponse */ public function signOut($userId, $calendarId, $eventId) { $runtime = new RuntimeOptions([]); $headers = new SignOutHeaders([]); return $this->signOutWithOptions($userId, $calendarId, $eventId, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param SubscribeCalendarHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * * @return SubscribeCalendarResponse */ public function subscribeCalendar($userId, $calendarId) { $runtime = new RuntimeOptions([]); $headers = new SubscribeCalendarHeaders([]); return $this->subscribeCalendarWithOptions($userId, $calendarId, $headers, $runtime); } /** * @param string $calendarId * @param string $userId * @param string $eventId * @param TransferEventRequest $request * @param TransferEventHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $calendarId * @param string $userId * @param string $eventId * @param TransferEventRequest $request * * @return TransferEventResponse */ public function transferEvent($calendarId, $userId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new TransferEventHeaders([]); return $this->transferEventWithOptions($calendarId, $userId, $eventId, $request, $headers, $runtime); } /** * @param string $userId * @param string $calendarId * @param UnsubscribeCalendarHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param string $calendarId * * @return UnsubscribeCalendarResponse */ public function unsubscribeCalendar($userId, $calendarId) { $runtime = new RuntimeOptions([]); $headers = new UnsubscribeCalendarHeaders([]); return $this->unsubscribeCalendarWithOptions($userId, $calendarId, $headers, $runtime); } /** * @param string $calendarId * @param string $userId * @param UpdateSubscribedCalendarsRequest $request * @param UpdateSubscribedCalendarsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $calendarId * @param string $userId * @param UpdateSubscribedCalendarsRequest $request * * @return 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.php000064400000003055146412132660015145 0ustar00 '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.php000064400000004315146412132660015222 0ustar00 '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.php000064400000002116146412132660020107 0ustar00 '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.php000064400000002156146412132660015371 0ustar00 '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.php000064400000003065146412132660016025 0ustar00 '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.php000064400000003101146412132660016071 0ustar00 '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.php000064400000001504146412132660021462 0ustar00 '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.php000064400000002732146412132660016250 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001477146412132660017073 0ustar00 '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.php000064400000002316146412132660014306 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002672146412132660014536 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001533146412132660015347 0ustar00 '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.php000064400000002350146412132660017024 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001717146412132660017107 0ustar00 '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.php000064400000002756146412132660017261 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001646146412132660020074 0ustar00 '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.php000064400000002324146412132660015007 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002753146412132660015072 0ustar00 '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.php000064400000002123146412132660016172 0ustar00 '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.php000064400000002706146412132660015236 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002754146412132660016057 0ustar00 '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.php000064400000002130146412132660017154 0ustar00 '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.php000064400000003065146412132660015766 0ustar00 '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.php000064400000016245146412132660016047 0ustar00 '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.php000064400000002110146412132660020005 0ustar00 '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.php000064400000002722146412132660016610 0ustar00 '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.php000064400000001537146412132660017655 0ustar00 '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.php000064400000001462146412132660021453 0ustar00 '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.php000064400000002564146412132660020203 0ustar00 '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.php000064400000004443146412132660021656 0ustar00 '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.php000064400000002727146412132660021300 0ustar00 '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.php000064400000002111146412132660020022 0ustar00 '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.php000064400000001466146412132660022044 0ustar00 '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.php000064400000002726146412132660017203 0ustar00 '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.php000064400000002126146412132660017766 0ustar00 '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.php000064400000002732146412132660016211 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000020410146412132660017020 0ustar00 '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.php000064400000003755146412132660021011 0ustar00 '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.php000064400000002537146412132660017600 0ustar00 '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.php000064400000001544146412132660020637 0ustar00 '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.php000064400000003254146412132660022440 0ustar00 '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.php000064400000003271146412132660021026 0ustar00 '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.php000064400000002603146412132660021161 0ustar00 '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.php000064400000004450146412132660022640 0ustar00 '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.php000064400000002734146412132660022262 0ustar00 '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.php000064400000002121146412132660021007 0ustar00 '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.php000064400000001473146412132660023026 0ustar00 '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.php000064400000002543146412132660020164 0ustar00 '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.php000064400000002133146412132660020750 0ustar00 '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.php000064400000003055146412132660015210 0ustar00 '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.php000064400000016171146412132660015270 0ustar00 '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 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['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.php000064400000002104146412132660017233 0ustar00 '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/end.php000064400000002716146412132660016036 0ustar00 '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.php000064400000001533146412132660017074 0ustar00 '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.php000064400000001456146412132660020701 0ustar00 '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.php000064400000002550146412132660017421 0ustar00 '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.php000064400000004437146412132660021104 0ustar00 '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.php000064400000002723146412132660020517 0ustar00 '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.php000064400000002105146412132660017250 0ustar00 '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.php000064400000001462146412132660021263 0ustar00 '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.php000064400000002722146412132660016422 0ustar00 '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.php000064400000002122146412132660017205 0ustar00 '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.php000064400000002712146412132660015432 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000020330146412132660016244 0ustar00 '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 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['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.php000064400000003751146412132660020230 0ustar00 '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/end.php000064400000002533146412132660017017 0ustar00 '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.php000064400000001540146412132660020056 0ustar00 '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.php000064400000003250146412132660021657 0ustar00 '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.php000064400000003265146412132660020254 0ustar00 '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.php000064400000002567146412132660020415 0ustar00 '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.php000064400000004444146412132660022066 0ustar00 '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.php000064400000002730146412132660021501 0ustar00 '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.php000064400000002115146412132660020235 0ustar00 '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.php000064400000001467146412132660022254 0ustar00 '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.php000064400000002537146412132660017412 0ustar00 '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.php000064400000002127146412132660020176 0ustar00 '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.php000064400000002360146412132660017644 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003760146412132660017726 0ustar00 '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.php000064400000003324146412132660022675 0ustar00 '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.php000064400000002776146412132660020102 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001567146412132660020715 0ustar00 '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.php000064400000002322146412132660014621 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002152146412132660015045 0ustar00 '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.php000064400000003055146412132660015207 0ustar00 '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.php000064400000001607146412132660015265 0ustar00 '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.php000064400000002156146412132660015433 0ustar00 '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.php000064400000002360146412132660017643 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002776146412132660020101 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001521146412132660020702 0ustar00 '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.php000064400000003021146412132660017156 0ustar00 '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.php000064400000001503146412132660017236 0ustar00 '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.php000064400000002762146412132660017414 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002726146412132660020232 0ustar00 '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.php000064400000002320146412132660014516 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001534146412132660014601 0ustar00 '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.php000064400000002676146412132660014757 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000025523146412132660015571 0ustar00 '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 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['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/GetEventResponseBody/attendees.php000064400000003746146412132660017550 0ustar00 '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/categories.php000064400000001541146412132660017710 0ustar00 '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.php000064400000002530146412132660016330 0ustar00 '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.php000064400000002143146412132660021437 0ustar00 '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.php000064400000002327146412132660024766 0ustar00 '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.php000064400000002346146412132660017377 0ustar00 '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.php000064400000002724146412132660020237 0ustar00 '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.php000064400000003245146412132660021177 0ustar00 '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.php000064400000003262146412132660017565 0ustar00 '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.php000064400000001510146412132660020064 0ustar00 '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.php000064400000002556146412132660017727 0ustar00 '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.php000064400000004441146412132660021377 0ustar00 '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.php000064400000002725146412132660021021 0ustar00 '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.php000064400000002112146412132660017546 0ustar00 '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.php000064400000001464146412132660021565 0ustar00 '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.php000064400000002534146412132660016723 0ustar00 '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/GetMeetingRoomsScheduleHeaders.php000064400000002356146412132660017533 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002723146412132660017606 0ustar00 '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.php000064400000002772146412132660017760 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003214146412132660020566 0ustar00 '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.php000064400000004132146412132660024570 0ustar00 '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.php000064400000004755146412132660027401 0ustar00 '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.php000064400000002211146412132660030051 0ustar00src '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.php000064400000001477146412132660031320 0ustar00src/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.php000064400000002215146412132660030444 0ustar00src '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/GetScheduleHeaders.php000064400000002326146412132660015177 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002673146412132660015261 0ustar00 '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.php000064400000002712146412132660015421 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003150146412132660016234 0ustar00 '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.php000064400000004102146412132660022234 0ustar00 '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.php000064400000003267146412132660025045 0ustar00 '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.php000064400000002575146412132660025614 0ustar00 '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.php000064400000002601146412132660026171 0ustar00 '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.php000064400000002332146412132660015445 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002722146412132660015673 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001541146412132660016507 0ustar00 '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.php000064400000002332146412132660015463 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002640146412132660015542 0ustar00 '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.php000064400000002722146412132660015711 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003237146412132660016531 0ustar00 '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.php000064400000002647146412132660017676 0ustar00 '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.php000064400000002334146412132660015650 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002726146412132660016100 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001554146412132660016714 0ustar00 '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.php000064400000002334146412132660015666 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002642146412132660015745 0ustar00 '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.php000064400000002726146412132660016116 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003242146412132660016726 0ustar00 '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.php000064400000002663146412132660020075 0ustar00 '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.php000064400000002352146412132660017161 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002762146412132660017411 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005102146412132660020216 0ustar00 '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.php000064400000003326146412132660023177 0ustar00 '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.php000064400000002320146412132660014513 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002676146412132660014754 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002521146412132660015557 0ustar00 '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.php000064400000002740146412132660016504 0ustar00 '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.php000064400000002133146412132660017611 0ustar00 '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.php000064400000002332146412132660015550 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002176146412132660015633 0ustar00 '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.php000064400000002722146412132660015776 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003343146412132660016614 0ustar00 '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.php000064400000003753146412132660020575 0ustar00 '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.php000064400000002332146412132660015530 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002722146412132660015756 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001746146412132660016601 0ustar00 '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.php000064400000002673146412132660020437 0ustar00 '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.php000064400000004717146412132660022374 0ustar00 '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.php000064400000002324146412132660015101 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002346146412132660016755 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003736146412132660017036 0ustar00 '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.php000064400000002752146412132660017201 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002626146412132660020017 0ustar00 '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.php000064400000020572146412132660021323 0ustar00 '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.php000064400000004175146412132660023300 0ustar00 '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.php000064400000002742146412132660022070 0ustar00 '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.php000064400000002207146412132660025173 0ustar00 '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.php000064400000001644146412132660030443 0ustar00src '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.php000064400000002432146412132660023126 0ustar00 '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.php000064400000003120146412132660024722 0ustar00 '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.php000064400000003510146412132660023314 0ustar00 '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.php000064400000002644146412132660023460 0ustar00 '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.php000064400000004124146412132660025130 0ustar00 '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.php000064400000003116146412132660024547 0ustar00 '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.php000064400000002225146412132660023306 0ustar00 '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.php000064400000002746146412132660022463 0ustar00 '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.php000064400000005732146412132660015164 0ustar00 '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.php000064400000002706146412132660015330 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003720146412132660016143 0ustar00 '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.php000064400000025604146412132660017454 0ustar00 '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.php000064400000003757146412132660021435 0ustar00 '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.php000064400000001552146412132660021575 0ustar00 '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.php000064400000002541146412132660020215 0ustar00 '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.php000064400000002165146412132660023326 0ustar00 '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.php000064400000002340146412132660026644 0ustar00 '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.php000064400000002357146412132660021264 0ustar00 '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.php000064400000002735146412132660022124 0ustar00 '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.php000064400000003256146412132660023064 0ustar00 '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.php000064400000003273146412132660021452 0ustar00 '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.php000064400000001521146412132660021751 0ustar00 '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.php000064400000002611146412132660021602 0ustar00 '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.php000064400000004452146412132660023264 0ustar00 '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.php000064400000002736146412132660022706 0ustar00 '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.php000064400000002123146412132660021433 0ustar00 '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.php000064400000001475146412132660023452 0ustar00 '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.php000064400000002545146412132660020610 0ustar00 '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.php000064400000002334146412132660015735 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003775146412132660016024 0ustar00 '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.php000064400000002726146412132660016165 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003263146412132660017000 0ustar00 '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.php000064400000024037146412132660020306 0ustar00 '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.php000064400000003763146412132660022265 0ustar00 '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.php000064400000001556146412132660022434 0ustar00 '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.php000064400000002545146412132660021054 0ustar00 '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.php000064400000002175146412132660024162 0ustar00 '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.php000064400000002344146412132660027503 0ustar00 '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.php000064400000002363146412132660022114 0ustar00 '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.php000064400000002741146412132660022754 0ustar00 '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.php000064400000003262146412132660023714 0ustar00 '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.php000064400000003277146412132660022311 0ustar00 '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.php000064400000001525146412132660022610 0ustar00 '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.php000064400000002625146412132660022442 0ustar00 '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.php000064400000004456146412132660024123 0ustar00 '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.php000064400000002742146412132660023536 0ustar00 '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.php000064400000001501146412132660024273 0ustar00 '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.php000064400000002551146412132660021440 0ustar00 '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.php000064400000002332146412132660015563 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004026146412132660015642 0ustar00 '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.php000064400000002722146412132660016011 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003260146412132660016625 0ustar00 '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.php000064400000021665146412132660020142 0ustar00 '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.php000064400000003762146412132660022114 0ustar00 '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.php000064400000002544146412132660020703 0ustar00 '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.php000064400000002173146412132660024010 0ustar00 '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.php000064400000002343146412132660027332 0ustar00 '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.php000064400000001551146412132660021742 0ustar00 '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.php000064400000002740146412132660022603 0ustar00 '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.php000064400000003261146412132660023543 0ustar00 '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.php000064400000003276146412132660022140 0ustar00 '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.php000064400000002622146412132660022267 0ustar00 '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.php000064400000003703146412132660023745 0ustar00 '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.php000064400000002741146412132660023365 0ustar00 '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.php000064400000002126146412132660022121 0ustar00 '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.php000064400000002550146412132660021267 0ustar00 '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/PatchEventHeaders.php000064400000003053146412132660015042 0ustar00 '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.php000064400000016551146412132660015126 0ustar00 'attendees', '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->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['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.php000064400000002515146412132660017075 0ustar00 '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/end.php000064400000002525146412132660015670 0ustar00 '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.php000064400000001532146412132660016727 0ustar00 '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.php000064400000001455146412132660020534 0ustar00 '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.php000064400000002545146412132660017261 0ustar00 '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.php000064400000004436146412132660020737 0ustar00 '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.php000064400000002722146412132660020352 0ustar00 '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.php000064400000002104146412132660017103 0ustar00 '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.php000064400000001461146412132660021116 0ustar00 '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.php000064400000002531146412132660016254 0ustar00 '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.php000064400000002121146412132660017040 0ustar00 '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.php000064400000002706146412132660015271 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000020314146412132660016102 0ustar00 '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 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['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.php000064400000003750146412132660020063 0ustar00 '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/end.php000064400000002532146412132660016652 0ustar00 '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.php000064400000002350146412132660017712 0ustar00 '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.php000064400000002572146412132660021521 0ustar00 '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.php000064400000003264146412132660020107 0ustar00 '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.php000064400000002564146412132660020246 0ustar00 '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.php000064400000004443146412132660021721 0ustar00 '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.php000064400000002727146412132660021343 0ustar00 '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.php000064400000002114146412132660020070 0ustar00 '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.php000064400000001466146412132660022107 0ustar00 '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.php000064400000002536146412132660017245 0ustar00 '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.php000064400000002126146412132660020031 0ustar00 '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.php000064400000003063146412132660015711 0ustar00 '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.php000064400000003076146412132660015772 0ustar00 '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.php000064400000001437146412132660021426 0ustar00 '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.php000064400000002164146412132660016135 0ustar00 '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.php000064400000003073146412132660016571 0ustar00 '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.php000064400000003200146412132660016636 0ustar00 '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.php000064400000001515146412132660022776 0ustar00 '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.php000064400000002746146412132660017022 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001505146412132660017630 0ustar00 '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.php000064400000003057146412132660015421 0ustar00 '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.php000064400000001571146412132660015475 0ustar00 '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.php000064400000002160146412132660015636 0ustar00 '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.php000064400000002314146412132660014167 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002666146412132660014424 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001531146412132660015230 0ustar00 '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.php000064400000002316146412132660014372 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002672146412132660014622 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001544146412132660015435 0ustar00 '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.php000064400000002342146412132660016354 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002172146412132660016600 0ustar00 '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.php000064400000003061146412132660015566 0ustar00 '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.php000064400000003071146412132660015644 0ustar00 '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.php000064400000002722146412132660016014 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001473146412132660016634 0ustar00 '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.php000064400000002346146412132660016723 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002752146412132660017147 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001507146412132660017762 0ustar00 '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.php000064400000002362146412132660020050 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003763146412132660020133 0ustar00 '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.php000064400000003325146412132660023100 0ustar00 '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.php000064400000003002146412132660020263 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001523146412132660021107 0ustar00 '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.php000064400000036433146412132660011522 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param GetPersonalCarbonInfoRequest $request * @param GetPersonalCarbonInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetPersonalCarbonInfoRequest $request * * @return GetPersonalCarbonInfoResponse */ public function getPersonalCarbonInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetPersonalCarbonInfoHeaders([]); return $this->getPersonalCarbonInfoWithOptions($request, $headers, $runtime); } /** * @param WriteAlibabaOrgCarbonRequest $request * @param WriteAlibabaOrgCarbonHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param WriteAlibabaOrgCarbonRequest $request * * @return WriteAlibabaOrgCarbonResponse */ public function writeAlibabaOrgCarbon($request) { $runtime = new RuntimeOptions([]); $headers = new WriteAlibabaOrgCarbonHeaders([]); return $this->writeAlibabaOrgCarbonWithOptions($request, $headers, $runtime); } /** * @param WriteAlibabaUserCarbonRequest $request * @param WriteAlibabaUserCarbonHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param WriteAlibabaUserCarbonRequest $request * * @return WriteAlibabaUserCarbonResponse */ public function writeAlibabaUserCarbon($request) { $runtime = new RuntimeOptions([]); $headers = new WriteAlibabaUserCarbonHeaders([]); return $this->writeAlibabaUserCarbonWithOptions($request, $headers, $runtime); } /** * @param WriteIsvStateRequest $request * @param WriteIsvStateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param WriteIsvStateRequest $request * * @return WriteIsvStateResponse */ public function writeIsvState($request) { $runtime = new RuntimeOptions([]); $headers = new WriteIsvStateHeaders([]); return $this->writeIsvStateWithOptions($request, $headers, $runtime); } /** * @param WriteOrgCarbonRequest $request * @param WriteOrgCarbonHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param WriteOrgCarbonRequest $request * * @return WriteOrgCarbonResponse */ public function writeOrgCarbon($request) { $runtime = new RuntimeOptions([]); $headers = new WriteOrgCarbonHeaders([]); return $this->writeOrgCarbonWithOptions($request, $headers, $runtime); } /** * @param WriteUserCarbonRequest $request * @param WriteUserCarbonHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param WriteUserCarbonRequest $request * * @return WriteUserCarbonResponse */ public function writeUserCarbon($request) { $runtime = new RuntimeOptions([]); $headers = new WriteUserCarbonHeaders([]); return $this->writeUserCarbonWithOptions($request, $headers, $runtime); } /** * @param WriteUserCarbonEnergyRequest $request * @param WriteUserCarbonEnergyHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param WriteUserCarbonEnergyRequest $request * * @return WriteUserCarbonEnergyResponse */ public function writeUserCarbonEnergy($request) { $runtime = new RuntimeOptions([]); $headers = new WriteUserCarbonEnergyHeaders([]); return $this->writeUserCarbonEnergyWithOptions($request, $headers, $runtime); } } src/carbon_1_0/Models/GetPersonalCarbonInfoHeaders.php000064400000002350146412132660016657 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002272146412132660016737 0ustar00 '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.php000064400000002760146412132660017107 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002410146412132660017715 0ustar00 '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.php000064400000002350146412132660016616 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003031146412132660016670 0ustar00 '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.php000064400000005436146412132660021634 0ustar00 '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.php000064400000002760146412132660017046 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002136146412132660017661 0ustar00 '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.php000064400000002352146412132660017007 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003056146412132660017066 0ustar00 '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.php000064400000007012146412132660022202 0ustar00 '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.php000064400000002764146412132660017241 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002140146412132660020043 0ustar00 '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.php000064400000002330146412132660015246 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002226146412132660015327 0ustar00 '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.php000064400000002720146412132660015474 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001521146412132660016310 0ustar00 '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.php000064400000002332146412132660015362 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003004146412132660015434 0ustar00 '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.php000064400000005427146412132660020400 0ustar00 '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.php000064400000002724146412132660015612 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002120146412132660016416 0ustar00 '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.php000064400000002350146412132660016723 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003053146412132660017001 0ustar00 '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.php000064400000007011146412132660022117 0ustar00 '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.php000064400000002760146412132660017153 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002136146412132660017766 0ustar00 '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.php000064400000002334146412132660015553 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003031146412132660015623 0ustar00 '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.php000064400000007003146412132660020746 0ustar00 '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.php000064400000002730146412132660015776 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002122146412132660016607 0ustar00 '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.php000064400000120617146412132660011165 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AppendSpaceRequest $request * @param AppendSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AppendSpaceRequest $request * * @return AppendSpaceResponse */ public function appendSpace($request) { $runtime = new RuntimeOptions([]); $headers = new AppendSpaceHeaders([]); return $this->appendSpaceWithOptions($request, $headers, $runtime); } /** * @param AppendSpaceWithDelegateRequest $request * @param AppendSpaceWithDelegateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AppendSpaceWithDelegateRequest $request * * @return AppendSpaceWithDelegateResponse */ public function appendSpaceWithDelegate($request) { $runtime = new RuntimeOptions([]); $headers = new AppendSpaceWithDelegateHeaders([]); return $this->appendSpaceWithDelegateWithOptions($request, $headers, $runtime); } /** * @param CreateAndDeliverRequest $request * @param CreateAndDeliverHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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)); } /** * @param CreateAndDeliverRequest $request * * @return CreateAndDeliverResponse */ public function createAndDeliver($request) { $runtime = new RuntimeOptions([]); $headers = new CreateAndDeliverHeaders([]); return $this->createAndDeliverWithOptions($request, $headers, $runtime); } /** * @param CreateAndDeliverWithDelegateRequest $request * @param CreateAndDeliverWithDelegateHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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)); } /** * @param CreateAndDeliverWithDelegateRequest $request * * @return CreateAndDeliverWithDelegateResponse */ public function createAndDeliverWithDelegate($request) { $runtime = new RuntimeOptions([]); $headers = new CreateAndDeliverWithDelegateHeaders([]); return $this->createAndDeliverWithDelegateWithOptions($request, $headers, $runtime); } /** * @param CreateCardRequest $request * @param CreateCardHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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)); } /** * @param CreateCardRequest $request * * @return CreateCardResponse */ public function createCard($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCardHeaders([]); return $this->createCardWithOptions($request, $headers, $runtime); } /** * @param CreateCardWithDelegateRequest $request * @param CreateCardWithDelegateHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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)); } /** * @param CreateCardWithDelegateRequest $request * * @return CreateCardWithDelegateResponse */ public function createCardWithDelegate($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCardWithDelegateHeaders([]); return $this->createCardWithDelegateWithOptions($request, $headers, $runtime); } /** * @param DeliverCardRequest $request * @param DeliverCardHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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)); } /** * @param DeliverCardRequest $request * * @return DeliverCardResponse */ public function deliverCard($request) { $runtime = new RuntimeOptions([]); $headers = new DeliverCardHeaders([]); return $this->deliverCardWithOptions($request, $headers, $runtime); } /** * @param DeliverCardWithDelegateRequest $request * @param DeliverCardWithDelegateHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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)); } /** * @param DeliverCardWithDelegateRequest $request * * @return DeliverCardWithDelegateResponse */ public function deliverCardWithDelegate($request) { $runtime = new RuntimeOptions([]); $headers = new DeliverCardWithDelegateHeaders([]); return $this->deliverCardWithDelegateWithOptions($request, $headers, $runtime); } /** * @param RegisterCallbackRequest $request * @param RegisterCallbackHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param RegisterCallbackRequest $request * * @return RegisterCallbackResponse */ public function registerCallback($request) { $runtime = new RuntimeOptions([]); $headers = new RegisterCallbackHeaders([]); return $this->registerCallbackWithOptions($request, $headers, $runtime); } /** * @param RegisterCallbackWithDelegateRequest $request * @param RegisterCallbackWithDelegateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param RegisterCallbackWithDelegateRequest $request * * @return RegisterCallbackWithDelegateResponse */ public function registerCallbackWithDelegate($request) { $runtime = new RuntimeOptions([]); $headers = new RegisterCallbackWithDelegateHeaders([]); return $this->registerCallbackWithDelegateWithOptions($request, $headers, $runtime); } /** * @param StreamingUpdateRequest $request * @param StreamingUpdateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param StreamingUpdateRequest $request * * @return StreamingUpdateResponse */ public function streamingUpdate($request) { $runtime = new RuntimeOptions([]); $headers = new StreamingUpdateHeaders([]); return $this->streamingUpdateWithOptions($request, $headers, $runtime); } /** * @param UpdateCardRequest $request * @param UpdateCardHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateCardRequest $request * * @return UpdateCardResponse */ public function updateCard($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateCardHeaders([]); return $this->updateCardWithOptions($request, $headers, $runtime); } /** * @param UpdateCardWithDelegateRequest $request * @param UpdateCardWithDelegateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateCardWithDelegateRequest $request * * @return UpdateCardWithDelegateResponse */ public function updateCardWithDelegate($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateCardWithDelegateHeaders([]); return $this->updateCardWithDelegateWithOptions($request, $headers, $runtime); } } src/card_1_0/Models/AppendSpaceHeaders.php000064400000002322146412132660014322 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000006231146412132660014402 0ustar00 '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.php000064400000001533146412132660020346 0ustar00 '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.php000064400000004352146412132660020605 0ustar00 '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.php000064400000002424146412132660023271 0ustar00 '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.php000064400000003245146412132660023447 0ustar00 '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.php000064400000004352146412132660020576 0ustar00 '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.php000064400000002424146412132660023262 0ustar00 '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.php000064400000003245146412132660023440 0ustar00 '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.php000064400000001566146412132660017771 0ustar00 '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.php000064400000002706146412132660014553 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002111146412132660015357 0ustar00 '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.php000064400000002352146412132660016614 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000006341146412132660016673 0ustar00 '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.php000064400000001547146412132660022642 0ustar00 '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.php000064400000004416146412132660023075 0ustar00 '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.php000064400000002440146412132660025556 0ustar00 '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.php000064400000003261146412132660025734 0ustar00 '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.php000064400000004416146412132660023066 0ustar00 '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.php000064400000002440146412132660025547 0ustar00 '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.php000064400000003261146412132660025725 0ustar00 '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.php000064400000001602146412132660022247 0ustar00 '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.php000064400000002766146412132660017050 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002141146412132660017651 0ustar00 '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/CreateAndDeliverHeaders.php000064400000002334146412132660015303 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000023521146412132660015361 0ustar00 'callbackRouteKey', 'callbackType' => 'callbackType', 'cardData' => 'cardData', 'cardTemplateId' => 'cardTemplateId', 'coFeedOpenDeliverModel' => 'coFeedOpenDeliverModel', 'coFeedOpenSpaceModel' => 'coFeedOpenSpaceModel', 'docOpenDeliverModel' => 'docOpenDeliverModel', 'imGroupOpenDeliverModel' => 'imGroupOpenDeliverModel', 'imGroupOpenSpaceModel' => 'imGroupOpenSpaceModel', 'imRobotOpenDeliverModel' => 'imRobotOpenDeliverModel', 'imRobotOpenSpaceModel' => 'imRobotOpenSpaceModel', '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->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['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.php000064400000001547146412132660017070 0ustar00 '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.php000064400000002320146412132660021656 0ustar00 '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.php000064400000002307146412132660021324 0ustar00 '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.php000064400000001550146412132660021242 0ustar00 '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.php000064400000003541146412132660022121 0ustar00 '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.php000064400000004371146412132660021564 0ustar00 '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.php000064400000002431146412132660024245 0ustar00 '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.php000064400000003252146412132660024423 0ustar00 '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.php000064400000002750146412132660022113 0ustar00 '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.php000064400000004371146412132660021555 0ustar00 '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.php000064400000002431146412132660024236 0ustar00 '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.php000064400000003252146412132660024414 0ustar00 '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.php000064400000003344146412132660021550 0ustar00 '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.php000064400000003442146412132660026457 0ustar00 '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.php000064400000002735146412132660030506 0ustar00src/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.php000064400000003234146412132660021300 0ustar00 '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.php000064400000001573146412132660020745 0ustar00 '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.php000064400000002732146412132660015530 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002343146412132660016344 0ustar00 '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.php000064400000003553146412132660017666 0ustar00 '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.php000064400000004170146412132660022676 0ustar00 '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.php000064400000002364146412132660017575 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000023755146412132660017661 0ustar00 'callbackRouteKey', 'callbackType' => 'callbackType', 'cardData' => 'cardData', 'cardTemplateId' => 'cardTemplateId', 'coFeedOpenDeliverModel' => 'coFeedOpenDeliverModel', 'coFeedOpenSpaceModel' => 'coFeedOpenSpaceModel', 'docOpenDeliverModel' => 'docOpenDeliverModel', 'imGroupOpenDeliverModel' => 'imGroupOpenDeliverModel', 'imGroupOpenSpaceModel' => 'imGroupOpenSpaceModel', 'imRobotOpenDeliverModel' => 'imRobotOpenDeliverModel', 'imRobotOpenSpaceModel' => 'imRobotOpenSpaceModel', '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->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['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.php000064400000001563146412132660021355 0ustar00 '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.php000064400000002334146412132660024152 0ustar00 '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.php000064400000002323146412132660023611 0ustar00 '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.php000064400000001564146412132660023536 0ustar00 '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.php000064400000003555146412132660024415 0ustar00 '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.php000064400000004435146412132660024054 0ustar00 '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.php000064400000002445146412132660026541 0ustar00 '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.php000064400000003266146412132660026717 0ustar00 '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.php000064400000002764146412132660024407 0ustar00 '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.php000064400000004435146412132660024045 0ustar00 '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.php000064400000002445146412132660026532 0ustar00 '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.php000064400000003266146412132660026710 0ustar00 '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.php000064400000003374146412132660024042 0ustar00 '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.php000064400000003472146412132660030672 0ustar00src/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.php000064400000002751146412132660032773 0ustar00src/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.php000064400000003250146412132660023565 0ustar00 '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.php000064400000001607146412132660023232 0ustar00 '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.php000064400000003012146412132660020007 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002407146412132660020634 0ustar00 '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.php000064400000003603146412132660022151 0ustar00 '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.php000064400000004204146412132660025163 0ustar00 '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.php000064400000002320146412132660014132 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000014762146412132660014224 0ustar00 'callbackRouteKey', 'callbackType' => 'callbackType', 'cardData' => 'cardData', 'cardTemplateId' => 'cardTemplateId', 'coFeedOpenSpaceModel' => 'coFeedOpenSpaceModel', 'imGroupOpenSpaceModel' => 'imGroupOpenSpaceModel', 'imRobotOpenSpaceModel' => 'imRobotOpenSpaceModel', '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->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['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.php000064400000001541146412132660015716 0ustar00 '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.php000064400000001470146412132660020160 0ustar00 '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.php000064400000004347146412132660020423 0ustar00 '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.php000064400000002413146412132660023101 0ustar00 '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.php000064400000003167146412132660023264 0ustar00 '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.php000064400000004347146412132660020414 0ustar00 '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.php000064400000002335146412132660023075 0ustar00 '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.php000064400000003167146412132660023255 0ustar00 '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.php000064400000003330146412132660020377 0ustar00 '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.php000064400000003463146412132660025316 0ustar00 '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.php000064400000003026146412132660027413 0ustar00 '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.php000064400000001526146412132660017577 0ustar00 '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.php000064400000002702146412132660014361 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002111146412132660015171 0ustar00 '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.php000064400000002350146412132660016424 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000015122146412132660016502 0ustar00 'callbackRouteKey', 'callbackType' => 'callbackType', 'cardData' => 'cardData', 'cardTemplateId' => 'cardTemplateId', 'coFeedOpenSpaceModel' => 'coFeedOpenSpaceModel', 'imGroupOpenSpaceModel' => 'imGroupOpenSpaceModel', 'imRobotOpenSpaceModel' => 'imRobotOpenSpaceModel', '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->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['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.php000064400000001555146412132660020212 0ustar00 '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.php000064400000001504146412132660022445 0ustar00 '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.php000064400000004413146412132660022704 0ustar00 '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.php000064400000002427146412132660025375 0ustar00 '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.php000064400000003203146412132660025542 0ustar00 '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.php000064400000004413146412132660022675 0ustar00 '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.php000064400000002351146412132660025362 0ustar00 '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.php000064400000003203146412132660025533 0ustar00 '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.php000064400000003360146412132660022671 0ustar00 '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.php000064400000003513146412132660027601 0ustar00 '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.php000064400000003042146412132660031621 0ustar00src/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.php000064400000001542146412132660022064 0ustar00 '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.php000064400000002762146412132660016656 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002141146412132660017463 0ustar00 '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/DeliverCardHeaders.php000064400000002322146412132660014323 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000011152146412132660014401 0ustar00 'coFeedOpenDeliverModel', 'docOpenDeliverModel' => 'docOpenDeliverModel', 'imGroupOpenDeliverModel' => 'imGroupOpenDeliverModel', 'imRobotOpenDeliverModel' => 'imRobotOpenDeliverModel', '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->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['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.php000064400000002313146412132660020703 0ustar00 '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.php000064400000001543146412132660020267 0ustar00 '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.php000064400000003534146412132660021146 0ustar00 '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.php000064400000003003146412132660021126 0ustar00 '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/topOpenDeliverModel.php000064400000003227146412132660020325 0ustar00 '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.php000064400000002706146412132660014554 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003214146412132660015365 0ustar00 '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.php000064400000004134146412132660016705 0ustar00 '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.php000064400000002352146412132660016615 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000011276146412132660016677 0ustar00 'coFeedOpenDeliverModel', 'docOpenDeliverModel' => 'docOpenDeliverModel', 'imGroupOpenDeliverModel' => 'imGroupOpenDeliverModel', 'imRobotOpenDeliverModel' => 'imRobotOpenDeliverModel', '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->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['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.php000064400000002327146412132660023177 0ustar00 '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.php000064400000001557146412132660022563 0ustar00 '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.php000064400000003550146412132660023433 0ustar00 '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.php000064400000003017146412132660023422 0ustar00 '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/topOpenDeliverModel.php000064400000003243146412132660022612 0ustar00 '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.php000064400000002766146412132660017051 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003260146412132660017655 0ustar00 '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.php000064400000004150146412132660021172 0ustar00 '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/PrivateDataValue.php000064400000001537146412132660014053 0ustar00 '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/RegisterCallbackHeaders.php000064400000002334146412132660015343 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003662146412132660015425 0ustar00 '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.php000064400000002732146412132660015570 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002343146412132660016404 0ustar00 '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.php000064400000002210146412132660017713 0ustar00 '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.php000064400000002364146412132660017635 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003712146412132660017710 0ustar00 '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.php000064400000003012146412132660020047 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002407146412132660020674 0ustar00 '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.php000064400000002224146412132660022207 0ustar00 '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/StreamingUpdateHeaders.php000064400000002332146412132660015234 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004705146412132660015317 0ustar00 '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.php000064400000002726146412132660015466 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002121146412132660016271 0ustar00 '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.php000064400000002320146412132660014151 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005273146412132660014240 0ustar00 '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.php000064400000001541146412132660015735 0ustar00 '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.php000064400000002515146412132660017664 0ustar00 '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.php000064400000002702146412132660014400 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002107146412132660015215 0ustar00 '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.php000064400000002350146412132660016443 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005353146412132660016526 0ustar00 '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.php000064400000001555146412132660020231 0ustar00 '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.php000064400000002531146412132660022151 0ustar00 '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.php000064400000002762146412132660016675 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002137146412132660017507 0ustar00 '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.php000064400000006772146412132660012024 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param GetCheckinRecordByUserRequest $request * @param GetCheckinRecordByUserHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetCheckinRecordByUserRequest $request * * @return GetCheckinRecordByUserResponse */ public function getCheckinRecordByUser($request) { $runtime = new RuntimeOptions([]); $headers = new GetCheckinRecordByUserHeaders([]); return $this->getCheckinRecordByUserWithOptions($request, $headers, $runtime); } } src/check_in_1_0/Models/GetCheckinRecordByUserHeaders.php000064400000002354146412132660017273 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004651146412132660017352 0ustar00 '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.php000064400000002766146412132660017525 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001747146412132660020341 0ustar00 '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.php000064400000003334146412132660021651 0ustar00 '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.php000064400000007205146412132660023422 0ustar00 '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.php000064400000002513146412132660026357 0ustar00 '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.php000064400000114572146412132660012203 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param GetAllJobLevelHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return GetAllJobLevelResponse */ public function getAllJobLevel() { $runtime = new RuntimeOptions([]); $headers = new GetAllJobLevelHeaders([]); return $this->getAllJobLevelWithOptions($headers, $runtime); } /** * @param GetAllJobPositionHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return GetAllJobPositionResponse */ public function getAllJobPosition() { $runtime = new RuntimeOptions([]); $headers = new GetAllJobPositionHeaders([]); return $this->getAllJobPositionWithOptions($headers, $runtime); } /** * @param GetAllJobPostHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return GetAllJobPostResponse */ public function getAllJobPost() { $runtime = new RuntimeOptions([]); $headers = new GetAllJobPostHeaders([]); return $this->getAllJobPostWithOptions($headers, $runtime); } /** * @param GetAnalyzeDataRequest $request * @param GetAnalyzeDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetAnalyzeDataRequest $request * * @return GetAnalyzeDataResponse */ public function getAnalyzeData($request) { $runtime = new RuntimeOptions([]); $headers = new GetAnalyzeDataHeaders([]); return $this->getAnalyzeDataWithOptions($request, $headers, $runtime); } /** * @param GetChildOrgListRequest $request * @param GetChildOrgListHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetChildOrgListRequest $request * * @return GetChildOrgListResponse */ public function getChildOrgList($request) { $runtime = new RuntimeOptions([]); $headers = new GetChildOrgListHeaders([]); return $this->getChildOrgListWithOptions($request, $headers, $runtime); } /** * @param GetEmployeeInfoByWorkNoRequest $request * @param GetEmployeeInfoByWorkNoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetEmployeeInfoByWorkNoRequest $request * * @return GetEmployeeInfoByWorkNoResponse */ public function getEmployeeInfoByWorkNo($request) { $runtime = new RuntimeOptions([]); $headers = new GetEmployeeInfoByWorkNoHeaders([]); return $this->getEmployeeInfoByWorkNoWithOptions($request, $headers, $runtime); } /** * @param string $workNumbers * @param GetEmploymentRecordByWorkNoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $workNumbers * * @return GetEmploymentRecordByWorkNoResponse */ public function getEmploymentRecordByWorkNo($workNumbers) { $runtime = new RuntimeOptions([]); $headers = new GetEmploymentRecordByWorkNoHeaders([]); return $this->getEmploymentRecordByWorkNoWithOptions($workNumbers, $headers, $runtime); } /** * @param GetJobPositionRequest $request * @param GetJobPositionHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetJobPositionRequest $request * * @return GetJobPositionResponse */ public function getJobPosition($request) { $runtime = new RuntimeOptions([]); $headers = new GetJobPositionHeaders([]); return $this->getJobPositionWithOptions($request, $headers, $runtime); } /** * @param GetJobPostRequest $request * @param GetJobPostHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetJobPostRequest $request * * @return GetJobPostResponse */ public function getJobPost($request) { $runtime = new RuntimeOptions([]); $headers = new GetJobPostHeaders([]); return $this->getJobPostWithOptions($request, $headers, $runtime); } /** * @param GetOrgInfoRequest $request * @param GetOrgInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetOrgInfoRequest $request * * @return GetOrgInfoResponse */ public function getOrgInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetOrgInfoHeaders([]); return $this->getOrgInfoWithOptions($request, $headers, $runtime); } /** * @param GetStaffInfoByWorkNoRequest $request * @param GetStaffInfoByWorkNoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetStaffInfoByWorkNoRequest $request * * @return GetStaffInfoByWorkNoResponse */ public function getStaffInfoByWorkNo($request) { $runtime = new RuntimeOptions([]); $headers = new GetStaffInfoByWorkNoHeaders([]); return $this->getStaffInfoByWorkNoWithOptions($request, $headers, $runtime); } /** * @param GetStaffPageQueryRequest $request * @param GetStaffPageQueryHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetStaffPageQueryRequest $request * * @return GetStaffPageQueryResponse */ public function getStaffPageQuery($request) { $runtime = new RuntimeOptions([]); $headers = new GetStaffPageQueryHeaders([]); return $this->getStaffPageQueryWithOptions($request, $headers, $runtime); } /** * @param GetUserRequest $request * @param GetUserHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetUserRequest $request * * @return GetUserResponse */ public function getUser($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserHeaders([]); return $this->getUserWithOptions($request, $headers, $runtime); } /** * @param ListAnalyzePeriodsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return ListAnalyzePeriodsResponse */ public function listAnalyzePeriods() { $runtime = new RuntimeOptions([]); $headers = new ListAnalyzePeriodsHeaders([]); return $this->listAnalyzePeriodsWithOptions($headers, $runtime); } /** * @param ListObjectiveByIdsRequest $request * @param ListObjectiveByIdsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListObjectiveByIdsRequest $request * * @return ListObjectiveByIdsResponse */ public function listObjectiveByIds($request) { $runtime = new RuntimeOptions([]); $headers = new ListObjectiveByIdsHeaders([]); return $this->listObjectiveByIdsWithOptions($request, $headers, $runtime); } /** * @param ListObjectiveByUserRequest $request * @param ListObjectiveByUserHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListObjectiveByUserRequest $request * * @return ListObjectiveByUserResponse */ public function listObjectiveByUser($request) { $runtime = new RuntimeOptions([]); $headers = new ListObjectiveByUserHeaders([]); return $this->listObjectiveByUserWithOptions($request, $headers, $runtime); } /** * @param ListProgressByIdsRequest $request * @param ListProgressByIdsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListProgressByIdsRequest $request * * @return ListProgressByIdsResponse */ public function listProgressByIds($request) { $runtime = new RuntimeOptions([]); $headers = new ListProgressByIdsHeaders([]); return $this->listProgressByIdsWithOptions($request, $headers, $runtime); } /** * @param PageListObjectiveProgressRequest $request * @param PageListObjectiveProgressHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param PageListObjectiveProgressRequest $request * * @return PageListObjectiveProgressResponse */ public function pageListObjectiveProgress($request) { $runtime = new RuntimeOptions([]); $headers = new PageListObjectiveProgressHeaders([]); return $this->pageListObjectiveProgressWithOptions($request, $headers, $runtime); } /** * @param TransferUserObjectiveRequest $request * @param TransferUserObjectiveHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param TransferUserObjectiveRequest $request * * @return TransferUserObjectiveResponse */ public function transferUserObjective($request) { $runtime = new RuntimeOptions([]); $headers = new TransferUserObjectiveHeaders([]); return $this->transferUserObjectiveWithOptions($request, $headers, $runtime); } } src/chengfeng_1_0/Models/CfEmploymentRecordResp.php000064400000012553146412132660016260 0ustar00 '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.php000064400000003350146412132660014465 0ustar00 '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.php000064400000002303146412132660015217 0ustar00 '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.php000064400000002223146412132660014341 0ustar00 '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.php000064400000005204146412132660013512 0ustar00 '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.php000064400000005272146412132660014033 0ustar00 '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.php000064400000002335146412132660015751 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002727146412132660016201 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003234146412132660017011 0ustar00 '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.php000064400000002343146412132660016505 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002743146412132660016734 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003243146412132660017546 0ustar00 '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.php000064400000002333146412132660015625 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002723146412132660016053 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003221146412132660016663 0ustar00 '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.php000064400000002335146412132660016013 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002300146412132660016060 0ustar00 '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.php000064400000002727146412132660016243 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002736146412132660017061 0ustar00 '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.php000064400000002337146412132660016147 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001545146412132660016224 0ustar00 '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.php000064400000002733146412132660016372 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003164146412132660017207 0ustar00 '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.php000064400000002357146412132660017650 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001546146412132660017724 0ustar00 '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.php000064400000002773146412132660020075 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002452146412132660020705 0ustar00 '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.php000064400000002173146412132660022357 0ustar00 '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.php000064400000002367146412132660020546 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003013146412132660020756 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003246146412132660021604 0ustar00 '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.php000064400000002335146412132660016055 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001640146412132660016130 0ustar00 '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.php000064400000002727146412132660016305 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002411146412132660017111 0ustar00 '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.php000064400000005621146412132660020571 0ustar00 '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.php000064400000002325146412132660015175 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001567146412132660015261 0ustar00 '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.php000064400000002707146412132660015424 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002375146412132660016243 0ustar00 '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.php000064400000004005146412132660017705 0ustar00 '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.php000064400000002325146412132660015160 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001533146412132660015235 0ustar00 '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.php000064400000002707146412132660015407 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002375146412132660016226 0ustar00 '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.php000064400000007732146412132660017702 0ustar00 '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.php000064400000002351146412132660017126 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001615146412132660017205 0ustar00 '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.php000064400000002757146412132660017363 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002433146412132660020170 0ustar00 '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.php000064400000012304146412132660021640 0ustar00 '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.php000064400000002343146412132660016503 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004074146412132660016563 0ustar00 '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.php000064400000002743146412132660016732 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002422146412132660017542 0ustar00 '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.php000064400000004450146412132660021217 0ustar00 '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.php000064400000002317146412132660014534 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002230146412132660014603 0ustar00 '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.php000064400000002673146412132660014764 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002702146412132660015573 0ustar00 '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.php000064400000002345146412132660016744 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002747146412132660017175 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003631146412132660020004 0ustar00 '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.php000064400000002345146412132660016660 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001670146412132660016735 0ustar00 '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.php000064400000002747146412132660017111 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003724146412132660017723 0ustar00 '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.php000064400000002347146412132660017061 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002622146412132660017132 0ustar00 '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.php000064400000002753146412132660017305 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003113146412132660020112 0ustar00 '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.php000064400000003342146412132660021570 0ustar00 '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.php000064400000002343146412132660016550 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001654146412132660016631 0ustar00 '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.php000064400000002743146412132660016777 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003633146412132660017614 0ustar00 '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/OpenAnalyzeDataDTO.php000064400000013111146412132660015242 0ustar00 '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.php000064400000005532146412132660015004 0ustar00 '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.php000064400000007604146412132660014771 0ustar00 '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.php000064400000004072146412132660014275 0ustar00 '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.php000064400000004701146412132660014656 0ustar00 '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.php000064400000002545146412132660013744 0ustar00 '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.php000064400000002557146412132660013777 0ustar00 '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.php000064400000002363146412132660020247 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003026146412132660020321 0ustar00 '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.php000064400000003003146412132660020462 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003101146412132660021277 0ustar00 '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.php000064400000003354146412132660022763 0ustar00 '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/TitleMention.php000064400000002637146412132660014302 0ustar00 '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.php000064400000002353146412132660017434 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002266146412132660017514 0ustar00 '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.php000064400000002763146412132660017664 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002753146412132660020501 0ustar00 '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.php000064400000234771146412132660012372 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CancelScheduleConferenceRequest $request * @param CancelScheduleConferenceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CancelScheduleConferenceRequest $request * * @return CancelScheduleConferenceResponse */ public function cancelScheduleConference($request) { $runtime = new RuntimeOptions([]); $headers = new CancelScheduleConferenceHeaders([]); return $this->cancelScheduleConferenceWithOptions($request, $headers, $runtime); } /** * @param string $conferenceId * @param CloseVideoConferenceRequest $request * @param CloseVideoConferenceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param CloseVideoConferenceRequest $request * * @return CloseVideoConferenceResponse */ public function closeVideoConference($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new CloseVideoConferenceHeaders([]); return $this->closeVideoConferenceWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param CohostsRequest $request * @param CohostsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param CohostsRequest $request * * @return CohostsResponse */ public function cohosts($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new CohostsHeaders([]); return $this->cohostsWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param CreateScheduleConferenceRequest $request * @param CreateScheduleConferenceHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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)); } /** * @param CreateScheduleConferenceRequest $request * * @return CreateScheduleConferenceResponse */ public function createScheduleConference($request) { $runtime = new RuntimeOptions([]); $headers = new CreateScheduleConferenceHeaders([]); return $this->createScheduleConferenceWithOptions($request, $headers, $runtime); } /** * @param CreateVideoConferenceRequest $request * @param CreateVideoConferenceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateVideoConferenceRequest $request * * @return CreateVideoConferenceResponse */ public function createVideoConference($request) { $runtime = new RuntimeOptions([]); $headers = new CreateVideoConferenceHeaders([]); return $this->createVideoConferenceWithOptions($request, $headers, $runtime); } /** * @param string $conferenceId * @param FocusRequest $request * @param FocusHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param FocusRequest $request * * @return FocusResponse */ public function focus($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new FocusHeaders([]); return $this->focusWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param GetConfDataByConferenceIdRequest $request * @param GetConfDataByConferenceIdHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param GetConfDataByConferenceIdRequest $request * * @return GetConfDataByConferenceIdResponse */ public function getConfDataByConferenceId($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetConfDataByConferenceIdHeaders([]); return $this->getConfDataByConferenceIdWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param GetConfDetailDataRequest $request * @param GetConfDetailDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param GetConfDetailDataRequest $request * * @return GetConfDetailDataResponse */ public function getConfDetailData($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetConfDetailDataHeaders([]); return $this->getConfDetailDataWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param GetHistoryConfDataListRequest $request * @param GetHistoryConfDataListHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetHistoryConfDataListRequest $request * * @return GetHistoryConfDataListResponse */ public function getHistoryConfDataList($request) { $runtime = new RuntimeOptions([]); $headers = new GetHistoryConfDataListHeaders([]); return $this->getHistoryConfDataListWithOptions($request, $headers, $runtime); } /** * @param string $conferenceId * @param GetUserLastMetricRequest $request * @param GetUserLastMetricHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param GetUserLastMetricRequest $request * * @return GetUserLastMetricResponse */ public function getUserLastMetric($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetUserLastMetricHeaders([]); return $this->getUserLastMetricWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param GetUserMetricDataRequest $request * @param GetUserMetricDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param GetUserMetricDataRequest $request * * @return GetUserMetricDataResponse */ public function getUserMetricData($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetUserMetricDataHeaders([]); return $this->getUserMetricDataWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param InviteUsersRequest $request * @param InviteUsersHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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)); } /** * @param string $conferenceId * @param InviteUsersRequest $request * * @return InviteUsersResponse */ public function inviteUsers($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new InviteUsersHeaders([]); return $this->inviteUsersWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param KickMembersRequest $request * @param KickMembersHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param KickMembersRequest $request * * @return KickMembersResponse */ public function kickMembers($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new KickMembersHeaders([]); return $this->kickMembersWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param LockConferenceRequest $request * @param LockConferenceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param LockConferenceRequest $request * * @return LockConferenceResponse */ public function lockConference($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new LockConferenceHeaders([]); return $this->lockConferenceWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param MuteAllRequest $request * @param MuteAllHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param MuteAllRequest $request * * @return MuteAllResponse */ public function muteAll($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new MuteAllHeaders([]); return $this->muteAllWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param MuteMembersRequest $request * @param MuteMembersHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param MuteMembersRequest $request * * @return MuteMembersResponse */ public function muteMembers($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new MuteMembersHeaders([]); return $this->muteMembersWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param QueryCloudRecordTextRequest $request * @param QueryCloudRecordTextHeaders $headers * @param RuntimeOptions $runtime * * @return 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' => 'json', 'bodyType' => 'json', ]); return QueryCloudRecordTextResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $conferenceId * @param QueryCloudRecordTextRequest $request * * @return QueryCloudRecordTextResponse */ public function queryCloudRecordText($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryCloudRecordTextHeaders([]); return $this->queryCloudRecordTextWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param QueryCloudRecordVideoRequest $request * @param QueryCloudRecordVideoHeaders $headers * @param RuntimeOptions $runtime * * @return 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' => 'json', 'bodyType' => 'json', ]); return QueryCloudRecordVideoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $conferenceId * @param QueryCloudRecordVideoRequest $request * * @return QueryCloudRecordVideoResponse */ public function queryCloudRecordVideo($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryCloudRecordVideoHeaders([]); return $this->queryCloudRecordVideoWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param QueryCloudRecordVideoPlayInfoRequest $request * @param QueryCloudRecordVideoPlayInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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' => 'json', 'bodyType' => 'json', ]); return QueryCloudRecordVideoPlayInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $conferenceId * @param QueryCloudRecordVideoPlayInfoRequest $request * * @return QueryCloudRecordVideoPlayInfoResponse */ public function queryCloudRecordVideoPlayInfo($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryCloudRecordVideoPlayInfoHeaders([]); return $this->queryCloudRecordVideoPlayInfoWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param QueryConferenceInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * * @return QueryConferenceInfoResponse */ public function queryConferenceInfo($conferenceId) { $runtime = new RuntimeOptions([]); $headers = new QueryConferenceInfoHeaders([]); return $this->queryConferenceInfoWithOptions($conferenceId, $headers, $runtime); } /** * @param QueryConferenceInfoBatchRequest $request * @param QueryConferenceInfoBatchHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryConferenceInfoBatchRequest $request * * @return QueryConferenceInfoBatchResponse */ public function queryConferenceInfoBatch($request) { $runtime = new RuntimeOptions([]); $headers = new QueryConferenceInfoBatchHeaders([]); return $this->queryConferenceInfoBatchWithOptions($request, $headers, $runtime); } /** * @param string $conferenceId * @param QueryConferenceMembersRequest $request * @param QueryConferenceMembersHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param QueryConferenceMembersRequest $request * * @return QueryConferenceMembersResponse */ public function queryConferenceMembers($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryConferenceMembersHeaders([]); return $this->queryConferenceMembersWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $scheduleConferenceId * @param QueryScheduleConferenceRequest $request * @param QueryScheduleConferenceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $scheduleConferenceId * @param QueryScheduleConferenceRequest $request * * @return QueryScheduleConferenceResponse */ public function queryScheduleConference($scheduleConferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryScheduleConferenceHeaders([]); return $this->queryScheduleConferenceWithOptions($scheduleConferenceId, $request, $headers, $runtime); } /** * @param string $scheduleConferenceId * @param QueryScheduleConferenceInfoRequest $request * @param QueryScheduleConferenceInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $scheduleConferenceId * @param QueryScheduleConferenceInfoRequest $request * * @return QueryScheduleConferenceInfoResponse */ public function queryScheduleConferenceInfo($scheduleConferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryScheduleConferenceInfoHeaders([]); return $this->queryScheduleConferenceInfoWithOptions($scheduleConferenceId, $request, $headers, $runtime); } /** * @param QueryUserOnGoingConferenceRequest $request * @param QueryUserOnGoingConferenceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryUserOnGoingConferenceRequest $request * * @return QueryUserOnGoingConferenceResponse */ public function queryUserOnGoingConference($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUserOnGoingConferenceHeaders([]); return $this->queryUserOnGoingConferenceWithOptions($request, $headers, $runtime); } /** * @param string $conferenceId * @param StartCloudRecordRequest $request * @param StartCloudRecordHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param StartCloudRecordRequest $request * * @return StartCloudRecordResponse */ public function startCloudRecord($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new StartCloudRecordHeaders([]); return $this->startCloudRecordWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param StartStreamOutRequest $request * @param StartStreamOutHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param StartStreamOutRequest $request * * @return StartStreamOutResponse */ public function startStreamOut($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new StartStreamOutHeaders([]); return $this->startStreamOutWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param StopCloudRecordRequest $request * @param StopCloudRecordHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param StopCloudRecordRequest $request * * @return StopCloudRecordResponse */ public function stopCloudRecord($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new StopCloudRecordHeaders([]); return $this->stopCloudRecordWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param string $conferenceId * @param StopStreamOutRequest $request * @param StopStreamOutHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param StopStreamOutRequest $request * * @return StopStreamOutResponse */ public function stopStreamOut($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new StopStreamOutHeaders([]); return $this->stopStreamOutWithOptions($conferenceId, $request, $headers, $runtime); } /** * @param UpdateScheduleConfSettingsRequest $request * @param UpdateScheduleConfSettingsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateScheduleConfSettingsRequest $request * * @return UpdateScheduleConfSettingsResponse */ public function updateScheduleConfSettings($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateScheduleConfSettingsHeaders([]); return $this->updateScheduleConfSettingsWithOptions($request, $headers, $runtime); } /** * @param UpdateScheduleConferenceRequest $request * @param UpdateScheduleConferenceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateScheduleConferenceRequest $request * * @return UpdateScheduleConferenceResponse */ public function updateScheduleConference($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateScheduleConferenceHeaders([]); return $this->updateScheduleConferenceWithOptions($request, $headers, $runtime); } /** * @param string $conferenceId * @param UpdateVideoConferenceExtInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * * @return UpdateVideoConferenceExtInfoResponse */ public function updateVideoConferenceExtInfo($conferenceId) { $runtime = new RuntimeOptions([]); $headers = new UpdateVideoConferenceExtInfoHeaders([]); return $this->updateVideoConferenceExtInfoWithOptions($conferenceId, $headers, $runtime); } /** * @param string $conferenceId * @param UpdateVideoConferenceSettingRequest $request * @param UpdateVideoConferenceSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $conferenceId * @param UpdateVideoConferenceSettingRequest $request * * @return UpdateVideoConferenceSettingResponse */ public function updateVideoConferenceSetting($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateVideoConferenceSettingHeaders([]); return $this->updateVideoConferenceSettingWithOptions($conferenceId, $request, $headers, $runtime); } } src/conference_1_0/Models/CancelScheduleConferenceHeaders.php000064400000002362146412132660020173 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002625146412132660020252 0ustar00 '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.php000064400000003000146412132660020404 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001534146412132660021234 0ustar00 '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.php000064400000002352146412132660017364 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001602146412132660017436 0ustar00 '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.php000064400000002760146412132660017612 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002076146412132660020430 0ustar00 '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.php000064400000002320146412132660014755 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003266146412132660015044 0ustar00 '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.php000064400000001554146412132660016654 0ustar00 '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.php000064400000002674146412132660015214 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001472146412132660016025 0ustar00 '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/CreateScheduleConferenceHeaders.php000064400000002362146412132660020211 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003617146412132660020272 0ustar00 'creatorUnionId', 'endTime' => 'endTime', '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->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['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/conference_1_0/Models/CreateScheduleConferenceResponse.php000064400000003000146412132660020422 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004471146412132660021255 0ustar00 '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.php000064400000002354146412132660017524 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003713146412132660017601 0ustar00 '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.php000064400000002764146412132660017754 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005151146412132660020563 0ustar00 '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.php000064400000002314146412132660014415 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002075146412132660014476 0ustar00 '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.php000064400000002664146412132660014650 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001466146412132660015465 0ustar00 '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/GetConfDataByConferenceIdHeaders.php000064400000002364146412132660020222 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001535146412132660020276 0ustar00 '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.php000064400000003004146412132660020435 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000010153146412132660021256 0ustar00 '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.php000064400000002344146412132660016603 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002760146412132660016662 0ustar00 '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.php000064400000002744146412132660017032 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003320146412132660017637 0ustar00 '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_.php000064400000011322146412132660020752 0ustar00 '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.php000064400000002356146412132660017701 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000006574146412132660017764 0ustar00 '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.php000064400000002770146412132660020124 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003335146412132660020740 0ustar00 '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_.php000064400000010117146412132660022046 0ustar00 '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.php000064400000002344146412132660016707 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001655146412132660016770 0ustar00 '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.php000064400000002744146412132660017136 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002133146412132660017744 0ustar00 '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.php000064400000002344146412132660016655 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002775146412132660016742 0ustar00 '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.php000064400000002744146412132660017104 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003044146412132660017714 0ustar00 '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.php000064400000021447146412132660022634 0ustar00 '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.php000064400000002330146412132660015614 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003434146412132660015677 0ustar00 'inviteeList', '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->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['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/InviteUsersRequest/inviteeList.php000064400000002217146412132660020174 0ustar00 '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/InviteUsersResponse.php000064400000002714146412132660016045 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001502146412132660016655 0ustar00 '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.php000064400000002330146412132660015530 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003373146412132660015615 0ustar00 '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.php000064400000002363146412132660017425 0ustar00 '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.php000064400000002714146412132660015761 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001502146412132660016571 0ustar00 '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.php000064400000002336146412132660016222 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001523146412132660016274 0ustar00 '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.php000064400000002730146412132660016443 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001510146412132660017254 0ustar00 '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.php000064400000011206146412132660015665 0ustar00 '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.php000064400000022775146412132660014735 0ustar00 '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.php000064400000002320146412132660014676 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002157146412132660014763 0ustar00 '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.php000064400000002674146412132660015135 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001472146412132660015746 0ustar00 '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.php000064400000002330146412132660015561 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003303146412132660015637 0ustar00 '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.php000064400000002363146412132660017456 0ustar00 '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.php000064400000002714146412132660016012 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001502146412132660016622 0ustar00 '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.php000064400000002352146412132660017440 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004017146412132660017515 0ustar00 '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.php000064400000002760146412132660017666 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003522146412132660020501 0ustar00 '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.php000064400000010077146412132660023305 0ustar00 '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.php000064400000005353146412132660025746 0ustar00 '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.php000064400000003431146412132660027550 0ustar00 '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.php000064400000002354146412132660017564 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002374146412132660021230 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002627146412132660021306 0ustar00 '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.php000064400000003024146412132660021444 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004543146412132660022271 0ustar00 '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.php000064400000001516146412132660017640 0ustar00 '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.php000064400000002764146412132660020014 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002726146412132660020630 0ustar00 '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.php000064400000006660146412132660022573 0ustar00 '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.php000064400000002362146412132660020214 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001755146412132660020276 0ustar00 '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.php000064400000003000146412132660020425 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002627146412132660021261 0ustar00 '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.php000064400000006045146412132660022375 0ustar00 '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.php000064400000005216146412132660024206 0ustar00 '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.php000064400000002350146412132660017247 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002754146412132660017502 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001774146412132660020321 0ustar00 '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.php000064400000011616146412132660022056 0ustar00 'activeNum', 'attendNum' => 'attendNum', 'confDuration' => 'confDuration', 'conferenceId' => 'conferenceId', 'creatorId' => 'creatorId', 'creatorNick' => 'creatorNick', 'endTime' => 'endTime', 'externalLinkUrl' => 'externalLinkUrl', 'invitedNum' => 'invitedNum', 'roomCode' => 'roomCode', '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->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->externalLinkUrl) { $res['externalLinkUrl'] = $this->externalLinkUrl; } if (null !== $this->invitedNum) { $res['invitedNum'] = $this->invitedNum; } 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 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['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['externalLinkUrl'])) { $model->externalLinkUrl = $map['externalLinkUrl']; } if (isset($map['invitedNum'])) { $model->invitedNum = $map['invitedNum']; } 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/QueryConferenceMembersHeaders.php000064400000002356146412132660017754 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002305146412132660020023 0ustar00 '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.php000064400000002770146412132660020177 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004247146412132660021016 0ustar00 '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.php000064400000007644146412132660023435 0ustar00 '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/QueryScheduleConferenceHeaders.php000064400000002360146412132660020111 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002370146412132660020726 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002317146412132660021004 0ustar00 '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.php000064400000003014146412132660021145 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004243146412132660021770 0ustar00 '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.php000064400000004412146412132660024731 0ustar00 '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.php000064400000001705146412132660020170 0ustar00 '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.php000064400000002774146412132660020345 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000006456146412132660021164 0ustar00 '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.php000064400000002366146412132660020562 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001615146412132660020633 0ustar00 '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.php000064400000003010146412132660020770 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003153146412132660021616 0ustar00 '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.php000064400000002342146412132660016562 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003120146412132660016632 0ustar00 '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.php000064400000002740146412132660017007 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001463146412132660017626 0ustar00 '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/StartStreamOutHeaders.php000064400000002336146412132660016303 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005210146412132660016352 0ustar00 '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.php000064400000002730146412132660016524 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002355146412132660017345 0ustar00 '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.php000064400000002340146412132660016410 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001502146412132660016464 0ustar00 '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.php000064400000002734146412132660016642 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001461146412132660017454 0ustar00 '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/StopStreamOutHeaders.php000064400000002334146412132660016131 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003006146412132660016203 0ustar00 '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.php000064400000002724146412132660016357 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001455146412132660017175 0ustar00 '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.php000064400000002366146412132660020573 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004063146412132660020644 0ustar00 '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.php000064400000007300146412132660025562 0ustar00 '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; } } Models/UpdateScheduleConfSettingsRequest/scheduleConfSettingModel/moziConfVirtualExtraSetting.php000064400000004777146412132660033217 0ustar00src/conference_1_0 'enableChat', 'joinBeforeHost' => 'joinBeforeHost', 'lockMediaStatusMicMute' => 'lockMediaStatusMicMute', 'lockNick' => 'lockNick', 'waitingRoom' => 'waitingRoom', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enableChat) { $res['enableChat'] = $this->enableChat; } 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->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['joinBeforeHost'])) { $model->joinBeforeHost = $map['joinBeforeHost']; } if (isset($map['lockMediaStatusMicMute'])) { $model->lockMediaStatusMicMute = $map['lockMediaStatusMicMute']; } if (isset($map['lockNick'])) { $model->lockNick = $map['lockNick']; } if (isset($map['waitingRoom'])) { $model->waitingRoom = $map['waitingRoom']; } return $model; } } src/conference_1_0/Models/UpdateScheduleConfSettingsResponse.php000064400000003010146412132660021001 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001540146412132660021625 0ustar00 '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.php000064400000002362146412132660020230 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004557146412132660020315 0ustar00 '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.php000064400000003000146412132660020441 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001534146412132660021271 0ustar00 '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.php000064400000002372146412132660021040 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003020146412132660021252 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002107146412132660022075 0ustar00 '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.php000064400000002372146412132660021101 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005347146412132660021163 0ustar00 '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.php000064400000003020146412132660021313 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002107146412132660022136 0ustar00 '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.php000064400000076667146412132660012265 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CreateActionRequest $request * @param CreateActionHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateActionRequest $request * * @return CreateActionResponse */ public function createAction($request) { $runtime = new RuntimeOptions([]); $headers = new CreateActionHeaders([]); return $this->createActionWithOptions($request, $headers, $runtime); } /** * @param CreateConnectorRequest $request * @param CreateConnectorHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateConnectorRequest $request * * @return CreateConnectorResponse */ public function createConnector($request) { $runtime = new RuntimeOptions([]); $headers = new CreateConnectorHeaders([]); return $this->createConnectorWithOptions($request, $headers, $runtime); } /** * @param CreateInvocableInstanceRequest $request * @param CreateInvocableInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateInvocableInstanceRequest $request * * @return CreateInvocableInstanceResponse */ public function createInvocableInstance($request) { $runtime = new RuntimeOptions([]); $headers = new CreateInvocableInstanceHeaders([]); return $this->createInvocableInstanceWithOptions($request, $headers, $runtime); } /** * @param CreateTriggerRequest $request * @param CreateTriggerHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateTriggerRequest $request * * @return CreateTriggerResponse */ public function createTrigger($request) { $runtime = new RuntimeOptions([]); $headers = new CreateTriggerHeaders([]); return $this->createTriggerWithOptions($request, $headers, $runtime); } /** * @param GetActionDetailRequest $request * @param GetActionDetailHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetActionDetailRequest $request * * @return GetActionDetailResponse */ public function getActionDetail($request) { $runtime = new RuntimeOptions([]); $headers = new GetActionDetailHeaders([]); return $this->getActionDetailWithOptions($request, $headers, $runtime); } /** * @param InvokeInstanceRequest $request * @param InvokeInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param InvokeInstanceRequest $request * * @return InvokeInstanceResponse */ public function invokeInstance($request) { $runtime = new RuntimeOptions([]); $headers = new InvokeInstanceHeaders([]); return $this->invokeInstanceWithOptions($request, $headers, $runtime); } /** * @param PullDataByPageRequest $request * @param PullDataByPageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param PullDataByPageRequest $request * * @return PullDataByPageResponse */ public function pullDataByPage($request) { $runtime = new RuntimeOptions([]); $headers = new PullDataByPageHeaders([]); return $this->pullDataByPageWithOptions($request, $headers, $runtime); } /** * @param string $dataModelId * @param PullDataByPkRequest $request * @param PullDataByPkHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $dataModelId * @param PullDataByPkRequest $request * * @return PullDataByPkResponse */ public function pullDataByPk($dataModelId, $request) { $runtime = new RuntimeOptions([]); $headers = new PullDataByPkHeaders([]); return $this->pullDataByPkWithOptions($dataModelId, $request, $headers, $runtime); } /** * @param SearchActionsRequest $request * @param SearchActionsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SearchActionsRequest $request * * @return SearchActionsResponse */ public function searchActions($request) { $runtime = new RuntimeOptions([]); $headers = new SearchActionsHeaders([]); return $this->searchActionsWithOptions($request, $headers, $runtime); } /** * @param SearchConnectorsRequest $request * @param SearchConnectorsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SearchConnectorsRequest $request * * @return SearchConnectorsResponse */ public function searchConnectors($request) { $runtime = new RuntimeOptions([]); $headers = new SearchConnectorsHeaders([]); return $this->searchConnectorsWithOptions($request, $headers, $runtime); } /** * @param SyncDataRequest $request * @param SyncDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SyncDataRequest $request * * @return SyncDataResponse */ public function syncData($request) { $runtime = new RuntimeOptions([]); $headers = new SyncDataHeaders([]); return $this->syncDataWithOptions($request, $headers, $runtime); } /** * @param UpdateActionRequest $request * @param UpdateActionHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateActionRequest $request * * @return UpdateActionResponse */ public function updateAction($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateActionHeaders([]); return $this->updateActionWithOptions($request, $headers, $runtime); } /** * @param UpdateConnectorRequest $request * @param UpdateConnectorHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateConnectorRequest $request * * @return UpdateConnectorResponse */ public function updateConnector($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateConnectorHeaders([]); return $this->updateConnectorWithOptions($request, $headers, $runtime); } /** * @param UpdateTriggerRequest $request * @param UpdateTriggerHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateTriggerRequest $request * * @return UpdateTriggerResponse */ public function updateTrigger($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTriggerHeaders([]); return $this->updateTriggerWithOptions($request, $headers, $runtime); } } src/connector_1_0/Models/CreateActionHeaders.php000064400000002331146412132660015561 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003426146412132660015644 0ustar00 '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.php000064400000012471146412132660017735 0ustar00 '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.php000064400000002327146412132660023535 0ustar00 '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.php000064400000003047146412132660023101 0ustar00 '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.php000064400000002331146412132660023731 0ustar00 '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.php000064400000002717146412132660016014 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002537146412132660016632 0ustar00 '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.php000064400000005572146412132660017572 0ustar00 '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.php000064400000002337146412132660016304 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003522146412132660016356 0ustar00 '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.php000064400000006525146412132660021172 0ustar00 '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.php000064400000002733146412132660016527 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002550146412132660017342 0ustar00 '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.php000064400000004435146412132660020304 0ustar00 '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.php000064400000002357146412132660017743 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002570146412132660020015 0ustar00 '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.php000064400000002773146412132660020170 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002574146412132660021005 0ustar00 '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.php000064400000002333146412132660015751 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003452146412132660016031 0ustar00 '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.php000064400000005077146412132660020315 0ustar00 '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.php000064400000002723146412132660016177 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002542146412132660017014 0ustar00 '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.php000064400000005611146412132660017752 0ustar00 '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.php000064400000002337146412132660016226 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002013146412132660016272 0ustar00 '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.php000064400000002733146412132660016451 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000010066146412132660017265 0ustar00 '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.php000064400000005327146412132660022742 0ustar00 '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.php000064400000001551146412132660025536 0ustar00 '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.php000064400000002157146412132660024103 0ustar00 '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.php000064400000002335146412132660016144 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003337146412132660016224 0ustar00 '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.php000064400000002727146412132660016374 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004237146412132660017210 0ustar00 '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.php000064400000002335146412132660016022 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005354146412132660016103 0ustar00 '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.php000064400000002727146412132660016252 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003707146412132660017067 0ustar00 '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_.php000064400000005712146412132660020177 0ustar00 '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.php000064400000002331146412132660015514 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002140146412132660015567 0ustar00 '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.php000064400000002717146412132660015747 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005725146412132660016567 0ustar00 '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.php000064400000002333146412132660015750 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004724146412132660016033 0ustar00 '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.php000064400000002723146412132660016176 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004334146412132660017014 0ustar00 '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_.php000064400000010427146412132660020126 0ustar00 '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.php000064400000002341146412132660016464 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002732146412132660016545 0ustar00 '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.php000064400000002737146412132660016720 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004401146412132660017524 0ustar00 '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_.php000064400000004310146412132660020635 0ustar00 '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.php000064400000002321146412132660014725 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003431146412132660015005 0ustar00 '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.php000064400000006206146412132660020101 0ustar00 '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.php000064400000002677146412132660015166 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002526146412132660015775 0ustar00 '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_.php000064400000004024146412132660017102 0ustar00 '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.php000064400000002331146412132660015600 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003426146412132660015663 0ustar00 '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.php000064400000013206146412132660017751 0ustar00 '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.php000064400000002327146412132660023554 0ustar00 '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.php000064400000003047146412132660023120 0ustar00 '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.php000064400000002331146412132660023750 0ustar00 '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.php000064400000002717146412132660016033 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002537146412132660016651 0ustar00 '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.php000064400000005572146412132660017611 0ustar00 '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.php000064400000002337146412132660016323 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003522146412132660016375 0ustar00 '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.php000064400000007272146412132660021211 0ustar00 '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.php000064400000002733146412132660016546 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002550146412132660017361 0ustar00 '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.php000064400000004435146412132660020323 0ustar00 '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.php000064400000002333146412132660015770 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003452146412132660016050 0ustar00 '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.php000064400000005624146412132660020332 0ustar00 '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.php000064400000002723146412132660016216 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002542146412132660017033 0ustar00 '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.php000064400000005611146412132660017771 0ustar00 '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.php000064400000542147146412132660011715 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddAccountMappingRequest $request * @param AddAccountMappingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AddAccountMappingRequest $request * * @return AddAccountMappingResponse */ public function addAccountMapping($request) { $runtime = new RuntimeOptions([]); $headers = new AddAccountMappingHeaders([]); return $this->addAccountMappingWithOptions($request, $headers, $runtime); } /** * @param AddContactHideBySceneSettingRequest $request * @param AddContactHideBySceneSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AddContactHideBySceneSettingRequest $request * * @return AddContactHideBySceneSettingResponse */ public function addContactHideBySceneSetting($request) { $runtime = new RuntimeOptions([]); $headers = new AddContactHideBySceneSettingHeaders([]); return $this->addContactHideBySceneSettingWithOptions($request, $headers, $runtime); } /** * @param AddEmpAttributeHideBySceneSettingRequest $request * @param AddEmpAttributeHideBySceneSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AddEmpAttributeHideBySceneSettingRequest $request * * @return AddEmpAttributeHideBySceneSettingResponse */ public function addEmpAttributeHideBySceneSetting($request) { $runtime = new RuntimeOptions([]); $headers = new AddEmpAttributeHideBySceneSettingHeaders([]); return $this->addEmpAttributeHideBySceneSettingWithOptions($request, $headers, $runtime); } /** * @param AddOrgAccountOwnnessRequest $request * @param AddOrgAccountOwnnessHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AddOrgAccountOwnnessRequest $request * * @return AddOrgAccountOwnnessResponse */ public function addOrgAccountOwnness($request) { $runtime = new RuntimeOptions([]); $headers = new AddOrgAccountOwnnessHeaders([]); return $this->addOrgAccountOwnnessWithOptions($request, $headers, $runtime); } /** * @param AnnualCertificationAuditRequest $request * @param AnnualCertificationAuditHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AnnualCertificationAuditRequest $request * * @return AnnualCertificationAuditResponse */ public function annualCertificationAudit($request) { $runtime = new RuntimeOptions([]); $headers = new AnnualCertificationAuditHeaders([]); return $this->annualCertificationAuditWithOptions($request, $headers, $runtime); } /** * @param BatchApproveUnionApplyRequest $request * @param BatchApproveUnionApplyHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchApproveUnionApplyRequest $request * * @return BatchApproveUnionApplyResponse */ public function batchApproveUnionApply($request) { $runtime = new RuntimeOptions([]); $headers = new BatchApproveUnionApplyHeaders([]); return $this->batchApproveUnionApplyWithOptions($request, $headers, $runtime); } /** * @param ChangeMainAdminRequest $request * @param ChangeMainAdminHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ChangeMainAdminRequest $request * * @return ChangeMainAdminResponse */ public function changeMainAdmin($request) { $runtime = new RuntimeOptions([]); $headers = new ChangeMainAdminHeaders([]); return $this->changeMainAdminWithOptions($request, $headers, $runtime); } /** * @param CreateCooperateOrgRequest $request * @param CreateCooperateOrgHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateCooperateOrgRequest $request * * @return CreateCooperateOrgResponse */ public function createCooperateOrg($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCooperateOrgHeaders([]); return $this->createCooperateOrgWithOptions($request, $headers, $runtime); } /** * @param CreateManagementGroupRequest $request * @param CreateManagementGroupHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateManagementGroupRequest $request * * @return CreateManagementGroupResponse */ public function createManagementGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CreateManagementGroupHeaders([]); return $this->createManagementGroupWithOptions($request, $headers, $runtime); } /** * @param CreateSecondaryManagementGroupRequest $request * @param CreateSecondaryManagementGroupHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateSecondaryManagementGroupRequest $request * * @return CreateSecondaryManagementGroupResponse */ public function createSecondaryManagementGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CreateSecondaryManagementGroupHeaders([]); return $this->createSecondaryManagementGroupWithOptions($request, $headers, $runtime); } /** * @param DelAccountMappingRequest $request * @param DelAccountMappingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param DelAccountMappingRequest $request * * @return DelAccountMappingResponse */ public function delAccountMapping($request) { $runtime = new RuntimeOptions([]); $headers = new DelAccountMappingHeaders([]); return $this->delAccountMappingWithOptions($request, $headers, $runtime); } /** * @param DelOrgAccUserOwnnessRequest $request * @param DelOrgAccUserOwnnessHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param DelOrgAccUserOwnnessRequest $request * * @return DelOrgAccUserOwnnessResponse */ public function delOrgAccUserOwnness($request) { $runtime = new RuntimeOptions([]); $headers = new DelOrgAccUserOwnnessHeaders([]); return $this->delOrgAccUserOwnnessWithOptions($request, $headers, $runtime); } /** * @param string $settingId * @param DeleteContactHideBySceneSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $settingId * * @return DeleteContactHideBySceneSettingResponse */ public function deleteContactHideBySceneSetting($settingId) { $runtime = new RuntimeOptions([]); $headers = new DeleteContactHideBySceneSettingHeaders([]); return $this->deleteContactHideBySceneSettingWithOptions($settingId, $headers, $runtime); } /** * @param string $settingId * @param DeleteContactHideSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $settingId * * @return DeleteContactHideSettingResponse */ public function deleteContactHideSetting($settingId) { $runtime = new RuntimeOptions([]); $headers = new DeleteContactHideSettingHeaders([]); return $this->deleteContactHideSettingWithOptions($settingId, $headers, $runtime); } /** * @param string $settingId * @param DeleteContactRestrictSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $settingId * * @return DeleteContactRestrictSettingResponse */ public function deleteContactRestrictSetting($settingId) { $runtime = new RuntimeOptions([]); $headers = new DeleteContactRestrictSettingHeaders([]); return $this->deleteContactRestrictSettingWithOptions($settingId, $headers, $runtime); } /** * @param string $settingId * @param DeleteEmpAttributeHideBySceneSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $settingId * * @return DeleteEmpAttributeHideBySceneSettingResponse */ public function deleteEmpAttributeHideBySceneSetting($settingId) { $runtime = new RuntimeOptions([]); $headers = new DeleteEmpAttributeHideBySceneSettingHeaders([]); return $this->deleteEmpAttributeHideBySceneSettingWithOptions($settingId, $headers, $runtime); } /** * @param string $settingId * @param DeleteEmpAttributeVisibilityHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $settingId * * @return DeleteEmpAttributeVisibilityResponse */ public function deleteEmpAttributeVisibility($settingId) { $runtime = new RuntimeOptions([]); $headers = new DeleteEmpAttributeVisibilityHeaders([]); return $this->deleteEmpAttributeVisibilityWithOptions($settingId, $headers, $runtime); } /** * @param string $groupId * @param DeleteManagementGroupHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $groupId * * @return DeleteManagementGroupResponse */ public function deleteManagementGroup($groupId) { $runtime = new RuntimeOptions([]); $headers = new DeleteManagementGroupHeaders([]); return $this->deleteManagementGroupWithOptions($groupId, $headers, $runtime); } /** * @param GetAccountMappingRequest $request * @param GetAccountMappingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetAccountMappingRequest $request * * @return GetAccountMappingResponse */ public function getAccountMapping($request) { $runtime = new RuntimeOptions([]); $headers = new GetAccountMappingHeaders([]); return $this->getAccountMappingWithOptions($request, $headers, $runtime); } /** * @param GetApplyInviteInfoRequest $request * @param GetApplyInviteInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetApplyInviteInfoRequest $request * * @return GetApplyInviteInfoResponse */ public function getApplyInviteInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetApplyInviteInfoHeaders([]); return $this->getApplyInviteInfoWithOptions($request, $headers, $runtime); } /** * @param GetBranchAuthDataRequest $request * @param GetBranchAuthDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetBranchAuthDataRequest $request * * @return GetBranchAuthDataResponse */ public function getBranchAuthData($request) { $runtime = new RuntimeOptions([]); $headers = new GetBranchAuthDataHeaders([]); return $this->getBranchAuthDataWithOptions($request, $headers, $runtime); } /** * @param string $cardId * @param GetCardInUserHolderHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $cardId * * @return GetCardInUserHolderResponse */ public function getCardInUserHolder($cardId) { $runtime = new RuntimeOptions([]); $headers = new GetCardInUserHolderHeaders([]); return $this->getCardInUserHolderWithOptions($cardId, $headers, $runtime); } /** * @param string $cardId * @param GetCardInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $cardId * * @return GetCardInfoResponse */ public function getCardInfo($cardId) { $runtime = new RuntimeOptions([]); $headers = new GetCardInfoHeaders([]); return $this->getCardInfoWithOptions($cardId, $headers, $runtime); } /** * @param string $settingId * @param GetContactHideBySceneSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $settingId * * @return GetContactHideBySceneSettingResponse */ public function getContactHideBySceneSetting($settingId) { $runtime = new RuntimeOptions([]); $headers = new GetContactHideBySceneSettingHeaders([]); return $this->getContactHideBySceneSettingWithOptions($settingId, $headers, $runtime); } /** * @param string $cooperateCorpId * @param GetCooperateOrgInviteInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $cooperateCorpId * * @return GetCooperateOrgInviteInfoResponse */ public function getCooperateOrgInviteInfo($cooperateCorpId) { $runtime = new RuntimeOptions([]); $headers = new GetCooperateOrgInviteInfoHeaders([]); return $this->getCooperateOrgInviteInfoWithOptions($cooperateCorpId, $headers, $runtime); } /** * @param GetCorpCardStyleListHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return GetCorpCardStyleListResponse */ public function getCorpCardStyleList() { $runtime = new RuntimeOptions([]); $headers = new GetCorpCardStyleListHeaders([]); return $this->getCorpCardStyleListWithOptions($headers, $runtime); } /** * @param GetDingIdByMigrationDingIdRequest $request * @param GetDingIdByMigrationDingIdHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetDingIdByMigrationDingIdRequest $request * * @return GetDingIdByMigrationDingIdResponse */ public function getDingIdByMigrationDingId($request) { $runtime = new RuntimeOptions([]); $headers = new GetDingIdByMigrationDingIdHeaders([]); return $this->getDingIdByMigrationDingIdWithOptions($request, $headers, $runtime); } /** * @param string $settingId * @param GetEmpAttributeHideBySceneSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $settingId * * @return GetEmpAttributeHideBySceneSettingResponse */ public function getEmpAttributeHideBySceneSetting($settingId) { $runtime = new RuntimeOptions([]); $headers = new GetEmpAttributeHideBySceneSettingHeaders([]); return $this->getEmpAttributeHideBySceneSettingWithOptions($settingId, $headers, $runtime); } /** * @param GetLatestDingIndexHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return GetLatestDingIndexResponse */ public function getLatestDingIndex() { $runtime = new RuntimeOptions([]); $headers = new GetLatestDingIndexHeaders([]); return $this->getLatestDingIndexWithOptions($headers, $runtime); } /** * @param GetMigrationDingIdByDingIdRequest $request * @param GetMigrationDingIdByDingIdHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetMigrationDingIdByDingIdRequest $request * * @return GetMigrationDingIdByDingIdResponse */ public function getMigrationDingIdByDingId($request) { $runtime = new RuntimeOptions([]); $headers = new GetMigrationDingIdByDingIdHeaders([]); return $this->getMigrationDingIdByDingIdWithOptions($request, $headers, $runtime); } /** * @param GetMigrationUnionIdByUnionIdRequest $request * @param GetMigrationUnionIdByUnionIdHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetMigrationUnionIdByUnionIdRequest $request * * @return GetMigrationUnionIdByUnionIdResponse */ public function getMigrationUnionIdByUnionId($request) { $runtime = new RuntimeOptions([]); $headers = new GetMigrationUnionIdByUnionIdHeaders([]); return $this->getMigrationUnionIdByUnionIdWithOptions($request, $headers, $runtime); } /** * @param GetOrgAuthInfoRequest $request * @param GetOrgAuthInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetOrgAuthInfoRequest $request * * @return GetOrgAuthInfoResponse */ public function getOrgAuthInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetOrgAuthInfoHeaders([]); return $this->getOrgAuthInfoWithOptions($request, $headers, $runtime); } /** * @param GetTranslateFileJobResultRequest $request * @param GetTranslateFileJobResultHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetTranslateFileJobResultRequest $request * * @return GetTranslateFileJobResultResponse */ public function getTranslateFileJobResult($request) { $runtime = new RuntimeOptions([]); $headers = new GetTranslateFileJobResultHeaders([]); return $this->getTranslateFileJobResultWithOptions($request, $headers, $runtime); } /** * @param GetUnionIdByMigrationUnionIdRequest $request * @param GetUnionIdByMigrationUnionIdHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetUnionIdByMigrationUnionIdRequest $request * * @return GetUnionIdByMigrationUnionIdResponse */ public function getUnionIdByMigrationUnionId($request) { $runtime = new RuntimeOptions([]); $headers = new GetUnionIdByMigrationUnionIdHeaders([]); return $this->getUnionIdByMigrationUnionIdWithOptions($request, $headers, $runtime); } /** * @param string $unionId * @param GetUserHeaders $headers * @param RuntimeOptions $runtime * * @return 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' => 'json', 'bodyType' => 'json', ]); return GetUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $unionId * * @return GetUserResponse */ public function getUser($unionId) { $runtime = new RuntimeOptions([]); $headers = new GetUserHeaders([]); return $this->getUserWithOptions($unionId, $headers, $runtime); } /** * @param GetUserCardHolderListRequest $request * @param GetUserCardHolderListHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetUserCardHolderListRequest $request * * @return GetUserCardHolderListResponse */ public function getUserCardHolderList($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserCardHolderListHeaders([]); return $this->getUserCardHolderListWithOptions($request, $headers, $runtime); } /** * @param IsFriendRequest $request * @param IsFriendHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param IsFriendRequest $request * * @return IsFriendResponse */ public function isFriend($request) { $runtime = new RuntimeOptions([]); $headers = new IsFriendHeaders([]); return $this->isFriendWithOptions($request, $headers, $runtime); } /** * @param IsvCardEventPushRequest $request * @param IsvCardEventPushHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param IsvCardEventPushRequest $request * * @return IsvCardEventPushResponse */ public function isvCardEventPush($request) { $runtime = new RuntimeOptions([]); $headers = new IsvCardEventPushHeaders([]); return $this->isvCardEventPushWithOptions($request, $headers, $runtime); } /** * @param ListBasicRoleInPageRequest $request * @param ListBasicRoleInPageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListBasicRoleInPageRequest $request * * @return ListBasicRoleInPageResponse */ public function listBasicRoleInPage($request) { $runtime = new RuntimeOptions([]); $headers = new ListBasicRoleInPageHeaders([]); return $this->listBasicRoleInPageWithOptions($request, $headers, $runtime); } /** * @param ListContactHideSettingsRequest $request * @param ListContactHideSettingsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListContactHideSettingsRequest $request * * @return ListContactHideSettingsResponse */ public function listContactHideSettings($request) { $runtime = new RuntimeOptions([]); $headers = new ListContactHideSettingsHeaders([]); return $this->listContactHideSettingsWithOptions($request, $headers, $runtime); } /** * @param ListContactRestrictSettingRequest $request * @param ListContactRestrictSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListContactRestrictSettingRequest $request * * @return ListContactRestrictSettingResponse */ public function listContactRestrictSetting($request) { $runtime = new RuntimeOptions([]); $headers = new ListContactRestrictSettingHeaders([]); return $this->listContactRestrictSettingWithOptions($request, $headers, $runtime); } /** * @param ListEmpAttributeVisibilityRequest $request * @param ListEmpAttributeVisibilityHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListEmpAttributeVisibilityRequest $request * * @return ListEmpAttributeVisibilityResponse */ public function listEmpAttributeVisibility($request) { $runtime = new RuntimeOptions([]); $headers = new ListEmpAttributeVisibilityHeaders([]); return $this->listEmpAttributeVisibilityWithOptions($request, $headers, $runtime); } /** * @param ListEmpLeaveRecordsRequest $request * @param ListEmpLeaveRecordsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListEmpLeaveRecordsRequest $request * * @return ListEmpLeaveRecordsResponse */ public function listEmpLeaveRecords($request) { $runtime = new RuntimeOptions([]); $headers = new ListEmpLeaveRecordsHeaders([]); return $this->listEmpLeaveRecordsWithOptions($request, $headers, $runtime); } /** * @param ListManagementGroupsRequest $request * @param ListManagementGroupsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListManagementGroupsRequest $request * * @return ListManagementGroupsResponse */ public function listManagementGroups($request) { $runtime = new RuntimeOptions([]); $headers = new ListManagementGroupsHeaders([]); return $this->listManagementGroupsWithOptions($request, $headers, $runtime); } /** * @param ListOwnedOrgByStaffIdRequest $request * @param ListOwnedOrgByStaffIdHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListOwnedOrgByStaffIdRequest $request * * @return ListOwnedOrgByStaffIdResponse */ public function listOwnedOrgByStaffId($request) { $runtime = new RuntimeOptions([]); $headers = new ListOwnedOrgByStaffIdHeaders([]); return $this->listOwnedOrgByStaffIdWithOptions($request, $headers, $runtime); } /** * @param ListSeniorSettingsRequest $request * @param ListSeniorSettingsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListSeniorSettingsRequest $request * * @return ListSeniorSettingsResponse */ public function listSeniorSettings($request) { $runtime = new RuntimeOptions([]); $headers = new ListSeniorSettingsHeaders([]); return $this->listSeniorSettingsWithOptions($request, $headers, $runtime); } /** * @param ModifyOrgAccUserOwnnessRequest $request * @param ModifyOrgAccUserOwnnessHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ModifyOrgAccUserOwnnessRequest $request * * @return ModifyOrgAccUserOwnnessResponse */ public function modifyOrgAccUserOwnness($request) { $runtime = new RuntimeOptions([]); $headers = new ModifyOrgAccUserOwnnessHeaders([]); return $this->modifyOrgAccUserOwnnessWithOptions($request, $headers, $runtime); } /** * @param MultiOrgPermissionGrantRequest $request * @param MultiOrgPermissionGrantHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param MultiOrgPermissionGrantRequest $request * * @return MultiOrgPermissionGrantResponse */ public function multiOrgPermissionGrant($request) { $runtime = new RuntimeOptions([]); $headers = new MultiOrgPermissionGrantHeaders([]); return $this->multiOrgPermissionGrantWithOptions($request, $headers, $runtime); } /** * @param PushVerifyEventRequest $request * @param PushVerifyEventHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param PushVerifyEventRequest $request * * @return PushVerifyEventResponse */ public function pushVerifyEvent($request) { $runtime = new RuntimeOptions([]); $headers = new PushVerifyEventHeaders([]); return $this->pushVerifyEventWithOptions($request, $headers, $runtime); } /** * @param QueryCardVisitorStatisticDataRequest $request * @param QueryCardVisitorStatisticDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCardVisitorStatisticDataRequest $request * * @return QueryCardVisitorStatisticDataResponse */ public function queryCardVisitorStatisticData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCardVisitorStatisticDataHeaders([]); return $this->queryCardVisitorStatisticDataWithOptions($request, $headers, $runtime); } /** * @param QueryCorpStatisticDataRequest $request * @param QueryCorpStatisticDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCorpStatisticDataRequest $request * * @return QueryCorpStatisticDataResponse */ public function queryCorpStatisticData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCorpStatisticDataHeaders([]); return $this->queryCorpStatisticDataWithOptions($request, $headers, $runtime); } /** * @param QueryCorpUserStatisticRequest $request * @param QueryCorpUserStatisticHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCorpUserStatisticRequest $request * * @return QueryCorpUserStatisticResponse */ public function queryCorpUserStatistic($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCorpUserStatisticHeaders([]); return $this->queryCorpUserStatisticWithOptions($request, $headers, $runtime); } /** * @param string $resourceId * @param QueryResourceManagementMembersHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $resourceId * * @return QueryResourceManagementMembersResponse */ public function queryResourceManagementMembers($resourceId) { $runtime = new RuntimeOptions([]); $headers = new QueryResourceManagementMembersHeaders([]); return $this->queryResourceManagementMembersWithOptions($resourceId, $headers, $runtime); } /** * @param QueryStatusRequest $request * @param QueryStatusHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryStatusRequest $request * * @return QueryStatusResponse */ public function queryStatus($request) { $runtime = new RuntimeOptions([]); $headers = new QueryStatusHeaders([]); return $this->queryStatusWithOptions($request, $headers, $runtime); } /** * @param string $userId * @param QueryUserManagementResourcesHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * * @return QueryUserManagementResourcesResponse */ public function queryUserManagementResources($userId) { $runtime = new RuntimeOptions([]); $headers = new QueryUserManagementResourcesHeaders([]); return $this->queryUserManagementResourcesWithOptions($userId, $headers, $runtime); } /** * @param QueryVerifyResultRequest $request * @param QueryVerifyResultHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryVerifyResultRequest $request * * @return QueryVerifyResultResponse */ public function queryVerifyResult($request) { $runtime = new RuntimeOptions([]); $headers = new QueryVerifyResultHeaders([]); return $this->queryVerifyResultWithOptions($request, $headers, $runtime); } /** * @param SearchDepartmentRequest $request * @param SearchDepartmentHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SearchDepartmentRequest $request * * @return SearchDepartmentResponse */ public function searchDepartment($request) { $runtime = new RuntimeOptions([]); $headers = new SearchDepartmentHeaders([]); return $this->searchDepartmentWithOptions($request, $headers, $runtime); } /** * @param SearchUserRequest $request * @param SearchUserHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SearchUserRequest $request * * @return SearchUserResponse */ public function searchUser($request) { $runtime = new RuntimeOptions([]); $headers = new SearchUserHeaders([]); return $this->searchUserWithOptions($request, $headers, $runtime); } /** * @param SeparateBranchOrgRequest $request * @param SeparateBranchOrgHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SeparateBranchOrgRequest $request * * @return SeparateBranchOrgResponse */ public function separateBranchOrg($request) { $runtime = new RuntimeOptions([]); $headers = new SeparateBranchOrgHeaders([]); return $this->separateBranchOrgWithOptions($request, $headers, $runtime); } /** * @param SetDisableRequest $request * @param SetDisableHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SetDisableRequest $request * * @return SetDisableResponse */ public function setDisable($request) { $runtime = new RuntimeOptions([]); $headers = new SetDisableHeaders([]); return $this->setDisableWithOptions($request, $headers, $runtime); } /** * @param SetEnableRequest $request * @param SetEnableHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SetEnableRequest $request * * @return SetEnableResponse */ public function setEnable($request) { $runtime = new RuntimeOptions([]); $headers = new SetEnableHeaders([]); return $this->setEnableWithOptions($request, $headers, $runtime); } /** * @param SignOutRequest $request * @param SignOutHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SignOutRequest $request * * @return SignOutResponse */ public function signOut($request) { $runtime = new RuntimeOptions([]); $headers = new SignOutHeaders([]); return $this->signOutWithOptions($request, $headers, $runtime); } /** * @param SortUserRequest $request * @param SortUserHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SortUserRequest $request * * @return SortUserResponse */ public function sortUser($request) { $runtime = new RuntimeOptions([]); $headers = new SortUserHeaders([]); return $this->sortUserWithOptions($request, $headers, $runtime); } /** * @param TransformToExclusiveAccountRequest $request * @param TransformToExclusiveAccountHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param TransformToExclusiveAccountRequest $request * * @return TransformToExclusiveAccountResponse */ public function transformToExclusiveAccount($request) { $runtime = new RuntimeOptions([]); $headers = new TransformToExclusiveAccountHeaders([]); return $this->transformToExclusiveAccountWithOptions($request, $headers, $runtime); } /** * @param TranslateFileRequest $request * @param TranslateFileHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param TranslateFileRequest $request * * @return TranslateFileResponse */ public function translateFile($request) { $runtime = new RuntimeOptions([]); $headers = new TranslateFileHeaders([]); return $this->translateFileWithOptions($request, $headers, $runtime); } /** * @param UniqueQueryUserCardRequest $request * @param UniqueQueryUserCardHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UniqueQueryUserCardRequest $request * * @return UniqueQueryUserCardResponse */ public function uniqueQueryUserCard($request) { $runtime = new RuntimeOptions([]); $headers = new UniqueQueryUserCardHeaders([]); return $this->uniqueQueryUserCardWithOptions($request, $headers, $runtime); } /** * @param UpdateBranchAttributesInCooperateRequest $request * @param UpdateBranchAttributesInCooperateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateBranchAttributesInCooperateRequest $request * * @return UpdateBranchAttributesInCooperateResponse */ public function updateBranchAttributesInCooperate($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateBranchAttributesInCooperateHeaders([]); return $this->updateBranchAttributesInCooperateWithOptions($request, $headers, $runtime); } /** * @param UpdateBranchVisibleSettingInCooperateRequest $request * @param UpdateBranchVisibleSettingInCooperateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateBranchVisibleSettingInCooperateRequest $request * * @return UpdateBranchVisibleSettingInCooperateResponse */ public function updateBranchVisibleSettingInCooperate($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateBranchVisibleSettingInCooperateHeaders([]); return $this->updateBranchVisibleSettingInCooperateWithOptions($request, $headers, $runtime); } /** * @param string $settingId * @param UpdateContactHideBySceneSettingRequest $request * @param UpdateContactHideBySceneSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $settingId * @param UpdateContactHideBySceneSettingRequest $request * * @return UpdateContactHideBySceneSettingResponse */ public function updateContactHideBySceneSetting($settingId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateContactHideBySceneSettingHeaders([]); return $this->updateContactHideBySceneSettingWithOptions($settingId, $request, $headers, $runtime); } /** * @param UpdateContactHideSettingRequest $request * @param UpdateContactHideSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateContactHideSettingRequest $request * * @return UpdateContactHideSettingResponse */ public function updateContactHideSetting($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateContactHideSettingHeaders([]); return $this->updateContactHideSettingWithOptions($request, $headers, $runtime); } /** * @param UpdateContactRestrictSettingRequest $request * @param UpdateContactRestrictSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateContactRestrictSettingRequest $request * * @return UpdateContactRestrictSettingResponse */ public function updateContactRestrictSetting($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateContactRestrictSettingHeaders([]); return $this->updateContactRestrictSettingWithOptions($request, $headers, $runtime); } /** * @param UpdateDeptSettngTailFirstRequest $request * @param UpdateDeptSettngTailFirstHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateDeptSettngTailFirstRequest $request * * @return UpdateDeptSettngTailFirstResponse */ public function updateDeptSettngTailFirst($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateDeptSettngTailFirstHeaders([]); return $this->updateDeptSettngTailFirstWithOptions($request, $headers, $runtime); } /** * @param UpdateEmpAttrbuteVisibilitySettingRequest $request * @param UpdateEmpAttrbuteVisibilitySettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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' => 'json', 'bodyType' => 'json', ]); return UpdateEmpAttrbuteVisibilitySettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateEmpAttrbuteVisibilitySettingRequest $request * * @return UpdateEmpAttrbuteVisibilitySettingResponse */ public function updateEmpAttrbuteVisibilitySetting($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateEmpAttrbuteVisibilitySettingHeaders([]); return $this->updateEmpAttrbuteVisibilitySettingWithOptions($request, $headers, $runtime); } /** * @param string $settingId * @param UpdateEmpAttributeHideBySceneSettingRequest $request * @param UpdateEmpAttributeHideBySceneSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $settingId * @param UpdateEmpAttributeHideBySceneSettingRequest $request * * @return UpdateEmpAttributeHideBySceneSettingResponse */ public function updateEmpAttributeHideBySceneSetting($settingId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateEmpAttributeHideBySceneSettingHeaders([]); return $this->updateEmpAttributeHideBySceneSettingWithOptions($settingId, $request, $headers, $runtime); } /** * @param string $groupId * @param UpdateManagementGroupRequest $request * @param UpdateManagementGroupHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $groupId * @param UpdateManagementGroupRequest $request * * @return UpdateManagementGroupResponse */ public function updateManagementGroup($groupId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateManagementGroupHeaders([]); return $this->updateManagementGroupWithOptions($groupId, $request, $headers, $runtime); } /** * @param UpdateSeniorSettingRequest $request * @param UpdateSeniorSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateSeniorSettingRequest $request * * @return UpdateSeniorSettingResponse */ public function updateSeniorSetting($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateSeniorSettingHeaders([]); return $this->updateSeniorSettingWithOptions($request, $headers, $runtime); } /** * @param string $userId * @param UpdateUserOwnnessRequest $request * @param UpdateUserOwnnessHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * @param UpdateUserOwnnessRequest $request * * @return 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.php000064400000002341146412132660016203 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004235146412132660016264 0ustar00 '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.php000064400000002741146412132660016432 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001536146412132660017251 0ustar00 '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.php000064400000002367146412132660020277 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000012457146412132660020355 0ustar00 '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.php000064400000002352146412132660024233 0ustar00 '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.php000064400000001520146412132660024106 0ustar00 '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.php000064400000002346146412132660023722 0ustar00 '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.php000064400000003015146412132660020511 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001621146412132660021330 0ustar00 '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.php000064400000002401146412132660021276 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000013255146412132660021364 0ustar00 '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.php000064400000001525146412132660025142 0ustar00 '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.php000064400000001525146412132660025125 0ustar00 '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.php000064400000001523146412132660024730 0ustar00 '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.php000064400000003041146412132660021522 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001633146412132660022345 0ustar00 '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.php000064400000002347146412132660016722 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004645146412132660017002 0ustar00 '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.php000064400000002755146412132660017150 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001545146412132660017762 0ustar00 '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.php000064400000002357146412132660017602 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000013114146412132660017650 0ustar00 '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.php000064400000002775146412132660020031 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001520146412132660020632 0ustar00 '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.php000064400000002353146412132660017262 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002552146412132660017340 0ustar00 '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.php000064400000003102146412132660020265 0ustar00 '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.php000064400000002765146412132660017514 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001514146412132660020321 0ustar00 '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.php000064400000002335146412132660015630 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003125146412132660015703 0ustar00 '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.php000064400000002165146412132660016054 0ustar00 '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.php000064400000002343146412132660016401 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003050146412132660016452 0ustar00 '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.php000064400000002745146412132660016632 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001627146412132660017446 0ustar00 '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.php000064400000002351146412132660017100 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004742146412132660017163 0ustar00 '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.php000064400000002264146412132660020612 0ustar00 '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.php000064400000002337146412132660020272 0ustar00 '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.php000064400000002761146412132660017330 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001564146412132660020146 0ustar00 '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.php000064400000002373146412132660020754 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005540146412132660021030 0ustar00 '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.php000064400000002275146412132660022464 0ustar00 '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.php000064400000002350146412132660022135 0ustar00 '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.php000064400000003025146412132660021172 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001606146412132660022013 0ustar00 '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.php000064400000002341146412132660016217 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002206146412132660016274 0ustar00 '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.php000064400000002741146412132660016446 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001536146412132660017265 0ustar00 '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.php000064400000002347146412132660016667 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002767146412132660016752 0ustar00 '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.php000064400000002755146412132660017115 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001510146412132660017717 0ustar00 '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.php000064400000002375146412132660021010 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003031146412132660021221 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001547146412132660022051 0ustar00 '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.php000064400000002357146412132660017537 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002207146412132660017754 0ustar00 '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.php000064400000002367146412132660020466 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003015146412132660020700 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001564146412132660021525 0ustar00 '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.php000064400000002407146412132660022016 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003055146412132660022241 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001561146412132660023057 0ustar00 '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.php000064400000002367146412132660020472 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002217146412132660020707 0ustar00 '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.php000064400000002351146412132660017077 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002201146412132660017314 0ustar00 '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.php000064400000002341146412132660016232 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002206146412132660016307 0ustar00 '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.php000064400000002741146412132660016461 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001726146412132660017301 0ustar00 '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.php000064400000004131146412132660020610 0ustar00 '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.php000064400000002343146412132660016404 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002215146412132660016457 0ustar00 '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.php000064400000002745146412132660016635 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005541146412132660017450 0ustar00 '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.php000064400000002341146412132660016133 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002707146412132660016216 0ustar00 '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.php000064400000002741146412132660016362 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002616146412132660017201 0ustar00 '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.php000064400000003015146412132660020511 0ustar00 '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.php000064400000002345146412132660016463 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002751146412132660016707 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000010333146412132660017520 0ustar00 '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.php000064400000002325146412132660015011 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002711146412132660015233 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000007515146412132660016060 0ustar00 '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.php000064400000010143146412132660020063 0ustar00 '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.php000064400000011653146412132660023133 0ustar00 '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.php000064400000002356146412132660024560 0ustar00 '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.php000064400000002252146412132660025463 0ustar00 '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.php000064400000002102146412132660024207 0ustar00 '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.php000064400000002100146412132660024053 0ustar00 '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.php000064400000002112146412132660025104 0ustar00 '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.php000064400000002112146412132660025075 0ustar00 '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.php000064400000002367146412132660020326 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003015146412132660020540 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000013130146412132660021355 0ustar00 '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.php000064400000002357146412132660025253 0ustar00 '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.php000064400000001525146412132660025126 0ustar00 '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.php000064400000002353146412132660024733 0ustar00 '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.php000064400000002361146412132660017710 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003001146412132660020123 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001557146412132660020757 0ustar00 '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.php000064400000002347146412132660016702 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002755146412132660017130 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001611146412132660017734 0ustar00 '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.php000064400000002363146412132660017710 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001635146412132660017766 0ustar00 '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.php000064400000003005146412132660020125 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001526146412132660020751 0ustar00 '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.php000064400000002401146412132660021325 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003041146412132660021551 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000013725146412132660022401 0ustar00 '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.php000064400000001532146412132660026153 0ustar00 '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.php000064400000001532146412132660026136 0ustar00 '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.php000064400000001530146412132660025741 0ustar00 '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.php000064400000002343146412132660016352 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002745146412132660016603 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004317146412132660017416 0ustar00 '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.php000064400000002363146412132660017710 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001514146412132660017762 0ustar00 '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.php000064400000003005146412132660020125 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001714146412132660020750 0ustar00 '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.php000064400000002367146412132660020332 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001531146412132660020377 0ustar00 '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.php000064400000003015146412132660020544 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001731146412132660021365 0ustar00 '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.php000064400000002333146412132660015510 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001615146412132660015567 0ustar00 '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.php000064400000002725146412132660015740 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000006653146412132660016562 0ustar00 '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.php000064400000002361146412132660017713 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001561146412132660017771 0ustar00 '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.php000064400000003001146412132660020126 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002177146412132660020761 0ustar00 '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.php000064400000002367146412132660020332 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001652146412132660020403 0ustar00 '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.php000064400000003015146412132660020544 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001543146412132660021366 0ustar00 '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.php000064400000002351146412132660017025 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002212146412132660017076 0ustar00 '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.php000064400000002761146412132660017255 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004355146412132660020074 0ustar00 '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_.php000064400000010311146412132660021173 0ustar00 '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.php000064400000002315146412132660014241 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002671146412132660014471 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004671146412132660015311 0ustar00 'avatarUrl', 'email' => 'email', 'mobile' => 'mobile', 'nick' => 'nick', 'openId' => 'openId', 'stateCode' => 'stateCode', 'unionId' => 'unionId', ]; 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->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; } 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['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']; } return $model; } } src/contact_1_0/Models/IsFriendHeaders.php000064400000002317146412132660014370 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002213146412132660014440 0ustar00 '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.php000064400000002675146412132660014622 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001536146412132660015433 0ustar00 '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.php000064400000002337146412132660016064 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003762146412132660016144 0ustar00 '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.php000064400000002735146412132660016311 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001511146412132660017116 0ustar00 '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.php000064400000002345146412132660016451 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002673146412132660016532 0ustar00 '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.php000064400000002751146412132660016675 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003665146412132660017520 0ustar00 '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_.php000064400000005715146412132660020630 0ustar00 '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.php000064400000002662146412132660022725 0ustar00 '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.php000064400000002212146412132660025524 0ustar00 '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.php000064400000004072146412132660030722 0ustar00src/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.php000064400000003444146412132660023101 0ustar00 '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.php000064400000002355146412132660017431 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002216146412132660017502 0ustar00 '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.php000064400000002771146412132660017656 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003735146412132660020475 0ustar00 '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_.php000064400000010172146412132660021600 0ustar00 '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.php000064400000002363146412132660020173 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002224146412132660020244 0ustar00 '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.php000064400000003005146412132660020410 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003746146412132660021242 0ustar00 '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_.php000064400000012333146412132660022344 0ustar00 '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.php000064400000002363146412132660020177 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002224146412132660020250 0ustar00 '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.php000064400000003005146412132660020414 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003761146412132660021243 0ustar00 '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_.php000064400000012007146412132660022346 0ustar00 '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.php000064400000002345146412132660016542 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003545146412132660016622 0ustar00 '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.php000064400000002751146412132660016766 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003371146412132660017603 0ustar00 '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.php000064400000004644146412132660021250 0ustar00 '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.php000064400000002347146412132660017000 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002210146412132660017042 0ustar00 '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.php000064400000002755146412132660017226 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004016146412132660020034 0ustar00 '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.php000064400000005513146412132660021356 0ustar00 '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.php000064400000002277146412132660023014 0ustar00 '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.php000064400000002352146412132660022465 0ustar00 '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.php000064400000002351146412132660016777 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001543146412132660017056 0ustar00 '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.php000064400000002761146412132660017227 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002654146412132660020046 0ustar00 '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.php000064400000002240146412132660021460 0ustar00 '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.php000064400000002343146412132660016500 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001573146412132660016561 0ustar00 '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.php000064400000002745146412132660016731 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004426146412132660017545 0ustar00 '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.php000064400000002563146412132660022701 0ustar00 '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.php000064400000002355146412132660017411 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004653146412132660017471 0ustar00 '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.php000064400000002771146412132660017636 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001516146412132660020450 0ustar00 '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.php000064400000002355146412132660017476 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002516146412132660017552 0ustar00 '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.php000064400000002205146412132660017713 0ustar00 '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.php000064400000002335146412132660015773 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003476146412132660016057 0ustar00 '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.php000064400000002731146412132660016216 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001522146412132660017031 0ustar00 '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.php000064400000002371146412132660020626 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001615146412132660020703 0ustar00 '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.php000064400000003021146412132660021042 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000010052146412132660021662 0ustar00 '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.php000064400000002353146412132660017300 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003607146412132660017360 0ustar00 '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.php000064400000002765146412132660017532 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002635146412132660020344 0ustar00 '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.php000064400000006401146412132660021655 0ustar00 '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.php000064400000002353146412132660017345 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004770146412132660017427 0ustar00 '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.php000064400000002765146412132660017577 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004443146412132660020410 0ustar00 '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_.php000064400000004145146412132660021521 0ustar00 '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.php000064400000002373146412132660021014 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003025146412132660021232 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002707146412132660022056 0ustar00 '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.php000064400000002302146412132660023477 0ustar00 '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.php000064400000002325146412132660015175 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001517146412132660015254 0ustar00 '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.php000064400000002711146412132660015417 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001541146412132660016235 0ustar00 '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.php000064400000002367146412132660020526 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003015146412132660020740 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001712146412132660021560 0ustar00 '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.php000064400000002341146412132660016353 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001514146412132660016431 0ustar00 '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.php000064400000002741146412132660016602 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005653146412132660017425 0ustar00 '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.php000064400000002337146412132660016120 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002663146412132660016177 0ustar00 '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.php000064400000002735146412132660016345 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002666146412132660017166 0ustar00 '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.php000064400000002323146412132660014726 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003437146412132660015012 0ustar00 '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.php000064400000002705146412132660015155 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002655146412132660015777 0ustar00 '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.php000064400000002341146412132660016214 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001610146412132660016267 0ustar00 '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.php000064400000002741146412132660016443 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001536146412132660017262 0ustar00 '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.php000064400000002323146412132660014701 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002174146412132660014762 0ustar00 '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.php000064400000002705146412132660015130 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001464146412132660015747 0ustar00 '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.php000064400000002321146412132660014522 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001513146412132660014601 0ustar00 '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.php000064400000002701146412132660014747 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001462146412132660015570 0ustar00 '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.php000064400000002315146412132660014253 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002064146412132660014331 0ustar00 '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.php000064400000002671146412132660014503 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001456146412132660015321 0ustar00 '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.php000064400000002317146412132660014453 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002306146412132660014526 0ustar00 '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.php000064400000002675146412132660014705 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001630146412132660015511 0ustar00 '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.php000064400000002365146412132660020353 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004200146412132660020416 0ustar00 '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.php000064400000002215146412132660020570 0ustar00 '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.php000064400000002331146412132660015416 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003116146412132660015475 0ustar00 '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.php000064400000002721146412132660015644 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001543146412132660016463 0ustar00 '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.php000064400000002345146412132660016613 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002274146412132660016671 0ustar00 '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.php000064400000002751146412132660017037 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000007346146412132660017662 0ustar00 '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.php000064400000002401146412132660021417 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002613146412132660021501 0ustar00 '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.php000064400000003116146412132660022435 0ustar00 '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.php000064400000002231146412132660021643 0ustar00 '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.php000064400000002411146412132660022225 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002627146412132660022313 0ustar00 '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.php000064400000004534146412132660023247 0ustar00 '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.php000064400000002241146412132660022451 0ustar00 '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.php000064400000002375146412132660021030 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000012476146412132660021110 0ustar00 '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.php000064400000002355146412132660024770 0ustar00 '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.php000064400000001523146412132660024643 0ustar00 '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.php000064400000002351146412132660024450 0ustar00 '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.php000064400000003031146412132660021241 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001547146412132660022071 0ustar00 '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.php000064400000002357146412132660017557 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000011534146412132660017631 0ustar00 '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.php000064400000002775146412132660020006 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001556146412132660020620 0ustar00 '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.php000064400000002367146412132660020506 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000012365146412132660020562 0ustar00 '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.php000064400000003015146412132660020720 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001564146412132660021545 0ustar00 '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.php000064400000002361146412132660017732 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001510146412132660020002 0ustar00 '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.php000064400000002211146412132660020147 0ustar00 '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.php000064400000002403146412132660021666 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000010672146412132660021752 0ustar00 '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.php000064400000003045146412132660022114 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001543146412132660022733 0ustar00 '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.php000064400000002407146412132660022036 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000013274146412132660022117 0ustar00 '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.php000064400000001530146412132660025670 0ustar00 '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.php000064400000001530146412132660025653 0ustar00 '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.php000064400000001526146412132660025465 0ustar00 '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.php000064400000003055146412132660022261 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001561146412132660023077 0ustar00 '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.php000064400000002351146412132660017117 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005011146412132660017170 0ustar00 '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.php000064400000002264146412132660020631 0ustar00 '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.php000064400000002337146412132660020311 0ustar00 '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.php000064400000002201146412132660017334 0ustar00 '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.php000064400000002345146412132660016626 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005310146412132660016676 0ustar00 '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.php000064400000002175146412132660017052 0ustar00 '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/UpdateUserOwnnessHeaders.php000064400000002341146412132660016320 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004100146412132660016370 0ustar00 '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.php000064400000002741146412132660016547 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001542146412132660017363 0ustar00 '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.php000064400000027320146412132660011723 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CreateFeedRequest $request * @param CreateFeedHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateFeedRequest $request * * @return CreateFeedResponse */ public function createFeed($request) { $runtime = new RuntimeOptions([]); $headers = new CreateFeedHeaders([]); return $this->createFeedWithOptions($request, $headers, $runtime); } /** * @param string $feedId * @param GetFeedRequest $request * @param GetFeedHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $feedId * @param GetFeedRequest $request * * @return GetFeedResponse */ public function getFeed($feedId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetFeedHeaders([]); return $this->getFeedWithOptions($feedId, $request, $headers, $runtime); } /** * @param GetMediaCerficateRequest $request * @param GetMediaCerficateHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetMediaCerficateRequest $request * * @return GetMediaCerficateResponse */ public function getMediaCerficate($request) { $runtime = new RuntimeOptions([]); $headers = new GetMediaCerficateHeaders([]); return $this->getMediaCerficateWithOptions($request, $headers, $runtime); } /** * @param string $itemId * @param ListItemUserDataRequest $request * @param ListItemUserDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $itemId * @param ListItemUserDataRequest $request * * @return ListItemUserDataResponse */ public function listItemUserData($itemId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListItemUserDataHeaders([]); return $this->listItemUserDataWithOptions($itemId, $request, $headers, $runtime); } /** * @param PageFeedRequest $request * @param PageFeedHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param PageFeedRequest $request * * @return PageFeedResponse */ public function pageFeed($request) { $runtime = new RuntimeOptions([]); $headers = new PageFeedHeaders([]); return $this->pageFeedWithOptions($request, $headers, $runtime); } } src/content_1_0/Models/CreateFeedHeaders.php000064400000002323146412132660014670 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003410146412132660014743 0ustar00 '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.php000064400000003525146412132660017066 0ustar00 '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.php000064400000003017146412132660022025 0ustar00 '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.php000064400000003437146412132660020475 0ustar00 '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.php000064400000003017146412132660022547 0ustar00 '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.php000064400000003122146412132660023130 0ustar00 '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.php000064400000014763146412132660016477 0ustar00 '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.php000064400000002700146412132660021260 0ustar00 '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.php000064400000002235146412132660020622 0ustar00 '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.php000064400000002705146412132660015117 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001562146412132660015735 0ustar00 '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/GetFeedHeaders.php000064400000002315146412132660014205 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001507146412132660014264 0ustar00 '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.php000064400000002671146412132660014435 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003340146412132660015245 0ustar00 '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.php000064400000004562146412132660016776 0ustar00 '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.php000064400000002341146412132660016166 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005733146412132660016253 0ustar00 '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.php000064400000002741146412132660016415 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000011056146412132660017232 0ustar00 '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.php000064400000002337146412132660016071 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001542146412132660016143 0ustar00 '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.php000064400000002735146412132660016316 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002723146412132660017131 0ustar00 '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.php000064400000002305146412132660021274 0ustar00 '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.php000064400000002317146412132660014344 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003426146412132660014423 0ustar00 '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.php000064400000002675146412132660014576 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004026146412132660015404 0ustar00 '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.php000064400000005262146412132660017146 0ustar00 '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/contract_1_0/Dingtalk.php000064400000044241146412132660012067 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param ContractBenefitConsumeRequest $request * @param ContractBenefitConsumeHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ContractBenefitConsumeRequest $request * * @return ContractBenefitConsumeResponse */ public function contractBenefitConsume($request) { $runtime = new RuntimeOptions([]); $headers = new ContractBenefitConsumeHeaders([]); return $this->contractBenefitConsumeWithOptions($request, $headers, $runtime); } /** * @param EsignQueryApprovalInfoRequest $request * @param EsignQueryApprovalInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param EsignQueryApprovalInfoRequest $request * * @return EsignQueryApprovalInfoResponse */ public function esignQueryApprovalInfo($request) { $runtime = new RuntimeOptions([]); $headers = new EsignQueryApprovalInfoHeaders([]); return $this->esignQueryApprovalInfoWithOptions($request, $headers, $runtime); } /** * @param EsignQueryGrantInfoRequest $request * @param EsignQueryGrantInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param EsignQueryGrantInfoRequest $request * * @return EsignQueryGrantInfoResponse */ public function esignQueryGrantInfo($request) { $runtime = new RuntimeOptions([]); $headers = new EsignQueryGrantInfoHeaders([]); return $this->esignQueryGrantInfoWithOptions($request, $headers, $runtime); } /** * @param EsignQueryIdentityByTicketRequest $request * @param EsignQueryIdentityByTicketHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param EsignQueryIdentityByTicketRequest $request * * @return EsignQueryIdentityByTicketResponse */ public function esignQueryIdentityByTicket($request) { $runtime = new RuntimeOptions([]); $headers = new EsignQueryIdentityByTicketHeaders([]); return $this->esignQueryIdentityByTicketWithOptions($request, $headers, $runtime); } /** * @param EsignSyncEventRequest $request * @param EsignSyncEventHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param EsignSyncEventRequest $request * * @return EsignSyncEventResponse */ public function esignSyncEvent($request) { $runtime = new RuntimeOptions([]); $headers = new EsignSyncEventHeaders([]); return $this->esignSyncEventWithOptions($request, $headers, $runtime); } /** * @param QueryAdvancedContractVersionRequest $request * @param QueryAdvancedContractVersionHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryAdvancedContractVersionRequest $request * * @return QueryAdvancedContractVersionResponse */ public function queryAdvancedContractVersion($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAdvancedContractVersionHeaders([]); return $this->queryAdvancedContractVersionWithOptions($request, $headers, $runtime); } /** * @param SendContractCardRequest $request * @param SendContractCardHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SendContractCardRequest $request * * @return SendContractCardResponse */ public function sendContractCard($request) { $runtime = new RuntimeOptions([]); $headers = new SendContractCardHeaders([]); return $this->sendContractCardWithOptions($request, $headers, $runtime); } } src/contract_1_0/Models/ContractBenefitConsumeHeaders.php000064400000002354146412132660017454 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005617146412132660017536 0ustar00 '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.php000064400000002766146412132660017706 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002375146412132660020520 0ustar00 '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.php000064400000001567146412132660022040 0ustar00 '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.php000064400000002354146412132660017464 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003107146412132660017536 0ustar00 '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.php000064400000002766146412132660017716 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002375146412132660020530 0ustar00 '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.php000064400000004141146412132660022037 0ustar00 '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.php000064400000002346146412132660016754 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002765146412132660017036 0ustar00 '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.php000064400000002752146412132660017200 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002364146412132660020015 0ustar00 '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.php000064400000005310146412132660021325 0ustar00 '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.php000064400000002364146412132660020315 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003004146412132660020362 0ustar00 '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.php000064400000003006146412132660020532 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002411146412132660021347 0ustar00 '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.php000064400000001507146412132660022672 0ustar00 '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.php000064400000002334146412132660015752 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004160146412132660016026 0ustar00 '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.php000064400000002726146412132660016202 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002345146412132660017015 0ustar00 '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.php000064400000001545146412132660020334 0ustar00 '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/QueryAdvancedContractVersionHeaders.php000064400000002370146412132660020645 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002273146412132660020724 0ustar00 '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.php000064400000003016146412132660021066 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002417146412132660021710 0ustar00 '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.php000064400000003155146412132660023226 0ustar00 '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.php000064400000002340146412132660016224 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000010677146412132660016315 0ustar00 '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.php000064400000003652146412132660020741 0ustar00 '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.php000064400000002757146412132660020304 0ustar00 '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.php000064400000002751146412132660017567 0ustar00 '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.php000064400000002736146412132660016460 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001512146412132660017265 0ustar00 '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.php000064400000023362146412132660012217 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param GetSpaceRequest $request * @param GetSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetSpaceRequest $request * * @return GetSpaceResponse */ public function getSpace($request) { $runtime = new RuntimeOptions([]); $headers = new GetSpaceHeaders([]); return $this->getSpaceWithOptions($request, $headers, $runtime); } /** * @param SendRequest $request * @param SendHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SendRequest $request * * @return SendResponse */ public function send($request) { $runtime = new RuntimeOptions([]); $headers = new SendHeaders([]); return $this->sendWithOptions($request, $headers, $runtime); } /** * @param SendByAppRequest $request * @param SendByAppHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SendByAppRequest $request * * @return SendByAppResponse */ public function sendByApp($request) { $runtime = new RuntimeOptions([]); $headers = new SendByAppHeaders([]); return $this->sendByAppWithOptions($request, $headers, $runtime); } /** * @param SendLinkRequest $request * @param SendLinkHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SendLinkRequest $request * * @return SendLinkResponse */ public function sendLink($request) { $runtime = new RuntimeOptions([]); $headers = new SendLinkHeaders([]); return $this->sendLinkWithOptions($request, $headers, $runtime); } } src/conv_file_1_0/Models/GetSpaceHeaders.php000064400000002321146412132660014664 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002404146412132660014743 0ustar00 '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.php000064400000002677146412132660015125 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001662146412132660015734 0ustar00 '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.php000064400000003474146412132660017032 0ustar00 '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.php000064400000002323146412132660015020 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002715146412132660015102 0ustar00 '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.php000064400000002703146412132660015245 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001650146412132660016063 0ustar00 '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.php000064400000013026146412132660017002 0ustar00 '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.php000064400000002311146412132660014061 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002321146412132660014700 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003617146412132660014766 0ustar00 '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.php000064400000002677146412132660015141 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001645146412132660015751 0ustar00 '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.php000064400000013025146412132660016663 0ustar00 '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.php000064400000003607146412132660014147 0ustar00 '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.php000064400000002657146412132660014321 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001631146412132660015126 0ustar00 '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.php000064400000013021146412132660016041 0ustar00 '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_ops_1_0/Dingtalk.php000064400000012063146412132660012064 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param BatchQueryOpportunityTagRequest $request * @param BatchQueryOpportunityTagHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchQueryOpportunityTagRequest $request * * @return BatchQueryOpportunityTagResponse */ public function batchQueryOpportunityTag($request) { $runtime = new RuntimeOptions([]); $headers = new BatchQueryOpportunityTagHeaders([]); return $this->batchQueryOpportunityTagWithOptions($request, $headers, $runtime); } /** * @param UpdateIsvOppStatusRequest $request * @param UpdateIsvOppStatusHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateIsvOppStatusRequest $request * * @return UpdateIsvOppStatusResponse */ public function updateIsvOppStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateIsvOppStatusHeaders([]); return $this->updateIsvOppStatusWithOptions($request, $headers, $runtime); } } src/cool_ops_1_0/Models/BatchQueryOpportunityTagHeaders.php000064400000002360146412132660020045 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001657146412132660020132 0ustar00 '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.php000064400000002776146412132660020303 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001755146412132660021115 0ustar00 '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.php000064400000003067146412132660022431 0ustar00 '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.php000064400000004767146412132660025711 0ustar00 '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.php000064400000002344146412132660016636 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003310146412132660016705 0ustar00 '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.php000064400000007562146412132660024060 0ustar00 '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.php000064400000002746146412132660017067 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001505146412132660017675 0ustar00 '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.php000064400000006434146412132660011526 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param QueryScoreRequest $request * @param QueryScoreHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryScoreRequest $request * * @return QueryScoreResponse */ public function queryScore($request) { $runtime = new RuntimeOptions([]); $headers = new QueryScoreHeaders([]); return $this->queryScoreWithOptions($request, $headers, $runtime); } } src/credit_1_0/Models/QueryScoreHeaders.php000064400000002322146412132660014601 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005054146412132660014663 0ustar00 '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.php000064400000002704146412132660015030 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002325146412132660015645 0ustar00 '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.php000064400000013362146412132660017166 0ustar00 '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.php000064400000407052146412132660011036 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AbandonCustomerRequest $request * @param AbandonCustomerHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AbandonCustomerRequest $request * * @return AbandonCustomerResponse */ public function abandonCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new AbandonCustomerHeaders([]); return $this->abandonCustomerWithOptions($request, $headers, $runtime); } /** * @param AddCrmPersonalCustomerRequest $request * @param AddCrmPersonalCustomerHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AddCrmPersonalCustomerRequest $request * * @return AddCrmPersonalCustomerResponse */ public function addCrmPersonalCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new AddCrmPersonalCustomerHeaders([]); return $this->addCrmPersonalCustomerWithOptions($request, $headers, $runtime); } /** * @param AddCustomerTrackRequest $request * @param AddCustomerTrackHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AddCustomerTrackRequest $request * * @return AddCustomerTrackResponse */ public function addCustomerTrack($request) { $runtime = new RuntimeOptions([]); $headers = new AddCustomerTrackHeaders([]); return $this->addCustomerTrackWithOptions($request, $headers, $runtime); } /** * @param AddLeadsRequest $request * @param AddLeadsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AddLeadsRequest $request * * @return AddLeadsResponse */ public function addLeads($request) { $runtime = new RuntimeOptions([]); $headers = new AddLeadsHeaders([]); return $this->addLeadsWithOptions($request, $headers, $runtime); } /** * @param AddRelationMetaFieldRequest $request * @param AddRelationMetaFieldHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AddRelationMetaFieldRequest $request * * @return AddRelationMetaFieldResponse */ public function addRelationMetaField($request) { $runtime = new RuntimeOptions([]); $headers = new AddRelationMetaFieldHeaders([]); return $this->addRelationMetaFieldWithOptions($request, $headers, $runtime); } /** * @param BatchAddContactsRequest $request * @param BatchAddContactsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchAddContactsRequest $request * * @return BatchAddContactsResponse */ public function batchAddContacts($request) { $runtime = new RuntimeOptions([]); $headers = new BatchAddContactsHeaders([]); return $this->batchAddContactsWithOptions($request, $headers, $runtime); } /** * @param BatchAddFollowRecordsRequest $request * @param BatchAddFollowRecordsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchAddFollowRecordsRequest $request * * @return BatchAddFollowRecordsResponse */ public function batchAddFollowRecords($request) { $runtime = new RuntimeOptions([]); $headers = new BatchAddFollowRecordsHeaders([]); return $this->batchAddFollowRecordsWithOptions($request, $headers, $runtime); } /** * @param BatchAddRelationDatasRequest $request * @param BatchAddRelationDatasHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchAddRelationDatasRequest $request * * @return BatchAddRelationDatasResponse */ public function batchAddRelationDatas($request) { $runtime = new RuntimeOptions([]); $headers = new BatchAddRelationDatasHeaders([]); return $this->batchAddRelationDatasWithOptions($request, $headers, $runtime); } /** * @param BatchRemoveFollowRecordsRequest $request * @param BatchRemoveFollowRecordsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchRemoveFollowRecordsRequest $request * * @return BatchRemoveFollowRecordsResponse */ public function batchRemoveFollowRecords($request) { $runtime = new RuntimeOptions([]); $headers = new BatchRemoveFollowRecordsHeaders([]); return $this->batchRemoveFollowRecordsWithOptions($request, $headers, $runtime); } /** * @param BatchSendOfficialAccountOTOMessageRequest $request * @param BatchSendOfficialAccountOTOMessageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchSendOfficialAccountOTOMessageRequest $request * * @return BatchSendOfficialAccountOTOMessageResponse */ public function batchSendOfficialAccountOTOMessage($request) { $runtime = new RuntimeOptions([]); $headers = new BatchSendOfficialAccountOTOMessageHeaders([]); return $this->batchSendOfficialAccountOTOMessageWithOptions($request, $headers, $runtime); } /** * @param BatchUpdateContactsRequest $request * @param BatchUpdateContactsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchUpdateContactsRequest $request * * @return BatchUpdateContactsResponse */ public function batchUpdateContacts($request) { $runtime = new RuntimeOptions([]); $headers = new BatchUpdateContactsHeaders([]); return $this->batchUpdateContactsWithOptions($request, $headers, $runtime); } /** * @param BatchUpdateFollowRecordsRequest $request * @param BatchUpdateFollowRecordsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchUpdateFollowRecordsRequest $request * * @return BatchUpdateFollowRecordsResponse */ public function batchUpdateFollowRecords($request) { $runtime = new RuntimeOptions([]); $headers = new BatchUpdateFollowRecordsHeaders([]); return $this->batchUpdateFollowRecordsWithOptions($request, $headers, $runtime); } /** * @param BatchUpdateRelationDatasRequest $request * @param BatchUpdateRelationDatasHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchUpdateRelationDatasRequest $request * * @return BatchUpdateRelationDatasResponse */ public function batchUpdateRelationDatas($request) { $runtime = new RuntimeOptions([]); $headers = new BatchUpdateRelationDatasHeaders([]); return $this->batchUpdateRelationDatasWithOptions($request, $headers, $runtime); } /** * @param CreateCustomerRequest $request * @param CreateCustomerHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateCustomerRequest $request * * @return CreateCustomerResponse */ public function createCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCustomerHeaders([]); return $this->createCustomerWithOptions($request, $headers, $runtime); } /** * @param CreateGroupRequest $request * @param CreateGroupHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateGroupRequest $request * * @return CreateGroupResponse */ public function createGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CreateGroupHeaders([]); return $this->createGroupWithOptions($request, $headers, $runtime); } /** * @param CreateGroupSetRequest $request * @param CreateGroupSetHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateGroupSetRequest $request * * @return CreateGroupSetResponse */ public function createGroupSet($request) { $runtime = new RuntimeOptions([]); $headers = new CreateGroupSetHeaders([]); return $this->createGroupSetWithOptions($request, $headers, $runtime); } /** * @param CreateRelationMetaRequest $request * @param CreateRelationMetaHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateRelationMetaRequest $request * * @return CreateRelationMetaResponse */ public function createRelationMeta($request) { $runtime = new RuntimeOptions([]); $headers = new CreateRelationMetaHeaders([]); return $this->createRelationMetaWithOptions($request, $headers, $runtime); } /** * @param string $instanceId * @param DeleteCrmCustomObjectDataRequest $request * @param DeleteCrmCustomObjectDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $instanceId * @param DeleteCrmCustomObjectDataRequest $request * * @return DeleteCrmCustomObjectDataResponse */ public function deleteCrmCustomObjectData($instanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteCrmCustomObjectDataHeaders([]); return $this->deleteCrmCustomObjectDataWithOptions($instanceId, $request, $headers, $runtime); } /** * @param string $instanceId * @param DeleteCrmFormInstanceRequest $request * @param DeleteCrmFormInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $instanceId * @param DeleteCrmFormInstanceRequest $request * * @return DeleteCrmFormInstanceResponse */ public function deleteCrmFormInstance($instanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteCrmFormInstanceHeaders([]); return $this->deleteCrmFormInstanceWithOptions($instanceId, $request, $headers, $runtime); } /** * @param string $dataId * @param DeleteCrmPersonalCustomerRequest $request * @param DeleteCrmPersonalCustomerHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $dataId * @param DeleteCrmPersonalCustomerRequest $request * * @return DeleteCrmPersonalCustomerResponse */ public function deleteCrmPersonalCustomer($dataId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteCrmPersonalCustomerHeaders([]); return $this->deleteCrmPersonalCustomerWithOptions($dataId, $request, $headers, $runtime); } /** * @param DeleteLeadsRequest $request * @param DeleteLeadsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param DeleteLeadsRequest $request * * @return DeleteLeadsResponse */ public function deleteLeads($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteLeadsHeaders([]); return $this->deleteLeadsWithOptions($request, $headers, $runtime); } /** * @param DeleteRelationMetaFieldRequest $request * @param DeleteRelationMetaFieldHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param DeleteRelationMetaFieldRequest $request * * @return DeleteRelationMetaFieldResponse */ public function deleteRelationMetaField($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteRelationMetaFieldHeaders([]); return $this->deleteRelationMetaFieldWithOptions($request, $headers, $runtime); } /** * @param DescribeCrmPersonalCustomerObjectMetaRequest $request * @param DescribeCrmPersonalCustomerObjectMetaHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param DescribeCrmPersonalCustomerObjectMetaRequest $request * * @return DescribeCrmPersonalCustomerObjectMetaResponse */ public function describeCrmPersonalCustomerObjectMeta($request) { $runtime = new RuntimeOptions([]); $headers = new DescribeCrmPersonalCustomerObjectMetaHeaders([]); return $this->describeCrmPersonalCustomerObjectMetaWithOptions($request, $headers, $runtime); } /** * @param DescribeRelationMetaRequest $request * @param DescribeRelationMetaHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param DescribeRelationMetaRequest $request * * @return DescribeRelationMetaResponse */ public function describeRelationMeta($request) { $runtime = new RuntimeOptions([]); $headers = new DescribeRelationMetaHeaders([]); return $this->describeRelationMetaWithOptions($request, $headers, $runtime); } /** * @param GetAllCustomerRecyclesRequest $request * @param GetAllCustomerRecyclesHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetAllCustomerRecyclesRequest $request * * @return GetAllCustomerRecyclesResponse */ public function getAllCustomerRecycles($request) { $runtime = new RuntimeOptions([]); $headers = new GetAllCustomerRecyclesHeaders([]); return $this->getAllCustomerRecyclesWithOptions($request, $headers, $runtime); } /** * @param GetContactsRequest $request * @param GetContactsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetContactsRequest $request * * @return GetContactsResponse */ public function getContacts($request) { $runtime = new RuntimeOptions([]); $headers = new GetContactsHeaders([]); return $this->getContactsWithOptions($request, $headers, $runtime); } /** * @param string $openConversationId * @param GetCrmGroupChatHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $openConversationId * * @return GetCrmGroupChatResponse */ public function getCrmGroupChat($openConversationId) { $runtime = new RuntimeOptions([]); $headers = new GetCrmGroupChatHeaders([]); return $this->getCrmGroupChatWithOptions($openConversationId, $headers, $runtime); } /** * @param GetCrmGroupChatMultiRequest $request * @param GetCrmGroupChatMultiHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetCrmGroupChatMultiRequest $request * * @return GetCrmGroupChatMultiResponse */ public function getCrmGroupChatMulti($request) { $runtime = new RuntimeOptions([]); $headers = new GetCrmGroupChatMultiHeaders([]); return $this->getCrmGroupChatMultiWithOptions($request, $headers, $runtime); } /** * @param GetCrmGroupChatSingleRequest $request * @param GetCrmGroupChatSingleHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetCrmGroupChatSingleRequest $request * * @return GetCrmGroupChatSingleResponse */ public function getCrmGroupChatSingle($request) { $runtime = new RuntimeOptions([]); $headers = new GetCrmGroupChatSingleHeaders([]); return $this->getCrmGroupChatSingleWithOptions($request, $headers, $runtime); } /** * @param GetCrmRolePermissionRequest $request * @param GetCrmRolePermissionHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetCrmRolePermissionRequest $request * * @return GetCrmRolePermissionResponse */ public function getCrmRolePermission($request) { $runtime = new RuntimeOptions([]); $headers = new GetCrmRolePermissionHeaders([]); return $this->getCrmRolePermissionWithOptions($request, $headers, $runtime); } /** * @param GetCustomerTracksByRelationIdRequest $request * @param GetCustomerTracksByRelationIdHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetCustomerTracksByRelationIdRequest $request * * @return GetCustomerTracksByRelationIdResponse */ public function getCustomerTracksByRelationId($request) { $runtime = new RuntimeOptions([]); $headers = new GetCustomerTracksByRelationIdHeaders([]); return $this->getCustomerTracksByRelationIdWithOptions($request, $headers, $runtime); } /** * @param GetGroupSetRequest $request * @param GetGroupSetHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetGroupSetRequest $request * * @return GetGroupSetResponse */ public function getGroupSet($request) { $runtime = new RuntimeOptions([]); $headers = new GetGroupSetHeaders([]); return $this->getGroupSetWithOptions($request, $headers, $runtime); } /** * @param GetNavigationCatalogRequest $request * @param GetNavigationCatalogHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetNavigationCatalogRequest $request * * @return GetNavigationCatalogResponse */ public function getNavigationCatalog($request) { $runtime = new RuntimeOptions([]); $headers = new GetNavigationCatalogHeaders([]); return $this->getNavigationCatalogWithOptions($request, $headers, $runtime); } /** * @param GetObjectDataRequest $request * @param GetObjectDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetObjectDataRequest $request * * @return GetObjectDataResponse */ public function getObjectData($request) { $runtime = new RuntimeOptions([]); $headers = new GetObjectDataHeaders([]); return $this->getObjectDataWithOptions($request, $headers, $runtime); } /** * @param string $userId * @param GetOfficialAccountContactInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $userId * * @return GetOfficialAccountContactInfoResponse */ public function getOfficialAccountContactInfo($userId) { $runtime = new RuntimeOptions([]); $headers = new GetOfficialAccountContactInfoHeaders([]); return $this->getOfficialAccountContactInfoWithOptions($userId, $headers, $runtime); } /** * @param GetOfficialAccountContactsRequest $request * @param GetOfficialAccountContactsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetOfficialAccountContactsRequest $request * * @return GetOfficialAccountContactsResponse */ public function getOfficialAccountContacts($request) { $runtime = new RuntimeOptions([]); $headers = new GetOfficialAccountContactsHeaders([]); return $this->getOfficialAccountContactsWithOptions($request, $headers, $runtime); } /** * @param GetOfficialAccountOTOMessageResultRequest $request * @param GetOfficialAccountOTOMessageResultHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetOfficialAccountOTOMessageResultRequest $request * * @return GetOfficialAccountOTOMessageResultResponse */ public function getOfficialAccountOTOMessageResult($request) { $runtime = new RuntimeOptions([]); $headers = new GetOfficialAccountOTOMessageResultHeaders([]); return $this->getOfficialAccountOTOMessageResultWithOptions($request, $headers, $runtime); } /** * @param GetRelationUkSettingRequest $request * @param GetRelationUkSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetRelationUkSettingRequest $request * * @return GetRelationUkSettingResponse */ public function getRelationUkSetting($request) { $runtime = new RuntimeOptions([]); $headers = new GetRelationUkSettingHeaders([]); return $this->getRelationUkSettingWithOptions($request, $headers, $runtime); } /** * @param JoinGroupSetRequest $request * @param JoinGroupSetHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param JoinGroupSetRequest $request * * @return JoinGroupSetResponse */ public function joinGroupSet($request) { $runtime = new RuntimeOptions([]); $headers = new JoinGroupSetHeaders([]); return $this->joinGroupSetWithOptions($request, $headers, $runtime); } /** * @param ListCrmPersonalCustomersRequest $request * @param ListCrmPersonalCustomersHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListCrmPersonalCustomersRequest $request * * @return ListCrmPersonalCustomersResponse */ public function listCrmPersonalCustomers($request) { $runtime = new RuntimeOptions([]); $headers = new ListCrmPersonalCustomersHeaders([]); return $this->listCrmPersonalCustomersWithOptions($request, $headers, $runtime); } /** * @param ListGroupSetRequest $request * @param ListGroupSetHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListGroupSetRequest $request * * @return ListGroupSetResponse */ public function listGroupSet($request) { $runtime = new RuntimeOptions([]); $headers = new ListGroupSetHeaders([]); return $this->listGroupSetWithOptions($request, $headers, $runtime); } /** * @param QueryAllCustomerRequest $request * @param QueryAllCustomerHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryAllCustomerRequest $request * * @return QueryAllCustomerResponse */ public function queryAllCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAllCustomerHeaders([]); return $this->queryAllCustomerWithOptions($request, $headers, $runtime); } /** * @param QueryAllTracksRequest $request * @param QueryAllTracksHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryAllTracksRequest $request * * @return QueryAllTracksResponse */ public function queryAllTracks($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAllTracksHeaders([]); return $this->queryAllTracksWithOptions($request, $headers, $runtime); } /** * @param QueryCrmGroupChatsRequest $request * @param QueryCrmGroupChatsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCrmGroupChatsRequest $request * * @return QueryCrmGroupChatsResponse */ public function queryCrmGroupChats($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCrmGroupChatsHeaders([]); return $this->queryCrmGroupChatsWithOptions($request, $headers, $runtime); } /** * @param QueryCrmPersonalCustomerRequest $request * @param QueryCrmPersonalCustomerHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCrmPersonalCustomerRequest $request * * @return QueryCrmPersonalCustomerResponse */ public function queryCrmPersonalCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCrmPersonalCustomerHeaders([]); return $this->queryCrmPersonalCustomerWithOptions($request, $headers, $runtime); } /** * @param QueryGlobalInfoRequest $request * @param QueryGlobalInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryGlobalInfoRequest $request * * @return QueryGlobalInfoResponse */ public function queryGlobalInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGlobalInfoHeaders([]); return $this->queryGlobalInfoWithOptions($request, $headers, $runtime); } /** * @param QueryOfficialAccountUserBasicInfoRequest $request * @param QueryOfficialAccountUserBasicInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryOfficialAccountUserBasicInfoRequest $request * * @return QueryOfficialAccountUserBasicInfoResponse */ public function queryOfficialAccountUserBasicInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOfficialAccountUserBasicInfoHeaders([]); return $this->queryOfficialAccountUserBasicInfoWithOptions($request, $headers, $runtime); } /** * @param string $targetId * @param QueryRelationDatasByTargetIdRequest $request * @param QueryRelationDatasByTargetIdHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $targetId * @param QueryRelationDatasByTargetIdRequest $request * * @return QueryRelationDatasByTargetIdResponse */ public function queryRelationDatasByTargetId($targetId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryRelationDatasByTargetIdHeaders([]); return $this->queryRelationDatasByTargetIdWithOptions($targetId, $request, $headers, $runtime); } /** * @param RecallOfficialAccountOTOMessageRequest $request * @param RecallOfficialAccountOTOMessageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param RecallOfficialAccountOTOMessageRequest $request * * @return RecallOfficialAccountOTOMessageResponse */ public function recallOfficialAccountOTOMessage($request) { $runtime = new RuntimeOptions([]); $headers = new RecallOfficialAccountOTOMessageHeaders([]); return $this->recallOfficialAccountOTOMessageWithOptions($request, $headers, $runtime); } /** * @param SendOfficialAccountOTOMessageRequest $request * @param SendOfficialAccountOTOMessageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SendOfficialAccountOTOMessageRequest $request * * @return SendOfficialAccountOTOMessageResponse */ public function sendOfficialAccountOTOMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendOfficialAccountOTOMessageHeaders([]); return $this->sendOfficialAccountOTOMessageWithOptions($request, $headers, $runtime); } /** * @param SendOfficialAccountSNSMessageRequest $request * @param SendOfficialAccountSNSMessageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SendOfficialAccountSNSMessageRequest $request * * @return SendOfficialAccountSNSMessageResponse */ public function sendOfficialAccountSNSMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendOfficialAccountSNSMessageHeaders([]); return $this->sendOfficialAccountSNSMessageWithOptions($request, $headers, $runtime); } /** * @param ServiceWindowMessageBatchPushRequest $request * @param ServiceWindowMessageBatchPushHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ServiceWindowMessageBatchPushRequest $request * * @return ServiceWindowMessageBatchPushResponse */ public function serviceWindowMessageBatchPush($request) { $runtime = new RuntimeOptions([]); $headers = new ServiceWindowMessageBatchPushHeaders([]); return $this->serviceWindowMessageBatchPushWithOptions($request, $headers, $runtime); } /** * @param UpdateCrmPersonalCustomerRequest $request * @param UpdateCrmPersonalCustomerHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateCrmPersonalCustomerRequest $request * * @return UpdateCrmPersonalCustomerResponse */ public function updateCrmPersonalCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateCrmPersonalCustomerHeaders([]); return $this->updateCrmPersonalCustomerWithOptions($request, $headers, $runtime); } /** * @param UpdateGroupSetRequest $request * @param UpdateGroupSetHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateGroupSetRequest $request * * @return UpdateGroupSetResponse */ public function updateGroupSet($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateGroupSetHeaders([]); return $this->updateGroupSetWithOptions($request, $headers, $runtime); } /** * @param UpdateMenuDataRequest $request * @param UpdateMenuDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateMenuDataRequest $request * * @return UpdateMenuDataResponse */ public function updateMenuData($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateMenuDataHeaders([]); return $this->updateMenuDataWithOptions($request, $headers, $runtime); } /** * @param UpdateRelationMetaFieldRequest $request * @param UpdateRelationMetaFieldHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateRelationMetaFieldRequest $request * * @return UpdateRelationMetaFieldResponse */ public function updateRelationMetaField($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateRelationMetaFieldHeaders([]); return $this->updateRelationMetaFieldWithOptions($request, $headers, $runtime); } } src/crm_1_0/Models/AbandonCustomerHeaders.php000064400000002331146412132660015073 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003667146412132660015165 0ustar00 '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.php000064400000002725146412132660015325 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001712146412132660016136 0ustar00 '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.php000064400000002347146412132660016376 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000006454146412132660016456 0ustar00 '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.php000064400000002620146412132660020635 0ustar00 '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.php000064400000002761146412132660016621 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001556146412132660017440 0ustar00 '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.php000064400000002333146412132660015210 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000007320146412132660015266 0ustar00 '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.php000064400000002731146412132660015435 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001541146412132660016251 0ustar00 '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.php000064400000002313146412132660013450 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005412146412132660013530 0ustar00 '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.php000064400000002260146412132660014616 0ustar00 '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.php000064400000002671146412132660013702 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001511146412132660014510 0ustar00 '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/AddRelationMetaFieldHeaders.php000064400000002343146412132660015753 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004640146412132660016032 0ustar00 '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.php000064400000002433146412132660020316 0ustar00 '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.php000064400000017304146412132660021464 0ustar00 '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.php000064400000002057146412132660023156 0ustar00 '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.php000064400000002751146412132660016201 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001574146412132660017021 0ustar00 '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/BatchAddContactsHeaders.php000064400000002333146412132660015142 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003533146412132660015222 0ustar00 '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.php000064400000003412146412132660017667 0ustar00 'bizDataList', 'bizExtMap' => 'bizExtMap', ]; 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; } 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']; } return $model; } } src/crm_1_0/Models/BatchAddContactsRequest/relationList/bizDataList.php000064400000002734146412132660022107 0ustar00 '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.php000064400000002731146412132660015367 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002661146412132660016207 0ustar00 '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.php000064400000003501146412132660017702 0ustar00 '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.php000064400000002345146412132660016153 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003552146412132660016231 0ustar00 '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.php000064400000002703146412132660020666 0ustar00 'dataArray', ]; 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; } } } 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; } } } return $model; } } src/crm_1_0/Models/BatchAddFollowRecordsRequest/instanceList/dataArray.php000064400000002735146412132660022603 0ustar00 '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.php000064400000002755146412132660016403 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002700146412132660017207 0ustar00 '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.php000064400000003526146412132660020717 0ustar00 '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.php000064400000002345146412132660016121 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005165146412132660016201 0ustar00 '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.php000064400000004623146412132660020650 0ustar00 'bizDataList', 'bizExtMap' => 'bizExtMap', 'relationPermissionDTO' => 'relationPermissionDTO', ]; 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; } 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']); } return $model; } } src/crm_1_0/Models/BatchAddRelationDatasRequest/relationList/bizDataList.php000064400000002741146412132660023061 0ustar00 '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.php000064400000002702146412132660025101 0ustar00 '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.php000064400000002755146412132660016351 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002700146412132660017155 0ustar00 '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.php000064400000004524146412132660020664 0ustar00 '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/BatchRemoveFollowRecordsHeaders.php000064400000002353146412132660016717 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002460146412132660016773 0ustar00 '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.php000064400000002771146412132660017146 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002711146412132660017756 0ustar00 '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.php000064400000003531146412132660021460 0ustar00 '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.php000064400000002377146412132660020515 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003047146412132660020565 0ustar00 '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.php000064400000005077146412132660022034 0ustar00 '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.php000064400000004523146412132660024271 0ustar00 '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.php000064400000006063146412132660026341 0ustar00 '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.php000064400000002206146412132660030424 0ustar00src/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.php000064400000003215146412132660025223 0ustar00 '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.php000064400000002107146412132660026107 0ustar00 '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.php000064400000001524146412132660025253 0ustar00 '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.php000064400000003041146412132660020725 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002514146412132660021547 0ustar00 '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.php000064400000001545146412132660023070 0ustar00 '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.php000064400000002341146412132660015673 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003544146412132660015756 0ustar00 '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.php000064400000004153146412132660020424 0ustar00 '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.php000064400000002737146412132660022644 0ustar00 '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.php000064400000002745146412132660016126 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002672146412132660016743 0ustar00 '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.php000064400000003504146412132660020437 0ustar00 '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.php000064400000002353146412132660016704 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003563146412132660016765 0ustar00 '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.php000064400000003470146412132660021422 0ustar00 '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.php000064400000002740146412132660023331 0ustar00 '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.php000064400000002771146412132660017133 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002711146412132660017743 0ustar00 '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.php000064400000003531146412132660021445 0ustar00 '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.php000064400000002353146412132660016652 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005176146412132660016735 0ustar00 '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.php000064400000004165146412132660021403 0ustar00 '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.php000064400000002744146412132660023616 0ustar00 '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.php000064400000002771146412132660017101 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002711146412132660017711 0ustar00 '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.php000064400000004527146412132660021421 0ustar00 '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/CreateCustomerHeaders.php000064400000002327146412132660014741 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000007621146412132660015020 0ustar00 '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.php000064400000002124146412132660016627 0ustar00 '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.php000064400000002610146412132660017201 0ustar00 '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.php000064400000004561146412132660017147 0ustar00 '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.php000064400000002721146412132660015162 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004246146412132660016004 0ustar00 '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.php000064400000001666146412132660017625 0ustar00 '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.php000064400000002321146412132660014226 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003611146412132660014306 0ustar00 '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.php000064400000002705146412132660014457 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001640146412132660015272 0ustar00 '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.php000064400000002327146412132660014710 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000007060146412132660014764 0ustar00 '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.php000064400000002721146412132660015131 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000014426146412132660015754 0ustar00 '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.php000064400000002055146412132660017361 0ustar00 '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.php000064400000002051146412132660017075 0ustar00 '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.php000064400000002337146412132660015525 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003245146412132660015601 0ustar00 '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.php000064400000004321146412132660020570 0ustar00 '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.php000064400000002442146412132660021713 0ustar00 '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.php000064400000017322146412132660023061 0ustar00 '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.php000064400000002066146412132660024553 0ustar00 '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.php000064400000002741146412132660015747 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001570146412132660016564 0ustar00 '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.php000064400000002355146412132660016775 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001567146412132660017056 0ustar00 '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.php000064400000002775146412132660017226 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001623146412132660020033 0ustar00 '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.php000064400000002345146412132660016171 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002424146412132660016244 0ustar00 '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.php000064400000002755146412132660016421 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001616146412132660017232 0ustar00 '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.php000064400000002355146412132660017107 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002432146412132660017160 0ustar00 '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.php000064400000002775146412132660017340 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001564146412132660020151 0ustar00 '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.php000064400000002321146412132660014161 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001632146412132660014242 0ustar00 '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.php000064400000002705146412132660014412 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001644146412132660015231 0ustar00 '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.php000064400000002351146412132660016464 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003547146412132660016551 0ustar00 '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.php000064400000002765146412132660016720 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001602146412132660017523 0ustar00 '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.php000064400000002405146412132660021357 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001624146412132660021436 0ustar00 '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.php000064400000003055146412132660021604 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005116146412132660022422 0ustar00 '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.php000064400000014234146412132660023671 0ustar00 '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.php000064400000006240146412132660026754 0ustar00 '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.php000064400000002125146412132660031526 0ustar00src/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.php000064400000002213146412132660027645 0ustar00 '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.php000064400000002105146412132660026516 0ustar00 '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/DescribeRelationMetaHeaders.php000064400000002343146412132660016037 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003055146412132660016115 0ustar00 '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.php000064400000002751146412132660016265 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003171146412132660017100 0ustar00 '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.php000064400000010034146412132660022723 0ustar00 '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.php000064400000004322146412132660024047 0ustar00 '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.php000064400000002515146412132660025641 0ustar00 '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.php000064400000041314146412132660027004 0ustar00 '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.php000064400000002236146412132660032524 0ustar00src/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.php000064400000003372146412132660031021 0ustar00src/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.php000064400000002775146412132660032312 0ustar00src/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.php000064400000003342146412132660033751 0ustar00src/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.php000064400000003276146412132660032312 0ustar00src/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.php000064400000002655146412132660030200 0ustar00src '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.php000064400000024270146412132660032475 0ustar00src/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.php000064400000003157146412132660034171 0ustar00src/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.php000064400000001637146412132660036206 0ustar00src/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.php000064400000003211146412132660034404 0ustar00src/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.php000064400000003111146412132660030411 0ustar00src '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.php000064400000001614146412132660032433 0ustar00src/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.php000064400000004416146412132660031364 0ustar00src/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.php000064400000003441146412132660033453 0ustar00src/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.php000064400000003027146412132660034736 0ustar00src/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.php000064400000003357146412132660036414 0ustar00src/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.php000064400000003313146412132660034737 0ustar00src/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.php000064400000002707146412132660032633 0ustar00src/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.php000064400000022703146412132660035131 0ustar00src/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.php000064400000002152146412132660036620 0ustar00src/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.php000064400000003226146412132660037047 0ustar00src/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.php000064400000002114146412132660027667 0ustar00src '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.php000064400000003166146412132660030647 0ustar00src/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.php000064400000044544146412132660025224 0ustar00 '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', '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->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['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.php000064400000002225146412132660030732 0ustar00src/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; } } src/crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/dataSource.php000064400000003337146412132660027311 0ustar00 '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.php000064400000002753146412132660030516 0ustar00src/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.php000064400000003331146412132660032157 0ustar00src/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.php000064400000003355146412132660030520 0ustar00src/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.php000064400000002633146412132660026463 0ustar00 '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.php000064400000025065146412132660030710 0ustar00src/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.php000064400000003135146412132660032375 0ustar00src/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.php000064400000001626146412132660034414 0ustar00src/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.php000064400000003200146412132660032612 0ustar00src/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.php000064400000003466146412132660026715 0ustar00 '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.php000064400000001603146412132660030641 0ustar00src/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.php000064400000004363146412132660027654 0ustar00 '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.php000064400000003406146412132660031664 0ustar00src/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.php000064400000003005146412132660033142 0ustar00src/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.php000064400000003346146412132660034622 0ustar00src/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.php000064400000003302146412132660033145 0ustar00src/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.php000064400000002665146412132660031046 0ustar00src/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.php000064400000022650146412132660033342 0ustar00src/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.php000064400000003167146412132660035037 0ustar00src/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.php000064400000001643146412132660037050 0ustar00src/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.php000064400000003215146412132660035255 0ustar00src/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.php000064400000002103146412132660026154 0ustar00 '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.php000064400000003155146412132660027134 0ustar00 '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/GetAllCustomerRecyclesHeaders.php000064400000002347146412132660016402 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002245146412132660016454 0ustar00 '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.php000064400000002761146412132660016625 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004161146412132660017437 0ustar00 '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.php000064400000005131146412132660021607 0ustar00 '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.php000064400000002321146412132660014224 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005440146412132660014306 0ustar00 '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.php000064400000002705146412132660014455 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001674146412132660015277 0ustar00 '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.php000064400000004432146412132660016610 0ustar00 '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.php000064400000006422146412132660020110 0ustar00 '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.php000064400000002604146412132660022276 0ustar00 '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.php000064400000002331146412132660015005 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002343146412132660016023 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001774146412132660016107 0ustar00 '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.php000064400000002751146412132660016251 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002617146412132660017070 0ustar00 '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.php000064400000006455146412132660020412 0ustar00 '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.php000064400000002725146412132660015237 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000006576146412132660016065 0ustar00 '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.php000064400000002345146412132660016154 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001652146412132660016231 0ustar00 '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.php000064400000002755146412132660016404 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000006160146412132660017214 0ustar00 '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.php000064400000002343146412132660016066 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002337146412132660016146 0ustar00 '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.php000064400000002751146412132660016314 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002751146412132660017132 0ustar00 '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.php000064400000013523146412132660021504 0ustar00 '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.php000064400000002417146412132660023744 0ustar00 '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.php000064400000003441146412132660025111 0ustar00 '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.php000064400000002444146412132660025713 0ustar00 '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.php000064400000002606146412132660024320 0ustar00 '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.php000064400000003607146412132660024433 0ustar00 '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.php000064400000002365146412132660017675 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003522146412132660017746 0ustar00 '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.php000064400000003015146412132660020111 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004206146412132660020732 0ustar00 '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.php000064400000006561146412132660023112 0ustar00 'content', 'creatorName' => 'creatorName', 'detail' => 'detail', 'format' => 'format', 'gmtCreate' => 'gmtCreate', '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->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['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.php000064400000002151146412132660024516 0ustar00 '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.php000064400000002321146412132660014216 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001562146412132660014301 0ustar00 '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.php000064400000002705146412132660014447 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000015176146412132660015273 0ustar00 '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.php000064400000002052146412132660016672 0ustar00 '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.php000064400000002046146412132660016415 0ustar00 '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/GetNavigationCatalogHeaders.php000064400000002343146412132660016044 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003124146412132660016117 0ustar00 '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.php000064400000002751146412132660016272 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001727146412132660017112 0ustar00 '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.php000064400000004017146412132660020423 0ustar00 '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.php000064400000003643146412132660022506 0ustar00 '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.php000064400000002325146412132660014452 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004666146412132660014541 0ustar00 '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.php000064400000002715146412132660014700 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001702146412132660015511 0ustar00 '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.php000064400000004436146412132660017036 0ustar00 '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.php000064400000010531146412132660020326 0ustar00 '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.php000064400000002606146412132660022522 0ustar00 '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.php000064400000002365146412132660017637 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003015146412132660020053 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005031146412132660020671 0ustar00 '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.php000064400000002357146412132660017207 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002313146412132660017254 0ustar00 '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.php000064400000003001146412132660017415 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004065146412132660020246 0ustar00 '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.php000064400000003342146412132660021542 0ustar00 '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.php000064400000006501146412132660023360 0ustar00 '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.php000064400000002651146412132660025552 0ustar00 '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.php000064400000002377146412132660020600 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002246146412132660020650 0ustar00 '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.php000064400000003041146412132660021010 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002455146412132660021636 0ustar00 '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.php000064400000002342146412132660023147 0ustar00 '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/GetRelationUkSettingHeaders.php000064400000002343146412132660016065 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001626146412132660016145 0ustar00 '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.php000064400000002751146412132660016313 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002653146412132660017132 0ustar00 '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.php000064400000002254146412132660020445 0ustar00 '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.php000064400000002323146412132660014400 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004613146412132660014461 0ustar00 '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.php000064400000002700146412132660016666 0ustar00 '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.php000064400000002711146412132660014624 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002370146412132660015443 0ustar00 '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/ListCrmPersonalCustomersHeaders.php000064400000002353146412132660017001 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003141146412132660017052 0ustar00 '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.php000064400000002771146412132660017230 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002633146412132660020043 0ustar00 '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.php000064400000011225146412132660021356 0ustar00 '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.php000064400000002636146412132660023554 0ustar00 '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.php000064400000002323146412132660014414 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003343146412132660014474 0ustar00 '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.php000064400000002711146412132660014640 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004606146412132660015463 0ustar00 '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.php000064400000015407146412132660017636 0ustar00 '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.php000064400000002154146412132660021243 0ustar00 '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.php000064400000002152146412132660020761 0ustar00 '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/QueryAllCustomerHeaders.php000064400000002333146412132660015271 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003623146412132660015351 0ustar00 '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.php000064400000002731146412132660015516 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001713146412132660016333 0ustar00 '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.php000064400000004016146412132660017650 0ustar00 '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.php000064400000011007146412132660021145 0ustar00 '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.php000064400000002635146412132660023344 0ustar00 '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.php000064400000002327146412132660014722 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002727146412132660015003 0ustar00 '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.php000064400000002721146412132660015143 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004505146412132660015763 0ustar00 '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.php000064400000005205146412132660017260 0ustar00 '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/QueryCrmGroupChatsHeaders.php000064400000002337146412132660015564 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003411146412132660015633 0ustar00 '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.php000064400000002741146412132660016006 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004630146412132660016623 0ustar00 '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.php000064400000005744146412132660021004 0ustar00 '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.php000064400000002353146412132660017010 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004264146412132660017070 0ustar00 '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.php000064400000002771146412132660017237 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005165146412132660020055 0ustar00 '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.php000064400000010121146412132660021340 0ustar00 '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.php000064400000002636146412132660023544 0ustar00 '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/QueryGlobalInfoHeaders.php000064400000002331146412132660015051 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001526146412132660015133 0ustar00 '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.php000064400000002725146412132660015303 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001710146412132660016112 0ustar00 '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.php000064400000001507146412132660017434 0ustar00 '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/QueryOfficialAccountUserBasicInfoHeaders.php000064400000002375146412132660020513 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002250146412132660020560 0ustar00 '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.php000064400000003035146412132660020730 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002452146412132660021550 0ustar00 '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.php000064400000001540146412132660023063 0ustar00 '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.php000064400000002363146412132660017513 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001640146412132660017565 0ustar00 '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.php000064400000003011146412132660017725 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002735146412132660020557 0ustar00 '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.php000064400000005216146412132660022554 0ustar00 '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.php000064400000002737146412132660024773 0ustar00 '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.php000064400000002371146412132660020056 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002334146412132660020132 0ustar00 '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.php000064400000003025146412132660020276 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001567146412132660021125 0ustar00 '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/SendOfficialAccountOTOMessageHeaders.php000064400000002365146412132660017550 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003030146412132660017613 0ustar00 '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.php000064400000004174146412132660021067 0ustar00 '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.php000064400000005350146412132660023326 0ustar00 '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.php000064400000006051146412132660025374 0ustar00 '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.php000064400000002201146412132660027534 0ustar00 '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.php000064400000001600146412132660024402 0ustar00 '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.php000064400000003210146412132660024254 0ustar00 '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.php000064400000002102146412132660025140 0ustar00 '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.php000064400000001517146412132660024313 0ustar00 '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.php000064400000003015146412132660017764 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002436146412132660020610 0ustar00 '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.php000064400000001540146412132660022121 0ustar00 '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.php000064400000002365146412132660017552 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003071146412132660017622 0ustar00 '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.php000064400000003116146412132660021064 0ustar00 '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.php000064400000004472146412132660023334 0ustar00 '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.php000064400000006051146412132660025376 0ustar00 '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.php000064400000002201146412132660027536 0ustar00 '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.php000064400000003210146412132660024256 0ustar00 '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.php000064400000002102146412132660025142 0ustar00 '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.php000064400000001517146412132660024315 0ustar00 '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.php000064400000003015146412132660017766 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002436146412132660020612 0ustar00 '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.php000064400000001540146412132660022123 0ustar00 '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.php000064400000002365146412132660017715 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002351146412132660017765 0ustar00 '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.php000064400000005031146412132660021225 0ustar00 '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.php000064400000004472146412132660023477 0ustar00 '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.php000064400000006051146412132660025541 0ustar00 '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.php000064400000002201146412132660027701 0ustar00 '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.php000064400000003210146412132660024421 0ustar00 '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.php000064400000002102146412132660025305 0ustar00 '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.php000064400000001517146412132660024460 0ustar00 '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.php000064400000003015146412132660020131 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002436146412132660020755 0ustar00 '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.php000064400000001540146412132660022266 0ustar00 '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/UpdateCrmPersonalCustomerHeaders.php000064400000002355146412132660017127 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000007060146412132660017202 0ustar00 '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.php000064400000002623146412132660021372 0ustar00 '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.php000064400000002775146412132660017360 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001564146412132660020171 0ustar00 '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/UpdateGroupSetHeaders.php000064400000002327146412132660014727 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000006362146412132660015007 0ustar00 '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.php000064400000002557146412132660015157 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function 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.php000064400000002327146412132660014655 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005103146412132660014725 0ustar00 '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.php000064400000015105146412132660016306 0ustar00 '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.php000064400000002275146412132660020373 0ustar00 '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.php000064400000002721146412132660015076 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001472146412132660015716 0ustar00 '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/UpdateRelationMetaFieldHeaders.php000064400000002351146412132660016504 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004651146412132660016566 0ustar00 '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.php000064400000002441146412132660021047 0ustar00 '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.php000064400000017312146412132660022215 0ustar00 '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.php000064400000002062146412132660023704 0ustar00 '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.php000064400000002765146412132660016740 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001602146412132660017543 0ustar00 '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.php000064400000005570146412132660011036 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param GetRelationUkSettingRequest $request * @param GetRelationUkSettingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetRelationUkSettingRequest $request * * @return GetRelationUkSettingResponse */ public function getRelationUkSetting($request) { $runtime = new RuntimeOptions([]); $headers = new GetRelationUkSettingHeaders([]); return $this->getRelationUkSettingWithOptions($request, $headers, $runtime); } } src/crm_2_0/Models/GetRelationUkSettingHeaders.php000064400000002343146412132660016066 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001626146412132660016146 0ustar00 '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.php000064400000002751146412132660016314 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001727146412132660017134 0ustar00 '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.php000064400000003657146412132660020456 0ustar00 '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.php000064400000002737146412132660023440 0ustar00 '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.php000064400000002171146412132660025347 0ustar00 '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.php000064400000042420146412132660013630 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CreateTicketRequest $request * @param CreateTicketHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateTicketRequest $request * * @return CreateTicketResponse */ public function createTicket($request) { $runtime = new RuntimeOptions([]); $headers = new CreateTicketHeaders([]); return $this->createTicketWithOptions($request, $headers, $runtime); } /** * @param string $ticketId * @param ExecuteActivityRequest $request * @param ExecuteActivityHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $ticketId * @param ExecuteActivityRequest $request * * @return ExecuteActivityResponse */ public function executeActivity($ticketId, $request) { $runtime = new RuntimeOptions([]); $headers = new ExecuteActivityHeaders([]); return $this->executeActivityWithOptions($ticketId, $request, $headers, $runtime); } /** * @param GetUserSourceListRequest $request * @param GetUserSourceListHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetUserSourceListRequest $request * * @return GetUserSourceListResponse */ public function getUserSourceList($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserSourceListHeaders([]); return $this->getUserSourceListWithOptions($request, $headers, $runtime); } /** * @param string $ticketId * @param PageListActionRequest $request * @param PageListActionHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param string $ticketId * @param PageListActionRequest $request * * @return PageListActionResponse */ public function pageListAction($ticketId, $request) { $runtime = new RuntimeOptions([]); $headers = new PageListActionHeaders([]); return $this->pageListActionWithOptions($ticketId, $request, $headers, $runtime); } /** * @param PageListRobotRequest $request * @param PageListRobotHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param PageListRobotRequest $request * * @return PageListRobotResponse */ public function pageListRobot($request) { $runtime = new RuntimeOptions([]); $headers = new PageListRobotHeaders([]); return $this->pageListRobotWithOptions($request, $headers, $runtime); } /** * @param PageListTicketRequest $request * @param PageListTicketHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param PageListTicketRequest $request * * @return PageListTicketResponse */ public function pageListTicket($request) { $runtime = new RuntimeOptions([]); $headers = new PageListTicketHeaders([]); return $this->pageListTicketWithOptions($request, $headers, $runtime); } } src/customer_service_1_0/Models/CreateTicketHeaders.php000064400000002340146412132660017156 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000007146146412132660017244 0ustar00 '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.php000064400000002167146412132660021436 0ustar00 '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.php000064400000002726146412132660017411 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001525146412132660020223 0ustar00 '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.php000064400000002346146412132660017734 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000006714146412132660020014 0ustar00 '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.php000064400000002062146412132660022200 0ustar00 '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.php000064400000002742146412132660020157 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001511146412132660020766 0ustar00 '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.php000064400000002352146412132660020205 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004533146412132660020265 0ustar00 '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.php000064400000002752146412132660020434 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002640146412132660021246 0ustar00 '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.php000064400000004223146412132660022563 0ustar00 '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.php000064400000002344146412132660017461 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003644146412132660017542 0ustar00 '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.php000064400000002736146412132660017711 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003662146412132660020526 0ustar00 '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_.php000064400000005340146412132660021633 0ustar00 '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.php000064400000003774146412132660024454 0ustar00 '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.php000064400000002342146412132660017327 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004265146412132660017412 0ustar00 '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.php000064400000002732146412132660017555 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004427146412132660020376 0ustar00 '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_.php000064400000004015146412132660021501 0ustar00 '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.php000064400000002344146412132660017467 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000007772146412132660017556 0ustar00 '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.php000064400000002736146412132660017717 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003662146412132660020534 0ustar00 '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_.php000064400000010270146412132660021637 0ustar00 '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.php000064400000646227146412132660012400 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param GetAbnormalOperationRequest $request * @param GetAbnormalOperationHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetAbnormalOperationRequest $request * * @return GetAbnormalOperationResponse */ public function getAbnormalOperation($request) { $runtime = new RuntimeOptions([]); $headers = new GetAbnormalOperationHeaders([]); return $this->getAbnormalOperationWithOptions($request, $headers, $runtime); } /** * @param GetAdministrativeLicensingRequest $request * @param GetAdministrativeLicensingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetAdministrativeLicensingRequest $request * * @return GetAdministrativeLicensingResponse */ public function getAdministrativeLicensing($request) { $runtime = new RuntimeOptions([]); $headers = new GetAdministrativeLicensingHeaders([]); return $this->getAdministrativeLicensingWithOptions($request, $headers, $runtime); } /** * @param GetAdministrativePenaltiesRequest $request * @param GetAdministrativePenaltiesHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetAdministrativePenaltiesRequest $request * * @return GetAdministrativePenaltiesResponse */ public function getAdministrativePenalties($request) { $runtime = new RuntimeOptions([]); $headers = new GetAdministrativePenaltiesHeaders([]); return $this->getAdministrativePenaltiesWithOptions($request, $headers, $runtime); } /** * @param GetBasicInfoRequest $request * @param GetBasicInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetBasicInfoRequest $request * * @return GetBasicInfoResponse */ public function getBasicInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetBasicInfoHeaders([]); return $this->getBasicInfoWithOptions($request, $headers, $runtime); } /** * @param GetBiddingInfoRequest $request * @param GetBiddingInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetBiddingInfoRequest $request * * @return GetBiddingInfoResponse */ public function getBiddingInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetBiddingInfoHeaders([]); return $this->getBiddingInfoWithOptions($request, $headers, $runtime); } /** * @param GetBranchInfoRequest $request * @param GetBranchInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetBranchInfoRequest $request * * @return GetBranchInfoResponse */ public function getBranchInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetBranchInfoHeaders([]); return $this->getBranchInfoWithOptions($request, $headers, $runtime); } /** * @param GetChangeRecordRequest $request * @param GetChangeRecordHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetChangeRecordRequest $request * * @return GetChangeRecordResponse */ public function getChangeRecord($request) { $runtime = new RuntimeOptions([]); $headers = new GetChangeRecordHeaders([]); return $this->getChangeRecordWithOptions($request, $headers, $runtime); } /** * @param GetDomainInfoRequest $request * @param GetDomainInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetDomainInfoRequest $request * * @return GetDomainInfoResponse */ public function getDomainInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetDomainInfoHeaders([]); return $this->getDomainInfoWithOptions($request, $headers, $runtime); } /** * @param GetDoubleRandomRequest $request * @param GetDoubleRandomHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetDoubleRandomRequest $request * * @return GetDoubleRandomResponse */ public function getDoubleRandom($request) { $runtime = new RuntimeOptions([]); $headers = new GetDoubleRandomHeaders([]); return $this->getDoubleRandomWithOptions($request, $headers, $runtime); } /** * @param GetEnvironmentalPenaltiesRequest $request * @param GetEnvironmentalPenaltiesHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetEnvironmentalPenaltiesRequest $request * * @return GetEnvironmentalPenaltiesResponse */ public function getEnvironmentalPenalties($request) { $runtime = new RuntimeOptions([]); $headers = new GetEnvironmentalPenaltiesHeaders([]); return $this->getEnvironmentalPenaltiesWithOptions($request, $headers, $runtime); } /** * @param GetHolderInfoRequest $request * @param GetHolderInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetHolderInfoRequest $request * * @return GetHolderInfoResponse */ public function getHolderInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetHolderInfoHeaders([]); return $this->getHolderInfoWithOptions($request, $headers, $runtime); } /** * @param GetIntellectualPropertyRequest $request * @param GetIntellectualPropertyHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetIntellectualPropertyRequest $request * * @return GetIntellectualPropertyResponse */ public function getIntellectualProperty($request) { $runtime = new RuntimeOptions([]); $headers = new GetIntellectualPropertyHeaders([]); return $this->getIntellectualPropertyWithOptions($request, $headers, $runtime); } /** * @param GetInvestmentAbroadRequest $request * @param GetInvestmentAbroadHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetInvestmentAbroadRequest $request * * @return GetInvestmentAbroadResponse */ public function getInvestmentAbroad($request) { $runtime = new RuntimeOptions([]); $headers = new GetInvestmentAbroadHeaders([]); return $this->getInvestmentAbroadWithOptions($request, $headers, $runtime); } /** * @param GetJobInfoRequest $request * @param GetJobInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetJobInfoRequest $request * * @return GetJobInfoResponse */ public function getJobInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetJobInfoHeaders([]); return $this->getJobInfoWithOptions($request, $headers, $runtime); } /** * @param GetPatentInfoRequest $request * @param GetPatentInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetPatentInfoRequest $request * * @return GetPatentInfoResponse */ public function getPatentInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetPatentInfoHeaders([]); return $this->getPatentInfoWithOptions($request, $headers, $runtime); } /** * @param GetPrincipalEmployeeRequest $request * @param GetPrincipalEmployeeHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetPrincipalEmployeeRequest $request * * @return GetPrincipalEmployeeResponse */ public function getPrincipalEmployee($request) { $runtime = new RuntimeOptions([]); $headers = new GetPrincipalEmployeeHeaders([]); return $this->getPrincipalEmployeeWithOptions($request, $headers, $runtime); } /** * @param GetQeneralTaxpayerInfoRequest $request * @param GetQeneralTaxpayerInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetQeneralTaxpayerInfoRequest $request * * @return GetQeneralTaxpayerInfoResponse */ public function getQeneralTaxpayerInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetQeneralTaxpayerInfoHeaders([]); return $this->getQeneralTaxpayerInfoWithOptions($request, $headers, $runtime); } /** * @param GetQualificationCertRequest $request * @param GetQualificationCertHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetQualificationCertRequest $request * * @return GetQualificationCertResponse */ public function getQualificationCert($request) { $runtime = new RuntimeOptions([]); $headers = new GetQualificationCertHeaders([]); return $this->getQualificationCertWithOptions($request, $headers, $runtime); } /** * @param GetSeriousViolationRequest $request * @param GetSeriousViolationHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetSeriousViolationRequest $request * * @return GetSeriousViolationResponse */ public function getSeriousViolation($request) { $runtime = new RuntimeOptions([]); $headers = new GetSeriousViolationHeaders([]); return $this->getSeriousViolationWithOptions($request, $headers, $runtime); } /** * @param GetSoftwareCopyrightRequest $request * @param GetSoftwareCopyrightHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetSoftwareCopyrightRequest $request * * @return GetSoftwareCopyrightResponse */ public function getSoftwareCopyright($request) { $runtime = new RuntimeOptions([]); $headers = new GetSoftwareCopyrightHeaders([]); return $this->getSoftwareCopyrightWithOptions($request, $headers, $runtime); } /** * @param GetTrademarkInfoRequest $request * @param GetTrademarkInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetTrademarkInfoRequest $request * * @return GetTrademarkInfoResponse */ public function getTrademarkInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetTrademarkInfoHeaders([]); return $this->getTrademarkInfoWithOptions($request, $headers, $runtime); } /** * @param GetWorkCopyrightRequest $request * @param GetWorkCopyrightHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetWorkCopyrightRequest $request * * @return GetWorkCopyrightResponse */ public function getWorkCopyright($request) { $runtime = new RuntimeOptions([]); $headers = new GetWorkCopyrightHeaders([]); return $this->getWorkCopyrightWithOptions($request, $headers, $runtime); } /** * @param PostCorpAuthInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return PostCorpAuthInfoResponse */ public function postCorpAuthInfo() { $runtime = new RuntimeOptions([]); $headers = new PostCorpAuthInfoHeaders([]); return $this->postCorpAuthInfoWithOptions($headers, $runtime); } /** * @param QueryActiveUserStatisticalDataRequest $request * @param QueryActiveUserStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryActiveUserStatisticalDataRequest $request * * @return QueryActiveUserStatisticalDataResponse */ public function queryActiveUserStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryActiveUserStatisticalDataHeaders([]); return $this->queryActiveUserStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryAnhmdStatisticalDataRequest $request * @param QueryAnhmdStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryAnhmdStatisticalDataRequest $request * * @return QueryAnhmdStatisticalDataResponse */ public function queryAnhmdStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAnhmdStatisticalDataHeaders([]); return $this->queryAnhmdStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryApprovalStatisticalDataRequest $request * @param QueryApprovalStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryApprovalStatisticalDataRequest $request * * @return QueryApprovalStatisticalDataResponse */ public function queryApprovalStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryApprovalStatisticalDataHeaders([]); return $this->queryApprovalStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryAttendanceStatisticalDataRequest $request * @param QueryAttendanceStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryAttendanceStatisticalDataRequest $request * * @return QueryAttendanceStatisticalDataResponse */ public function queryAttendanceStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAttendanceStatisticalDataHeaders([]); return $this->queryAttendanceStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryBlackboardStatisticalDataRequest $request * @param QueryBlackboardStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryBlackboardStatisticalDataRequest $request * * @return QueryBlackboardStatisticalDataResponse */ public function queryBlackboardStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBlackboardStatisticalDataHeaders([]); return $this->queryBlackboardStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryCalendarStatisticalDataRequest $request * @param QueryCalendarStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCalendarStatisticalDataRequest $request * * @return QueryCalendarStatisticalDataResponse */ public function queryCalendarStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCalendarStatisticalDataHeaders([]); return $this->queryCalendarStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryCheckinStatisticalDataRequest $request * @param QueryCheckinStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCheckinStatisticalDataRequest $request * * @return QueryCheckinStatisticalDataResponse */ public function queryCheckinStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCheckinStatisticalDataHeaders([]); return $this->queryCheckinStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryCircleStatisticalDataRequest $request * @param QueryCircleStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCircleStatisticalDataRequest $request * * @return QueryCircleStatisticalDataResponse */ public function queryCircleStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCircleStatisticalDataHeaders([]); return $this->queryCircleStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryCompanyBasicInfoRequest $request * @param QueryCompanyBasicInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCompanyBasicInfoRequest $request * * @return QueryCompanyBasicInfoResponse */ public function queryCompanyBasicInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCompanyBasicInfoHeaders([]); return $this->queryCompanyBasicInfoWithOptions($request, $headers, $runtime); } /** * @param QueryDigitalDistrictOrgInfoRequest $request * @param QueryDigitalDistrictOrgInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryDigitalDistrictOrgInfoRequest $request * * @return QueryDigitalDistrictOrgInfoResponse */ public function queryDigitalDistrictOrgInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDigitalDistrictOrgInfoHeaders([]); return $this->queryDigitalDistrictOrgInfoWithOptions($request, $headers, $runtime); } /** * @param QueryDingReciveStatisticalDataRequest $request * @param QueryDingReciveStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryDingReciveStatisticalDataRequest $request * * @return QueryDingReciveStatisticalDataResponse */ public function queryDingReciveStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDingReciveStatisticalDataHeaders([]); return $this->queryDingReciveStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryDingSendStatisticalDataRequest $request * @param QueryDingSendStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryDingSendStatisticalDataRequest $request * * @return QueryDingSendStatisticalDataResponse */ public function queryDingSendStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDingSendStatisticalDataHeaders([]); return $this->queryDingSendStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryDocumentStatisticalDataRequest $request * @param QueryDocumentStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryDocumentStatisticalDataRequest $request * * @return QueryDocumentStatisticalDataResponse */ public function queryDocumentStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDocumentStatisticalDataHeaders([]); return $this->queryDocumentStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryDriveStatisticalDataRequest $request * @param QueryDriveStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryDriveStatisticalDataRequest $request * * @return QueryDriveStatisticalDataResponse */ public function queryDriveStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDriveStatisticalDataHeaders([]); return $this->queryDriveStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryEmployeeTypeStatisticalDataRequest $request * @param QueryEmployeeTypeStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryEmployeeTypeStatisticalDataRequest $request * * @return QueryEmployeeTypeStatisticalDataResponse */ public function queryEmployeeTypeStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryEmployeeTypeStatisticalDataHeaders([]); return $this->queryEmployeeTypeStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryGeneralDataServiceRequest $request * @param QueryGeneralDataServiceHeaders $headers * @param RuntimeOptions $runtime * * @return 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->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)); } /** * @param QueryGeneralDataServiceRequest $request * * @return QueryGeneralDataServiceResponse */ public function queryGeneralDataService($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGeneralDataServiceHeaders([]); return $this->queryGeneralDataServiceWithOptions($request, $headers, $runtime); } /** * @param QueryGroupLiveStatisticalDataRequest $request * @param QueryGroupLiveStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryGroupLiveStatisticalDataRequest $request * * @return QueryGroupLiveStatisticalDataResponse */ public function queryGroupLiveStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGroupLiveStatisticalDataHeaders([]); return $this->queryGroupLiveStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryGroupMessageStatisticalDataRequest $request * @param QueryGroupMessageStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryGroupMessageStatisticalDataRequest $request * * @return QueryGroupMessageStatisticalDataResponse */ public function queryGroupMessageStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGroupMessageStatisticalDataHeaders([]); return $this->queryGroupMessageStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryHealthStatisticalDataRequest $request * @param QueryHealthStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryHealthStatisticalDataRequest $request * * @return QueryHealthStatisticalDataResponse */ public function queryHealthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryHealthStatisticalDataHeaders([]); return $this->queryHealthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryMailStatisticalDataRequest $request * @param QueryMailStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryMailStatisticalDataRequest $request * * @return QueryMailStatisticalDataResponse */ public function queryMailStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryMailStatisticalDataHeaders([]); return $this->queryMailStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryOfficialDataRequest $request * @param QueryOfficialDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryOfficialDataRequest $request * * @return QueryOfficialDataResponse */ public function queryOfficialData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOfficialDataHeaders([]); return $this->queryOfficialDataWithOptions($request, $headers, $runtime); } /** * @param QueryOfficialDatasetFieldsRequest $request * @param QueryOfficialDatasetFieldsHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryOfficialDatasetFieldsRequest $request * * @return QueryOfficialDatasetFieldsResponse */ public function queryOfficialDatasetFields($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOfficialDatasetFieldsHeaders([]); return $this->queryOfficialDatasetFieldsWithOptions($request, $headers, $runtime); } /** * @param QueryOfficialDatasetListRequest $request * @param QueryOfficialDatasetListHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryOfficialDatasetListRequest $request * * @return QueryOfficialDatasetListResponse */ public function queryOfficialDatasetList($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOfficialDatasetListHeaders([]); return $this->queryOfficialDatasetListWithOptions($request, $headers, $runtime); } /** * @param QueryOfficialFormDataRequest $request * @param QueryOfficialFormDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryOfficialFormDataRequest $request * * @return QueryOfficialFormDataResponse */ public function queryOfficialFormData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOfficialFormDataHeaders([]); return $this->queryOfficialFormDataWithOptions($request, $headers, $runtime); } /** * @param QueryOnlineUserStatisticalDataRequest $request * @param QueryOnlineUserStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryOnlineUserStatisticalDataRequest $request * * @return QueryOnlineUserStatisticalDataResponse */ public function queryOnlineUserStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOnlineUserStatisticalDataHeaders([]); return $this->queryOnlineUserStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryRedEnvelopeReciveStatisticalDataRequest $request * @param QueryRedEnvelopeReciveStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryRedEnvelopeReciveStatisticalDataRequest $request * * @return QueryRedEnvelopeReciveStatisticalDataResponse */ public function queryRedEnvelopeReciveStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryRedEnvelopeReciveStatisticalDataHeaders([]); return $this->queryRedEnvelopeReciveStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryRedEnvelopeSendStatisticalDataRequest $request * @param QueryRedEnvelopeSendStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryRedEnvelopeSendStatisticalDataRequest $request * * @return QueryRedEnvelopeSendStatisticalDataResponse */ public function queryRedEnvelopeSendStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryRedEnvelopeSendStatisticalDataHeaders([]); return $this->queryRedEnvelopeSendStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryReportStatisticalDataRequest $request * @param QueryReportStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryReportStatisticalDataRequest $request * * @return QueryReportStatisticalDataResponse */ public function queryReportStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryReportStatisticalDataHeaders([]); return $this->queryReportStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QuerySingleMessageStatisticalDataRequest $request * @param QuerySingleMessageStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QuerySingleMessageStatisticalDataRequest $request * * @return QuerySingleMessageStatisticalDataResponse */ public function querySingleMessageStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySingleMessageStatisticalDataHeaders([]); return $this->querySingleMessageStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryTelMeetingStatisticalDataRequest $request * @param QueryTelMeetingStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryTelMeetingStatisticalDataRequest $request * * @return QueryTelMeetingStatisticalDataResponse */ public function queryTelMeetingStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryTelMeetingStatisticalDataHeaders([]); return $this->queryTelMeetingStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryTodoStatisticalDataRequest $request * @param QueryTodoStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryTodoStatisticalDataRequest $request * * @return QueryTodoStatisticalDataResponse */ public function queryTodoStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryTodoStatisticalDataHeaders([]); return $this->queryTodoStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryVedioMeetingStatisticalDataRequest $request * @param QueryVedioMeetingStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryVedioMeetingStatisticalDataRequest $request * * @return QueryVedioMeetingStatisticalDataResponse */ public function queryVedioMeetingStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryVedioMeetingStatisticalDataHeaders([]); return $this->queryVedioMeetingStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydActiveDayStatisticalDataRequest $request * @param QueryYydActiveDayStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydActiveDayStatisticalDataRequest $request * * @return QueryYydActiveDayStatisticalDataResponse */ public function queryYydActiveDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydActiveDayStatisticalDataHeaders([]); return $this->queryYydActiveDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydActiveMonthStatisticalDataRequest $request * @param QueryYydActiveMonthStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydActiveMonthStatisticalDataRequest $request * * @return QueryYydActiveMonthStatisticalDataResponse */ public function queryYydActiveMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydActiveMonthStatisticalDataHeaders([]); return $this->queryYydActiveMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydActiveWeekStatisticalDataRequest $request * @param QueryYydActiveWeekStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydActiveWeekStatisticalDataRequest $request * * @return QueryYydActiveWeekStatisticalDataResponse */ public function queryYydActiveWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydActiveWeekStatisticalDataHeaders([]); return $this->queryYydActiveWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydAppDayStatisticalDataRequest $request * @param QueryYydAppDayStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydAppDayStatisticalDataRequest $request * * @return QueryYydAppDayStatisticalDataResponse */ public function queryYydAppDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydAppDayStatisticalDataHeaders([]); return $this->queryYydAppDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydAppMonthStatisticalDataRequest $request * @param QueryYydAppMonthStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydAppMonthStatisticalDataRequest $request * * @return QueryYydAppMonthStatisticalDataResponse */ public function queryYydAppMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydAppMonthStatisticalDataHeaders([]); return $this->queryYydAppMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydAppStdStatisticalDataRequest $request * @param QueryYydAppStdStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydAppStdStatisticalDataRequest $request * * @return QueryYydAppStdStatisticalDataResponse */ public function queryYydAppStdStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydAppStdStatisticalDataHeaders([]); return $this->queryYydAppStdStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydAppWeekStatisticalDataRequest $request * @param QueryYydAppWeekStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydAppWeekStatisticalDataRequest $request * * @return QueryYydAppWeekStatisticalDataResponse */ public function queryYydAppWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydAppWeekStatisticalDataHeaders([]); return $this->queryYydAppWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydCalendarDayStatisticalDataRequest $request * @param QueryYydCalendarDayStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydCalendarDayStatisticalDataRequest $request * * @return QueryYydCalendarDayStatisticalDataResponse */ public function queryYydCalendarDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydCalendarDayStatisticalDataHeaders([]); return $this->queryYydCalendarDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydCalendarMonthStatisticalDataRequest $request * @param QueryYydCalendarMonthStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydCalendarMonthStatisticalDataRequest $request * * @return QueryYydCalendarMonthStatisticalDataResponse */ public function queryYydCalendarMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydCalendarMonthStatisticalDataHeaders([]); return $this->queryYydCalendarMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydCalendarWeekStatisticalDataRequest $request * @param QueryYydCalendarWeekStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydCalendarWeekStatisticalDataRequest $request * * @return QueryYydCalendarWeekStatisticalDataResponse */ public function queryYydCalendarWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydCalendarWeekStatisticalDataHeaders([]); return $this->queryYydCalendarWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydDingMsgDayStatisticalDataRequest $request * @param QueryYydDingMsgDayStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydDingMsgDayStatisticalDataRequest $request * * @return QueryYydDingMsgDayStatisticalDataResponse */ public function queryYydDingMsgDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydDingMsgDayStatisticalDataHeaders([]); return $this->queryYydDingMsgDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydDingMsgMonthStatisticalDataRequest $request * @param QueryYydDingMsgMonthStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydDingMsgMonthStatisticalDataRequest $request * * @return QueryYydDingMsgMonthStatisticalDataResponse */ public function queryYydDingMsgMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydDingMsgMonthStatisticalDataHeaders([]); return $this->queryYydDingMsgMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydDingMsgWeekStatisticalDataRequest $request * @param QueryYydDingMsgWeekStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydDingMsgWeekStatisticalDataRequest $request * * @return QueryYydDingMsgWeekStatisticalDataResponse */ public function queryYydDingMsgWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydDingMsgWeekStatisticalDataHeaders([]); return $this->queryYydDingMsgWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydGroupMsgDayStatisticalDataRequest $request * @param QueryYydGroupMsgDayStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydGroupMsgDayStatisticalDataRequest $request * * @return QueryYydGroupMsgDayStatisticalDataResponse */ public function queryYydGroupMsgDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydGroupMsgDayStatisticalDataHeaders([]); return $this->queryYydGroupMsgDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydGroupMsgMonthStatisticalDataRequest $request * @param QueryYydGroupMsgMonthStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydGroupMsgMonthStatisticalDataRequest $request * * @return QueryYydGroupMsgMonthStatisticalDataResponse */ public function queryYydGroupMsgMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydGroupMsgMonthStatisticalDataHeaders([]); return $this->queryYydGroupMsgMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydGroupMsgWeekStatisticalDataRequest $request * @param QueryYydGroupMsgWeekStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydGroupMsgWeekStatisticalDataRequest $request * * @return QueryYydGroupMsgWeekStatisticalDataResponse */ public function queryYydGroupMsgWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydGroupMsgWeekStatisticalDataHeaders([]); return $this->queryYydGroupMsgWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydLogDayStatisticalDataRequest $request * @param QueryYydLogDayStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydLogDayStatisticalDataRequest $request * * @return QueryYydLogDayStatisticalDataResponse */ public function queryYydLogDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydLogDayStatisticalDataHeaders([]); return $this->queryYydLogDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydLogMonthStatisticalDataRequest $request * @param QueryYydLogMonthStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydLogMonthStatisticalDataRequest $request * * @return QueryYydLogMonthStatisticalDataResponse */ public function queryYydLogMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydLogMonthStatisticalDataHeaders([]); return $this->queryYydLogMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydLogWeekStatisticalDataRequest $request * @param QueryYydLogWeekStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydLogWeekStatisticalDataRequest $request * * @return QueryYydLogWeekStatisticalDataResponse */ public function queryYydLogWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydLogWeekStatisticalDataHeaders([]); return $this->queryYydLogWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydMeetingDayStatisticalDataRequest $request * @param QueryYydMeetingDayStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydMeetingDayStatisticalDataRequest $request * * @return QueryYydMeetingDayStatisticalDataResponse */ public function queryYydMeetingDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydMeetingDayStatisticalDataHeaders([]); return $this->queryYydMeetingDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydMeetingMonthStatisticalDataRequest $request * @param QueryYydMeetingMonthStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydMeetingMonthStatisticalDataRequest $request * * @return QueryYydMeetingMonthStatisticalDataResponse */ public function queryYydMeetingMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydMeetingMonthStatisticalDataHeaders([]); return $this->queryYydMeetingMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydMeetingWeekStatisticalDataRequest $request * @param QueryYydMeetingWeekStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydMeetingWeekStatisticalDataRequest $request * * @return QueryYydMeetingWeekStatisticalDataResponse */ public function queryYydMeetingWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydMeetingWeekStatisticalDataHeaders([]); return $this->queryYydMeetingWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydNoticeDayStatisticalDataRequest $request * @param QueryYydNoticeDayStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydNoticeDayStatisticalDataRequest $request * * @return QueryYydNoticeDayStatisticalDataResponse */ public function queryYydNoticeDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydNoticeDayStatisticalDataHeaders([]); return $this->queryYydNoticeDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydNoticeMonthStatisticalDataRequest $request * @param QueryYydNoticeMonthStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydNoticeMonthStatisticalDataRequest $request * * @return QueryYydNoticeMonthStatisticalDataResponse */ public function queryYydNoticeMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydNoticeMonthStatisticalDataHeaders([]); return $this->queryYydNoticeMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydNoticeWeekStatisticalDataRequest $request * @param QueryYydNoticeWeekStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydNoticeWeekStatisticalDataRequest $request * * @return QueryYydNoticeWeekStatisticalDataResponse */ public function queryYydNoticeWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydNoticeWeekStatisticalDataHeaders([]); return $this->queryYydNoticeWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydSingleMsgDayStatisticalDataRequest $request * @param QueryYydSingleMsgDayStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydSingleMsgDayStatisticalDataRequest $request * * @return QueryYydSingleMsgDayStatisticalDataResponse */ public function queryYydSingleMsgDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydSingleMsgDayStatisticalDataHeaders([]); return $this->queryYydSingleMsgDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydSingleMsgMonthStatisticalDataRequest $request * @param QueryYydSingleMsgMonthStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydSingleMsgMonthStatisticalDataRequest $request * * @return QueryYydSingleMsgMonthStatisticalDataResponse */ public function queryYydSingleMsgMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydSingleMsgMonthStatisticalDataHeaders([]); return $this->queryYydSingleMsgMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydSingleMsgWeekStatisticalDataRequest $request * @param QueryYydSingleMsgWeekStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydSingleMsgWeekStatisticalDataRequest $request * * @return QueryYydSingleMsgWeekStatisticalDataResponse */ public function queryYydSingleMsgWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydSingleMsgWeekStatisticalDataHeaders([]); return $this->queryYydSingleMsgWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydToatlMsgDayStatisticalDataRequest $request * @param QueryYydToatlMsgDayStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydToatlMsgDayStatisticalDataRequest $request * * @return QueryYydToatlMsgDayStatisticalDataResponse */ public function queryYydToatlMsgDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydToatlMsgDayStatisticalDataHeaders([]); return $this->queryYydToatlMsgDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydToatlMsgMonthStatisticalDataRequest $request * @param QueryYydToatlMsgMonthStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydToatlMsgMonthStatisticalDataRequest $request * * @return QueryYydToatlMsgMonthStatisticalDataResponse */ public function queryYydToatlMsgMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydToatlMsgMonthStatisticalDataHeaders([]); return $this->queryYydToatlMsgMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydToatlMsgWeekStatisticalDataRequest $request * @param QueryYydToatlMsgWeekStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydToatlMsgWeekStatisticalDataRequest $request * * @return QueryYydToatlMsgWeekStatisticalDataResponse */ public function queryYydToatlMsgWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydToatlMsgWeekStatisticalDataHeaders([]); return $this->queryYydToatlMsgWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydTodoDayStatisticalDataRequest $request * @param QueryYydTodoDayStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydTodoDayStatisticalDataRequest $request * * @return QueryYydTodoDayStatisticalDataResponse */ public function queryYydTodoDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydTodoDayStatisticalDataHeaders([]); return $this->queryYydTodoDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydTodoMonthStatisticalDataRequest $request * @param QueryYydTodoMonthStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydTodoMonthStatisticalDataRequest $request * * @return QueryYydTodoMonthStatisticalDataResponse */ public function queryYydTodoMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydTodoMonthStatisticalDataHeaders([]); return $this->queryYydTodoMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydTodoWeekStatisticalDataRequest $request * @param QueryYydTodoWeekStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydTodoWeekStatisticalDataRequest $request * * @return QueryYydTodoWeekStatisticalDataResponse */ public function queryYydTodoWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydTodoWeekStatisticalDataHeaders([]); return $this->queryYydTodoWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydTotalDayStatisticalDataRequest $request * @param QueryYydTotalDayStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydTotalDayStatisticalDataRequest $request * * @return QueryYydTotalDayStatisticalDataResponse */ public function queryYydTotalDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydTotalDayStatisticalDataHeaders([]); return $this->queryYydTotalDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydTotalMonthStatisticalDataRequest $request * @param QueryYydTotalMonthStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydTotalMonthStatisticalDataRequest $request * * @return QueryYydTotalMonthStatisticalDataResponse */ public function queryYydTotalMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydTotalMonthStatisticalDataHeaders([]); return $this->queryYydTotalMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydTotalStdStatisticalDataRequest $request * @param QueryYydTotalStdStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydTotalStdStatisticalDataRequest $request * * @return QueryYydTotalStdStatisticalDataResponse */ public function queryYydTotalStdStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydTotalStdStatisticalDataHeaders([]); return $this->queryYydTotalStdStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param QueryYydTotalWeekStatisticalDataRequest $request * @param QueryYydTotalWeekStatisticalDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryYydTotalWeekStatisticalDataRequest $request * * @return QueryYydTotalWeekStatisticalDataResponse */ public function queryYydTotalWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydTotalWeekStatisticalDataHeaders([]); return $this->queryYydTotalWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @param SearchCompanyRequest $request * @param SearchCompanyHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SearchCompanyRequest $request * * @return SearchCompanyResponse */ public function searchCompany($request) { $runtime = new RuntimeOptions([]); $headers = new SearchCompanyHeaders([]); return $this->searchCompanyWithOptions($request, $headers, $runtime); } } src/datacenter_1_0/Models/GetAbnormalOperationHeaders.php000064400000002352146412132660017417 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002740146412132660017475 0ustar00 '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.php000064400000002760146412132660017645 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002420146412132660020454 0ustar00 '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.php000064400000002366146412132660020627 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002754146412132660020705 0ustar00 '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.php000064400000003010146412132660021035 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003172146412132660021664 0ustar00 '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.php000064400000002366146412132660020640 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002754146412132660020716 0ustar00 '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.php000064400000003010146412132660021046 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002472146412132660021677 0ustar00 '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.php000064400000002332146412132660015636 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002720146412132660015714 0ustar00 '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.php000064400000002720146412132660016062 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003704146412132660016703 0ustar00 '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.php000064400000002336146412132660016161 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002724146412132660016237 0ustar00 '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.php000064400000002730146412132660016402 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003023146412132660017214 0ustar00 '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.php000064400000002334146412132660016014 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002722146412132660016072 0ustar00 '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.php000064400000002724146412132660016242 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002553146412132660017060 0ustar00 '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.php000064400000002340146412132660016324 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002726146412132660016411 0ustar00 '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.php000064400000002734146412132660016556 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003377146412132660017400 0ustar00 '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/GetDomainInfoHeaders.php000064400000002334146412132660016026 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002722146412132660016104 0ustar00 '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.php000064400000002724146412132660016254 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002341146412132660017065 0ustar00 '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.php000064400000002340146412132660016353 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002726146412132660016440 0ustar00 '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.php000064400000002734146412132660016605 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003006146412132660017414 0ustar00 '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.php000064400000002364146412132660020474 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002752146412132660020552 0ustar00 '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.php000064400000003004146412132660020707 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002541146412132660021532 0ustar00 '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/GetHolderInfoHeaders.php000064400000002334146412132660016034 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002722146412132660016112 0ustar00 '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.php000064400000002724146412132660016262 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002400146412132660017067 0ustar00 '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.php000064400000002360146412132660020174 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002746146412132660020261 0ustar00 '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.php000064400000002774146412132660020430 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002656146412132660021245 0ustar00 '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.php000064400000002350146412132660017246 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002736146412132660017333 0ustar00 '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.php000064400000002754146412132660017501 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003016146412132660020307 0ustar00 '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.php000064400000002326146412132660015332 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002714146412132660015410 0ustar00 '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.php000064400000002710146412132660015552 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002374146412132660016376 0ustar00 '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.php000064400000002334146412132660016052 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002722146412132660016130 0ustar00 '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.php000064400000002724146412132660016300 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003036146412132660017113 0ustar00 '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.php000064400000002352146412132660017424 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002740146412132660017502 0ustar00 '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.php000064400000002760146412132660017652 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002457146412132660020473 0ustar00 '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.php000064400000002356146412132660017730 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002744146412132660020006 0ustar00 '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.php000064400000002770146412132660020153 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002450146412132660020764 0ustar00 '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.php000064400000002352146412132660017411 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002740146412132660017467 0ustar00 '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.php000064400000002760146412132660017637 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002621146412132660020451 0ustar00 '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.php000064400000002350146412132660017317 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002736146412132660017404 0ustar00 '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.php000064400000002754146412132660017552 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002262146412132660020362 0ustar00 '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.php000064400000002352146412132660017466 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002740146412132660017544 0ustar00 '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.php000064400000002760146412132660017714 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002511146412132660020524 0ustar00 '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.php000064400000002342146412132660016530 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002730146412132660016606 0ustar00 '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.php000064400000002740146412132660016755 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002775146412132660017603 0ustar00 '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.php000064400000002342146412132660016615 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002730146412132660016673 0ustar00 '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.php000064400000002740146412132660017042 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002444146412132660017661 0ustar00 '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/PostCorpAuthInfoHeaders.php000064400000002342146412132660016551 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002740146412132660016776 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001514146412132660017612 0ustar00 '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.php000064400000002376146412132660021450 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001551146412132660021517 0ustar00 '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.php000064400000003030146412132660021657 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003500146412132660022477 0ustar00 '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.php000064400000003644146412132660024272 0ustar00 '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.php000064400000002364146412132660020422 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002657146412132660020504 0ustar00 '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.php000064400000003004146412132660020635 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003461146412132660021462 0ustar00 '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.php000064400000003637146412132660023251 0ustar00 '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.php000064400000002372146412132660021156 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001545146412132660021234 0ustar00 '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.php000064400000003020146412132660021370 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003472146412132660022221 0ustar00 '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.php000064400000003642146412132660024002 0ustar00 '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.php000064400000002376146412132660021444 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001551146412132660021513 0ustar00 '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.php000064400000003030146412132660021653 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003500146412132660022473 0ustar00 '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.php000064400000003644146412132660024266 0ustar00 '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.php000064400000002376146412132660021422 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001551146412132660021471 0ustar00 '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.php000064400000003030146412132660021631 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003500146412132660022451 0ustar00 '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.php000064400000003644146412132660024244 0ustar00 '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.php000064400000002372146412132660021103 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001545146412132660021161 0ustar00 '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.php000064400000003020146412132660021315 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003472146412132660022146 0ustar00 '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.php000064400000003642146412132660023727 0ustar00 '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/QueryCheckinStatisticalDataHeaders.php000064400000002370146412132660020734 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001543146412132660021012 0ustar00 '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.php000064400000003014146412132660021153 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003467146412132660022005 0ustar00 '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.php000064400000003641146412132660023561 0ustar00 '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.php000064400000002366146412132660020576 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001541146412132660020645 0ustar00 '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.php000064400000003010146412132660021004 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003464146412132660021637 0ustar00 '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.php000064400000003640146412132660023415 0ustar00 '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.php000064400000002354146412132660017557 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002637146412132660017640 0ustar00 '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.php000064400000002764146412132660020007 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003711146412132660020616 0ustar00 '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.php000064400000002370146412132660020740 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002405146412132660021014 0ustar00 '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.php000064400000003014146412132660021157 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002310146412132660021773 0ustar00 '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.php000064400000002376146412132660021415 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001551146412132660021464 0ustar00 '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.php000064400000003030146412132660021624 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003500146412132660022444 0ustar00 '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.php000064400000003644146412132660024237 0ustar00 '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.php000064400000002372146412132660021065 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001545146412132660021143 0ustar00 '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.php000064400000003020146412132660021277 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003472146412132660022130 0ustar00 '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.php000064400000003642146412132660023711 0ustar00 '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.php000064400000002372146412132660021150 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001545146412132660021226 0ustar00 '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.php000064400000003020146412132660021362 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003472146412132660022213 0ustar00 '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.php000064400000003642146412132660023774 0ustar00 '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.php000064400000002364146412132660020444 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001537146412132660020522 0ustar00 '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.php000064400000003004146412132660020657 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003461146412132660021504 0ustar00 '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.php000064400000003637146412132660023273 0ustar00 '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.php000064400000002402146412132660022005 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001555146412132660022072 0ustar00 '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.php000064400000003040146412132660022227 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003506146412132660023054 0ustar00 '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.php000064400000003646146412132660024643 0ustar00 '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/QueryGeneralDataServiceHeaders.php000064400000002360146412132660020060 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005413146412132660020137 0ustar00 'deptId', 'endDate' => 'endDate', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', '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->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['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.php000064400000002774146412132660020314 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003453146412132660021125 0ustar00 '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 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; } } } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataServiceResponseBody/metaList.php000064400000003307146412132660022705 0ustar00 '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/QueryGroupLiveStatisticalDataHeaders.php000064400000002374146412132660021310 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001547146412132660021366 0ustar00 '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.php000064400000003024146412132660021524 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003475146412132660022354 0ustar00 '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.php000064400000003643146412132660024133 0ustar00 '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.php000064400000002402146412132660021765 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001555146412132660022052 0ustar00 '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.php000064400000003040146412132660022207 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003506146412132660023034 0ustar00 '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.php000064400000003646146412132660024623 0ustar00 '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.php000064400000002366146412132660020602 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001541146412132660020651 0ustar00 '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.php000064400000003010146412132660021010 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003464146412132660021643 0ustar00 '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.php000064400000003640146412132660023421 0ustar00 '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.php000064400000002362146412132660020253 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001535146412132660020331 0ustar00 '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.php000064400000003000146412132660020464 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003456146412132660021321 0ustar00 '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.php000064400000003636146412132660023103 0ustar00 '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.php000064400000002344146412132660016700 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002103146412132660016746 0ustar00 '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.php000064400000002744146412132660017127 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002135146412132660017737 0ustar00 '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.php000064400000002366146412132660020547 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002266146412132660020623 0ustar00 '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.php000064400000003010146412132660020755 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002415146412132660021603 0ustar00 '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.php000064400000003740146412132660023123 0ustar00 '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.php000064400000002672146412132660024374 0ustar00 '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.php000064400000002362146412132660020250 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002730146412132660020324 0ustar00 '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.php000064400000003000146412132660020461 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002407146412132660021311 0ustar00 '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.php000064400000003252146412132660022626 0ustar00 '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.php000064400000002161146412132660023616 0ustar00 '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/QueryOfficialFormDataHeaders.php000064400000002354146412132660017525 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002113146412132660017573 0ustar00 '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.php000064400000002764146412132660017755 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002145146412132660020564 0ustar00 '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.php000064400000002376146412132660021461 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001551146412132660021530 0ustar00 '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.php000064400000003030146412132660021670 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003500146412132660022510 0ustar00 '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.php000064400000003644146412132660024303 0ustar00 '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.php000064400000002414146412132660022735 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001567146412132660023022 0ustar00 '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.php000064400000003064146412132660023162 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003525146412132660024002 0ustar00 '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.php000064400000003653146412132660025566 0ustar00 '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.php000064400000002410146412132660022405 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001563146412132660022472 0ustar00 '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.php000064400000003054146412132660022635 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003517146412132660023457 0ustar00 '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.php000064400000003651146412132660025240 0ustar00 '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.php000064400000002366146412132660020650 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001541146412132660020717 0ustar00 '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.php000064400000003010146412132660021056 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003464146412132660021711 0ustar00 '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.php000064400000003640146412132660023467 0ustar00 '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/QuerySingleMessageStatisticalDataHeaders.php000064400000002404146412132660022114 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001557146412132660022201 0ustar00 '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.php000064400000003044146412132660022340 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003511146412132660023155 0ustar00 '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.php000064400000003647146412132660024751 0ustar00 '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.php000064400000002376146412132660021433 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001551146412132660021502 0ustar00 '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.php000064400000003030146412132660021642 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003500146412132660022462 0ustar00 '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.php000064400000003644146412132660024255 0ustar00 '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.php000064400000002362146412132660020276 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001535146412132660020354 0ustar00 '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.php000064400000003000146412132660020507 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003456146412132660021344 0ustar00 '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.php000064400000003636146412132660023126 0ustar00 '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/QueryVedioMeetingStatisticalDataHeaders.php000064400000002402146412132660021743 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001555146412132660022030 0ustar00 '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.php000064400000003040146412132660022165 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003506146412132660023012 0ustar00 '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.php000064400000003646146412132660024601 0ustar00 '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.php000064400000002402146412132660021723 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001555146412132660022010 0ustar00 '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.php000064400000003040146412132660022145 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003506146412132660022772 0ustar00 '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.php000064400000003646146412132660024561 0ustar00 '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.php000064400000002406146412132660022277 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001561146412132660022355 0ustar00 '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.php000064400000003050146412132660022516 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003514146412132660023341 0ustar00 '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.php000064400000003650146412132660025124 0ustar00 '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.php000064400000002404146412132660022103 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001557146412132660022170 0ustar00 '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.php000064400000003044146412132660022327 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003511146412132660023144 0ustar00 '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.php000064400000003647146412132660024740 0ustar00 '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.php000064400000002374146412132660021240 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001547146412132660021316 0ustar00 '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.php000064400000003024146412132660021454 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003475146412132660022304 0ustar00 '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.php000064400000003643146412132660024063 0ustar00 '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.php000064400000002400146412132660021576 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001553146412132660021663 0ustar00 '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.php000064400000003034146412132660022025 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003503146412132660022644 0ustar00 '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.php000064400000003645146412132660024435 0ustar00 '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.php000064400000002374146412132660021255 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001547146412132660021333 0ustar00 '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.php000064400000003024146412132660021471 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003475146412132660022321 0ustar00 '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.php000064400000003643146412132660024100 0ustar00 '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.php000064400000002376146412132660021420 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001551146412132660021467 0ustar00 '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.php000064400000003030146412132660021627 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003500146412132660022447 0ustar00 '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.php000064400000003644146412132660024242 0ustar00 '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.php000064400000002406146412132660022225 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001561146412132660022303 0ustar00 '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.php000064400000003050146412132660022444 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003514146412132660023267 0ustar00 '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.php000064400000003650146412132660025052 0ustar00 '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.php000064400000002412146412132660022572 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001565146412132660022657 0ustar00 '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.php000064400000003060146412132660023015 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003522146412132660023636 0ustar00 '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.php000064400000003652146412132660025424 0ustar00 '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.php000064400000002410146412132660022376 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001563146412132660022463 0ustar00 '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.php000064400000003054146412132660022626 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003517146412132660023450 0ustar00 '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.php000064400000003651146412132660025231 0ustar00 '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.php000064400000002404146412132660022042 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001557146412132660022127 0ustar00 '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.php000064400000003044146412132660022266 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003511146412132660023103 0ustar00 '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.php000064400000003647146412132660024677 0ustar00 '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.php000064400000002410146412132660022407 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001563146412132660022474 0ustar00 '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.php000064400000003054146412132660022637 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003517146412132660023461 0ustar00 '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.php000064400000003651146412132660025242 0ustar00 '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.php000064400000002406146412132660022222 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001561146412132660022300 0ustar00 '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.php000064400000003050146412132660022441 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003514146412132660023264 0ustar00 '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.php000064400000003650146412132660025047 0ustar00 '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.php000064400000002406146412132660022257 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001561146412132660022335 0ustar00 '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.php000064400000003050146412132660022476 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003514146412132660023321 0ustar00 '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.php000064400000003650146412132660025104 0ustar00 '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.php000064400000002412146412132660022624 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001565146412132660022711 0ustar00 '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.php000064400000003060146412132660023047 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003522146412132660023670 0ustar00 '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.php000064400000003652146412132660025456 0ustar00 '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.php000064400000002410146412132660022430 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001563146412132660022515 0ustar00 '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.php000064400000003054146412132660022660 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003517146412132660023502 0ustar00 '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.php000064400000003651146412132660025263 0ustar00 '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.php000064400000002374146412132660021241 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001547146412132660021317 0ustar00 '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.php000064400000003024146412132660021455 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003475146412132660022305 0ustar00 '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.php000064400000003643146412132660024064 0ustar00 '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.php000064400000002400146412132660021577 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001553146412132660021664 0ustar00 '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.php000064400000003034146412132660022026 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003503146412132660022645 0ustar00 '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.php000064400000003645146412132660024436 0ustar00 '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.php000064400000002376146412132660021421 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001551146412132660021470 0ustar00 '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.php000064400000003030146412132660021630 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003500146412132660022450 0ustar00 '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.php000064400000003644146412132660024243 0ustar00 '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.php000064400000002404146412132660022102 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001557146412132660022167 0ustar00 '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.php000064400000003044146412132660022326 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003511146412132660023143 0ustar00 '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.php000064400000003647146412132660024737 0ustar00 '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.php000064400000002410146412132660022447 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001563146412132660022534 0ustar00 '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.php000064400000003054146412132660022677 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003517146412132660023521 0ustar00 '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.php000064400000003651146412132660025302 0ustar00 '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.php000064400000002406146412132660022262 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001561146412132660022340 0ustar00 '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.php000064400000003050146412132660022501 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003514146412132660023324 0ustar00 '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.php000064400000003650146412132660025107 0ustar00 '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.php000064400000002402146412132660021731 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001555146412132660022016 0ustar00 '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.php000064400000003040146412132660022153 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003506146412132660023000 0ustar00 '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.php000064400000003646146412132660024567 0ustar00 '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.php000064400000002406146412132660022305 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001561146412132660022363 0ustar00 '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.php000064400000003050146412132660022524 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003514146412132660023347 0ustar00 '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.php000064400000003650146412132660025132 0ustar00 '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.php000064400000002404146412132660022111 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001557146412132660022176 0ustar00 '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.php000064400000003044146412132660022335 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003511146412132660023152 0ustar00 '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.php000064400000003647146412132660024746 0ustar00 '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.php000064400000002410146412132660022377 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001563146412132660022464 0ustar00 '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.php000064400000003054146412132660022627 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003517146412132660023451 0ustar00 '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.php000064400000003651146412132660025232 0ustar00 '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.php000064400000002414146412132660022753 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001567146412132660023040 0ustar00 '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.php000064400000003064146412132660023200 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003525146412132660024020 0ustar00 '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.php000064400000003653146412132660025604 0ustar00 '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.php000064400000002412146412132660022557 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001565146412132660022644 0ustar00 '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.php000064400000003060146412132660023002 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003522146412132660023623 0ustar00 '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.php000064400000003652146412132660025411 0ustar00 '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.php000064400000002406146412132660022246 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001561146412132660022324 0ustar00 '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.php000064400000003050146412132660022465 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003514146412132660023310 0ustar00 '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.php000064400000003650146412132660025073 0ustar00 '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.php000064400000002412146412132660022613 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001565146412132660022700 0ustar00 '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.php000064400000003060146412132660023036 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003522146412132660023657 0ustar00 '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.php000064400000003652146412132660025445 0ustar00 '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.php000064400000002410146412132660022417 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001563146412132660022504 0ustar00 '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.php000064400000003054146412132660022647 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003517146412132660023471 0ustar00 '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.php000064400000003651146412132660025252 0ustar00 '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.php000064400000002376146412132660021427 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001551146412132660021476 0ustar00 '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.php000064400000003030146412132660021636 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003500146412132660022456 0ustar00 '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.php000064400000003644146412132660024251 0ustar00 '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.php000064400000002402146412132660021765 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001555146412132660022052 0ustar00 '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.php000064400000003040146412132660022207 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003506146412132660023034 0ustar00 '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.php000064400000003646146412132660024623 0ustar00 '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.php000064400000002400146412132660021571 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001553146412132660021656 0ustar00 '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.php000064400000003034146412132660022020 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003503146412132660022637 0ustar00 '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.php000064400000003645146412132660024430 0ustar00 '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.php000064400000002400146412132660021571 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001553146412132660021656 0ustar00 '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.php000064400000003034146412132660022020 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003503146412132660022637 0ustar00 '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.php000064400000003645146412132660024430 0ustar00 '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.php000064400000002404146412132660022145 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001557146412132660022232 0ustar00 '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.php000064400000003044146412132660022371 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003511146412132660023206 0ustar00 '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.php000064400000003647146412132660025002 0ustar00 '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.php000064400000002400146412132660021606 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001553146412132660021673 0ustar00 '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.php000064400000003034146412132660022035 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003503146412132660022654 0ustar00 '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.php000064400000003645146412132660024445 0ustar00 '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.php000064400000002402146412132660021751 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001555146412132660022036 0ustar00 '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.php000064400000003040146412132660022173 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003506146412132660023020 0ustar00 '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.php000064400000003646146412132660024607 0ustar00 '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.php000064400000002334146412132660016077 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002722146412132660016155 0ustar00 '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.php000064400000002724146412132660016325 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002523146412132660017140 0ustar00 '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/devicemng_1_0/Dingtalk.php000064400000167712146412132660012224 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param BatchRegisterDeviceRequest $request * @param BatchRegisterDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchRegisterDeviceRequest $request * * @return BatchRegisterDeviceResponse */ public function batchRegisterDevice($request) { $runtime = new RuntimeOptions([]); $headers = new BatchRegisterDeviceHeaders([]); return $this->batchRegisterDeviceWithOptions($request, $headers, $runtime); } /** * @param ConnectorEventPushRequest $request * @param ConnectorEventPushHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ConnectorEventPushRequest $request * * @return ConnectorEventPushResponse */ public function connectorEventPush($request) { $runtime = new RuntimeOptions([]); $headers = new ConnectorEventPushHeaders([]); return $this->connectorEventPushWithOptions($request, $headers, $runtime); } /** * @param CreateChatRoomRequest $request * @param CreateChatRoomHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateChatRoomRequest $request * * @return CreateChatRoomResponse */ public function createChatRoom($request) { $runtime = new RuntimeOptions([]); $headers = new CreateChatRoomHeaders([]); return $this->createChatRoomWithOptions($request, $headers, $runtime); } /** * @param CreateDepartmentRequest $request * @param CreateDepartmentHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateDepartmentRequest $request * * @return CreateDepartmentResponse */ public function createDepartment($request) { $runtime = new RuntimeOptions([]); $headers = new CreateDepartmentHeaders([]); return $this->createDepartmentWithOptions($request, $headers, $runtime); } /** * @param CreateDeviceChatRoomRequest $request * @param CreateDeviceChatRoomHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param CreateDeviceChatRoomRequest $request * * @return CreateDeviceChatRoomResponse */ public function createDeviceChatRoom($request) { $runtime = new RuntimeOptions([]); $headers = new CreateDeviceChatRoomHeaders([]); return $this->createDeviceChatRoomWithOptions($request, $headers, $runtime); } /** * @param DeviceDingRequest $request * @param DeviceDingHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param DeviceDingRequest $request * * @return DeviceDingResponse */ public function deviceDing($request) { $runtime = new RuntimeOptions([]); $headers = new DeviceDingHeaders([]); return $this->deviceDingWithOptions($request, $headers, $runtime); } /** * @param DissolveGroupRequest $request * @param DissolveGroupHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param DissolveGroupRequest $request * * @return DissolveGroupResponse */ public function dissolveGroup($request) { $runtime = new RuntimeOptions([]); $headers = new DissolveGroupHeaders([]); return $this->dissolveGroupWithOptions($request, $headers, $runtime); } /** * @param EditDeviceAdminRequest $request * @param EditDeviceAdminHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param EditDeviceAdminRequest $request * * @return EditDeviceAdminResponse */ public function editDeviceAdmin($request) { $runtime = new RuntimeOptions([]); $headers = new EditDeviceAdminHeaders([]); return $this->editDeviceAdminWithOptions($request, $headers, $runtime); } /** * @param GetDeviceGroupInfoRequest $request * @param GetDeviceGroupInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetDeviceGroupInfoRequest $request * * @return GetDeviceGroupInfoResponse */ public function getDeviceGroupInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetDeviceGroupInfoHeaders([]); return $this->getDeviceGroupInfoWithOptions($request, $headers, $runtime); } /** * @param GetWholeDeviceGroupHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @return GetWholeDeviceGroupResponse */ public function getWholeDeviceGroup() { $runtime = new RuntimeOptions([]); $headers = new GetWholeDeviceGroupHeaders([]); return $this->getWholeDeviceGroupWithOptions($headers, $runtime); } /** * @param ListActivateDevicesRequest $request * @param ListActivateDevicesHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListActivateDevicesRequest $request * * @return ListActivateDevicesResponse */ public function listActivateDevices($request) { $runtime = new RuntimeOptions([]); $headers = new ListActivateDevicesHeaders([]); return $this->listActivateDevicesWithOptions($request, $headers, $runtime); } /** * @param ListInspectInfoRequest $request * @param ListInspectInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListInspectInfoRequest $request * * @return ListInspectInfoResponse */ public function listInspectInfo($request) { $runtime = new RuntimeOptions([]); $headers = new ListInspectInfoHeaders([]); return $this->listInspectInfoWithOptions($request, $headers, $runtime); } /** * @param ListMaintainInfoRequest $request * @param ListMaintainInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ListMaintainInfoRequest $request * * @return ListMaintainInfoResponse */ public function listMaintainInfo($request) { $runtime = new RuntimeOptions([]); $headers = new ListMaintainInfoHeaders([]); return $this->listMaintainInfoWithOptions($request, $headers, $runtime); } /** * @param PullDeviceToGroupRequest $request * @param PullDeviceToGroupHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param PullDeviceToGroupRequest $request * * @return PullDeviceToGroupResponse */ public function pullDeviceToGroup($request) { $runtime = new RuntimeOptions([]); $headers = new PullDeviceToGroupHeaders([]); return $this->pullDeviceToGroupWithOptions($request, $headers, $runtime); } /** * @param PullUserToGroupRequest $request * @param PullUserToGroupHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param PullUserToGroupRequest $request * * @return PullUserToGroupResponse */ public function pullUserToGroup($request) { $runtime = new RuntimeOptions([]); $headers = new PullUserToGroupHeaders([]); return $this->pullUserToGroupWithOptions($request, $headers, $runtime); } /** * @param RegisterAndActivateDeviceRequest $request * @param RegisterAndActivateDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param RegisterAndActivateDeviceRequest $request * * @return RegisterAndActivateDeviceResponse */ public function registerAndActivateDevice($request) { $runtime = new RuntimeOptions([]); $headers = new RegisterAndActivateDeviceHeaders([]); return $this->registerAndActivateDeviceWithOptions($request, $headers, $runtime); } /** * @param RegisterAndActivateDeviceBatchRequest $request * @param RegisterAndActivateDeviceBatchHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param RegisterAndActivateDeviceBatchRequest $request * * @return RegisterAndActivateDeviceBatchResponse */ public function registerAndActivateDeviceBatch($request) { $runtime = new RuntimeOptions([]); $headers = new RegisterAndActivateDeviceBatchHeaders([]); return $this->registerAndActivateDeviceBatchWithOptions($request, $headers, $runtime); } /** * @param RegisterDeviceRequest $request * @param RegisterDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param RegisterDeviceRequest $request * * @return RegisterDeviceResponse */ public function registerDevice($request) { $runtime = new RuntimeOptions([]); $headers = new RegisterDeviceHeaders([]); return $this->registerDeviceWithOptions($request, $headers, $runtime); } /** * @param RemoveDeviceFromGroupRequest $request * @param RemoveDeviceFromGroupHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param RemoveDeviceFromGroupRequest $request * * @return RemoveDeviceFromGroupResponse */ public function removeDeviceFromGroup($request) { $runtime = new RuntimeOptions([]); $headers = new RemoveDeviceFromGroupHeaders([]); return $this->removeDeviceFromGroupWithOptions($request, $headers, $runtime); } /** * @param RemoveUserFromGroupRequest $request * @param RemoveUserFromGroupHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param RemoveUserFromGroupRequest $request * * @return RemoveUserFromGroupResponse */ public function removeUserFromGroup($request) { $runtime = new RuntimeOptions([]); $headers = new RemoveUserFromGroupHeaders([]); return $this->removeUserFromGroupWithOptions($request, $headers, $runtime); } /** * @param SendCardRequest $request * @param SendCardHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SendCardRequest $request * * @return SendCardResponse */ public function sendCard($request) { $runtime = new RuntimeOptions([]); $headers = new SendCardHeaders([]); return $this->sendCardWithOptions($request, $headers, $runtime); } /** * @param SendMsgRequest $request * @param SendMsgHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param SendMsgRequest $request * * @return SendMsgResponse */ public function sendMsg($request) { $runtime = new RuntimeOptions([]); $headers = new SendMsgHeaders([]); return $this->sendMsgWithOptions($request, $headers, $runtime); } /** * @param UninstallDeviceRobotRequest $request * @param UninstallDeviceRobotHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UninstallDeviceRobotRequest $request * * @return UninstallDeviceRobotResponse */ public function uninstallDeviceRobot($request) { $runtime = new RuntimeOptions([]); $headers = new UninstallDeviceRobotHeaders([]); return $this->uninstallDeviceRobotWithOptions($request, $headers, $runtime); } /** * @param UpdateCardRequest $request * @param UpdateCardHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateCardRequest $request * * @return UpdateCardResponse */ public function updateCard($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateCardHeaders([]); return $this->updateCardWithOptions($request, $headers, $runtime); } /** * @param UploadEventRequest $request * @param UploadEventHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UploadEventRequest $request * * @return UploadEventResponse */ public function uploadEvent($request) { $runtime = new RuntimeOptions([]); $headers = new UploadEventHeaders([]); return $this->uploadEventWithOptions($request, $headers, $runtime); } } src/devicemng_1_0/Models/BatchRegisterDeviceHeaders.php000064400000002347146412132660017044 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003404146412132660017114 0ustar00 '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.php000064400000005201146412132660021204 0ustar00 '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.php000064400000002753146412132660017270 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001512146412132660020076 0ustar00 '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.php000064400000002345146412132660016770 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003067146412132660017047 0ustar00 '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.php000064400000002747146412132660017221 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001517146412132660020031 0ustar00 '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.php000064400000002335146412132660016033 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004334146412132660016111 0ustar00 '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.php000064400000002727146412132660016263 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002126146412132660017072 0ustar00 '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.php000064400000002341146412132660016417 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000006377146412132660016511 0ustar00 '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.php000064400000002737146412132660016653 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001504146412132660017460 0ustar00 '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.php000064400000002351146412132660017151 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005135146412132660017231 0ustar00 '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.php000064400000002757146412132660017406 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002371146412132660020214 0ustar00 '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.php000064400000002771146412132660021536 0ustar00 '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.php000064400000002325146412132660015173 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003221146412132660015244 0ustar00 '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.php000064400000002707146412132660015422 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001470146412132660016234 0ustar00 '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.php000064400000002333146412132660015776 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001700146412132660016050 0ustar00 '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.php000064400000002723146412132660016224 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002124146412132660017035 0ustar00 '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.php000064400000002337146412132660016153 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003462146412132660016230 0ustar00 '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.php000064400000002733146412132660016376 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002130146412132660017203 0ustar00 '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.php000064400000002345146412132660016664 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001706146412132660016741 0ustar00 '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.php000064400000002747146412132660017115 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002363146412132660017725 0ustar00 '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.php000064400000005176146412132660021250 0ustar00 '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.php000064400000003312146412132660022660 0ustar00 '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.php000064400000002347146412132660017051 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002753146412132660017275 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002140146412132660020101 0ustar00 '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.php000064400000002347146412132660017075 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004565146412132660017156 0ustar00 '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.php000064400000002753146412132660017321 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003743146412132660020137 0ustar00 '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.php000064400000007622146412132660021455 0ustar00 '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.php000064400000002337146412132660016252 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003500146412132660016320 0ustar00 '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.php000064400000002733146412132660016475 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003762146412132660017316 0ustar00 '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.php000064400000007537146412132660020640 0ustar00 '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.php000064400000002341146412132660016400 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003041146412132660016453 0ustar00 '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.php000064400000002737146412132660016634 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003765146412132660017454 0ustar00 '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.php000064400000005764146412132660020773 0ustar00 '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.php000064400000002343146412132660016546 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004062146412132660016623 0ustar00 '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.php000064400000002743146412132660016775 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002134146412132660017605 0ustar00 '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.php000064400000002337146412132660016270 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002441146412132660016341 0ustar00 '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.php000064400000002733146412132660016513 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002130146412132660017320 0ustar00 '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.php000064400000002375146412132660021151 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003312146412132660021216 0ustar00 '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.php000064400000007426146412132660025550 0ustar00 '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.php000064400000003027146412132660021367 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005337146412132660022213 0ustar00 '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.php000064400000003530146412132660024121 0ustar00 '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.php000064400000011055146412132660025440 0ustar00 '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.php000064400000003541146412132660024660 0ustar00 '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.php000064400000011060146412132660026171 0ustar00 '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.php000064400000002363146412132660020204 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000006723146412132660020265 0ustar00 '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.php000064400000003003146412132660020417 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002410146412132660021236 0ustar00 '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.php000064400000006573146412132660022572 0ustar00 '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.php000064400000002335146412132660016077 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005660146412132660016160 0ustar00 '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.php000064400000002727146412132660016327 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001500146412132660017131 0ustar00 '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.php000064400000002353146412132660017411 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004034146412132660017464 0ustar00 '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.php000064400000002763146412132660017641 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002144146412132660020450 0ustar00 '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.php000064400000002347146412132660017133 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002451146412132660017204 0ustar00 '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.php000064400000002753146412132660017357 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002140146412132660020163 0ustar00 '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.php000064400000002321146412132660014651 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000007627146412132660014744 0ustar00 '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.php000064400000002677146412132660015112 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002112146412132660015710 0ustar00 '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.php000064400000002317146412132660014533 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004360146412132660014610 0ustar00 '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.php000064400000002673146412132660014763 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002110146412132660015563 0ustar00 '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.php000064400000002351146412132660017270 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002242146412132660017344 0ustar00 '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.php000064400000002757146412132660017525 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002142146412132660020327 0ustar00 '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.php000064400000002325146412132660015206 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003035146412132660015262 0ustar00 '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.php000064400000002475146412132660016250 0ustar00 '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.php000064400000002707146412132660015435 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002114146412132660016243 0ustar00 '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.php000064400000002327146412132660015422 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005040146412132660015472 0ustar00 '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.php000064400000002713146412132660015644 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002120146412132660016452 0ustar00 '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.php000064400000017175146412132660012372 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddCallConfigRequest $request * @param AddCallConfigHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AddCallConfigRequest $request * * @return AddCallConfigResponse */ public function addCallConfig($request) { $runtime = new RuntimeOptions([]); $headers = new AddCallConfigHeaders([]); return $this->addCallConfigWithOptions($request, $headers, $runtime); } /** * @param DelCallConfigRequest $request * @param DelCallConfigHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param DelCallConfigRequest $request * * @return DelCallConfigResponse */ public function delCallConfig($request) { $runtime = new RuntimeOptions([]); $headers = new DelCallConfigHeaders([]); return $this->delCallConfigWithOptions($request, $headers, $runtime); } /** * @param QueryCallConfigRequest $request * @param QueryCallConfigHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryCallConfigRequest $request * * @return QueryCallConfigResponse */ public function queryCallConfig($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCallConfigHeaders([]); return $this->queryCallConfigWithOptions($request, $headers, $runtime); } } src/ding_phone_1_0/Models/AddCallConfigHeaders.php000064400000002334146412132660015755 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003524146412132660016034 0ustar00 '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.php000064400000002724146412132660016203 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001466146412132660017023 0ustar00 '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.php000064400000002334146412132660015771 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003015146412132660016043 0ustar00 '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.php000064400000002724146412132660016217 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001475146412132660017037 0ustar00 '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.php000064400000002340146412132660016367 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003527146412132660016454 0ustar00 '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.php000064400000002734146412132660016621 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002616146412132660017436 0ustar00 '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.php000064400000007015146412132660020752 0ustar00 '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.php000064400000075711146412132660011527 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddRobotInstanceToGroupRequest $request * @param AddRobotInstanceToGroupHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AddRobotInstanceToGroupRequest $request * * @return AddRobotInstanceToGroupResponse */ public function addRobotInstanceToGroup($request) { $runtime = new RuntimeOptions([]); $headers = new AddRobotInstanceToGroupHeaders([]); return $this->addRobotInstanceToGroupWithOptions($request, $headers, $runtime); } /** * @param AskRobotRequest $request * @param AskRobotHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param AskRobotRequest $request * * @return AskRobotResponse */ public function askRobot($request) { $runtime = new RuntimeOptions([]); $headers = new AskRobotHeaders([]); return $this->askRobotWithOptions($request, $headers, $runtime); } /** * @param GetDingMeBaseDataRequest $request * @param GetDingMeBaseDataHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetDingMeBaseDataRequest $request * * @return GetDingMeBaseDataResponse */ public function getDingMeBaseData($request) { $runtime = new RuntimeOptions([]); $headers = new GetDingMeBaseDataHeaders([]); return $this->getDingMeBaseDataWithOptions($request, $headers, $runtime); } /** * @param GetIntelligentRobotInfoRequest $request * @param GetIntelligentRobotInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetIntelligentRobotInfoRequest $request * * @return GetIntelligentRobotInfoResponse */ public function getIntelligentRobotInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetIntelligentRobotInfoHeaders([]); return $this->getIntelligentRobotInfoWithOptions($request, $headers, $runtime); } /** * @param GetOfficialAccountRobotInfoRequest $request * @param GetOfficialAccountRobotInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetOfficialAccountRobotInfoRequest $request * * @return GetOfficialAccountRobotInfoResponse */ public function getOfficialAccountRobotInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetOfficialAccountRobotInfoHeaders([]); return $this->getOfficialAccountRobotInfoWithOptions($request, $headers, $runtime); } /** * @param GetWebChannelUserTokenRequest $request * @param GetWebChannelUserTokenHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param GetWebChannelUserTokenRequest $request * * @return GetWebChannelUserTokenResponse */ public function getWebChannelUserToken($request) { $runtime = new RuntimeOptions([]); $headers = new GetWebChannelUserTokenHeaders([]); return $this->getWebChannelUserTokenWithOptions($request, $headers, $runtime); } /** * @param PushCustomerGroupMessageRequest $request * @param PushCustomerGroupMessageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param PushCustomerGroupMessageRequest $request * * @return PushCustomerGroupMessageResponse */ public function pushCustomerGroupMessage($request) { $runtime = new RuntimeOptions([]); $headers = new PushCustomerGroupMessageHeaders([]); return $this->pushCustomerGroupMessageWithOptions($request, $headers, $runtime); } /** * @param PushIntelligentRobotGroupMessageRequest $request * @param PushIntelligentRobotGroupMessageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param PushIntelligentRobotGroupMessageRequest $request * * @return PushIntelligentRobotGroupMessageResponse */ public function pushIntelligentRobotGroupMessage($request) { $runtime = new RuntimeOptions([]); $headers = new PushIntelligentRobotGroupMessageHeaders([]); return $this->pushIntelligentRobotGroupMessageWithOptions($request, $headers, $runtime); } /** * @param PushIntelligentRobotMessageRequest $request * @param PushIntelligentRobotMessageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param PushIntelligentRobotMessageRequest $request * * @return PushIntelligentRobotMessageResponse */ public function pushIntelligentRobotMessage($request) { $runtime = new RuntimeOptions([]); $headers = new PushIntelligentRobotMessageHeaders([]); return $this->pushIntelligentRobotMessageWithOptions($request, $headers, $runtime); } /** * @param PushOfficialAccountMessageRequest $request * @param PushOfficialAccountMessageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param PushOfficialAccountMessageRequest $request * * @return PushOfficialAccountMessageResponse */ public function pushOfficialAccountMessage($request) { $runtime = new RuntimeOptions([]); $headers = new PushOfficialAccountMessageHeaders([]); return $this->pushOfficialAccountMessageWithOptions($request, $headers, $runtime); } /** * @param PushRobotMessageRequest $request * @param PushRobotMessageHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param PushRobotMessageRequest $request * * @return PushRobotMessageResponse */ public function pushRobotMessage($request) { $runtime = new RuntimeOptions([]); $headers = new PushRobotMessageHeaders([]); return $this->pushRobotMessageWithOptions($request, $headers, $runtime); } /** * @param ReplyRobotRequest $request * @param ReplyRobotHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param ReplyRobotRequest $request * * @return ReplyRobotResponse */ public function replyRobot($request) { $runtime = new RuntimeOptions([]); $headers = new ReplyRobotHeaders([]); return $this->replyRobotWithOptions($request, $headers, $runtime); } /** * @param UpdateOfficialAccountRobotInfoRequest $request * @param UpdateOfficialAccountRobotInfoHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param UpdateOfficialAccountRobotInfoRequest $request * * @return UpdateOfficialAccountRobotInfoResponse */ public function updateOfficialAccountRobotInfo($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateOfficialAccountRobotInfoHeaders([]); return $this->updateOfficialAccountRobotInfoWithOptions($request, $headers, $runtime); } } src/dingmi_1_0/Models/AddRobotInstanceToGroupHeaders.php000064400000002354146412132660017205 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002441146412132660017257 0ustar00 '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.php000064400000002770146412132660017432 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001551146412132660020244 0ustar00 '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.php000064400000002316146412132660014224 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003524146412132660014303 0ustar00 '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.php000064400000002674146412132660014456 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001743146412132660015270 0ustar00 '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.php000064400000002340146412132660015665 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003356146412132660015752 0ustar00 '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.php000064400000002740146412132660016114 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000003305146412132660016730 0ustar00 '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.php000064400000002354146412132660017242 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001622146412132660017314 0ustar00 '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.php000064400000002770146412132660017467 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001557146412132660020307 0ustar00 '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.php000064400000002364146412132660020016 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001635146412132660020073 0ustar00 '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.php000064400000003010146412132660020226 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000005006146412132660021053 0ustar00 '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.php000064400000002352146412132660017006 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002707146412132660017067 0ustar00 '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.php000064400000002764146412132660017240 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001515146412132660020047 0ustar00 '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.php000064400000002356146412132660017467 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003172146412132660017541 0ustar00 '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.php000064400000002774146412132660017716 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001561146412132660020525 0ustar00 '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.php000064400000002376146412132660021154 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004010146412132660021214 0ustar00 '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.php000064400000003034146412132660021367 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001575146412132660022215 0ustar00 '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.php000064400000002364146412132660020134 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003573146412132660020214 0ustar00 '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.php000064400000003010146412132660020344 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001563146412132660021175 0ustar00 '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.php000064400000002362146412132660017677 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003056146412132660017755 0ustar00 '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.php000064400000003004146412132660020114 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001565146412132660020744 0ustar00 '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.php000064400000002336146412132660015734 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003542146412132660016011 0ustar00 '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.php000064400000002734146412132660016161 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001536146412132660016776 0ustar00 '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.php000064400000002322146412132660014576 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002023146412132660014651 0ustar00 '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.php000064400000002704146412132660015025 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001517146412132660015644 0ustar00 '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.php000064400000002372146412132660020520 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000005124146412132660020573 0ustar00 '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.php000064400000003024146412132660020736 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001574146412132660021564 0ustar00 '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.php000064400000106016146412132660011210 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_signatureAlgorithm = 'v2'; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AyunOnlienTestRequest $request * @param string[] $headers * @param RuntimeOptions $runtime * * @return 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->execute($params, $req, $runtime)); } /** * @param AyunOnlienTestRequest $request * * @return AyunOnlienTestResponse */ public function ayunOnlienTest($request) { $runtime = new RuntimeOptions([]); $headers = []; return $this->ayunOnlienTestWithOptions($request, $headers, $runtime); } /** * @param BatchDeleteDeviceRequest $request * @param BatchDeleteDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchDeleteDeviceRequest $request * * @return BatchDeleteDeviceResponse */ public function batchDeleteDevice($request) { $runtime = new RuntimeOptions([]); $headers = new BatchDeleteDeviceHeaders([]); return $this->batchDeleteDeviceWithOptions($request, $headers, $runtime); } /** * @param BatchRegisterDeviceRequest $request * @param BatchRegisterDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchRegisterDeviceRequest $request * * @return BatchRegisterDeviceResponse */ public function batchRegisterDevice($request) { $runtime = new RuntimeOptions([]); $headers = new BatchRegisterDeviceHeaders([]); return $this->batchRegisterDeviceWithOptions($request, $headers, $runtime); } /** * @param BatchRegisterEventTypeRequest $request * @param BatchRegisterEventTypeHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchRegisterEventTypeRequest $request * * @return BatchRegisterEventTypeResponse */ public function batchRegisterEventType($request) { $runtime = new RuntimeOptions([]); $headers = new BatchRegisterEventTypeHeaders([]); return $this->batchRegisterEventTypeWithOptions($request, $headers, $runtime); } /** * @param BatchUpdateDeviceRequest $request * @param BatchUpdateDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BatchUpdateDeviceRequest $request * * @return BatchUpdateDeviceResponse */ public function batchUpdateDevice($request) { $runtime = new RuntimeOptions([]); $headers = new BatchUpdateDeviceHeaders([]); return $this->batchUpdateDeviceWithOptions($request, $headers, $runtime); } /** * @param BindSystemRequest $request * @param BindSystemHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param BindSystemRequest $request * * @return BindSystemResponse */ public function bindSystem($request) { $runtime = new RuntimeOptions([]); $headers = new BindSystemHeaders([]); return $this->bindSystemWithOptions($request, $headers, $runtime); } /** * @param DeviceConferenceRequest $request * @param DeviceConferenceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param DeviceConferenceRequest $request * * @return DeviceConferenceResponse */ public function deviceConference($request) { $runtime = new RuntimeOptions([]); $headers = new DeviceConferenceHeaders([]); return $this->deviceConferenceWithOptions($request, $headers, $runtime); } /** * @param string[] $headers * @param RuntimeOptions $runtime * * @return 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->execute($params, $req, $runtime)); } /** * @return DiotMamaResponse */ public function diotMama() { $runtime = new RuntimeOptions([]); $headers = []; return $this->diotMamaWithOptions($headers, $runtime); } /** * @param string[] $headers * @param RuntimeOptions $runtime * * @return 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->execute($params, $req, $runtime)); } /** * @return DiotMarketManagerTestResponse */ public function diotMarketManagerTest() { $runtime = new RuntimeOptions([]); $headers = []; return $this->diotMarketManagerTestWithOptions($headers, $runtime); } /** * @param string[] $headers * @param RuntimeOptions $runtime * * @return 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->execute($params, $req, $runtime)); } /** * @return DiotSystemMarkTestResponse */ public function diotSystemMarkTest() { $runtime = new RuntimeOptions([]); $headers = []; return $this->diotSystemMarkTestWithOptions($headers, $runtime); } /** * @param string[] $headers * @param RuntimeOptions $runtime * * @return 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->execute($params, $req, $runtime)); } /** * @return DiotMarketManagerResponse */ public function diot_Market_Manager() { $runtime = new RuntimeOptions([]); $headers = []; return $this->diot_Market_ManagerWithOptions($headers, $runtime); } /** * @param PushEventRequest $request * @param PushEventHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param PushEventRequest $request * * @return PushEventResponse */ public function pushEvent($request) { $runtime = new RuntimeOptions([]); $headers = new PushEventHeaders([]); return $this->pushEventWithOptions($request, $headers, $runtime); } /** * @param QueryDeviceRequest $request * @param QueryDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryDeviceRequest $request * * @return QueryDeviceResponse */ public function queryDevice($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDeviceHeaders([]); return $this->queryDeviceWithOptions($request, $headers, $runtime); } /** * @param QueryDevicePkRequest $request * @param QueryDevicePkHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryDevicePkRequest $request * * @return QueryDevicePkResponse */ public function queryDevicePk($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDevicePkHeaders([]); return $this->queryDevicePkWithOptions($request, $headers, $runtime); } /** * @param QueryEventRequest $request * @param QueryEventHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param QueryEventRequest $request * * @return QueryEventResponse */ public function queryEvent($request) { $runtime = new RuntimeOptions([]); $headers = new QueryEventHeaders([]); return $this->queryEventWithOptions($request, $headers, $runtime); } /** * @param RegisterDeviceRequest $request * @param RegisterDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return 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)); } /** * @param RegisterDeviceRequest $request * * @return RegisterDeviceResponse */ public function registerDevice($request) { $runtime = new RuntimeOptions([]); $headers = new RegisterDeviceHeaders([]); return $this->registerDeviceWithOptions($request, $headers, $runtime); } /** * @param string[] $headers * @param RuntimeOptions $runtime * * @return 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->execute($params, $req, $runtime)); } /** * @return UpgradeDeviceResponse */ public function upgradeDevice() { $runtime = new RuntimeOptions([]); $headers = []; return $this->upgradeDeviceWithOptions($headers, $runtime); } /** * @param string[] $headers * @param RuntimeOptions $runtime * * @return 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->execute($params, $req, $runtime)); } /** * @return WorkbenchTransformInfoResponse */ public function workbenchTransformInfo() { $runtime = new RuntimeOptions([]); $headers = []; return $this->workbenchTransformInfoWithOptions($headers, $runtime); } } src/diot_1_0/Models/AyunOnlienTestRequest.php000064400000001450146412132660015164 0ustar00 '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.php000064400000002722146412132660015335 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001473146412132660016155 0ustar00 '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.php000064400000002336146412132660015456 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002305146412132660015527 0ustar00 '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.php000064400000002736146412132660015705 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001635146412132660016520 0ustar00 '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.php000064400000002342146412132660016035 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003277146412132660016122 0ustar00 '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.php000064400000007674146412132660017551 0ustar00 '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.php000064400000002626146412132660021346 0ustar00 '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.php000064400000002746146412132660016270 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001641146412132660017077 0ustar00 '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.php000064400000002350146412132660016560 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003403146412132660016635 0ustar00 '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.php000064400000002353146412132660021006 0ustar00 '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.php000064400000002762146412132660017012 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001661146412132660017625 0ustar00 '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.php000064400000002336146412132660015476 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003271146412132660015552 0ustar00 '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.php000064400000005104146412132660017171 0ustar00 '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.php000064400000002624146412132660021002 0ustar00 '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.php000064400000002736146412132660015725 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001635146412132660016540 0ustar00 '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.php000064400000002320146412132660014244 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000004122146412132660014323 0ustar00 '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.php000064400000002702146412132660014473 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000002224146412132660015310 0ustar00 '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.php000064400000002334146412132660015357 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000003773146412132660015444 0ustar00 '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.php000064400000002732146412132660015604 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001626146412132660016423 0ustar00 '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.php000064400000002672146412132660014113 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001512146412132660014721 0ustar00 '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.php000064400000002736146412132660015757 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001534146412132660016570 0ustar00 '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.php000064400000002756146412132660016621 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001544146412132660017431 0ustar00 '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.php000064400000002742146412132660016175 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001536146412132660017013 0ustar00 '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.php000064400000002316146412132660014111 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000007364146412132660014176 0ustar00 '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.php000064400000002676146412132660014345 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001472146412132660015154 0ustar00 '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.php000064400000002322146412132660014412 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000002326146412132660014711 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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.php000064400000001476146412132660014773 0ustar00 '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.php000064400000002716146412132660015137 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000001471146412132660015752 0ustar00 '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.php000064400000002717146412132660014477 0ustar00 '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.php000064400000002706146412132660014643 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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.php000064400000004442146412132660015460 0ustar00 '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 QueryDeviceResponseBody */ 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['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/diot_1_0/Models/QueryDeviceResponseBody/data.php000064400000007171146412132660016373 0ustar00 'deviceId', 'deviceName' => 'deviceName', 'deviceStatus' => 'deviceStatus', 'deviceType' => 'deviceType', 'deviceTypeName' => 'deviceTypeName', '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->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 data */ 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['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/QueryDeviceResponseBody/data/liveUrls.php000064400000002620146412132660020172 0ustar00 '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/QueryEventHeaders.php000064400000002320146412132660014272 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['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/QueryEventRequest.php000064400000006663146412132660014365 0ustar00 'corpId', 'deviceIdList' => 'deviceIdList', 'endTime' => 'endTime', 'eventId' => 'eventId', 'eventStatusList' => 'eventStatusList', 'eventTypeList' => 'eventTypeList', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deviceIdList) { $res['deviceIdList'] = $this->deviceIdList; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->eventId) { $res['eventId'] = $this->eventId; } if (null !== $this->eventStatusList) { $res['eventStatusList'] = $this->eventStatusList; } if (null !== $this->eventTypeList) { $res['eventTypeList'] = $this->eventTypeList; } 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 QueryEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deviceIdList'])) { if (!empty($map['deviceIdList'])) { $model->deviceIdList = $map['deviceIdList']; } } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['eventId'])) { $model->eventId = $map['eventId']; } if (isset($map['eventStatusList'])) { if (!empty($map['eventStatusList'])) { $model->eventStatusList = $map['eventStatusList']; } } if (isset($map['eventTypeList'])) { if (!empty($map['eventTypeList'])) { $model->eventTypeList = $map['eventTypeList']; } } 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/diot_1_0/Models/QueryEventResponse.php000064400000002702146412132660014521 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryEventResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/QueryEventResponseBody.php000064400000004322146412132660015337 0ustar00 '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 QueryEventResponseBody */ 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['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/diot_1_0/Models/QueryEventResponseBody/data.php000064400000005173146412132660016255 0ustar00 'eventId', 'eventName' => 'eventName', 'eventStatus' => 'eventStatus', 'eventType' => 'eventType', 'msg' => 'msg', 'occurrenceTime' => 'occurrenceTime', 'picUrls' => 'picUrls', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->eventId) { $res['eventId'] = $this->eventId; } if (null !== $this->eventName) { $res['eventName'] = $this->eventName; } if (null !== $this->eventStatus) { $res['eventStatus'] = $this->eventStatus; } if (null !== $this->eventType) { $res['eventType'] = $this->eventType; } 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 data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['eventId'])) { $model->eventId = $map['eventId']; } if (isset($map['eventName'])) { $model->eventName = $map['eventName']; } if (isset($map['eventStatus'])) { $model->eventStatus = $map['eventStatus']; } if (isset($map['eventType'])) { $model->eventType = $map['eventType']; } 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/RegisterDeviceHeaders.php000064400000002330146412132660015070 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/diot_1_0/Models/RegisterDeviceRequest.php000064400000010311146412132660015143 0ustar00 'corpId', 'deviceName' => 'deviceName', 'deviceStatus' => 'deviceStatus', 'deviceType' => 'deviceType', 'deviceTypeName' => 'deviceTypeName', 'id' => 'id', 'liveUrls' => 'liveUrls', 'location' => 'location', 'nickName' => 'nickName', 'parentId' => 'parentId', 'productType' => 'productType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } 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->id) { $res['id'] = $this->id; } if (null !== $this->liveUrls) { $res['liveUrls'] = null !== $this->liveUrls ? $this->liveUrls->toMap() : null; } if (null !== $this->location) { $res['location'] = $this->location; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->productType) { $res['productType'] = $this->productType; } return $res; } /** * @param array $map * * @return RegisterDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } 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['id'])) { $model->id = $map['id']; } if (isset($map['liveUrls'])) { $model->liveUrls = liveUrls::fromMap($map['liveUrls']); } if (isset($map['location'])) { $model->location = $map['location']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['productType'])) { $model->productType = $map['productType']; } return $model; } } src/diot_1_0/Models/RegisterDeviceRequest/liveUrls.php000064400000002611146412132660016754 0ustar00 '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/RegisterDeviceResponse.php000064400000002722146412132660015320 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/diot_1_0/Models/RegisterDeviceResponseBody.php000064400000001546146412132660016141 0ustar00 'deviceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } return $res; } /** * @param array $map * * @return RegisterDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } return $model; } } src/diot_1_0/Models/UpgradeDeviceResponse.php000064400000002716146412132660015126 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpgradeDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpgradeDeviceResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/UpgradeDeviceResponseBody.php000064400000001524146412132660015740 0ustar00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return UpgradeDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/diot_1_0/Models/WorkbenchTransformInfoResponse.php000064400000002762146412132660017052 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return WorkbenchTransformInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = WorkbenchTransformInfoResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/WorkbenchTransformInfoResponseBody.php000064400000001546146412132660017667 0ustar00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return WorkbenchTransformInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/doc_1_0/Dingtalk.php000064400000445754146412132660011035 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $docId * @param AddCommentRequest $request * @param AddCommentHeaders $headers * @param RuntimeOptions $runtime * * @return AddCommentResponse */ public function addCommentWithOptions($docId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->commentContent)) { $body['commentContent'] = $request->commentContent; } if (!Utils::isUnset($request->commentType)) { $body['commentType'] = $request->commentType; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'AddComment', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/docs/' . $docId . '/comments', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddCommentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $docId * @param AddCommentRequest $request * * @return AddCommentResponse */ public function addComment($docId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddCommentHeaders([]); return $this->addCommentWithOptions($docId, $request, $headers, $runtime); } /** * @param string $workspaceId * @param string $nodeId * @param AddWorkspaceDocMembersRequest $request * @param AddWorkspaceDocMembersHeaders $headers * @param RuntimeOptions $runtime * * @return AddWorkspaceDocMembersResponse */ public function addWorkspaceDocMembersWithOptions($workspaceId, $nodeId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->operatorId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddWorkspaceDocMembers', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces/' . $workspaceId . '/docs/' . $nodeId . '/members', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return AddWorkspaceDocMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workspaceId * @param string $nodeId * @param AddWorkspaceDocMembersRequest $request * * @return AddWorkspaceDocMembersResponse */ public function addWorkspaceDocMembers($workspaceId, $nodeId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddWorkspaceDocMembersHeaders([]); return $this->addWorkspaceDocMembersWithOptions($workspaceId, $nodeId, $request, $headers, $runtime); } /** * @param string $workspaceId * @param AddWorkspaceMembersRequest $request * @param AddWorkspaceMembersHeaders $headers * @param RuntimeOptions $runtime * * @return AddWorkspaceMembersResponse */ public function addWorkspaceMembersWithOptions($workspaceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->operatorId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddWorkspaceMembers', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces/' . $workspaceId . '/members', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddWorkspaceMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workspaceId * @param AddWorkspaceMembersRequest $request * * @return AddWorkspaceMembersResponse */ public function addWorkspaceMembers($workspaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddWorkspaceMembersHeaders([]); return $this->addWorkspaceMembersWithOptions($workspaceId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param AppendRowsRequest $request * @param AppendRowsHeaders $headers * @param RuntimeOptions $runtime * * @return AppendRowsResponse */ public function appendRowsWithOptions($workbookId, $sheetId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->values)) { $body['values'] = $request->values; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'AppendRows', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/appendRows', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return AppendRowsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param AppendRowsRequest $request * * @return AppendRowsResponse */ public function appendRows($workbookId, $sheetId, $request) { $runtime = new RuntimeOptions([]); $headers = new AppendRowsHeaders([]); return $this->appendRowsWithOptions($workbookId, $sheetId, $request, $headers, $runtime); } /** * @param string $workbookId * @param BatchRequest $request * @param BatchHeaders $headers * @param RuntimeOptions $runtime * * @return BatchResponse */ public function batchWithOptions($workbookId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->requests)) { $body['requests'] = $request->requests; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'Batch', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param BatchRequest $request * * @return BatchResponse */ public function batch($workbookId, $request) { $runtime = new RuntimeOptions([]); $headers = new BatchHeaders([]); return $this->batchWithOptions($workbookId, $request, $headers, $runtime); } /** * @param BatchGetWorkspaceDocsRequest $request * @param BatchGetWorkspaceDocsHeaders $headers * @param RuntimeOptions $runtime * * @return BatchGetWorkspaceDocsResponse */ public function batchGetWorkspaceDocsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->nodeIds)) { $body['nodeIds'] = $request->nodeIds; } if (!Utils::isUnset($request->operatorId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchGetWorkspaceDocs', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces/docs/infos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchGetWorkspaceDocsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchGetWorkspaceDocsRequest $request * * @return BatchGetWorkspaceDocsResponse */ public function batchGetWorkspaceDocs($request) { $runtime = new RuntimeOptions([]); $headers = new BatchGetWorkspaceDocsHeaders([]); return $this->batchGetWorkspaceDocsWithOptions($request, $headers, $runtime); } /** * @param BatchGetWorkspacesRequest $request * @param BatchGetWorkspacesHeaders $headers * @param RuntimeOptions $runtime * * @return BatchGetWorkspacesResponse */ public function batchGetWorkspacesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->includeRecent)) { $body['includeRecent'] = $request->includeRecent; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->workspaceIds)) { $body['workspaceIds'] = $request->workspaceIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchGetWorkspaces', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces/infos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchGetWorkspacesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchGetWorkspacesRequest $request * * @return BatchGetWorkspacesResponse */ public function batchGetWorkspaces($request) { $runtime = new RuntimeOptions([]); $headers = new BatchGetWorkspacesHeaders([]); return $this->batchGetWorkspacesWithOptions($request, $headers, $runtime); } /** * @param string $workbookId * @param BindCoolAppToSheetRequest $request * @param BindCoolAppToSheetHeaders $headers * @param RuntimeOptions $runtime * * @return BindCoolAppToSheetResponse */ public function bindCoolAppToSheetWithOptions($workbookId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->coolAppCode)) { $body['coolAppCode'] = $request->coolAppCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'BindCoolAppToSheet', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/coolApps', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BindCoolAppToSheetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param BindCoolAppToSheetRequest $request * * @return BindCoolAppToSheetResponse */ public function bindCoolAppToSheet($workbookId, $request) { $runtime = new RuntimeOptions([]); $headers = new BindCoolAppToSheetHeaders([]); return $this->bindCoolAppToSheetWithOptions($workbookId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param ClearRequest $request * @param ClearHeaders $headers * @param RuntimeOptions $runtime * * @return ClearResponse */ public function clearWithOptions($workbookId, $sheetId, $rangeAddress, $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' => 'Clear', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/ranges/' . $rangeAddress . '/clear', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ClearResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param ClearRequest $request * * @return ClearResponse */ public function clear($workbookId, $sheetId, $rangeAddress, $request) { $runtime = new RuntimeOptions([]); $headers = new ClearHeaders([]); return $this->clearWithOptions($workbookId, $sheetId, $rangeAddress, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param ClearDataRequest $request * @param ClearDataHeaders $headers * @param RuntimeOptions $runtime * * @return ClearDataResponse */ public function clearDataWithOptions($workbookId, $sheetId, $rangeAddress, $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' => 'ClearData', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/ranges/' . $rangeAddress . '/clearData', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ClearDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param ClearDataRequest $request * * @return ClearDataResponse */ public function clearData($workbookId, $sheetId, $rangeAddress, $request) { $runtime = new RuntimeOptions([]); $headers = new ClearDataHeaders([]); return $this->clearDataWithOptions($workbookId, $sheetId, $rangeAddress, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param CreateConditionalFormattingRuleRequest $request * @param CreateConditionalFormattingRuleHeaders $headers * @param RuntimeOptions $runtime * * @return CreateConditionalFormattingRuleResponse */ public function createConditionalFormattingRuleWithOptions($workbookId, $sheetId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->cellStyle)) { $body['cellStyle'] = $request->cellStyle; } if (!Utils::isUnset($request->duplicateCondition)) { $body['duplicateCondition'] = $request->duplicateCondition; } if (!Utils::isUnset($request->ranges)) { $body['ranges'] = $request->ranges; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CreateConditionalFormattingRule', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/conditionalFormattingRules', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateConditionalFormattingRuleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param CreateConditionalFormattingRuleRequest $request * * @return CreateConditionalFormattingRuleResponse */ public function createConditionalFormattingRule($workbookId, $sheetId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateConditionalFormattingRuleHeaders([]); return $this->createConditionalFormattingRuleWithOptions($workbookId, $sheetId, $request, $headers, $runtime); } /** * @param string $workbookId * @param CreateDeveloperMetadataRequest $request * @param CreateDeveloperMetadataHeaders $headers * @param RuntimeOptions $runtime * * @return CreateDeveloperMetadataResponse */ public function createDeveloperMetadataWithOptions($workbookId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->associatedColumn)) { $body['associatedColumn'] = $request->associatedColumn; } if (!Utils::isUnset($request->associatedRow)) { $body['associatedRow'] = $request->associatedRow; } if (!Utils::isUnset($request->value)) { $body['value'] = $request->value; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CreateDeveloperMetadata', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/developerMetadatas', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateDeveloperMetadataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param CreateDeveloperMetadataRequest $request * * @return CreateDeveloperMetadataResponse */ public function createDeveloperMetadata($workbookId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateDeveloperMetadataHeaders([]); return $this->createDeveloperMetadataWithOptions($workbookId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param CreateRangeProtectionRequest $request * @param CreateRangeProtectionHeaders $headers * @param RuntimeOptions $runtime * * @return CreateRangeProtectionResponse */ public function createRangeProtectionWithOptions($workbookId, $sheetId, $rangeAddress, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->editableSetting)) { $body['editableSetting'] = $request->editableSetting; } if (!Utils::isUnset($request->otherUserPermission)) { $body['otherUserPermission'] = $request->otherUserPermission; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CreateRangeProtection', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/ranges/' . $rangeAddress . '/protections', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateRangeProtectionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param CreateRangeProtectionRequest $request * * @return CreateRangeProtectionResponse */ public function createRangeProtection($workbookId, $sheetId, $rangeAddress, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateRangeProtectionHeaders([]); return $this->createRangeProtectionWithOptions($workbookId, $sheetId, $rangeAddress, $request, $headers, $runtime); } /** * @param string $workbookId * @param CreateSheetRequest $request * @param CreateSheetHeaders $headers * @param RuntimeOptions $runtime * * @return CreateSheetResponse */ public function createSheetWithOptions($workbookId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->name)) { $body['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), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateSheet', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateSheetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param CreateSheetRequest $request * * @return CreateSheetResponse */ public function createSheet($workbookId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateSheetHeaders([]); return $this->createSheetWithOptions($workbookId, $request, $headers, $runtime); } /** * @param CreateWorkspaceRequest $request * @param CreateWorkspaceHeaders $headers * @param RuntimeOptions $runtime * * @return CreateWorkspaceResponse */ public function createWorkspaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->operatorId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateWorkspace', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateWorkspaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateWorkspaceRequest $request * * @return CreateWorkspaceResponse */ public function createWorkspace($request) { $runtime = new RuntimeOptions([]); $headers = new CreateWorkspaceHeaders([]); return $this->createWorkspaceWithOptions($request, $headers, $runtime); } /** * @param string $workspaceId * @param CreateWorkspaceDocRequest $request * @param CreateWorkspaceDocHeaders $headers * @param RuntimeOptions $runtime * * @return CreateWorkspaceDocResponse */ public function createWorkspaceDocWithOptions($workspaceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->docType)) { $body['docType'] = $request->docType; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->parentNodeId)) { $body['parentNodeId'] = $request->parentNodeId; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } if (!Utils::isUnset($request->templateType)) { $body['templateType'] = $request->templateType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateWorkspaceDoc', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces/' . $workspaceId . '/docs', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateWorkspaceDocResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workspaceId * @param CreateWorkspaceDocRequest $request * * @return CreateWorkspaceDocResponse */ public function createWorkspaceDoc($workspaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateWorkspaceDocHeaders([]); return $this->createWorkspaceDocWithOptions($workspaceId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param DeleteColumnsRequest $request * @param DeleteColumnsHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteColumnsResponse */ public function deleteColumnsWithOptions($workbookId, $sheetId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->column)) { $body['column'] = $request->column; } if (!Utils::isUnset($request->columnCount)) { $body['columnCount'] = $request->columnCount; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'DeleteColumns', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/deleteColumns', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteColumnsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param DeleteColumnsRequest $request * * @return DeleteColumnsResponse */ public function deleteColumns($workbookId, $sheetId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteColumnsHeaders([]); return $this->deleteColumnsWithOptions($workbookId, $sheetId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param DeleteDropdownListsRequest $request * @param DeleteDropdownListsHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteDropdownListsResponse */ public function deleteDropdownListsWithOptions($workbookId, $sheetId, $rangeAddress, $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' => 'DeleteDropdownLists', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/ranges/' . $rangeAddress . '/deleteDropdownLists', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteDropdownListsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param DeleteDropdownListsRequest $request * * @return DeleteDropdownListsResponse */ public function deleteDropdownLists($workbookId, $sheetId, $rangeAddress, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteDropdownListsHeaders([]); return $this->deleteDropdownListsWithOptions($workbookId, $sheetId, $rangeAddress, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param string $protectionId * @param DeleteRangeProtectionRequest $request * @param DeleteRangeProtectionHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteRangeProtectionResponse */ public function deleteRangeProtectionWithOptions($workbookId, $sheetId, $rangeAddress, $protectionId, $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' => 'DeleteRangeProtection', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/ranges/' . $rangeAddress . '/protections/' . $protectionId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteRangeProtectionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param string $protectionId * @param DeleteRangeProtectionRequest $request * * @return DeleteRangeProtectionResponse */ public function deleteRangeProtection($workbookId, $sheetId, $rangeAddress, $protectionId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteRangeProtectionHeaders([]); return $this->deleteRangeProtectionWithOptions($workbookId, $sheetId, $rangeAddress, $protectionId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param DeleteRowsRequest $request * @param DeleteRowsHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteRowsResponse */ public function deleteRowsWithOptions($workbookId, $sheetId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->row)) { $body['row'] = $request->row; } if (!Utils::isUnset($request->rowCount)) { $body['rowCount'] = $request->rowCount; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'DeleteRows', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/deleteRows', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteRowsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param DeleteRowsRequest $request * * @return DeleteRowsResponse */ public function deleteRows($workbookId, $sheetId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteRowsHeaders([]); return $this->deleteRowsWithOptions($workbookId, $sheetId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param DeleteSheetRequest $request * @param DeleteSheetHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteSheetResponse */ public function deleteSheetWithOptions($workbookId, $sheetId, $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' => 'DeleteSheet', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteSheetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param DeleteSheetRequest $request * * @return DeleteSheetResponse */ public function deleteSheet($workbookId, $sheetId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteSheetHeaders([]); return $this->deleteSheetWithOptions($workbookId, $sheetId, $request, $headers, $runtime); } /** * @param string $workspaceId * @param string $nodeId * @param DeleteWorkspaceDocRequest $request * @param DeleteWorkspaceDocHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteWorkspaceDocResponse */ public function deleteWorkspaceDocWithOptions($workspaceId, $nodeId, $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' => 'DeleteWorkspaceDoc', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces/' . $workspaceId . '/docs/' . $nodeId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return DeleteWorkspaceDocResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workspaceId * @param string $nodeId * @param DeleteWorkspaceDocRequest $request * * @return DeleteWorkspaceDocResponse */ public function deleteWorkspaceDoc($workspaceId, $nodeId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteWorkspaceDocHeaders([]); return $this->deleteWorkspaceDocWithOptions($workspaceId, $nodeId, $request, $headers, $runtime); } /** * @param string $workspaceId * @param string $nodeId * @param DeleteWorkspaceDocMembersRequest $request * @param DeleteWorkspaceDocMembersHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteWorkspaceDocMembersResponse */ public function deleteWorkspaceDocMembersWithOptions($workspaceId, $nodeId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->operatorId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeleteWorkspaceDocMembers', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces/' . $workspaceId . '/docs/' . $nodeId . '/members/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return DeleteWorkspaceDocMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workspaceId * @param string $nodeId * @param DeleteWorkspaceDocMembersRequest $request * * @return DeleteWorkspaceDocMembersResponse */ public function deleteWorkspaceDocMembers($workspaceId, $nodeId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteWorkspaceDocMembersHeaders([]); return $this->deleteWorkspaceDocMembersWithOptions($workspaceId, $nodeId, $request, $headers, $runtime); } /** * @param string $workspaceId * @param DeleteWorkspaceMembersRequest $request * @param DeleteWorkspaceMembersHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteWorkspaceMembersResponse */ public function deleteWorkspaceMembersWithOptions($workspaceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->operatorId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeleteWorkspaceMembers', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces/' . $workspaceId . '/members/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return DeleteWorkspaceMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workspaceId * @param DeleteWorkspaceMembersRequest $request * * @return DeleteWorkspaceMembersResponse */ public function deleteWorkspaceMembers($workspaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteWorkspaceMembersHeaders([]); return $this->deleteWorkspaceMembersWithOptions($workspaceId, $request, $headers, $runtime); } /** * @param string $docKey * @param string $blockId * @param DocAppendParagraphRequest $request * @param DocAppendParagraphHeaders $headers * @param RuntimeOptions $runtime * * @return DocAppendParagraphResponse */ public function docAppendParagraphWithOptions($docKey, $blockId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->elementType)) { $body['elementType'] = $request->elementType; } if (!Utils::isUnset($request->properties)) { $body['properties'] = $request->properties; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'DocAppendParagraph', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/suites/documents/' . $docKey . '/blocks/' . $blockId . '/paragraph/appendElement', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DocAppendParagraphResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $docKey * @param string $blockId * @param DocAppendParagraphRequest $request * * @return DocAppendParagraphResponse */ public function docAppendParagraph($docKey, $blockId, $request) { $runtime = new RuntimeOptions([]); $headers = new DocAppendParagraphHeaders([]); return $this->docAppendParagraphWithOptions($docKey, $blockId, $request, $headers, $runtime); } /** * @param string $docKey * @param string $blockId * @param DocAppendTextRequest $request * @param DocAppendTextHeaders $headers * @param RuntimeOptions $runtime * * @return DocAppendTextResponse */ public function docAppendTextWithOptions($docKey, $blockId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; 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' => 'DocAppendText', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/suites/documents/' . $docKey . '/blocks/' . $blockId . '/paragraph/appendText', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DocAppendTextResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $docKey * @param string $blockId * @param DocAppendTextRequest $request * * @return DocAppendTextResponse */ public function docAppendText($docKey, $blockId, $request) { $runtime = new RuntimeOptions([]); $headers = new DocAppendTextHeaders([]); return $this->docAppendTextWithOptions($docKey, $blockId, $request, $headers, $runtime); } /** * @param string $docKey * @param DocBlocksQueryRequest $request * @param DocBlocksQueryHeaders $headers * @param RuntimeOptions $runtime * * @return DocBlocksQueryResponse */ public function docBlocksQueryWithOptions($docKey, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->blockType)) { $query['blockType'] = $request->blockType; } if (!Utils::isUnset($request->endIndex)) { $query['endIndex'] = $request->endIndex; } if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->startIndex)) { $query['startIndex'] = $request->startIndex; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DocBlocksQuery', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/suites/documents/' . $docKey . '/blocks', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DocBlocksQueryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $docKey * @param DocBlocksQueryRequest $request * * @return DocBlocksQueryResponse */ public function docBlocksQuery($docKey, $request) { $runtime = new RuntimeOptions([]); $headers = new DocBlocksQueryHeaders([]); return $this->docBlocksQueryWithOptions($docKey, $request, $headers, $runtime); } /** * @param string $docKey * @param string $blockId * @param DocDeleteBlockRequest $request * @param DocDeleteBlockHeaders $headers * @param RuntimeOptions $runtime * * @return DocDeleteBlockResponse */ public function docDeleteBlockWithOptions($docKey, $blockId, $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' => 'DocDeleteBlock', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/suites/documents/' . $docKey . '/blocks/' . $blockId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DocDeleteBlockResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $docKey * @param string $blockId * @param DocDeleteBlockRequest $request * * @return DocDeleteBlockResponse */ public function docDeleteBlock($docKey, $blockId, $request) { $runtime = new RuntimeOptions([]); $headers = new DocDeleteBlockHeaders([]); return $this->docDeleteBlockWithOptions($docKey, $blockId, $request, $headers, $runtime); } /** * @param string $docKey * @param DocInsertBlocksRequest $request * @param DocInsertBlocksHeaders $headers * @param RuntimeOptions $runtime * * @return DocInsertBlocksResponse */ public function docInsertBlocksWithOptions($docKey, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->blockId)) { $body['blockId'] = $request->blockId; } if (!Utils::isUnset($request->element)) { $body['element'] = $request->element; } if (!Utils::isUnset($request->index)) { $body['index'] = $request->index; } if (!Utils::isUnset($request->where)) { $body['where'] = $request->where; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'DocInsertBlocks', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/suites/documents/' . $docKey . '/blocks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DocInsertBlocksResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $docKey * @param DocInsertBlocksRequest $request * * @return DocInsertBlocksResponse */ public function docInsertBlocks($docKey, $request) { $runtime = new RuntimeOptions([]); $headers = new DocInsertBlocksHeaders([]); return $this->docInsertBlocksWithOptions($docKey, $request, $headers, $runtime); } /** * @param string $docKey * @param DocUpdateContentRequest $request * @param DocUpdateContentHeaders $headers * @param RuntimeOptions $runtime * * @return DocUpdateContentResponse */ public function docUpdateContentWithOptions($docKey, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->dataType)) { $body['dataType'] = $request->dataType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'DocUpdateContent', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/suites/documents/' . $docKey . '/overwriteContent', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DocUpdateContentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $docKey * @param DocUpdateContentRequest $request * * @return DocUpdateContentResponse */ public function docUpdateContent($docKey, $request) { $runtime = new RuntimeOptions([]); $headers = new DocUpdateContentHeaders([]); return $this->docUpdateContentWithOptions($docKey, $request, $headers, $runtime); } /** * @param string $workbookId * @param GetAllSheetsRequest $request * @param GetAllSheetsHeaders $headers * @param RuntimeOptions $runtime * * @return GetAllSheetsResponse */ public function getAllSheetsWithOptions($workbookId, $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' => 'GetAllSheets', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAllSheetsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param GetAllSheetsRequest $request * * @return GetAllSheetsResponse */ public function getAllSheets($workbookId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetAllSheetsHeaders([]); return $this->getAllSheetsWithOptions($workbookId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $developerMetadataId * @param GetDeveloperMetadataRequest $request * @param GetDeveloperMetadataHeaders $headers * @param RuntimeOptions $runtime * * @return GetDeveloperMetadataResponse */ public function getDeveloperMetadataWithOptions($workbookId, $developerMetadataId, $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' => 'GetDeveloperMetadata', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/developerMetadatas/' . $developerMetadataId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDeveloperMetadataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $developerMetadataId * @param GetDeveloperMetadataRequest $request * * @return GetDeveloperMetadataResponse */ public function getDeveloperMetadata($workbookId, $developerMetadataId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetDeveloperMetadataHeaders([]); return $this->getDeveloperMetadataWithOptions($workbookId, $developerMetadataId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param GetRangeRequest $request * @param GetRangeHeaders $headers * @param RuntimeOptions $runtime * * @return GetRangeResponse */ public function getRangeWithOptions($workbookId, $sheetId, $rangeAddress, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->select)) { $query['select'] = $request->select; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetRange', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/ranges/' . $rangeAddress . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRangeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param GetRangeRequest $request * * @return GetRangeResponse */ public function getRange($workbookId, $sheetId, $rangeAddress, $request) { $runtime = new RuntimeOptions([]); $headers = new GetRangeHeaders([]); return $this->getRangeWithOptions($workbookId, $sheetId, $rangeAddress, $request, $headers, $runtime); } /** * @param GetRecentEditDocsRequest $request * @param GetRecentEditDocsHeaders $headers * @param RuntimeOptions $runtime * * @return GetRecentEditDocsResponse */ public function getRecentEditDocsWithOptions($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->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' => 'GetRecentEditDocs', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces/docs/recentEditDocs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRecentEditDocsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetRecentEditDocsRequest $request * * @return GetRecentEditDocsResponse */ public function getRecentEditDocs($request) { $runtime = new RuntimeOptions([]); $headers = new GetRecentEditDocsHeaders([]); return $this->getRecentEditDocsWithOptions($request, $headers, $runtime); } /** * @param GetRecentOpenDocsRequest $request * @param GetRecentOpenDocsHeaders $headers * @param RuntimeOptions $runtime * * @return GetRecentOpenDocsResponse */ public function getRecentOpenDocsWithOptions($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->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' => 'GetRecentOpenDocs', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces/docs/recentOpenDocs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRecentOpenDocsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetRecentOpenDocsRequest $request * * @return GetRecentOpenDocsResponse */ public function getRecentOpenDocs($request) { $runtime = new RuntimeOptions([]); $headers = new GetRecentOpenDocsHeaders([]); return $this->getRecentOpenDocsWithOptions($request, $headers, $runtime); } /** * @param GetRelatedWorkspacesRequest $request * @param GetRelatedWorkspacesHeaders $headers * @param RuntimeOptions $runtime * * @return GetRelatedWorkspacesResponse */ public function getRelatedWorkspacesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->includeRecent)) { $query['includeRecent'] = $request->includeRecent; } 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' => 'GetRelatedWorkspaces', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRelatedWorkspacesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetRelatedWorkspacesRequest $request * * @return GetRelatedWorkspacesResponse */ public function getRelatedWorkspaces($request) { $runtime = new RuntimeOptions([]); $headers = new GetRelatedWorkspacesHeaders([]); return $this->getRelatedWorkspacesWithOptions($request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param GetSheetRequest $request * @param GetSheetHeaders $headers * @param RuntimeOptions $runtime * * @return GetSheetResponse */ public function getSheetWithOptions($workbookId, $sheetId, $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' => 'GetSheet', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSheetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param GetSheetRequest $request * * @return GetSheetResponse */ public function getSheet($workbookId, $sheetId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetSheetHeaders([]); return $this->getSheetWithOptions($workbookId, $sheetId, $request, $headers, $runtime); } /** * @param string $templateId * @param GetTemplateByIdRequest $request * @param GetTemplateByIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetTemplateByIdResponse */ public function getTemplateByIdWithOptions($templateId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->belong)) { $query['belong'] = $request->belong; } 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' => 'GetTemplateById', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/templates/' . $templateId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTemplateByIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $templateId * @param GetTemplateByIdRequest $request * * @return GetTemplateByIdResponse */ public function getTemplateById($templateId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetTemplateByIdHeaders([]); return $this->getTemplateByIdWithOptions($templateId, $request, $headers, $runtime); } /** * @param string $workspaceId * @param GetWorkspaceHeaders $headers * @param RuntimeOptions $runtime * * @return GetWorkspaceResponse */ public function getWorkspaceWithOptions($workspaceId, $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' => 'GetWorkspace', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces/' . $workspaceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetWorkspaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workspaceId * * @return GetWorkspaceResponse */ public function getWorkspace($workspaceId) { $runtime = new RuntimeOptions([]); $headers = new GetWorkspaceHeaders([]); return $this->getWorkspaceWithOptions($workspaceId, $headers, $runtime); } /** * @param string $workspaceId * @param string $nodeId * @param GetWorkspaceNodeRequest $request * @param GetWorkspaceNodeHeaders $headers * @param RuntimeOptions $runtime * * @return GetWorkspaceNodeResponse */ public function getWorkspaceNodeWithOptions($workspaceId, $nodeId, $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' => 'GetWorkspaceNode', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces/' . $workspaceId . '/docs/' . $nodeId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetWorkspaceNodeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workspaceId * @param string $nodeId * @param GetWorkspaceNodeRequest $request * * @return GetWorkspaceNodeResponse */ public function getWorkspaceNode($workspaceId, $nodeId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetWorkspaceNodeHeaders([]); return $this->getWorkspaceNodeWithOptions($workspaceId, $nodeId, $request, $headers, $runtime); } /** * @param string $docId * @param InitDocumentRequest $request * @param InitDocumentHeaders $headers * @param RuntimeOptions $runtime * * @return InitDocumentResponse */ public function initDocumentWithOptions($docId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->attachmentsMap)) { $body['attachmentsMap'] = $request->attachmentsMap; } if (!Utils::isUnset($request->importType)) { $body['importType'] = $request->importType; } if (!Utils::isUnset($request->linksKey)) { $body['linksKey'] = $request->linksKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'InitDocument', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/docs/' . $docId . '/init', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InitDocumentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $docId * @param InitDocumentRequest $request * * @return InitDocumentResponse */ public function initDocument($docId, $request) { $runtime = new RuntimeOptions([]); $headers = new InitDocumentHeaders([]); return $this->initDocumentWithOptions($docId, $request, $headers, $runtime); } /** * @param string $documentId * @param InsertBlocksRequest $request * @param InsertBlocksHeaders $headers * @param RuntimeOptions $runtime * * @return InsertBlocksResponse */ public function insertBlocksWithOptions($documentId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->blocks)) { $body['blocks'] = $request->blocks; } if (!Utils::isUnset($request->location)) { $body['location'] = $request->location; } if (!Utils::isUnset($request->operatorId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'InsertBlocks', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/documents/' . $documentId . '/blocks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return InsertBlocksResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $documentId * @param InsertBlocksRequest $request * * @return InsertBlocksResponse */ public function insertBlocks($documentId, $request) { $runtime = new RuntimeOptions([]); $headers = new InsertBlocksHeaders([]); return $this->insertBlocksWithOptions($documentId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param InsertColumnsBeforeRequest $request * @param InsertColumnsBeforeHeaders $headers * @param RuntimeOptions $runtime * * @return InsertColumnsBeforeResponse */ public function insertColumnsBeforeWithOptions($workbookId, $sheetId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->column)) { $body['column'] = $request->column; } if (!Utils::isUnset($request->columnCount)) { $body['columnCount'] = $request->columnCount; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'InsertColumnsBefore', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/insertColumnsBefore', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InsertColumnsBeforeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param InsertColumnsBeforeRequest $request * * @return InsertColumnsBeforeResponse */ public function insertColumnsBefore($workbookId, $sheetId, $request) { $runtime = new RuntimeOptions([]); $headers = new InsertColumnsBeforeHeaders([]); return $this->insertColumnsBeforeWithOptions($workbookId, $sheetId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param InsertDropdownListsRequest $request * @param InsertDropdownListsHeaders $headers * @param RuntimeOptions $runtime * * @return InsertDropdownListsResponse */ public function insertDropdownListsWithOptions($workbookId, $sheetId, $rangeAddress, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->options)) { $body['options'] = $request->options; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'InsertDropdownLists', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/ranges/' . $rangeAddress . '/insertDropdownLists', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InsertDropdownListsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param InsertDropdownListsRequest $request * * @return InsertDropdownListsResponse */ public function insertDropdownLists($workbookId, $sheetId, $rangeAddress, $request) { $runtime = new RuntimeOptions([]); $headers = new InsertDropdownListsHeaders([]); return $this->insertDropdownListsWithOptions($workbookId, $sheetId, $rangeAddress, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param InsertRowsBeforeRequest $request * @param InsertRowsBeforeHeaders $headers * @param RuntimeOptions $runtime * * @return InsertRowsBeforeResponse */ public function insertRowsBeforeWithOptions($workbookId, $sheetId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->row)) { $body['row'] = $request->row; } if (!Utils::isUnset($request->rowCount)) { $body['rowCount'] = $request->rowCount; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'InsertRowsBefore', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/insertRowsBefore', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InsertRowsBeforeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param InsertRowsBeforeRequest $request * * @return InsertRowsBeforeResponse */ public function insertRowsBefore($workbookId, $sheetId, $request) { $runtime = new RuntimeOptions([]); $headers = new InsertRowsBeforeHeaders([]); return $this->insertRowsBeforeWithOptions($workbookId, $sheetId, $request, $headers, $runtime); } /** * @param ListTemplateRequest $request * @param ListTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return ListTemplateResponse */ public function listTemplateWithOptions($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->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->templateType)) { $query['templateType'] = $request->templateType; } if (!Utils::isUnset($request->workspaceId)) { $query['workspaceId'] = $request->workspaceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListTemplate', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/templates', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListTemplateRequest $request * * @return ListTemplateResponse */ public function listTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new ListTemplateHeaders([]); return $this->listTemplateWithOptions($request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param MergeRangeRequest $request * @param MergeRangeHeaders $headers * @param RuntimeOptions $runtime * * @return MergeRangeResponse */ public function mergeRangeWithOptions($workbookId, $sheetId, $rangeAddress, $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' => 'MergeRange', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/ranges/' . $rangeAddress . '/merge', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return MergeRangeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param MergeRangeRequest $request * * @return MergeRangeResponse */ public function mergeRange($workbookId, $sheetId, $rangeAddress, $request) { $runtime = new RuntimeOptions([]); $headers = new MergeRangeHeaders([]); return $this->mergeRangeWithOptions($workbookId, $sheetId, $rangeAddress, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param RangeFindNextRequest $request * @param RangeFindNextHeaders $headers * @param RuntimeOptions $runtime * * @return RangeFindNextResponse */ public function rangeFindNextWithOptions($workbookId, $sheetId, $rangeAddress, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->findOptions)) { $body['findOptions'] = $request->findOptions; } 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' => 'RangeFindNext', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/ranges/' . $rangeAddress . '/findNext', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RangeFindNextResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param RangeFindNextRequest $request * * @return RangeFindNextResponse */ public function rangeFindNext($workbookId, $sheetId, $rangeAddress, $request) { $runtime = new RuntimeOptions([]); $headers = new RangeFindNextHeaders([]); return $this->rangeFindNextWithOptions($workbookId, $sheetId, $rangeAddress, $request, $headers, $runtime); } /** * @param SearchWorkspaceDocsRequest $request * @param SearchWorkspaceDocsHeaders $headers * @param RuntimeOptions $runtime * * @return SearchWorkspaceDocsResponse */ public function searchWorkspaceDocsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->keyword)) { $query['keyword'] = $request->keyword; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->workspaceId)) { $query['workspaceId'] = $request->workspaceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SearchWorkspaceDocs', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/docs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchWorkspaceDocsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchWorkspaceDocsRequest $request * * @return SearchWorkspaceDocsResponse */ public function searchWorkspaceDocs($request) { $runtime = new RuntimeOptions([]); $headers = new SearchWorkspaceDocsHeaders([]); return $this->searchWorkspaceDocsWithOptions($request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param SetColumnWidthRequest $request * @param SetColumnWidthHeaders $headers * @param RuntimeOptions $runtime * * @return SetColumnWidthResponse */ public function setColumnWidthWithOptions($workbookId, $sheetId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->column)) { $body['column'] = $request->column; } if (!Utils::isUnset($request->width)) { $body['width'] = $request->width; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'SetColumnWidth', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/setColumnWidth', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SetColumnWidthResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param SetColumnWidthRequest $request * * @return SetColumnWidthResponse */ public function setColumnWidth($workbookId, $sheetId, $request) { $runtime = new RuntimeOptions([]); $headers = new SetColumnWidthHeaders([]); return $this->setColumnWidthWithOptions($workbookId, $sheetId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param SetColumnsVisibilityRequest $request * @param SetColumnsVisibilityHeaders $headers * @param RuntimeOptions $runtime * * @return SetColumnsVisibilityResponse */ public function setColumnsVisibilityWithOptions($workbookId, $sheetId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->column)) { $body['column'] = $request->column; } if (!Utils::isUnset($request->columnCount)) { $body['columnCount'] = $request->columnCount; } if (!Utils::isUnset($request->visibility)) { $body['visibility'] = $request->visibility; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'SetColumnsVisibility', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/setColumnsVisibility', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SetColumnsVisibilityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param SetColumnsVisibilityRequest $request * * @return SetColumnsVisibilityResponse */ public function setColumnsVisibility($workbookId, $sheetId, $request) { $runtime = new RuntimeOptions([]); $headers = new SetColumnsVisibilityHeaders([]); return $this->setColumnsVisibilityWithOptions($workbookId, $sheetId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param SetRowHeightRequest $request * @param SetRowHeightHeaders $headers * @param RuntimeOptions $runtime * * @return SetRowHeightResponse */ public function setRowHeightWithOptions($workbookId, $sheetId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->height)) { $body['height'] = $request->height; } if (!Utils::isUnset($request->row)) { $body['row'] = $request->row; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'SetRowHeight', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/setRowHeight', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SetRowHeightResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param SetRowHeightRequest $request * * @return SetRowHeightResponse */ public function setRowHeight($workbookId, $sheetId, $request) { $runtime = new RuntimeOptions([]); $headers = new SetRowHeightHeaders([]); return $this->setRowHeightWithOptions($workbookId, $sheetId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param SetRowsVisibilityRequest $request * @param SetRowsVisibilityHeaders $headers * @param RuntimeOptions $runtime * * @return SetRowsVisibilityResponse */ public function setRowsVisibilityWithOptions($workbookId, $sheetId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->row)) { $body['row'] = $request->row; } if (!Utils::isUnset($request->rowCount)) { $body['rowCount'] = $request->rowCount; } if (!Utils::isUnset($request->visibility)) { $body['visibility'] = $request->visibility; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'SetRowsVisibility', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/setRowsVisibility', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SetRowsVisibilityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param SetRowsVisibilityRequest $request * * @return SetRowsVisibilityResponse */ public function setRowsVisibility($workbookId, $sheetId, $request) { $runtime = new RuntimeOptions([]); $headers = new SetRowsVisibilityHeaders([]); return $this->setRowsVisibilityWithOptions($workbookId, $sheetId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param SheetAutofitRowsRequest $request * @param SheetAutofitRowsHeaders $headers * @param RuntimeOptions $runtime * * @return SheetAutofitRowsResponse */ public function sheetAutofitRowsWithOptions($workbookId, $sheetId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->fontWidth)) { $body['fontWidth'] = $request->fontWidth; } if (!Utils::isUnset($request->row)) { $body['row'] = $request->row; } if (!Utils::isUnset($request->rowCount)) { $body['rowCount'] = $request->rowCount; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'SheetAutofitRows', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/autofitRows', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SheetAutofitRowsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param SheetAutofitRowsRequest $request * * @return SheetAutofitRowsResponse */ public function sheetAutofitRows($workbookId, $sheetId, $request) { $runtime = new RuntimeOptions([]); $headers = new SheetAutofitRowsHeaders([]); return $this->sheetAutofitRowsWithOptions($workbookId, $sheetId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param SheetFindAllRequest $request * @param SheetFindAllHeaders $headers * @param RuntimeOptions $runtime * * @return SheetFindAllResponse */ public function sheetFindAllWithOptions($workbookId, $sheetId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->select)) { $query['select'] = $request->select; } $body = []; if (!Utils::isUnset($request->findOptions)) { $body['findOptions'] = $request->findOptions; } 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' => 'SheetFindAll', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/findAll', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SheetFindAllResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param SheetFindAllRequest $request * * @return SheetFindAllResponse */ public function sheetFindAll($workbookId, $sheetId, $request) { $runtime = new RuntimeOptions([]); $headers = new SheetFindAllHeaders([]); return $this->sheetFindAllWithOptions($workbookId, $sheetId, $request, $headers, $runtime); } /** * @param string $workbookId * @param UnbindCoolAppToSheetRequest $request * @param UnbindCoolAppToSheetHeaders $headers * @param RuntimeOptions $runtime * * @return UnbindCoolAppToSheetResponse */ public function unbindCoolAppToSheetWithOptions($workbookId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->coolAppCode)) { $query['coolAppCode'] = $request->coolAppCode; } 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' => 'UnbindCoolAppToSheet', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/coolApps', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UnbindCoolAppToSheetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param UnbindCoolAppToSheetRequest $request * * @return UnbindCoolAppToSheetResponse */ public function unbindCoolAppToSheet($workbookId, $request) { $runtime = new RuntimeOptions([]); $headers = new UnbindCoolAppToSheetHeaders([]); return $this->unbindCoolAppToSheetWithOptions($workbookId, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param UpdateRangeRequest $request * @param UpdateRangeHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateRangeResponse */ public function updateRangeWithOptions($workbookId, $sheetId, $rangeAddress, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->backgroundColors)) { $body['backgroundColors'] = $request->backgroundColors; } if (!Utils::isUnset($request->fontSizes)) { $body['fontSizes'] = $request->fontSizes; } if (!Utils::isUnset($request->fontWeights)) { $body['fontWeights'] = $request->fontWeights; } if (!Utils::isUnset($request->horizontalAlignments)) { $body['horizontalAlignments'] = $request->horizontalAlignments; } if (!Utils::isUnset($request->hyperlinks)) { $body['hyperlinks'] = $request->hyperlinks; } if (!Utils::isUnset($request->numberFormat)) { $body['numberFormat'] = $request->numberFormat; } if (!Utils::isUnset($request->values)) { $body['values'] = $request->values; } if (!Utils::isUnset($request->verticalAlignments)) { $body['verticalAlignments'] = $request->verticalAlignments; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdateRange', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '/ranges/' . $rangeAddress . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateRangeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param string $rangeAddress * @param UpdateRangeRequest $request * * @return UpdateRangeResponse */ public function updateRange($workbookId, $sheetId, $rangeAddress, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateRangeHeaders([]); return $this->updateRangeWithOptions($workbookId, $sheetId, $rangeAddress, $request, $headers, $runtime); } /** * @param string $workbookId * @param string $sheetId * @param UpdateSheetRequest $request * @param UpdateSheetHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateSheetResponse */ public function updateSheetWithOptions($workbookId, $sheetId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->visibility)) { $body['visibility'] = $request->visibility; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdateSheet', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workbooks/' . $workbookId . '/sheets/' . $sheetId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return UpdateSheetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workbookId * @param string $sheetId * @param UpdateSheetRequest $request * * @return UpdateSheetResponse */ public function updateSheet($workbookId, $sheetId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateSheetHeaders([]); return $this->updateSheetWithOptions($workbookId, $sheetId, $request, $headers, $runtime); } /** * @param string $workspaceId * @param string $nodeId * @param UpdateWorkspaceDocMembersRequest $request * @param UpdateWorkspaceDocMembersHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateWorkspaceDocMembersResponse */ public function updateWorkspaceDocMembersWithOptions($workspaceId, $nodeId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->operatorId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateWorkspaceDocMembers', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces/' . $workspaceId . '/docs/' . $nodeId . '/members', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return UpdateWorkspaceDocMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workspaceId * @param string $nodeId * @param UpdateWorkspaceDocMembersRequest $request * * @return UpdateWorkspaceDocMembersResponse */ public function updateWorkspaceDocMembers($workspaceId, $nodeId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateWorkspaceDocMembersHeaders([]); return $this->updateWorkspaceDocMembersWithOptions($workspaceId, $nodeId, $request, $headers, $runtime); } /** * @param string $workspaceId * @param UpdateWorkspaceMembersRequest $request * @param UpdateWorkspaceMembersHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateWorkspaceMembersResponse */ public function updateWorkspaceMembersWithOptions($workspaceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->operatorId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateWorkspaceMembers', 'version' => 'doc_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/doc/workspaces/' . $workspaceId . '/members', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return UpdateWorkspaceMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workspaceId * @param UpdateWorkspaceMembersRequest $request * * @return UpdateWorkspaceMembersResponse */ public function updateWorkspaceMembers($workspaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateWorkspaceMembersHeaders([]); return $this->updateWorkspaceMembersWithOptions($workspaceId, $request, $headers, $runtime); } } src/doc_1_0/Models/AddCommentHeaders.php000064400000002317146412132660014012 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddCommentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/AddCommentRequest.php000064400000003634146412132660014072 0ustar00 'commentContent', 'commentType' => 'commentType', 'option' => 'option', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commentContent) { $res['commentContent'] = $this->commentContent; } if (null !== $this->commentType) { $res['commentType'] = $this->commentType; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return AddCommentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commentContent'])) { $model->commentContent = $map['commentContent']; } if (isset($map['commentType'])) { $model->commentType = $map['commentType']; } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/AddCommentRequest/option.php000064400000002167146412132660015402 0ustar00 'createTime', 'extra' => 'extra', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->extra) { $res['extra'] = $this->extra; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['extra'])) { $model->extra = $map['extra']; } return $model; } } src/doc_1_0/Models/AddCommentResponse.php000064400000002701146412132660014232 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddCommentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddCommentResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/AddCommentResponseBody.php000064400000001471146412132660015053 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AddCommentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/doc_1_0/Models/AddWorkspaceDocMembersHeaders.php000064400000002347146412132660016312 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddWorkspaceDocMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/AddWorkspaceDocMembersRequest.php000064400000003315146412132660016363 0ustar00 'members', 'operatorId' => 'operatorId', ]; 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; } } } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return AddWorkspaceDocMembersRequest */ 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; } } } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/AddWorkspaceDocMembersRequest/members.php000064400000002632146412132660020016 0ustar00 'memberId', 'memberType' => 'memberType', 'roleType' => 'roleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->roleType) { $res['roleType'] = $this->roleType; } 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']; } if (isset($map['roleType'])) { $model->roleType = $map['roleType']; } return $model; } } src/doc_1_0/Models/AddWorkspaceDocMembersResponse.php000064400000002177146412132660016536 0ustar00 '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 AddWorkspaceDocMembersResponse */ 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/doc_1_0/Models/AddWorkspaceMembersHeaders.php000064400000002341146412132660015656 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddWorkspaceMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/AddWorkspaceMembersRequest.php000064400000003304146412132660015733 0ustar00 'members', 'operatorId' => 'operatorId', ]; 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; } } } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return AddWorkspaceMembersRequest */ 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; } } } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/AddWorkspaceMembersRequest/members.php000064400000002627146412132660017374 0ustar00 'memberId', 'memberType' => 'memberType', 'roleType' => 'roleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->roleType) { $res['roleType'] = $this->roleType; } 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']; } if (isset($map['roleType'])) { $model->roleType = $map['roleType']; } return $model; } } src/doc_1_0/Models/AddWorkspaceMembersResponse.php000064400000002745146412132660016111 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddWorkspaceMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddWorkspaceMembersResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/AddWorkspaceMembersResponseBody.php000064400000001676146412132660016731 0ustar00 'notInOrgList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->notInOrgList) { $res['notInOrgList'] = $this->notInOrgList; } return $res; } /** * @param array $map * * @return AddWorkspaceMembersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['notInOrgList'])) { if (!empty($map['notInOrgList'])) { $model->notInOrgList = $map['notInOrgList']; } } return $model; } } src/doc_1_0/Models/AppendRowsHeaders.php000064400000002317146412132660014061 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AppendRowsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/AppendRowsRequest.php000064400000002276146412132660014142 0ustar00 'values', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->values) { $res['values'] = $this->values; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return AppendRowsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['values'])) { if (!empty($map['values'])) { $model->values = $map['values']; } } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/AppendRowsResponse.php000064400000002147146412132660014305 0ustar00 '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 AppendRowsResponse */ 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/doc_1_0/Models/AttachmentsMapValue.php000064400000002721146412132660014410 0ustar00 'uploadKey', 'name' => 'name', 'mediaType' => 'mediaType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->uploadKey) { $res['uploadKey'] = $this->uploadKey; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->mediaType) { $res['mediaType'] = $this->mediaType; } return $res; } /** * @param array $map * * @return AttachmentsMapValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['uploadKey'])) { $model->uploadKey = $map['uploadKey']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['mediaType'])) { $model->mediaType = $map['mediaType']; } return $model; } } src/doc_1_0/Models/BatchGetWorkspaceDocsHeaders.php000064400000002345146412132660016151 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchGetWorkspaceDocsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/BatchGetWorkspaceDocsRequest.php000064400000002273146412132660016226 0ustar00 'nodeIds', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nodeIds) { $res['nodeIds'] = $this->nodeIds; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return BatchGetWorkspaceDocsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nodeIds'])) { if (!empty($map['nodeIds'])) { $model->nodeIds = $map['nodeIds']; } } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/BatchGetWorkspaceDocsResponse.php000064400000002755146412132660016401 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchGetWorkspaceDocsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchGetWorkspaceDocsResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/BatchGetWorkspaceDocsResponseBody.php000064400000002622146412132660017210 0ustar00 '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 BatchGetWorkspaceDocsResponseBody */ 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/doc_1_0/Models/BatchGetWorkspaceDocsResponseBody/result.php000064400000003411146412132660020523 0ustar00 'hasPermission', 'nodeBO' => 'nodeBO', 'workspaceBO' => 'workspaceBO', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasPermission) { $res['hasPermission'] = $this->hasPermission; } if (null !== $this->nodeBO) { $res['nodeBO'] = null !== $this->nodeBO ? $this->nodeBO->toMap() : null; } if (null !== $this->workspaceBO) { $res['workspaceBO'] = null !== $this->workspaceBO ? $this->workspaceBO->toMap() : null; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasPermission'])) { $model->hasPermission = $map['hasPermission']; } if (isset($map['nodeBO'])) { $model->nodeBO = nodeBO::fromMap($map['nodeBO']); } if (isset($map['workspaceBO'])) { $model->workspaceBO = workspaceBO::fromMap($map['workspaceBO']); } return $model; } } src/doc_1_0/Models/BatchGetWorkspaceDocsResponseBody/result/nodeBO.php000064400000004270146412132660021675 0ustar00 'deleted', 'docType' => 'docType', 'lastEditTime' => 'lastEditTime', 'name' => 'name', 'nodeId' => 'nodeId', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deleted) { $res['deleted'] = $this->deleted; } if (null !== $this->docType) { $res['docType'] = $this->docType; } if (null !== $this->lastEditTime) { $res['lastEditTime'] = $this->lastEditTime; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nodeId) { $res['nodeId'] = $this->nodeId; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return nodeBO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deleted'])) { $model->deleted = $map['deleted']; } if (isset($map['docType'])) { $model->docType = $map['docType']; } if (isset($map['lastEditTime'])) { $model->lastEditTime = $map['lastEditTime']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nodeId'])) { $model->nodeId = $map['nodeId']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/doc_1_0/Models/BatchGetWorkspaceDocsResponseBody/result/workspaceBO.php000064400000002165146412132660022747 0ustar00 'name', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return workspaceBO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/doc_1_0/Models/BatchGetWorkspacesHeaders.php000064400000002337146412132660015524 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchGetWorkspacesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/BatchGetWorkspacesRequest.php000064400000003063146412132660015576 0ustar00 'includeRecent', 'operatorId' => 'operatorId', 'workspaceIds' => 'workspaceIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->includeRecent) { $res['includeRecent'] = $this->includeRecent; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->workspaceIds) { $res['workspaceIds'] = $this->workspaceIds; } return $res; } /** * @param array $map * * @return BatchGetWorkspacesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['includeRecent'])) { $model->includeRecent = $map['includeRecent']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['workspaceIds'])) { if (!empty($map['workspaceIds'])) { $model->workspaceIds = $map['workspaceIds']; } } return $model; } } src/doc_1_0/Models/BatchGetWorkspacesResponse.php000064400000002741146412132660015746 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchGetWorkspacesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchGetWorkspacesResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/BatchGetWorkspacesResponseBody.php000064400000002721146412132660016562 0ustar00 'workspaces', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->workspaces) { $res['workspaces'] = []; if (null !== $this->workspaces && \is_array($this->workspaces)) { $n = 0; foreach ($this->workspaces as $item) { $res['workspaces'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchGetWorkspacesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['workspaces'])) { if (!empty($map['workspaces'])) { $model->workspaces = []; $n = 0; foreach ($map['workspaces'] as $item) { $model->workspaces[$n++] = null !== $item ? workspaces::fromMap($item) : $item; } } } return $model; } } src/doc_1_0/Models/BatchGetWorkspacesResponseBody/workspaces.php000064400000002511146412132660020740 0ustar00 'hasPermission', 'workspace' => 'workspace', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasPermission) { $res['hasPermission'] = $this->hasPermission; } if (null !== $this->workspace) { $res['workspace'] = null !== $this->workspace ? $this->workspace->toMap() : null; } return $res; } /** * @param array $map * * @return workspaces */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasPermission'])) { $model->hasPermission = $map['hasPermission']; } if (isset($map['workspace'])) { $model->workspace = workspace::fromMap($map['workspace']); } return $model; } } src/doc_1_0/Models/BatchGetWorkspacesResponseBody/workspaces/workspace.php000064400000005627146412132660022751 0ustar00 'createTime', 'name' => 'name', 'orgPublished' => 'orgPublished', 'recentList' => 'recentList', 'url' => 'url', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->orgPublished) { $res['orgPublished'] = $this->orgPublished; } if (null !== $this->recentList) { $res['recentList'] = []; if (null !== $this->recentList && \is_array($this->recentList)) { $n = 0; foreach ($this->recentList as $item) { $res['recentList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return workspace */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['orgPublished'])) { $model->orgPublished = $map['orgPublished']; } if (isset($map['recentList'])) { if (!empty($map['recentList'])) { $model->recentList = []; $n = 0; foreach ($map['recentList'] as $item) { $model->recentList[$n++] = null !== $item ? recentList::fromMap($item) : $item; } } } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/doc_1_0/Models/BatchGetWorkspacesResponseBody/workspaces/workspace/recentList.php000064400000003230146412132660025051 0ustar00 'lastEditTime', 'name' => 'name', 'nodeId' => 'nodeId', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastEditTime) { $res['lastEditTime'] = $this->lastEditTime; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nodeId) { $res['nodeId'] = $this->nodeId; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return recentList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastEditTime'])) { $model->lastEditTime = $map['lastEditTime']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nodeId'])) { $model->nodeId = $map['nodeId']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/doc_1_0/Models/BatchHeaders.php000064400000002305146412132660013015 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/BatchRequest.php000064400000003317146412132660013076 0ustar00 'requests', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requests) { $res['requests'] = []; if (null !== $this->requests && \is_array($this->requests)) { $n = 0; foreach ($this->requests as $item) { $res['requests'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return BatchRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requests'])) { if (!empty($map['requests'])) { $model->requests = []; $n = 0; foreach ($map['requests'] as $item) { $model->requests[$n++] = null !== $item ? requests::fromMap($item) : $item; } } } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/BatchRequest/requests.php000064400000002527146412132660014753 0ustar00 'body', 'method' => 'method', 'path' => 'path', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = $this->body; } if (null !== $this->method) { $res['method'] = $this->method; } if (null !== $this->path) { $res['path'] = $this->path; } return $res; } /** * @param array $map * * @return requests */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { $model->body = $map['body']; } if (isset($map['method'])) { $model->method = $map['method']; } if (isset($map['path'])) { $model->path = $map['path']; } return $model; } } src/doc_1_0/Models/BatchResponse.php000064400000002655146412132660013250 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/BatchResponseBody.php000064400000001603146412132660014056 0ustar00 'responses', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->responses) { $res['responses'] = $this->responses; } return $res; } /** * @param array $map * * @return BatchResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['responses'])) { if (!empty($map['responses'])) { $model->responses = $map['responses']; } } return $model; } } src/doc_1_0/Models/BindCoolAppToSheetHeaders.php000064400000002337146412132660015427 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BindCoolAppToSheetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/BindCoolAppToSheetRequest.php000064400000002335146412132660015502 0ustar00 'coolAppCode', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return BindCoolAppToSheetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/BindCoolAppToSheetResponse.php000064400000002741146412132660015651 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BindCoolAppToSheetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BindCoolAppToSheetResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/BindCoolAppToSheetResponseBody.php000064400000001545146412132660016470 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return BindCoolAppToSheetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/doc_1_0/Models/ClearDataHeaders.php000064400000002315146412132660013615 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ClearDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/ClearDataRequest.php000064400000001552146412132660013674 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return ClearDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/ClearDataResponse.php000064400000002675146412132660014051 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ClearDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ClearDataResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/ClearDataResponseBody.php000064400000001567146412132660014666 0ustar00 'a1Notation', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->a1Notation) { $res['a1Notation'] = $this->a1Notation; } return $res; } /** * @param array $map * * @return ClearDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['a1Notation'])) { $model->a1Notation = $map['a1Notation']; } return $model; } } src/doc_1_0/Models/ClearHeaders.php000064400000002305146412132660013022 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ClearHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/ClearRequest.php000064400000001542146412132660013101 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return ClearRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/ClearResponse.php000064400000002655146412132660013255 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ClearResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ClearResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/ClearResponseBody.php000064400000001557146412132660014073 0ustar00 'a1Notation', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->a1Notation) { $res['a1Notation'] = $this->a1Notation; } return $res; } /** * @param array $map * * @return ClearResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['a1Notation'])) { $model->a1Notation = $map['a1Notation']; } return $model; } } src/doc_1_0/Models/CreateConditionalFormattingRuleHeaders.php000064400000002371146412132660020251 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateConditionalFormattingRuleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/CreateConditionalFormattingRuleRequest.php000064400000004437146412132660020333 0ustar00 'cellStyle', 'duplicateCondition' => 'duplicateCondition', 'ranges' => 'ranges', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cellStyle) { $res['cellStyle'] = null !== $this->cellStyle ? $this->cellStyle->toMap() : null; } if (null !== $this->duplicateCondition) { $res['duplicateCondition'] = null !== $this->duplicateCondition ? $this->duplicateCondition->toMap() : null; } if (null !== $this->ranges) { $res['ranges'] = $this->ranges; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return CreateConditionalFormattingRuleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cellStyle'])) { $model->cellStyle = cellStyle::fromMap($map['cellStyle']); } if (isset($map['duplicateCondition'])) { $model->duplicateCondition = duplicateCondition::fromMap($map['duplicateCondition']); } if (isset($map['ranges'])) { if (!empty($map['ranges'])) { $model->ranges = $map['ranges']; } } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/CreateConditionalFormattingRuleRequest/cellStyle.php000064400000001620146412132660022262 0ustar00 'backgroundColor', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->backgroundColor) { $res['backgroundColor'] = $this->backgroundColor; } return $res; } /** * @param array $map * * @return cellStyle */ public static function fromMap($map = []) { $model = new self(); if (isset($map['backgroundColor'])) { $model->backgroundColor = $map['backgroundColor']; } return $model; } } src/doc_1_0/Models/CreateConditionalFormattingRuleRequest/duplicateCondition.php000064400000001543146412132660024147 0ustar00 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return duplicateCondition */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/doc_1_0/Models/CreateConditionalFormattingRuleResponse.php000064400000003025146412132660020471 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateConditionalFormattingRuleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateConditionalFormattingRuleResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/CreateConditionalFormattingRuleResponseBody.php000064400000001470146412132660021311 0ustar00 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return CreateConditionalFormattingRuleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/doc_1_0/Models/CreateDeveloperMetadataHeaders.php000064400000002351146412132660016507 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateDeveloperMetadataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/CreateDeveloperMetadataRequest.php000064400000004311146412132660016562 0ustar00 'associatedColumn', 'associatedRow' => 'associatedRow', 'value' => 'value', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->associatedColumn) { $res['associatedColumn'] = null !== $this->associatedColumn ? $this->associatedColumn->toMap() : null; } if (null !== $this->associatedRow) { $res['associatedRow'] = null !== $this->associatedRow ? $this->associatedRow->toMap() : null; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return CreateDeveloperMetadataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['associatedColumn'])) { $model->associatedColumn = associatedColumn::fromMap($map['associatedColumn']); } if (isset($map['associatedRow'])) { $model->associatedRow = associatedRow::fromMap($map['associatedRow']); } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/CreateDeveloperMetadataRequest/associatedColumn.php000064400000002110146412132660022052 0ustar00 'column', 'sheet' => 'sheet', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->column) { $res['column'] = $this->column; } if (null !== $this->sheet) { $res['sheet'] = $this->sheet; } return $res; } /** * @param array $map * * @return associatedColumn */ public static function fromMap($map = []) { $model = new self(); if (isset($map['column'])) { $model->column = $map['column']; } if (isset($map['sheet'])) { $model->sheet = $map['sheet']; } return $model; } } src/doc_1_0/Models/CreateDeveloperMetadataRequest/associatedRow.php000064400000002050146412132660021367 0ustar00 'row', 'sheet' => 'sheet', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->row) { $res['row'] = $this->row; } if (null !== $this->sheet) { $res['sheet'] = $this->sheet; } return $res; } /** * @param array $map * * @return associatedRow */ public static function fromMap($map = []) { $model = new self(); if (isset($map['row'])) { $model->row = $map['row']; } if (isset($map['sheet'])) { $model->sheet = $map['sheet']; } return $model; } } src/doc_1_0/Models/CreateDeveloperMetadataResponse.php000064400000002765146412132660016743 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateDeveloperMetadataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateDeveloperMetadataResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/CreateDeveloperMetadataResponseBody.php000064400000001450146412132660017547 0ustar00 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return CreateDeveloperMetadataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/doc_1_0/Models/CreateRangeProtectionHeaders.php000064400000002345146412132660016227 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateRangeProtectionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/CreateRangeProtectionRequest.php000064400000003465146412132660016310 0ustar00 'editableSetting', 'otherUserPermission' => 'otherUserPermission', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->editableSetting) { $res['editableSetting'] = null !== $this->editableSetting ? $this->editableSetting->toMap() : null; } if (null !== $this->otherUserPermission) { $res['otherUserPermission'] = $this->otherUserPermission; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return CreateRangeProtectionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['editableSetting'])) { $model->editableSetting = editableSetting::fromMap($map['editableSetting']); } if (isset($map['otherUserPermission'])) { $model->otherUserPermission = $map['otherUserPermission']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/CreateRangeProtectionRequest/editableSetting.php000064400000006403146412132660021412 0ustar00 'deleteColumns', 'deleteRows' => 'deleteRows', 'editCells' => 'editCells', 'formatCells' => 'formatCells', 'insertColumns' => 'insertColumns', 'insertRows' => 'insertRows', 'toggleColumnsVisibility' => 'toggleColumnsVisibility', 'toggleRowsVisibility' => 'toggleRowsVisibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deleteColumns) { $res['deleteColumns'] = $this->deleteColumns; } if (null !== $this->deleteRows) { $res['deleteRows'] = $this->deleteRows; } if (null !== $this->editCells) { $res['editCells'] = $this->editCells; } if (null !== $this->formatCells) { $res['formatCells'] = $this->formatCells; } if (null !== $this->insertColumns) { $res['insertColumns'] = $this->insertColumns; } if (null !== $this->insertRows) { $res['insertRows'] = $this->insertRows; } if (null !== $this->toggleColumnsVisibility) { $res['toggleColumnsVisibility'] = $this->toggleColumnsVisibility; } if (null !== $this->toggleRowsVisibility) { $res['toggleRowsVisibility'] = $this->toggleRowsVisibility; } return $res; } /** * @param array $map * * @return editableSetting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deleteColumns'])) { $model->deleteColumns = $map['deleteColumns']; } if (isset($map['deleteRows'])) { $model->deleteRows = $map['deleteRows']; } if (isset($map['editCells'])) { $model->editCells = $map['editCells']; } if (isset($map['formatCells'])) { $model->formatCells = $map['formatCells']; } if (isset($map['insertColumns'])) { $model->insertColumns = $map['insertColumns']; } if (isset($map['insertRows'])) { $model->insertRows = $map['insertRows']; } if (isset($map['toggleColumnsVisibility'])) { $model->toggleColumnsVisibility = $map['toggleColumnsVisibility']; } if (isset($map['toggleRowsVisibility'])) { $model->toggleRowsVisibility = $map['toggleRowsVisibility']; } return $model; } } src/doc_1_0/Models/CreateRangeProtectionResponse.php000064400000002755146412132660016457 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateRangeProtectionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateRangeProtectionResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/CreateRangeProtectionResponseBody.php000064400000001502146412132660017262 0ustar00 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return CreateRangeProtectionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/doc_1_0/Models/CreateSheetHeaders.php000064400000002321146412132660014166 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateSheetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/CreateSheetRequest.php000064400000002222146412132660014243 0ustar00 'name', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return CreateSheetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/CreateSheetResponse.php000064400000002705146412132660014417 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateSheetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateSheetResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/CreateSheetResponseBody.php000064400000002655146412132660015241 0ustar00 'id', 'name' => 'name', 'visibility' => 'visibility', ]; 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->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return CreateSheetResponseBody */ 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['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/doc_1_0/Models/CreateWorkspaceDocHeaders.php000064400000002337146412132660015511 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateWorkspaceDocHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/CreateWorkspaceDocRequest.php000064400000004472146412132660015570 0ustar00 'docType', 'name' => 'name', 'operatorId' => 'operatorId', 'parentNodeId' => 'parentNodeId', 'templateId' => 'templateId', 'templateType' => 'templateType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->docType) { $res['docType'] = $this->docType; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->parentNodeId) { $res['parentNodeId'] = $this->parentNodeId; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->templateType) { $res['templateType'] = $this->templateType; } return $res; } /** * @param array $map * * @return CreateWorkspaceDocRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['docType'])) { $model->docType = $map['docType']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['parentNodeId'])) { $model->parentNodeId = $map['parentNodeId']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['templateType'])) { $model->templateType = $map['templateType']; } return $model; } } src/doc_1_0/Models/CreateWorkspaceDocResponse.php000064400000002741146412132660015733 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateWorkspaceDocResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateWorkspaceDocResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/CreateWorkspaceDocResponseBody.php000064400000003703146412132660016550 0ustar00 'dentryUuid', 'docKey' => 'docKey', 'nodeId' => 'nodeId', 'url' => 'url', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryUuid) { $res['dentryUuid'] = $this->dentryUuid; } if (null !== $this->docKey) { $res['docKey'] = $this->docKey; } if (null !== $this->nodeId) { $res['nodeId'] = $this->nodeId; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return CreateWorkspaceDocResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryUuid'])) { $model->dentryUuid = $map['dentryUuid']; } if (isset($map['docKey'])) { $model->docKey = $map['docKey']; } if (isset($map['nodeId'])) { $model->nodeId = $map['nodeId']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/doc_1_0/Models/CreateWorkspaceHeaders.php000064400000002331146412132660015055 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateWorkspaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/CreateWorkspaceRequest.php000064400000002625146412132660015140 0ustar00 'description', 'name' => 'name', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return CreateWorkspaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/CreateWorkspaceResponse.php000064400000002725146412132660015307 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateWorkspaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateWorkspaceResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/CreateWorkspaceResponseBody.php000064400000003242146412132660016120 0ustar00 'description', 'name' => 'name', 'url' => 'url', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return CreateWorkspaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/doc_1_0/Models/DeleteColumnsHeaders.php000064400000002325146412132660014541 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteColumnsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/DeleteColumnsRequest.php000064400000002775146412132660014627 0ustar00 'column', 'columnCount' => 'columnCount', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->column) { $res['column'] = $this->column; } if (null !== $this->columnCount) { $res['columnCount'] = $this->columnCount; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DeleteColumnsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['column'])) { $model->column = $map['column']; } if (isset($map['columnCount'])) { $model->columnCount = $map['columnCount']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/DeleteColumnsResponse.php000064400000002715146412132660014767 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteColumnsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteColumnsResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/DeleteColumnsResponseBody.php000064400000001464146412132660015605 0ustar00 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return DeleteColumnsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/doc_1_0/Models/DeleteDropdownListsHeaders.php000064400000002341146412132660015732 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteDropdownListsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/DeleteDropdownListsRequest.php000064400000001621146412132660016007 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DeleteDropdownListsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/DeleteDropdownListsResponse.php000064400000002745146412132660016165 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteDropdownListsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteDropdownListsResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/DeleteDropdownListsResponseBody.php000064400000001550146412132660016774 0ustar00 'a1Notation', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->a1Notation) { $res['a1Notation'] = $this->a1Notation; } return $res; } /** * @param array $map * * @return DeleteDropdownListsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['a1Notation'])) { $model->a1Notation = $map['a1Notation']; } return $model; } } src/doc_1_0/Models/DeleteRangeProtectionHeaders.php000064400000002345146412132660016226 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteRangeProtectionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/DeleteRangeProtectionRequest.php000064400000001542146412132660016301 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DeleteRangeProtectionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/DeleteRangeProtectionResponse.php000064400000002755146412132660016456 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteRangeProtectionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteRangeProtectionResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/DeleteRangeProtectionResponseBody.php000064400000001606146412132660017266 0ustar00 'a1Notation', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->a1Notation) { $res['a1Notation'] = $this->a1Notation; } return $res; } /** * @param array $map * * @return DeleteRangeProtectionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['a1Notation'])) { $model->a1Notation = $map['a1Notation']; } return $model; } } src/doc_1_0/Models/DeleteRowsHeaders.php000064400000002317146412132660014054 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteRowsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/DeleteRowsRequest.php000064400000002676146412132660014141 0ustar00 'row', 'rowCount' => 'rowCount', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->row) { $res['row'] = $this->row; } if (null !== $this->rowCount) { $res['rowCount'] = $this->rowCount; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DeleteRowsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['row'])) { $model->row = $map['row']; } if (isset($map['rowCount'])) { $model->rowCount = $map['rowCount']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/DeleteRowsResponse.php000064400000002701146412132660014274 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteRowsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteRowsResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/DeleteRowsResponseBody.php000064400000001456146412132660015120 0ustar00 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return DeleteRowsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/doc_1_0/Models/DeleteSheetHeaders.php000064400000002321146412132660014165 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteSheetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/DeleteSheetRequest.php000064400000001556146412132660014253 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DeleteSheetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/DeleteSheetResponse.php000064400000002705146412132660014416 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteSheetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteSheetResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/DeleteSheetResponseBody.php000064400000001527146412132660015235 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteSheetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/doc_1_0/Models/DeleteWorkspaceDocHeaders.php000064400000002337146412132660015510 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteWorkspaceDocHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/DeleteWorkspaceDocMembersHeaders.php000064400000002355146412132660017023 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteWorkspaceDocMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/DeleteWorkspaceDocMembersRequest.php000064400000003326146412132660017077 0ustar00 'members', 'operatorId' => 'operatorId', ]; 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; } } } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DeleteWorkspaceDocMembersRequest */ 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; } } } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/DeleteWorkspaceDocMembersRequest/members.php000064400000002173146412132660020530 0ustar00 '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/doc_1_0/Models/DeleteWorkspaceDocMembersResponse.php000064400000002205146412132660017240 0ustar00 '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 DeleteWorkspaceDocMembersResponse */ 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/doc_1_0/Models/DeleteWorkspaceDocRequest.php000064400000001534146412132660015563 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DeleteWorkspaceDocRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/DeleteWorkspaceDocResponse.php000064400000002167146412132660015734 0ustar00 '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 DeleteWorkspaceDocResponse */ 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/doc_1_0/Models/DeleteWorkspaceMembersHeaders.php000064400000002347146412132660016376 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteWorkspaceMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/DeleteWorkspaceMembersRequest.php000064400000003315146412132660016447 0ustar00 'members', 'operatorId' => 'operatorId', ]; 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; } } } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DeleteWorkspaceMembersRequest */ 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; } } } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/DeleteWorkspaceMembersRequest/members.php000064400000002170146412132660020077 0ustar00 '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/doc_1_0/Models/DeleteWorkspaceMembersResponse.php000064400000002177146412132660016622 0ustar00 '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 DeleteWorkspaceMembersResponse */ 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/doc_1_0/Models/DocAppendParagraphHeaders.php000064400000002337146412132660015464 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DocAppendParagraphHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/DocAppendParagraphRequest.php000064400000003062146412132660015535 0ustar00 'elementType', 'properties' => 'properties', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->elementType) { $res['elementType'] = $this->elementType; } if (null !== $this->properties) { $res['properties'] = $this->properties; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DocAppendParagraphRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['elementType'])) { $model->elementType = $map['elementType']; } if (isset($map['properties'])) { $model->properties = $map['properties']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/DocAppendParagraphResponse.php000064400000002741146412132660015706 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DocAppendParagraphResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DocAppendParagraphResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/DocAppendParagraphResponseBody.php000064400000002347146412132660016526 0ustar00 '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 DocAppendParagraphResponseBody */ 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/doc_1_0/Models/DocAppendParagraphResponseBody/result.php000064400000001440146412132660020035 0ustar00 'data', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } return $model; } } src/doc_1_0/Models/DocAppendTextHeaders.php000064400000002325146412132660014500 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DocAppendTextHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/DocAppendTextRequest.php000064400000002220146412132660014547 0ustar00 'text', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->text) { $res['text'] = $this->text; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DocAppendTextRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['text'])) { $model->text = $map['text']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/DocAppendTextResponse.php000064400000002715146412132660014726 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DocAppendTextResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DocAppendTextResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/DocAppendTextResponseBody.php000064400000002330146412132660015535 0ustar00 '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 DocAppendTextResponseBody */ 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/doc_1_0/Models/DocAppendTextResponseBody/result.php000064400000001433146412132660017056 0ustar00 'data', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } return $model; } } src/doc_1_0/Models/DocBlocksQueryHeaders.php000064400000002327146412132660014671 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DocBlocksQueryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/DocBlocksQueryRequest.php000064400000003522146412132660014744 0ustar00 'blockType', 'endIndex' => 'endIndex', 'operatorId' => 'operatorId', 'startIndex' => 'startIndex', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->blockType) { $res['blockType'] = $this->blockType; } if (null !== $this->endIndex) { $res['endIndex'] = $this->endIndex; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->startIndex) { $res['startIndex'] = $this->startIndex; } return $res; } /** * @param array $map * * @return DocBlocksQueryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['blockType'])) { $model->blockType = $map['blockType']; } if (isset($map['endIndex'])) { $model->endIndex = $map['endIndex']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['startIndex'])) { $model->startIndex = $map['startIndex']; } return $model; } } src/doc_1_0/Models/DocBlocksQueryResponse.php000064400000002721146412132660015112 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DocBlocksQueryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DocBlocksQueryResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/DocBlocksQueryResponseBody.php000064400000002333146412132660015727 0ustar00 '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 DocBlocksQueryResponseBody */ 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/doc_1_0/Models/DocBlocksQueryResponseBody/result.php000064400000001526146412132660017250 0ustar00 'data', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { if (!empty($map['data'])) { $model->data = $map['data']; } } return $model; } } src/doc_1_0/Models/DocDeleteBlockHeaders.php000064400000002327146412132660014603 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DocDeleteBlockHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/DocDeleteBlockRequest.php000064400000001564146412132660014662 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DocDeleteBlockRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/DocDeleteBlockResponse.php000064400000002721146412132660015024 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DocDeleteBlockResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DocDeleteBlockResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/DocDeleteBlockResponseBody.php000064400000002333146412132660015641 0ustar00 '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 DocDeleteBlockResponseBody */ 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/doc_1_0/Models/DocDeleteBlockResponseBody/result.php000064400000001434146412132660017160 0ustar00 'data', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } return $model; } } src/doc_1_0/Models/DocInsertBlocksHeaders.php000064400000002331146412132660015023 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DocInsertBlocksHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/DocInsertBlocksRequest.php000064400000004065146412132660015106 0ustar00 'blockId', 'element' => 'element', 'index' => 'index', 'where' => 'where', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->blockId) { $res['blockId'] = $this->blockId; } if (null !== $this->element) { $res['element'] = $this->element; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->where) { $res['where'] = $this->where; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DocInsertBlocksRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['blockId'])) { $model->blockId = $map['blockId']; } if (isset($map['element'])) { $model->element = $map['element']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['where'])) { $model->where = $map['where']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/DocInsertBlocksResponse.php000064400000002725146412132660015255 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DocInsertBlocksResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DocInsertBlocksResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/DocInsertBlocksResponseBody.php000064400000002336146412132660016071 0ustar00 '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 DocInsertBlocksResponseBody */ 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/doc_1_0/Models/DocInsertBlocksResponseBody/result.php000064400000001435146412132660017406 0ustar00 'data', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } return $model; } } src/doc_1_0/Models/DocUpdateContentHeaders.php000064400000002333146412132660015200 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DocUpdateContentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/DocUpdateContentRequest.php000064400000002764146412132660015265 0ustar00 'content', 'dataType' => 'dataType', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->dataType) { $res['dataType'] = $this->dataType; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DocUpdateContentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['dataType'])) { $model->dataType = $map['dataType']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/DocUpdateContentResponse.php000064400000002731146412132660015425 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DocUpdateContentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DocUpdateContentResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/DocUpdateContentResponseBody.php000064400000001505146412132660016241 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DocUpdateContentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/doc_1_0/Models/GetAllSheetsHeaders.php000064400000002323146412132660014320 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAllSheetsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/GetAllSheetsRequest.php000064400000001560146412132660014377 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetAllSheetsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/GetAllSheetsResponse.php000064400000002711146412132660014544 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAllSheetsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAllSheetsResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/GetAllSheetsResponseBody.php000064400000002545146412132660015367 0ustar00 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->value) { $res['value'] = []; if (null !== $this->value && \is_array($this->value)) { $n = 0; foreach ($this->value as $item) { $res['value'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetAllSheetsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = []; $n = 0; foreach ($map['value'] as $item) { $model->value[$n++] = null !== $item ? value::fromMap($item) : $item; } } } return $model; } } src/doc_1_0/Models/GetAllSheetsResponseBody/value.php000064400000002105146412132660016473 0ustar00 '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 value */ 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/doc_1_0/Models/GetDeveloperMetadataHeaders.php000064400000002343146412132660016024 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDeveloperMetadataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/GetDeveloperMetadataRequest.php000064400000001540146412132660016077 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetDeveloperMetadataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/GetDeveloperMetadataResponse.php000064400000002751146412132660016252 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDeveloperMetadataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDeveloperMetadataResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/GetDeveloperMetadataResponseBody.php000064400000003545146412132660017072 0ustar00 'associatedColumn', 'associatedRow' => 'associatedRow', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->associatedColumn) { $res['associatedColumn'] = null !== $this->associatedColumn ? $this->associatedColumn->toMap() : null; } if (null !== $this->associatedRow) { $res['associatedRow'] = null !== $this->associatedRow ? $this->associatedRow->toMap() : null; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return GetDeveloperMetadataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['associatedColumn'])) { $model->associatedColumn = associatedColumn::fromMap($map['associatedColumn']); } if (isset($map['associatedRow'])) { $model->associatedRow = associatedRow::fromMap($map['associatedRow']); } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/doc_1_0/Models/GetDeveloperMetadataResponseBody/associatedColumn.php000064400000002134146412132660022360 0ustar00 'column', 'sheetId' => 'sheetId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->column) { $res['column'] = $this->column; } if (null !== $this->sheetId) { $res['sheetId'] = $this->sheetId; } return $res; } /** * @param array $map * * @return associatedColumn */ public static function fromMap($map = []) { $model = new self(); if (isset($map['column'])) { $model->column = $map['column']; } if (isset($map['sheetId'])) { $model->sheetId = $map['sheetId']; } return $model; } } src/doc_1_0/Models/GetDeveloperMetadataResponseBody/associatedRow.php000064400000002076146412132660021677 0ustar00 'row', 'sheetId' => 'sheetId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->row) { $res['row'] = $this->row; } if (null !== $this->sheetId) { $res['sheetId'] = $this->sheetId; } return $res; } /** * @param array $map * * @return associatedRow */ public static function fromMap($map = []) { $model = new self(); if (isset($map['row'])) { $model->row = $map['row']; } if (isset($map['sheetId'])) { $model->sheetId = $map['sheetId']; } return $model; } } src/doc_1_0/Models/GetRangeHeaders.php000064400000002313146412132660013467 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRangeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/GetRangeRequest.php000064400000002230146412132660013542 0ustar00 'operatorId', 'select' => 'select', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->select) { $res['select'] = $this->select; } return $res; } /** * @param array $map * * @return GetRangeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['select'])) { $model->select = $map['select']; } return $model; } } src/doc_1_0/Models/GetRangeResponse.php000064400000002671146412132660013721 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRangeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRangeResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/GetRangeResponseBody.php000064400000007334146412132660014540 0ustar00 'backgroundColors', 'displayValues' => 'displayValues', 'fontSizes' => 'fontSizes', 'fontWeights' => 'fontWeights', 'formulas' => 'formulas', 'horizontalAlignments' => 'horizontalAlignments', 'values' => 'values', 'verticalAlignments' => 'verticalAlignments', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->backgroundColors) { $res['backgroundColors'] = $this->backgroundColors; } if (null !== $this->displayValues) { $res['displayValues'] = $this->displayValues; } if (null !== $this->fontSizes) { $res['fontSizes'] = $this->fontSizes; } if (null !== $this->fontWeights) { $res['fontWeights'] = $this->fontWeights; } if (null !== $this->formulas) { $res['formulas'] = $this->formulas; } if (null !== $this->horizontalAlignments) { $res['horizontalAlignments'] = $this->horizontalAlignments; } if (null !== $this->values) { $res['values'] = $this->values; } if (null !== $this->verticalAlignments) { $res['verticalAlignments'] = $this->verticalAlignments; } return $res; } /** * @param array $map * * @return GetRangeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['backgroundColors'])) { if (!empty($map['backgroundColors'])) { $model->backgroundColors = $map['backgroundColors']; } } if (isset($map['displayValues'])) { if (!empty($map['displayValues'])) { $model->displayValues = $map['displayValues']; } } if (isset($map['fontSizes'])) { if (!empty($map['fontSizes'])) { $model->fontSizes = $map['fontSizes']; } } if (isset($map['fontWeights'])) { if (!empty($map['fontWeights'])) { $model->fontWeights = $map['fontWeights']; } } if (isset($map['formulas'])) { if (!empty($map['formulas'])) { $model->formulas = $map['formulas']; } } if (isset($map['horizontalAlignments'])) { if (!empty($map['horizontalAlignments'])) { $model->horizontalAlignments = $map['horizontalAlignments']; } } if (isset($map['values'])) { if (!empty($map['values'])) { $model->values = $map['values']; } } if (isset($map['verticalAlignments'])) { if (!empty($map['verticalAlignments'])) { $model->verticalAlignments = $map['verticalAlignments']; } } return $model; } } src/doc_1_0/Models/GetRangeResponseBody/backgroundColors.php000064400000003336146412132660020037 0ustar00 'red', 'green' => 'green', 'blue' => 'blue', 'hexString' => 'hexString', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->red) { $res['red'] = $this->red; } if (null !== $this->green) { $res['green'] = $this->green; } if (null !== $this->blue) { $res['blue'] = $this->blue; } if (null !== $this->hexString) { $res['hexString'] = $this->hexString; } return $res; } /** * @param array $map * * @return backgroundColors */ public static function fromMap($map = []) { $model = new self(); if (isset($map['red'])) { $model->red = $map['red']; } if (isset($map['green'])) { $model->green = $map['green']; } if (isset($map['blue'])) { $model->blue = $map['blue']; } if (isset($map['hexString'])) { $model->hexString = $map['hexString']; } return $model; } } src/doc_1_0/Models/GetRecentEditDocsHeaders.php000064400000002335146412132660015276 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRecentEditDocsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/GetRecentEditDocsRequest.php000064400000002663146412132660015357 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'operatorId' => 'operatorId', ]; 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->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetRecentEditDocsRequest */ 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['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/GetRecentEditDocsResponse.php000064400000002735146412132660015525 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRecentEditDocsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRecentEditDocsResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/GetRecentEditDocsResponseBody.php000064400000003370146412132660016337 0ustar00 'nextToken', 'recentList' => 'recentList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->recentList) { $res['recentList'] = []; if (null !== $this->recentList && \is_array($this->recentList)) { $n = 0; foreach ($this->recentList as $item) { $res['recentList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetRecentEditDocsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['recentList'])) { if (!empty($map['recentList'])) { $model->recentList = []; $n = 0; foreach ($map['recentList'] as $item) { $model->recentList[$n++] = null !== $item ? recentList::fromMap($item) : $item; } } } return $model; } } src/doc_1_0/Models/GetRecentEditDocsResponseBody/recentList.php000064400000002676146412132660020463 0ustar00 'nodeBO', 'workspaceBO' => 'workspaceBO', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nodeBO) { $res['nodeBO'] = null !== $this->nodeBO ? $this->nodeBO->toMap() : null; } if (null !== $this->workspaceBO) { $res['workspaceBO'] = null !== $this->workspaceBO ? $this->workspaceBO->toMap() : null; } return $res; } /** * @param array $map * * @return recentList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nodeBO'])) { $model->nodeBO = nodeBO::fromMap($map['nodeBO']); } if (isset($map['workspaceBO'])) { $model->workspaceBO = workspaceBO::fromMap($map['workspaceBO']); } return $model; } } src/doc_1_0/Models/GetRecentEditDocsResponseBody/recentList/nodeBO.php000064400000005512146412132660021621 0ustar00 'createTime', 'docType' => 'docType', 'isDeleted' => 'isDeleted', 'lastEditTime' => 'lastEditTime', 'nodeId' => 'nodeId', 'nodeName' => 'nodeName', 'updateTime' => 'updateTime', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->docType) { $res['docType'] = $this->docType; } if (null !== $this->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->lastEditTime) { $res['lastEditTime'] = $this->lastEditTime; } if (null !== $this->nodeId) { $res['nodeId'] = $this->nodeId; } if (null !== $this->nodeName) { $res['nodeName'] = $this->nodeName; } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return nodeBO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['docType'])) { $model->docType = $map['docType']; } if (isset($map['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['lastEditTime'])) { $model->lastEditTime = $map['lastEditTime']; } if (isset($map['nodeId'])) { $model->nodeId = $map['nodeId']; } if (isset($map['nodeName'])) { $model->nodeName = $map['nodeName']; } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/doc_1_0/Models/GetRecentEditDocsResponseBody/recentList/workspaceBO.php000064400000002676146412132660022702 0ustar00 'url', 'workspaceId' => 'workspaceId', 'workspaceName' => 'workspaceName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } if (null !== $this->workspaceName) { $res['workspaceName'] = $this->workspaceName; } return $res; } /** * @param array $map * * @return workspaceBO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } if (isset($map['workspaceName'])) { $model->workspaceName = $map['workspaceName']; } return $model; } } src/doc_1_0/Models/GetRecentOpenDocsHeaders.php000064400000002335146412132660015312 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRecentOpenDocsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/GetRecentOpenDocsRequest.php000064400000002663146412132660015373 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'operatorId' => 'operatorId', ]; 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->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetRecentOpenDocsRequest */ 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['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/GetRecentOpenDocsResponse.php000064400000002735146412132660015541 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRecentOpenDocsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRecentOpenDocsResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/GetRecentOpenDocsResponseBody.php000064400000003370146412132660016353 0ustar00 'nextToken', 'recentList' => 'recentList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->recentList) { $res['recentList'] = []; if (null !== $this->recentList && \is_array($this->recentList)) { $n = 0; foreach ($this->recentList as $item) { $res['recentList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetRecentOpenDocsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['recentList'])) { if (!empty($map['recentList'])) { $model->recentList = []; $n = 0; foreach ($map['recentList'] as $item) { $model->recentList[$n++] = null !== $item ? recentList::fromMap($item) : $item; } } } return $model; } } src/doc_1_0/Models/GetRecentOpenDocsResponseBody/recentList.php000064400000002676146412132660020477 0ustar00 'nodeBO', 'workspaceBO' => 'workspaceBO', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nodeBO) { $res['nodeBO'] = null !== $this->nodeBO ? $this->nodeBO->toMap() : null; } if (null !== $this->workspaceBO) { $res['workspaceBO'] = null !== $this->workspaceBO ? $this->workspaceBO->toMap() : null; } return $res; } /** * @param array $map * * @return recentList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nodeBO'])) { $model->nodeBO = nodeBO::fromMap($map['nodeBO']); } if (isset($map['workspaceBO'])) { $model->workspaceBO = workspaceBO::fromMap($map['workspaceBO']); } return $model; } } src/doc_1_0/Models/GetRecentOpenDocsResponseBody/recentList/nodeBO.php000064400000005512146412132660021635 0ustar00 'createTime', 'docType' => 'docType', 'isDeleted' => 'isDeleted', 'lastOpenTime' => 'lastOpenTime', 'nodeId' => 'nodeId', 'nodeName' => 'nodeName', 'updateTime' => 'updateTime', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->docType) { $res['docType'] = $this->docType; } if (null !== $this->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->lastOpenTime) { $res['lastOpenTime'] = $this->lastOpenTime; } if (null !== $this->nodeId) { $res['nodeId'] = $this->nodeId; } if (null !== $this->nodeName) { $res['nodeName'] = $this->nodeName; } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return nodeBO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['docType'])) { $model->docType = $map['docType']; } if (isset($map['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['lastOpenTime'])) { $model->lastOpenTime = $map['lastOpenTime']; } if (isset($map['nodeId'])) { $model->nodeId = $map['nodeId']; } if (isset($map['nodeName'])) { $model->nodeName = $map['nodeName']; } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/doc_1_0/Models/GetRecentOpenDocsResponseBody/recentList/workspaceBO.php000064400000002676146412132660022716 0ustar00 'url', 'workspaceId' => 'workspaceId', 'workspaceName' => 'workspaceName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } if (null !== $this->workspaceName) { $res['workspaceName'] = $this->workspaceName; } return $res; } /** * @param array $map * * @return workspaceBO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } if (isset($map['workspaceName'])) { $model->workspaceName = $map['workspaceName']; } return $model; } } src/doc_1_0/Models/GetRelatedWorkspacesHeaders.php000064400000002343146412132660016060 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRelatedWorkspacesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/GetRelatedWorkspacesRequest.php000064400000002256146412132660016140 0ustar00 'includeRecent', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->includeRecent) { $res['includeRecent'] = $this->includeRecent; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetRelatedWorkspacesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['includeRecent'])) { $model->includeRecent = $map['includeRecent']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/GetRelatedWorkspacesResponse.php000064400000002751146412132660016306 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRelatedWorkspacesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRelatedWorkspacesResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/GetRelatedWorkspacesResponseBody.php000064400000002727146412132660017127 0ustar00 'workspaces', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->workspaces) { $res['workspaces'] = []; if (null !== $this->workspaces && \is_array($this->workspaces)) { $n = 0; foreach ($this->workspaces as $item) { $res['workspaces'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetRelatedWorkspacesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['workspaces'])) { if (!empty($map['workspaces'])) { $model->workspaces = []; $n = 0; foreach ($map['workspaces'] as $item) { $model->workspaces[$n++] = null !== $item ? workspaces::fromMap($item) : $item; } } } return $model; } } src/doc_1_0/Models/GetRelatedWorkspacesResponseBody/workspaces.php000064400000006765146412132660021316 0ustar00 'createTime', 'deleted' => 'deleted', 'name' => 'name', 'owner' => 'owner', 'recentList' => 'recentList', 'role' => 'role', 'url' => 'url', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->deleted) { $res['deleted'] = $this->deleted; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->owner) { $res['owner'] = $this->owner; } if (null !== $this->recentList) { $res['recentList'] = []; if (null !== $this->recentList && \is_array($this->recentList)) { $n = 0; foreach ($this->recentList as $item) { $res['recentList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return workspaces */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['deleted'])) { $model->deleted = $map['deleted']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['owner'])) { $model->owner = $map['owner']; } if (isset($map['recentList'])) { if (!empty($map['recentList'])) { $model->recentList = []; $n = 0; foreach ($map['recentList'] as $item) { $model->recentList[$n++] = null !== $item ? recentList::fromMap($item) : $item; } } } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/doc_1_0/Models/GetRelatedWorkspacesResponseBody/workspaces/recentList.php000064400000003215146412132660023415 0ustar00 'lastEditTime', 'name' => 'name', 'nodeId' => 'nodeId', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastEditTime) { $res['lastEditTime'] = $this->lastEditTime; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nodeId) { $res['nodeId'] = $this->nodeId; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return recentList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastEditTime'])) { $model->lastEditTime = $map['lastEditTime']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nodeId'])) { $model->nodeId = $map['nodeId']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/doc_1_0/Models/GetSheetHeaders.php000064400000002313146412132660013503 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSheetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/GetSheetRequest.php000064400000001550146412132660013562 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetSheetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/GetSheetResponse.php000064400000002671146412132660013735 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSheetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSheetResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/GetSheetResponseBody.php000064400000005627146412132660014557 0ustar00 'columnCount', 'id' => 'id', 'lastNonEmptyColumn' => 'lastNonEmptyColumn', 'lastNonEmptyRow' => 'lastNonEmptyRow', 'name' => 'name', 'rowCount' => 'rowCount', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->columnCount) { $res['columnCount'] = $this->columnCount; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->lastNonEmptyColumn) { $res['lastNonEmptyColumn'] = $this->lastNonEmptyColumn; } if (null !== $this->lastNonEmptyRow) { $res['lastNonEmptyRow'] = $this->lastNonEmptyRow; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->rowCount) { $res['rowCount'] = $this->rowCount; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return GetSheetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['columnCount'])) { $model->columnCount = $map['columnCount']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['lastNonEmptyColumn'])) { $model->lastNonEmptyColumn = $map['lastNonEmptyColumn']; } if (isset($map['lastNonEmptyRow'])) { $model->lastNonEmptyRow = $map['lastNonEmptyRow']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['rowCount'])) { $model->rowCount = $map['rowCount']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/doc_1_0/Models/GetTemplateByIdHeaders.php000064400000002331146412132660014756 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTemplateByIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/GetTemplateByIdRequest.php000064400000002150146412132660015032 0ustar00 'belong', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->belong) { $res['belong'] = $this->belong; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetTemplateByIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['belong'])) { $model->belong = $map['belong']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/GetTemplateByIdResponse.php000064400000002725146412132660015210 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTemplateByIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTemplateByIdResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/GetTemplateByIdResponseBody.php000064400000005520146412132660016022 0ustar00 'coverUrl', 'createTime' => 'createTime', 'docType' => 'docType', 'id' => 'id', 'templateType' => 'templateType', 'title' => 'title', 'updateTime' => 'updateTime', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->docType) { $res['docType'] = $this->docType; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->templateType) { $res['templateType'] = $this->templateType; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return GetTemplateByIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['docType'])) { $model->docType = $map['docType']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['templateType'])) { $model->templateType = $map['templateType']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/doc_1_0/Models/GetWorkspaceHeaders.php000064400000002323146412132660014372 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetWorkspaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/GetWorkspaceNodeHeaders.php000064400000002333146412132660015201 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetWorkspaceNodeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/GetWorkspaceNodeRequest.php000064400000001530146412132660015254 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetWorkspaceNodeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/GetWorkspaceNodeResponse.php000064400000002731146412132660015426 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetWorkspaceNodeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetWorkspaceNodeResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/GetWorkspaceNodeResponseBody.php000064400000003373146412132660016247 0ustar00 'hasPermission', 'nodeBO' => 'nodeBO', 'workspaceBO' => 'workspaceBO', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasPermission) { $res['hasPermission'] = $this->hasPermission; } if (null !== $this->nodeBO) { $res['nodeBO'] = null !== $this->nodeBO ? $this->nodeBO->toMap() : null; } if (null !== $this->workspaceBO) { $res['workspaceBO'] = null !== $this->workspaceBO ? $this->workspaceBO->toMap() : null; } return $res; } /** * @param array $map * * @return GetWorkspaceNodeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasPermission'])) { $model->hasPermission = $map['hasPermission']; } if (isset($map['nodeBO'])) { $model->nodeBO = nodeBO::fromMap($map['nodeBO']); } if (isset($map['workspaceBO'])) { $model->workspaceBO = workspaceBO::fromMap($map['workspaceBO']); } return $model; } } src/doc_1_0/Models/GetWorkspaceNodeResponseBody/nodeBO.php000064400000003622146412132660017412 0ustar00 'docType', 'lastEditTime' => 'lastEditTime', 'name' => 'name', 'nodeId' => 'nodeId', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->docType) { $res['docType'] = $this->docType; } if (null !== $this->lastEditTime) { $res['lastEditTime'] = $this->lastEditTime; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nodeId) { $res['nodeId'] = $this->nodeId; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return nodeBO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['docType'])) { $model->docType = $map['docType']; } if (isset($map['lastEditTime'])) { $model->lastEditTime = $map['lastEditTime']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nodeId'])) { $model->nodeId = $map['nodeId']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/doc_1_0/Models/GetWorkspaceNodeResponseBody/workspaceBO.php000064400000002151146412132660020457 0ustar00 'name', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return workspaceBO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/doc_1_0/Models/GetWorkspaceResponse.php000064400000002711146412132660014616 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetWorkspaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetWorkspaceResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/GetWorkspaceResponseBody.php000064400000003266146412132660015442 0ustar00 'isDeleted', 'owner' => 'owner', 'rootDentryUuid' => 'rootDentryUuid', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->owner) { $res['owner'] = $this->owner; } if (null !== $this->rootDentryUuid) { $res['rootDentryUuid'] = $this->rootDentryUuid; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return GetWorkspaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['owner'])) { $model->owner = $map['owner']; } if (isset($map['rootDentryUuid'])) { $model->rootDentryUuid = $map['rootDentryUuid']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/doc_1_0/Models/InitDocumentHeaders.php000064400000002323146412132660014376 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InitDocumentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/InitDocumentRequest.php000064400000004233146412132660014455 0ustar00 'attachmentsMap', 'importType' => 'importType', 'linksKey' => 'linksKey', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachmentsMap) { $res['attachmentsMap'] = []; if (null !== $this->attachmentsMap && \is_array($this->attachmentsMap)) { foreach ($this->attachmentsMap as $key => $val) { $res['attachmentsMap'][$key] = null !== $val ? $val->toMap() : $val; } } } if (null !== $this->importType) { $res['importType'] = $this->importType; } if (null !== $this->linksKey) { $res['linksKey'] = $this->linksKey; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return InitDocumentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachmentsMap'])) { $model->attachmentsMap = $map['attachmentsMap']; } if (isset($map['importType'])) { $model->importType = $map['importType']; } if (isset($map['linksKey'])) { $model->linksKey = $map['linksKey']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/InitDocumentResponse.php000064400000002711146412132660014622 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InitDocumentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InitDocumentResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/InitDocumentResponseBody.php000064400000001475146412132660015446 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return InitDocumentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/doc_1_0/Models/InsertBlocksHeaders.php000064400000002323146412132660014376 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InsertBlocksHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/InsertBlocksRequest.php000064400000004114146412132660014453 0ustar00 'blocks', 'location' => 'location', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->blocks) { $res['blocks'] = []; if (null !== $this->blocks && \is_array($this->blocks)) { $n = 0; foreach ($this->blocks as $item) { $res['blocks'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->location) { $res['location'] = null !== $this->location ? $this->location->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return InsertBlocksRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['blocks'])) { if (!empty($map['blocks'])) { $model->blocks = []; $n = 0; foreach ($map['blocks'] as $item) { $model->blocks[$n++] = null !== $item ? blocks::fromMap($item) : $item; } } } if (isset($map['location'])) { $model->location = location::fromMap($map['location']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/InsertBlocksRequest/blocks.php000064400000002401146412132660015725 0ustar00 'blockType', 'paragraph' => 'paragraph', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->blockType) { $res['blockType'] = $this->blockType; } if (null !== $this->paragraph) { $res['paragraph'] = null !== $this->paragraph ? $this->paragraph->toMap() : null; } return $res; } /** * @param array $map * * @return blocks */ public static function fromMap($map = []) { $model = new self(); if (isset($map['blockType'])) { $model->blockType = $map['blockType']; } if (isset($map['paragraph'])) { $model->paragraph = paragraph::fromMap($map['paragraph']); } return $model; } } src/doc_1_0/Models/InsertBlocksRequest/blocks/paragraph.php000064400000003475146412132660017706 0ustar00 'children', 'style' => 'style', ]; 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->style) { $res['style'] = null !== $this->style ? $this->style->toMap() : null; } return $res; } /** * @param array $map * * @return paragraph */ 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['style'])) { $model->style = style::fromMap($map['style']); } return $model; } } src/doc_1_0/Models/InsertBlocksRequest/blocks/paragraph/children.php000064400000002401146412132660021462 0ustar00 'elementType', 'text' => 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->elementType) { $res['elementType'] = $this->elementType; } if (null !== $this->text) { $res['text'] = null !== $this->text ? $this->text->toMap() : null; } return $res; } /** * @param array $map * * @return children */ public static function fromMap($map = []) { $model = new self(); if (isset($map['elementType'])) { $model->elementType = $map['elementType']; } if (isset($map['text'])) { $model->text = text::fromMap($map['text']); } return $model; } } src/doc_1_0/Models/InsertBlocksRequest/blocks/paragraph/children/text.php000064400000002437146412132660022457 0ustar00 'content', 'textStyle' => 'textStyle', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->textStyle) { $res['textStyle'] = null !== $this->textStyle ? $this->textStyle->toMap() : null; } return $res; } /** * @param array $map * * @return text */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['textStyle'])) { $model->textStyle = textStyle::fromMap($map['textStyle']); } return $model; } } src/doc_1_0/Models/InsertBlocksRequest/blocks/paragraph/children/text/textStyle.php000064400000003230146412132660024454 0ustar00 'bold', 'dataType' => 'dataType', 'fontSize' => 'fontSize', 'sizeUnit' => 'sizeUnit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bold) { $res['bold'] = $this->bold; } if (null !== $this->dataType) { $res['dataType'] = $this->dataType; } if (null !== $this->fontSize) { $res['fontSize'] = $this->fontSize; } if (null !== $this->sizeUnit) { $res['sizeUnit'] = $this->sizeUnit; } return $res; } /** * @param array $map * * @return textStyle */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bold'])) { $model->bold = $map['bold']; } if (isset($map['dataType'])) { $model->dataType = $map['dataType']; } if (isset($map['fontSize'])) { $model->fontSize = $map['fontSize']; } if (isset($map['sizeUnit'])) { $model->sizeUnit = $map['sizeUnit']; } return $model; } } src/doc_1_0/Models/InsertBlocksRequest/blocks/paragraph/style.php000064400000001553146412132660021041 0ustar00 'headingLevel', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headingLevel) { $res['headingLevel'] = $this->headingLevel; } return $res; } /** * @param array $map * * @return style */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headingLevel'])) { $model->headingLevel = $map['headingLevel']; } return $model; } } src/doc_1_0/Models/InsertBlocksRequest/location.php000064400000001426146412132660016266 0ustar00 'head', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->head) { $res['head'] = $this->head; } return $res; } /** * @param array $map * * @return location */ public static function fromMap($map = []) { $model = new self(); if (isset($map['head'])) { $model->head = $map['head']; } return $model; } } src/doc_1_0/Models/InsertBlocksResponse.php000064400000002153146412132660014622 0ustar00 '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 InsertBlocksResponse */ 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/doc_1_0/Models/InsertColumnsBeforeHeaders.php000064400000002341146412132660015724 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InsertColumnsBeforeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/InsertColumnsBeforeRequest.php000064400000003011146412132660015774 0ustar00 'column', 'columnCount' => 'columnCount', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->column) { $res['column'] = $this->column; } if (null !== $this->columnCount) { $res['columnCount'] = $this->columnCount; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return InsertColumnsBeforeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['column'])) { $model->column = $map['column']; } if (isset($map['columnCount'])) { $model->columnCount = $map['columnCount']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/InsertColumnsBeforeResponse.php000064400000002745146412132660016157 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InsertColumnsBeforeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InsertColumnsBeforeResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/InsertColumnsBeforeResponseBody.php000064400000001500146412132660016761 0ustar00 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return InsertColumnsBeforeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/doc_1_0/Models/InsertDropdownListsHeaders.php000064400000002341146412132660015774 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InsertDropdownListsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/InsertDropdownListsRequest.php000064400000003367146412132660016062 0ustar00 'options', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; 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->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return InsertDropdownListsRequest */ public static function fromMap($map = []) { $model = new self(); 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['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/InsertDropdownListsRequest/options.php000064400000002053146412132660017544 0ustar00 'color', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->color) { $res['color'] = $this->color; } 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['color'])) { $model->color = $map['color']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/doc_1_0/Models/InsertDropdownListsResponse.php000064400000002745146412132660016227 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InsertDropdownListsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InsertDropdownListsResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/InsertDropdownListsResponseBody.php000064400000001550146412132660017036 0ustar00 'a1Notation', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->a1Notation) { $res['a1Notation'] = $this->a1Notation; } return $res; } /** * @param array $map * * @return InsertDropdownListsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['a1Notation'])) { $model->a1Notation = $map['a1Notation']; } return $model; } } src/doc_1_0/Models/InsertRowsBeforeHeaders.php000064400000002333146412132660015237 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InsertRowsBeforeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/InsertRowsBeforeRequest.php000064400000002712146412132660015315 0ustar00 'row', 'rowCount' => 'rowCount', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->row) { $res['row'] = $this->row; } if (null !== $this->rowCount) { $res['rowCount'] = $this->rowCount; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return InsertRowsBeforeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['row'])) { $model->row = $map['row']; } if (isset($map['rowCount'])) { $model->rowCount = $map['rowCount']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/InsertRowsBeforeResponse.php000064400000002731146412132660015464 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InsertRowsBeforeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InsertRowsBeforeResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/InsertRowsBeforeResponseBody.php000064400000001472146412132660016303 0ustar00 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return InsertRowsBeforeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/doc_1_0/Models/ListTemplateHeaders.php000064400000002323146412132660014403 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/ListTemplateRequest.php000064400000004057146412132660014466 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'operatorId' => 'operatorId', 'templateType' => 'templateType', 'workspaceId' => 'workspaceId', ]; 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->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->templateType) { $res['templateType'] = $this->templateType; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return ListTemplateRequest */ 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['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['templateType'])) { $model->templateType = $map['templateType']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/doc_1_0/Models/ListTemplateResponse.php000064400000002711146412132660014627 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListTemplateResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/ListTemplateResponseBody.php000064400000004051146412132660015444 0ustar00 'hasMore', 'nextToken' => 'nextToken', 'templateList' => 'templateList', ]; 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->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 ListTemplateResponseBody */ 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['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/doc_1_0/Models/ListTemplateResponseBody/templateList.php000064400000005513146412132660020117 0ustar00 'coverUrl', 'createTime' => 'createTime', 'docType' => 'docType', 'id' => 'id', 'templateType' => 'templateType', 'title' => 'title', 'updateTime' => 'updateTime', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->docType) { $res['docType'] = $this->docType; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->templateType) { $res['templateType'] = $this->templateType; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return templateList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['docType'])) { $model->docType = $map['docType']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['templateType'])) { $model->templateType = $map['templateType']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/doc_1_0/Models/MergeRangeHeaders.php000064400000002317146412132660014013 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MergeRangeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/MergeRangeRequest.php000064400000001577146412132660014077 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return MergeRangeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/MergeRangeResponse.php000064400000002701146412132660014233 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MergeRangeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = MergeRangeResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/MergeRangeResponseBody.php000064400000001526146412132660015055 0ustar00 'a1Notation', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->a1Notation) { $res['a1Notation'] = $this->a1Notation; } return $res; } /** * @param array $map * * @return MergeRangeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['a1Notation'])) { $model->a1Notation = $map['a1Notation']; } return $model; } } src/doc_1_0/Models/RangeFindNextHeaders.php000064400000002325146412132660014472 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RangeFindNextHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/RangeFindNextRequest.php000064400000003112146412132660014542 0ustar00 'findOptions', 'text' => 'text', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->findOptions) { $res['findOptions'] = null !== $this->findOptions ? $this->findOptions->toMap() : null; } if (null !== $this->text) { $res['text'] = $this->text; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return RangeFindNextRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['findOptions'])) { $model->findOptions = findOptions::fromMap($map['findOptions']); } if (isset($map['text'])) { $model->text = $map['text']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/RangeFindNextRequest/findOptions.php000064400000005021146412132660017037 0ustar00 'includeHidden', 'matchCase' => 'matchCase', 'matchEntireCell' => 'matchEntireCell', 'matchFormulaText' => 'matchFormulaText', 'scope' => 'scope', 'useRegExp' => 'useRegExp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->includeHidden) { $res['includeHidden'] = $this->includeHidden; } if (null !== $this->matchCase) { $res['matchCase'] = $this->matchCase; } if (null !== $this->matchEntireCell) { $res['matchEntireCell'] = $this->matchEntireCell; } if (null !== $this->matchFormulaText) { $res['matchFormulaText'] = $this->matchFormulaText; } if (null !== $this->scope) { $res['scope'] = $this->scope; } if (null !== $this->useRegExp) { $res['useRegExp'] = $this->useRegExp; } return $res; } /** * @param array $map * * @return findOptions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['includeHidden'])) { $model->includeHidden = $map['includeHidden']; } if (isset($map['matchCase'])) { $model->matchCase = $map['matchCase']; } if (isset($map['matchEntireCell'])) { $model->matchEntireCell = $map['matchEntireCell']; } if (isset($map['matchFormulaText'])) { $model->matchFormulaText = $map['matchFormulaText']; } if (isset($map['scope'])) { $model->scope = $map['scope']; } if (isset($map['useRegExp'])) { $model->useRegExp = $map['useRegExp']; } return $model; } } src/doc_1_0/Models/RangeFindNextResponse.php000064400000002715146412132660014720 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RangeFindNextResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RangeFindNextResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/RangeFindNextResponseBody.php000064400000001566146412132660015541 0ustar00 'a1Notation', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->a1Notation) { $res['a1Notation'] = $this->a1Notation; } return $res; } /** * @param array $map * * @return RangeFindNextResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['a1Notation'])) { $model->a1Notation = $map['a1Notation']; } return $model; } } src/doc_1_0/Models/SearchWorkspaceDocsHeaders.php000064400000002341146412132660015671 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchWorkspaceDocsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/SearchWorkspaceDocsRequest.php000064400000004020146412132660015742 0ustar00 'keyword', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'operatorId' => 'operatorId', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->keyword) { $res['keyword'] = $this->keyword; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return SearchWorkspaceDocsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['keyword'])) { $model->keyword = $map['keyword']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/doc_1_0/Models/SearchWorkspaceDocsResponse.php000064400000002745146412132660016124 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchWorkspaceDocsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchWorkspaceDocsResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/SearchWorkspaceDocsResponseBody.php000064400000003655146412132660016743 0ustar00 'docs', 'hasMore' => 'hasMore', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->docs) { $res['docs'] = []; if (null !== $this->docs && \is_array($this->docs)) { $n = 0; foreach ($this->docs as $item) { $res['docs'][$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 SearchWorkspaceDocsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['docs'])) { if (!empty($map['docs'])) { $model->docs = []; $n = 0; foreach ($map['docs'] as $item) { $model->docs[$n++] = null !== $item ? docs::fromMap($item) : $item; } } } if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/doc_1_0/Models/SearchWorkspaceDocsResponseBody/docs.php000064400000002654146412132660017671 0ustar00 'nodeBO', 'workspaceBO' => 'workspaceBO', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nodeBO) { $res['nodeBO'] = null !== $this->nodeBO ? $this->nodeBO->toMap() : null; } if (null !== $this->workspaceBO) { $res['workspaceBO'] = null !== $this->workspaceBO ? $this->workspaceBO->toMap() : null; } return $res; } /** * @param array $map * * @return docs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nodeBO'])) { $model->nodeBO = nodeBO::fromMap($map['nodeBO']); } if (isset($map['workspaceBO'])) { $model->workspaceBO = workspaceBO::fromMap($map['workspaceBO']); } return $model; } } src/doc_1_0/Models/SearchWorkspaceDocsResponseBody/docs/nodeBO.php000064400000004316146412132660021034 0ustar00 'docType', 'lastEditTime' => 'lastEditTime', 'name' => 'name', 'nodeId' => 'nodeId', 'originName' => 'originName', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->docType) { $res['docType'] = $this->docType; } if (null !== $this->lastEditTime) { $res['lastEditTime'] = $this->lastEditTime; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nodeId) { $res['nodeId'] = $this->nodeId; } if (null !== $this->originName) { $res['originName'] = $this->originName; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return nodeBO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['docType'])) { $model->docType = $map['docType']; } if (isset($map['lastEditTime'])) { $model->lastEditTime = $map['lastEditTime']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nodeId'])) { $model->nodeId = $map['nodeId']; } if (isset($map['originName'])) { $model->originName = $map['originName']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/doc_1_0/Models/SearchWorkspaceDocsResponseBody/docs/workspaceBO.php000064400000002161146412132660022101 0ustar00 'name', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return workspaceBO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/doc_1_0/Models/SetColumnWidthHeaders.php000064400000002327146412132660014711 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SetColumnWidthHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/SetColumnWidthRequest.php000064400000002635146412132660014770 0ustar00 'column', 'width' => 'width', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->column) { $res['column'] = $this->column; } if (null !== $this->width) { $res['width'] = $this->width; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return SetColumnWidthRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['column'])) { $model->column = $map['column']; } if (isset($map['width'])) { $model->width = $map['width']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/SetColumnWidthResponse.php000064400000002721146412132660015132 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SetColumnWidthResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SetColumnWidthResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/SetColumnWidthResponseBody.php000064400000002156146412132660015752 0ustar00 'sheetId', 'sheetName' => 'sheetName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sheetId) { $res['sheetId'] = $this->sheetId; } if (null !== $this->sheetName) { $res['sheetName'] = $this->sheetName; } return $res; } /** * @param array $map * * @return SetColumnWidthResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sheetId'])) { $model->sheetId = $map['sheetId']; } if (isset($map['sheetName'])) { $model->sheetName = $map['sheetName']; } return $model; } } src/doc_1_0/Models/SetColumnsVisibilityHeaders.php000064400000002343146412132660016142 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SetColumnsVisibilityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/SetColumnsVisibilityRequest.php000064400000003535146412132660016223 0ustar00 'column', 'columnCount' => 'columnCount', 'visibility' => 'visibility', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->column) { $res['column'] = $this->column; } if (null !== $this->columnCount) { $res['columnCount'] = $this->columnCount; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return SetColumnsVisibilityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['column'])) { $model->column = $map['column']; } if (isset($map['columnCount'])) { $model->columnCount = $map['columnCount']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/SetColumnsVisibilityResponse.php000064400000002751146412132660016370 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SetColumnsVisibilityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SetColumnsVisibilityResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/SetColumnsVisibilityResponseBody.php000064400000001502146412132660017177 0ustar00 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return SetColumnsVisibilityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/doc_1_0/Models/SetRowHeightHeaders.php000064400000002323146412132660014350 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SetRowHeightHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/SetRowHeightRequest.php000064400000002611146412132660014425 0ustar00 'height', 'row' => 'row', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->height) { $res['height'] = $this->height; } if (null !== $this->row) { $res['row'] = $this->row; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return SetRowHeightRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['height'])) { $model->height = $map['height']; } if (isset($map['row'])) { $model->row = $map['row']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/SetRowHeightResponse.php000064400000002711146412132660014574 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SetRowHeightResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SetRowHeightResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/SetRowHeightResponseBody.php000064400000002152146412132660015411 0ustar00 'sheetId', 'sheetName' => 'sheetName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sheetId) { $res['sheetId'] = $this->sheetId; } if (null !== $this->sheetName) { $res['sheetName'] = $this->sheetName; } return $res; } /** * @param array $map * * @return SetRowHeightResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sheetId'])) { $model->sheetId = $map['sheetId']; } if (isset($map['sheetName'])) { $model->sheetName = $map['sheetName']; } return $model; } } src/doc_1_0/Models/SetRowsVisibilityHeaders.php000064400000002335146412132660015455 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SetRowsVisibilityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/SetRowsVisibilityRequest.php000064400000003435146412132660015534 0ustar00 'row', 'rowCount' => 'rowCount', 'visibility' => 'visibility', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->row) { $res['row'] = $this->row; } if (null !== $this->rowCount) { $res['rowCount'] = $this->rowCount; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return SetRowsVisibilityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['row'])) { $model->row = $map['row']; } if (isset($map['rowCount'])) { $model->rowCount = $map['rowCount']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/SetRowsVisibilityResponse.php000064400000002735146412132660015704 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SetRowsVisibilityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SetRowsVisibilityResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/SetRowsVisibilityResponseBody.php000064400000001474146412132660016521 0ustar00 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return SetRowsVisibilityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/doc_1_0/Models/SheetAutofitRowsHeaders.php000064400000002333146412132660015254 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SheetAutofitRowsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/SheetAutofitRowsRequest.php000064400000003310146412132660015325 0ustar00 'fontWidth', 'row' => 'row', 'rowCount' => 'rowCount', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fontWidth) { $res['fontWidth'] = $this->fontWidth; } if (null !== $this->row) { $res['row'] = $this->row; } if (null !== $this->rowCount) { $res['rowCount'] = $this->rowCount; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return SheetAutofitRowsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fontWidth'])) { $model->fontWidth = $map['fontWidth']; } if (isset($map['row'])) { $model->row = $map['row']; } if (isset($map['rowCount'])) { $model->rowCount = $map['rowCount']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/SheetAutofitRowsResponse.php000064400000002731146412132660015501 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SheetAutofitRowsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SheetAutofitRowsResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/SheetAutofitRowsResponseBody.php000064400000001470146412132660016316 0ustar00 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return SheetAutofitRowsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/doc_1_0/Models/SheetFindAllHeaders.php000064400000002323146412132660014276 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SheetFindAllHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/SheetFindAllRequest.php000064400000003532146412132660014356 0ustar00 'findOptions', 'text' => 'text', 'operatorId' => 'operatorId', 'select' => 'select', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->findOptions) { $res['findOptions'] = null !== $this->findOptions ? $this->findOptions->toMap() : null; } if (null !== $this->text) { $res['text'] = $this->text; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->select) { $res['select'] = $this->select; } return $res; } /** * @param array $map * * @return SheetFindAllRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['findOptions'])) { $model->findOptions = findOptions::fromMap($map['findOptions']); } if (isset($map['text'])) { $model->text = $map['text']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['select'])) { $model->select = $map['select']; } return $model; } } src/doc_1_0/Models/SheetFindAllRequest/findOptions.php000064400000005506146412132660016655 0ustar00 'includeHidden', 'matchCase' => 'matchCase', 'matchEntireCell' => 'matchEntireCell', 'matchFormulaText' => 'matchFormulaText', 'scope' => 'scope', 'unionCells' => 'unionCells', 'useRegExp' => 'useRegExp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->includeHidden) { $res['includeHidden'] = $this->includeHidden; } if (null !== $this->matchCase) { $res['matchCase'] = $this->matchCase; } if (null !== $this->matchEntireCell) { $res['matchEntireCell'] = $this->matchEntireCell; } if (null !== $this->matchFormulaText) { $res['matchFormulaText'] = $this->matchFormulaText; } if (null !== $this->scope) { $res['scope'] = $this->scope; } if (null !== $this->unionCells) { $res['unionCells'] = $this->unionCells; } if (null !== $this->useRegExp) { $res['useRegExp'] = $this->useRegExp; } return $res; } /** * @param array $map * * @return findOptions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['includeHidden'])) { $model->includeHidden = $map['includeHidden']; } if (isset($map['matchCase'])) { $model->matchCase = $map['matchCase']; } if (isset($map['matchEntireCell'])) { $model->matchEntireCell = $map['matchEntireCell']; } if (isset($map['matchFormulaText'])) { $model->matchFormulaText = $map['matchFormulaText']; } if (isset($map['scope'])) { $model->scope = $map['scope']; } if (isset($map['unionCells'])) { $model->unionCells = $map['unionCells']; } if (isset($map['useRegExp'])) { $model->useRegExp = $map['useRegExp']; } return $model; } } src/doc_1_0/Models/SheetFindAllResponse.php000064400000002711146412132660014522 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SheetFindAllResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SheetFindAllResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/SheetFindAllResponseBody.php000064400000002545146412132660015345 0ustar00 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->value) { $res['value'] = []; if (null !== $this->value && \is_array($this->value)) { $n = 0; foreach ($this->value as $item) { $res['value'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return SheetFindAllResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = []; $n = 0; foreach ($map['value'] as $item) { $model->value[$n++] = null !== $item ? value::fromMap($item) : $item; } } } return $model; } } src/doc_1_0/Models/SheetFindAllResponseBody/value.php000064400000002236146412132660016456 0ustar00 'a1Notation', 'values' => 'values', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->a1Notation) { $res['a1Notation'] = $this->a1Notation; } if (null !== $this->values) { $res['values'] = $this->values; } return $res; } /** * @param array $map * * @return value */ public static function fromMap($map = []) { $model = new self(); if (isset($map['a1Notation'])) { $model->a1Notation = $map['a1Notation']; } if (isset($map['values'])) { if (!empty($map['values'])) { $model->values = $map['values']; } } return $model; } } src/doc_1_0/Models/UnbindCoolAppToSheetHeaders.php000064400000002343146412132660015767 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UnbindCoolAppToSheetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/UnbindCoolAppToSheetRequest.php000064400000002341146412132660016042 0ustar00 'coolAppCode', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return UnbindCoolAppToSheetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/UnbindCoolAppToSheetResponse.php000064400000002751146412132660016215 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UnbindCoolAppToSheetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UnbindCoolAppToSheetResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/UnbindCoolAppToSheetResponseBody.php000064400000001551146412132660017030 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UnbindCoolAppToSheetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/doc_1_0/Models/UpdateRangeHeaders.php000064400000002321146412132660014171 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateRangeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/UpdateRangeRequest.php000064400000010035146412132660014247 0ustar00 'backgroundColors', 'fontSizes' => 'fontSizes', 'fontWeights' => 'fontWeights', 'horizontalAlignments' => 'horizontalAlignments', 'hyperlinks' => 'hyperlinks', 'numberFormat' => 'numberFormat', 'values' => 'values', 'verticalAlignments' => 'verticalAlignments', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->backgroundColors) { $res['backgroundColors'] = $this->backgroundColors; } if (null !== $this->fontSizes) { $res['fontSizes'] = $this->fontSizes; } if (null !== $this->fontWeights) { $res['fontWeights'] = $this->fontWeights; } if (null !== $this->horizontalAlignments) { $res['horizontalAlignments'] = $this->horizontalAlignments; } if (null !== $this->hyperlinks) { $res['hyperlinks'] = $this->hyperlinks; } if (null !== $this->numberFormat) { $res['numberFormat'] = $this->numberFormat; } if (null !== $this->values) { $res['values'] = $this->values; } if (null !== $this->verticalAlignments) { $res['verticalAlignments'] = $this->verticalAlignments; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return UpdateRangeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['backgroundColors'])) { if (!empty($map['backgroundColors'])) { $model->backgroundColors = $map['backgroundColors']; } } if (isset($map['fontSizes'])) { if (!empty($map['fontSizes'])) { $model->fontSizes = $map['fontSizes']; } } if (isset($map['fontWeights'])) { if (!empty($map['fontWeights'])) { $model->fontWeights = $map['fontWeights']; } } if (isset($map['horizontalAlignments'])) { if (!empty($map['horizontalAlignments'])) { $model->horizontalAlignments = $map['horizontalAlignments']; } } if (isset($map['hyperlinks'])) { if (!empty($map['hyperlinks'])) { $model->hyperlinks = $map['hyperlinks']; } } if (isset($map['numberFormat'])) { $model->numberFormat = $map['numberFormat']; } if (isset($map['values'])) { if (!empty($map['values'])) { $model->values = $map['values']; } } if (isset($map['verticalAlignments'])) { if (!empty($map['verticalAlignments'])) { $model->verticalAlignments = $map['verticalAlignments']; } } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/UpdateRangeRequest/hyperlinks.php000064400000002605146412132660016443 0ustar00 'type', 'link' => 'link', 'text' => 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return hyperlinks */ public static function fromMap($map = []) { $model = new self(); if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/doc_1_0/Models/UpdateRangeResponse.php000064400000002705146412132660014422 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateRangeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateRangeResponseBody::fromMap($map['body']); } return $model; } } src/doc_1_0/Models/UpdateRangeResponseBody.php000064400000001573146412132660015242 0ustar00 'a1Notation', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->a1Notation) { $res['a1Notation'] = $this->a1Notation; } return $res; } /** * @param array $map * * @return UpdateRangeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['a1Notation'])) { $model->a1Notation = $map['a1Notation']; } return $model; } } src/doc_1_0/Models/UpdateSheetHeaders.php000064400000002321146412132660014205 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateSheetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/UpdateSheetRequest.php000064400000002743146412132660014272 0ustar00 'name', 'visibility' => 'visibility', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return UpdateSheetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/UpdateSheetResponse.php000064400000002151146412132660014431 0ustar00 '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 UpdateSheetResponse */ 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/doc_1_0/Models/UpdateWorkspaceDocMembersHeaders.php000064400000002355146412132660017043 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateWorkspaceDocMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/UpdateWorkspaceDocMembersRequest.php000064400000003326146412132660017117 0ustar00 'members', 'operatorId' => 'operatorId', ]; 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; } } } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return UpdateWorkspaceDocMembersRequest */ 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; } } } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/UpdateWorkspaceDocMembersRequest/members.php000064400000002635146412132660020553 0ustar00 'memberId', 'memberType' => 'memberType', 'roleType' => 'roleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->roleType) { $res['roleType'] = $this->roleType; } 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']; } if (isset($map['roleType'])) { $model->roleType = $map['roleType']; } return $model; } } src/doc_1_0/Models/UpdateWorkspaceDocMembersResponse.php000064400000002205146412132660017260 0ustar00 '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 UpdateWorkspaceDocMembersResponse */ 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/doc_1_0/Models/UpdateWorkspaceMembersHeaders.php000064400000002347146412132660016416 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateWorkspaceMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_1_0/Models/UpdateWorkspaceMembersRequest.php000064400000003315146412132660016467 0ustar00 'members', 'operatorId' => 'operatorId', ]; 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; } } } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return UpdateWorkspaceMembersRequest */ 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; } } } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_1_0/Models/UpdateWorkspaceMembersRequest/members.php000064400000002632146412132660020122 0ustar00 'memberId', 'memberType' => 'memberType', 'roleType' => 'roleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->roleType) { $res['roleType'] = $this->roleType; } 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']; } if (isset($map['roleType'])) { $model->roleType = $map['roleType']; } return $model; } } src/doc_1_0/Models/UpdateWorkspaceMembersResponse.php000064400000002177146412132660016642 0ustar00 '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 UpdateWorkspaceMembersResponse */ 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/doc_2_0/Dingtalk.php000064400000351534146412132660011026 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param BatchCreateTeamRequest $request * @param BatchCreateTeamHeaders $headers * @param RuntimeOptions $runtime * * @return BatchCreateTeamResponse */ public function batchCreateTeamWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $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, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchCreateTeam', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/teams/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchCreateTeamResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchCreateTeamRequest $request * * @return BatchCreateTeamResponse */ public function batchCreateTeam($request) { $runtime = new RuntimeOptions([]); $headers = new BatchCreateTeamHeaders([]); return $this->batchCreateTeamWithOptions($request, $headers, $runtime); } /** * @param BatchDeleteRecentsRequest $request * @param BatchDeleteRecentsHeaders $headers * @param RuntimeOptions $runtime * * @return BatchDeleteRecentsResponse */ public function batchDeleteRecentsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->dentryUuids)) { $body['dentryUuids'] = $request->dentryUuids; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'BatchDeleteRecents', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/dentries/recentRecords/batchRemove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchDeleteRecentsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchDeleteRecentsRequest $request * * @return BatchDeleteRecentsResponse */ public function batchDeleteRecents($request) { $runtime = new RuntimeOptions([]); $headers = new BatchDeleteRecentsHeaders([]); return $this->batchDeleteRecentsWithOptions($request, $headers, $runtime); } /** * @param CategoriesTemplatesRequest $request * @param CategoriesTemplatesHeaders $headers * @param RuntimeOptions $runtime * * @return CategoriesTemplatesResponse */ public function categoriesTemplatesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } 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, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CategoriesTemplates', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/categoryLists/templates/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CategoriesTemplatesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CategoriesTemplatesRequest $request * * @return CategoriesTemplatesResponse */ public function categoriesTemplates($request) { $runtime = new RuntimeOptions([]); $headers = new CategoriesTemplatesHeaders([]); return $this->categoriesTemplatesWithOptions($request, $headers, $runtime); } /** * @param CategoryTemplatesRequest $request * @param CategoryTemplatesHeaders $headers * @param RuntimeOptions $runtime * * @return CategoryTemplatesResponse */ public function categoryTemplatesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } 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, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CategoryTemplates', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/categories/templates/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CategoryTemplatesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CategoryTemplatesRequest $request * * @return CategoryTemplatesResponse */ public function categoryTemplates($request) { $runtime = new RuntimeOptions([]); $headers = new CategoryTemplatesHeaders([]); return $this->categoryTemplatesWithOptions($request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param CopyDentryRequest $request * @param CopyDentryHeaders $headers * @param RuntimeOptions $runtime * * @return CopyDentryResponse */ public function copyDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->targetSpaceId)) { $body['targetSpaceId'] = $request->targetSpaceId; } if (!Utils::isUnset($request->toNextDentryId)) { $body['toNextDentryId'] = $request->toNextDentryId; } if (!Utils::isUnset($request->toParentDentryId)) { $body['toParentDentryId'] = $request->toParentDentryId; } if (!Utils::isUnset($request->toPrevDentryId)) { $body['toPrevDentryId'] = $request->toPrevDentryId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CopyDentry', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/spaces/' . $spaceId . '/dentries/' . $dentryId . '/copy', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CopyDentryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param CopyDentryRequest $request * * @return CopyDentryResponse */ public function copyDentry($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new CopyDentryHeaders([]); return $this->copyDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $spaceId * @param CreateDentryRequest $request * @param CreateDentryHeaders $headers * @param RuntimeOptions $runtime * * @return CreateDentryResponse */ public function createDentryWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->dentryType)) { $body['dentryType'] = $request->dentryType; } if (!Utils::isUnset($request->documentType)) { $body['documentType'] = $request->documentType; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->parentDentryId)) { $body['parentDentryId'] = $request->parentDentryId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateDentry', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/spaces/' . $spaceId . '/dentries', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateDentryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param CreateDentryRequest $request * * @return CreateDentryResponse */ public function createDentry($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateDentryHeaders([]); return $this->createDentryWithOptions($spaceId, $request, $headers, $runtime); } /** * @param CreateSpaceRequest $request * @param CreateSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return CreateSpaceResponse */ public function createSpaceWithOptions($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->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->sectionId)) { $body['sectionId'] = $request->sectionId; } if (!Utils::isUnset($request->shareScope)) { $body['shareScope'] = $request->shareScope; } if (!Utils::isUnset($request->teamId)) { $body['teamId'] = $request->teamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateSpace', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/spaces', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateSpaceRequest $request * * @return CreateSpaceResponse */ public function createSpace($request) { $runtime = new RuntimeOptions([]); $headers = new CreateSpaceHeaders([]); return $this->createSpaceWithOptions($request, $headers, $runtime); } /** * @param CreateTeamRequest $request * @param CreateTeamHeaders $headers * @param RuntimeOptions $runtime * * @return CreateTeamResponse */ public function createTeamWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->cover)) { $body['cover'] = $request->cover; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->teamType)) { $body['teamType'] = $request->teamType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateTeam', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/teams', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateTeamResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateTeamRequest $request * * @return CreateTeamResponse */ public function createTeam($request) { $runtime = new RuntimeOptions([]); $headers = new CreateTeamHeaders([]); return $this->createTeamWithOptions($request, $headers, $runtime); } /** * @param CrossOrgMigrateRequest $request * @param CrossOrgMigrateHeaders $headers * @param RuntimeOptions $runtime * * @return CrossOrgMigrateResponse */ public function crossOrgMigrateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } 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, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CrossOrgMigrate', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/crossOrganizations/spaces/migrate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CrossOrgMigrateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CrossOrgMigrateRequest $request * * @return CrossOrgMigrateResponse */ public function crossOrgMigrate($request) { $runtime = new RuntimeOptions([]); $headers = new CrossOrgMigrateHeaders([]); return $this->crossOrgMigrateWithOptions($request, $headers, $runtime); } /** * @param string $teamId * @param DeleteTeamRequest $request * @param DeleteTeamHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteTeamResponse */ public function deleteTeamWithOptions($teamId, $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' => 'DeleteTeam', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/teams/' . $teamId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteTeamResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $teamId * @param DeleteTeamRequest $request * * @return DeleteTeamResponse */ public function deleteTeam($teamId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteTeamHeaders([]); return $this->deleteTeamWithOptions($teamId, $request, $headers, $runtime); } /** * @param string $dentryUuid * @param DocContentRequest $request * @param DocContentHeaders $headers * @param RuntimeOptions $runtime * * @return DocContentResponse */ public function docContentWithOptions($dentryUuid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'DocContent', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/dentries/' . $dentryUuid . '/contents', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DocContentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dentryUuid * @param DocContentRequest $request * * @return DocContentResponse */ public function docContent($dentryUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new DocContentHeaders([]); return $this->docContentWithOptions($dentryUuid, $request, $headers, $runtime); } /** * @param string $dentryUuid * @param GetDentryIdByUuidRequest $request * @param GetDentryIdByUuidHeaders $headers * @param RuntimeOptions $runtime * * @return GetDentryIdByUuidResponse */ public function getDentryIdByUuidWithOptions($dentryUuid, $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' => 'GetDentryIdByUuid', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/dentries/' . $dentryUuid . '/queryDentryId', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDentryIdByUuidResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dentryUuid * @param GetDentryIdByUuidRequest $request * * @return GetDentryIdByUuidResponse */ public function getDentryIdByUuid($dentryUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new GetDentryIdByUuidHeaders([]); return $this->getDentryIdByUuidWithOptions($dentryUuid, $request, $headers, $runtime); } /** * @param string $dentryUuid * @param GetDocContentRequest $request * @param GetDocContentHeaders $headers * @param RuntimeOptions $runtime * * @return GetDocContentResponse */ public function getDocContentWithOptions($dentryUuid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->targetFormat)) { $query['targetFormat'] = $request->targetFormat; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetDocContent', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/me/query/' . $dentryUuid . '/contents', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDocContentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dentryUuid * @param GetDocContentRequest $request * * @return GetDocContentResponse */ public function getDocContent($dentryUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new GetDocContentHeaders([]); return $this->getDocContentWithOptions($dentryUuid, $request, $headers, $runtime); } /** * @param GetMySpaceRequest $request * @param GetMySpaceHeaders $headers * @param RuntimeOptions $runtime * * @return GetMySpaceResponse */ public function getMySpaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->isMySpace)) { $query['isMySpace'] = $request->isMySpace; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetMySpace', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/me/mySpace/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetMySpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetMySpaceRequest $request * * @return GetMySpaceResponse */ public function getMySpace($request) { $runtime = new RuntimeOptions([]); $headers = new GetMySpaceHeaders([]); return $this->getMySpaceWithOptions($request, $headers, $runtime); } /** * @param string $teamId * @param GetSchemaRequest $request * @param GetSchemaHeaders $headers * @param RuntimeOptions $runtime * * @return GetSchemaResponse */ public function getSchemaWithOptions($teamId, $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' => 'GetSchema', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/teams/' . $teamId . '/schemas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSchemaResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $teamId * @param GetSchemaRequest $request * * @return GetSchemaResponse */ public function getSchema($teamId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetSchemaHeaders([]); return $this->getSchemaWithOptions($teamId, $request, $headers, $runtime); } /** * @param string $spaceId * @param GetSpaceDirectoriesRequest $request * @param GetSpaceDirectoriesHeaders $headers * @param RuntimeOptions $runtime * * @return GetSpaceDirectoriesResponse */ public function getSpaceDirectoriesWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->dentryId)) { $query['dentryId'] = $request->dentryId; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } 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' => 'GetSpaceDirectories', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/spaces/' . $spaceId . '/directories', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSpaceDirectoriesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param GetSpaceDirectoriesRequest $request * * @return GetSpaceDirectoriesResponse */ public function getSpaceDirectories($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetSpaceDirectoriesHeaders([]); return $this->getSpaceDirectoriesWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $dentryUuid * @param GetStarInfoRequest $request * @param GetStarInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetStarInfoResponse */ public function getStarInfoWithOptions($dentryUuid, $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' => 'GetStarInfo', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/dentries/' . $dentryUuid . '/starInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetStarInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dentryUuid * @param GetStarInfoRequest $request * * @return GetStarInfoResponse */ public function getStarInfo($dentryUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new GetStarInfoHeaders([]); return $this->getStarInfoWithOptions($dentryUuid, $request, $headers, $runtime); } /** * @param string $teamId * @param GetTeamRequest $request * @param GetTeamHeaders $headers * @param RuntimeOptions $runtime * * @return GetTeamResponse */ public function getTeamWithOptions($teamId, $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' => 'GetTeam', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/teams/' . $teamId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTeamResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $teamId * @param GetTeamRequest $request * * @return GetTeamResponse */ public function getTeam($teamId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetTeamHeaders([]); return $this->getTeamWithOptions($teamId, $request, $headers, $runtime); } /** * @param GetTotalNumberOfDentriesRequest $request * @param GetTotalNumberOfDentriesHeaders $headers * @param RuntimeOptions $runtime * * @return GetTotalNumberOfDentriesResponse */ public function getTotalNumberOfDentriesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->includeFolder)) { $query['includeFolder'] = $request->includeFolder; } if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->spaceTypes)) { $query['spaceTypes'] = $request->spaceTypes; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetTotalNumberOfDentries', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/spaces/statistics/dentryCounts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTotalNumberOfDentriesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetTotalNumberOfDentriesRequest $request * * @return GetTotalNumberOfDentriesResponse */ public function getTotalNumberOfDentries($request) { $runtime = new RuntimeOptions([]); $headers = new GetTotalNumberOfDentriesHeaders([]); return $this->getTotalNumberOfDentriesWithOptions($request, $headers, $runtime); } /** * @param GetTotalNumberOfSpacesRequest $request * @param GetTotalNumberOfSpacesHeaders $headers * @param RuntimeOptions $runtime * * @return GetTotalNumberOfSpacesResponse */ public function getTotalNumberOfSpacesWithOptions($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' => 'GetTotalNumberOfSpaces', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/spaces/statistics/spaceCounts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTotalNumberOfSpacesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetTotalNumberOfSpacesRequest $request * * @return GetTotalNumberOfSpacesResponse */ public function getTotalNumberOfSpaces($request) { $runtime = new RuntimeOptions([]); $headers = new GetTotalNumberOfSpacesHeaders([]); return $this->getTotalNumberOfSpacesWithOptions($request, $headers, $runtime); } /** * @param GetUserInfoByOpenTokenRequest $request * @param GetUserInfoByOpenTokenHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserInfoByOpenTokenResponse */ public function getUserInfoByOpenTokenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->docKey)) { $query['docKey'] = $request->docKey; } if (!Utils::isUnset($request->openToken)) { $query['openToken'] = $request->openToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetUserInfoByOpenToken', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/userInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserInfoByOpenTokenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUserInfoByOpenTokenRequest $request * * @return GetUserInfoByOpenTokenResponse */ public function getUserInfoByOpenToken($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserInfoByOpenTokenHeaders([]); return $this->getUserInfoByOpenTokenWithOptions($request, $headers, $runtime); } /** * @param string $dentryId * @param GetUuidByDentryIdRequest $request * @param GetUuidByDentryIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetUuidByDentryIdResponse */ public function getUuidByDentryIdWithOptions($dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->spaceId)) { $query['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), ]); $params = new Params([ 'action' => 'GetUuidByDentryId', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/dentries/' . $dentryId . '/queryDentryUuid', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUuidByDentryIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dentryId * @param GetUuidByDentryIdRequest $request * * @return GetUuidByDentryIdResponse */ public function getUuidByDentryId($dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetUuidByDentryIdHeaders([]); return $this->getUuidByDentryIdWithOptions($dentryId, $request, $headers, $runtime); } /** * @param string $teamId * @param ListFeedsRequest $request * @param ListFeedsHeaders $headers * @param RuntimeOptions $runtime * * @return ListFeedsResponse */ public function listFeedsWithOptions($teamId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->excludeFile)) { $query['excludeFile'] = $request->excludeFile; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } 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' => 'ListFeeds', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/teams/' . $teamId . '/feeds', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListFeedsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $teamId * @param ListFeedsRequest $request * * @return ListFeedsResponse */ public function listFeeds($teamId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListFeedsHeaders([]); return $this->listFeedsWithOptions($teamId, $request, $headers, $runtime); } /** * @param string $teamId * @param ListHotDocsRequest $request * @param ListHotDocsHeaders $headers * @param RuntimeOptions $runtime * * @return ListHotDocsResponse */ public function listHotDocsWithOptions($teamId, $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' => 'ListHotDocs', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/teams/' . $teamId . '/hotDocs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListHotDocsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $teamId * @param ListHotDocsRequest $request * * @return ListHotDocsResponse */ public function listHotDocs($teamId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListHotDocsHeaders([]); return $this->listHotDocsWithOptions($teamId, $request, $headers, $runtime); } /** * @param ListPinSpacesRequest $request * @param ListPinSpacesHeaders $headers * @param RuntimeOptions $runtime * * @return ListPinSpacesResponse */ public function listPinSpacesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'ListPinSpaces', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/spaces/pinLists/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListPinSpacesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListPinSpacesRequest $request * * @return ListPinSpacesResponse */ public function listPinSpaces($request) { $runtime = new RuntimeOptions([]); $headers = new ListPinSpacesHeaders([]); return $this->listPinSpacesWithOptions($request, $headers, $runtime); } /** * @param ListRecentsRequest $request * @param ListRecentsHeaders $headers * @param RuntimeOptions $runtime * * @return ListRecentsResponse */ public function listRecentsWithOptions($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' => 'ListRecents', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/dentries/recentRecords/lists/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListRecentsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListRecentsRequest $request * * @return ListRecentsResponse */ public function listRecents($request) { $runtime = new RuntimeOptions([]); $headers = new ListRecentsHeaders([]); return $this->listRecentsWithOptions($request, $headers, $runtime); } /** * @param ListRelatedSpaceTeamsRequest $request * @param ListRelatedSpaceTeamsHeaders $headers * @param RuntimeOptions $runtime * * @return ListRelatedSpaceTeamsResponse */ public function listRelatedSpaceTeamsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } 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' => 'ListRelatedSpaceTeams', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/teams/relations/spaceTeams', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListRelatedSpaceTeamsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListRelatedSpaceTeamsRequest $request * * @return ListRelatedSpaceTeamsResponse */ public function listRelatedSpaceTeams($request) { $runtime = new RuntimeOptions([]); $headers = new ListRelatedSpaceTeamsHeaders([]); return $this->listRelatedSpaceTeamsWithOptions($request, $headers, $runtime); } /** * @param ListRelatedTeamsRequest $request * @param ListRelatedTeamsHeaders $headers * @param RuntimeOptions $runtime * * @return ListRelatedTeamsResponse */ public function listRelatedTeamsWithOptions($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->operatorId)) { $query['operatorId'] = $request->operatorId; } 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' => 'ListRelatedTeams', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/teams', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListRelatedTeamsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListRelatedTeamsRequest $request * * @return ListRelatedTeamsResponse */ public function listRelatedTeams($request) { $runtime = new RuntimeOptions([]); $headers = new ListRelatedTeamsHeaders([]); return $this->listRelatedTeamsWithOptions($request, $headers, $runtime); } /** * @param string $teamId * @param ListSpaceSectionsRequest $request * @param ListSpaceSectionsHeaders $headers * @param RuntimeOptions $runtime * * @return ListSpaceSectionsResponse */ public function listSpaceSectionsWithOptions($teamId, $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' => 'ListSpaceSections', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/teams/' . $teamId . '/spaceSections', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListSpaceSectionsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $teamId * @param ListSpaceSectionsRequest $request * * @return ListSpaceSectionsResponse */ public function listSpaceSections($teamId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListSpaceSectionsHeaders([]); return $this->listSpaceSectionsWithOptions($teamId, $request, $headers, $runtime); } /** * @param ListStarsRequest $request * @param ListStarsHeaders $headers * @param RuntimeOptions $runtime * * @return ListStarsResponse */ public function listStarsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'ListStars', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/dentries/starLists/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListStarsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListStarsRequest $request * * @return ListStarsResponse */ public function listStars($request) { $runtime = new RuntimeOptions([]); $headers = new ListStarsHeaders([]); return $this->listStarsWithOptions($request, $headers, $runtime); } /** * @param string $teamId * @param ListTeamMembersRequest $request * @param ListTeamMembersHeaders $headers * @param RuntimeOptions $runtime * * @return ListTeamMembersResponse */ public function listTeamMembersWithOptions($teamId, $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' => 'ListTeamMembers', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/teams/' . $teamId . '/members', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListTeamMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $teamId * @param ListTeamMembersRequest $request * * @return ListTeamMembersResponse */ public function listTeamMembers($teamId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListTeamMembersHeaders([]); return $this->listTeamMembersWithOptions($teamId, $request, $headers, $runtime); } /** * @param string $dentryUuid * @param MarkStarRequest $request * @param MarkStarHeaders $headers * @param RuntimeOptions $runtime * * @return MarkStarResponse */ public function markStarWithOptions($dentryUuid, $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' => 'MarkStar', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/dentries/' . $dentryUuid . '/stars/mark', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return MarkStarResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dentryUuid * @param MarkStarRequest $request * * @return MarkStarResponse */ public function markStar($dentryUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new MarkStarHeaders([]); return $this->markStarWithOptions($dentryUuid, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param MoveDentryRequest $request * @param MoveDentryHeaders $headers * @param RuntimeOptions $runtime * * @return MoveDentryResponse */ public function moveDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->targetSpaceId)) { $body['targetSpaceId'] = $request->targetSpaceId; } if (!Utils::isUnset($request->toNextDentryId)) { $body['toNextDentryId'] = $request->toNextDentryId; } if (!Utils::isUnset($request->toParentDentryId)) { $body['toParentDentryId'] = $request->toParentDentryId; } if (!Utils::isUnset($request->toPrevDentryId)) { $body['toPrevDentryId'] = $request->toPrevDentryId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'MoveDentry', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/spaces/' . $spaceId . '/dentries/' . $dentryId . '/move', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return MoveDentryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param MoveDentryRequest $request * * @return MoveDentryResponse */ public function moveDentry($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new MoveDentryHeaders([]); return $this->moveDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $spaceId * @param PinSpaceRequest $request * @param PinSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return PinSpaceResponse */ public function pinSpaceWithOptions($spaceId, $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' => 'PinSpace', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/spaces/' . $spaceId . '/pin', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PinSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param PinSpaceRequest $request * * @return PinSpaceResponse */ public function pinSpace($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new PinSpaceHeaders([]); return $this->pinSpaceWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param QueryDentryRequest $request * @param QueryDentryHeaders $headers * @param RuntimeOptions $runtime * * @return QueryDentryResponse */ public function queryDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->includeSpace)) { $query['includeSpace'] = $request->includeSpace; } 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' => 'QueryDentry', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/spaces/' . $spaceId . '/dentries/' . $dentryId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDentryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param QueryDentryRequest $request * * @return QueryDentryResponse */ public function queryDentry($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryDentryHeaders([]); return $this->queryDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $dentryUuid * @param QueryDocContentRequest $request * @param QueryDocContentHeaders $headers * @param RuntimeOptions $runtime * * @return QueryDocContentResponse */ public function queryDocContentWithOptions($dentryUuid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->targetFormat)) { $query['targetFormat'] = $request->targetFormat; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryDocContent', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/query/' . $dentryUuid . '/contents', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDocContentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dentryUuid * @param QueryDocContentRequest $request * * @return QueryDocContentResponse */ public function queryDocContent($dentryUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryDocContentHeaders([]); return $this->queryDocContentWithOptions($dentryUuid, $request, $headers, $runtime); } /** * @param QueryItemByUrlRequest $request * @param QueryItemByUrlHeaders $headers * @param RuntimeOptions $runtime * * @return QueryItemByUrlResponse */ public function queryItemByUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->url)) { $query['url'] = $request->url; } if (!Utils::isUnset($request->withStatisticalInfo)) { $query['withStatisticalInfo'] = $request->withStatisticalInfo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryItemByUrl', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/items', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryItemByUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryItemByUrlRequest $request * * @return QueryItemByUrlResponse */ public function queryItemByUrl($request) { $runtime = new RuntimeOptions([]); $headers = new QueryItemByUrlHeaders([]); return $this->queryItemByUrlWithOptions($request, $headers, $runtime); } /** * @param string $unionId * @param QueryMineSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return QueryMineSpaceResponse */ public function queryMineSpaceWithOptions($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' => 'QueryMineSpace', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/spaces/users/' . $unionId . '/mine', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryMineSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $unionId * * @return QueryMineSpaceResponse */ public function queryMineSpace($unionId) { $runtime = new RuntimeOptions([]); $headers = new QueryMineSpaceHeaders([]); return $this->queryMineSpaceWithOptions($unionId, $headers, $runtime); } /** * @param QueryRecentListRequest $request * @param QueryRecentListHeaders $headers * @param RuntimeOptions $runtime * * @return QueryRecentListResponse */ public function queryRecentListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->creatorType)) { $query['creatorType'] = $request->creatorType; } if (!Utils::isUnset($request->fileType)) { $query['fileType'] = $request->fileType; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->recentType)) { $query['recentType'] = $request->recentType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryRecentList', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/spaces/docs/recent', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryRecentListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryRecentListRequest $request * * @return QueryRecentListResponse */ public function queryRecentList($request) { $runtime = new RuntimeOptions([]); $headers = new QueryRecentListHeaders([]); return $this->queryRecentListWithOptions($request, $headers, $runtime); } /** * @param string $spaceId * @param QuerySpaceRequest $request * @param QuerySpaceHeaders $headers * @param RuntimeOptions $runtime * * @return QuerySpaceResponse */ public function querySpaceWithOptions($spaceId, $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' => 'QuerySpace', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/spaces/' . $spaceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QuerySpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param QuerySpaceRequest $request * * @return QuerySpaceResponse */ public function querySpace($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QuerySpaceHeaders([]); return $this->querySpaceWithOptions($spaceId, $request, $headers, $runtime); } /** * @param RelatedSpacesRequest $request * @param RelatedSpacesHeaders $headers * @param RuntimeOptions $runtime * * @return RelatedSpacesResponse */ public function relatedSpacesWithOptions($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->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->teamId)) { $query['teamId'] = $request->teamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'RelatedSpaces', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/relations/spaces', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RelatedSpacesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RelatedSpacesRequest $request * * @return RelatedSpacesResponse */ public function relatedSpaces($request) { $runtime = new RuntimeOptions([]); $headers = new RelatedSpacesHeaders([]); return $this->relatedSpacesWithOptions($request, $headers, $runtime); } /** * @param string $teamId * @param RemoveTeamMembersRequest $request * @param RemoveTeamMembersHeaders $headers * @param RuntimeOptions $runtime * * @return RemoveTeamMembersResponse */ public function removeTeamMembersWithOptions($teamId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->notify)) { $body['notify'] = $request->notify; } if (!Utils::isUnset($request->operatorId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RemoveTeamMembers', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/teams/' . $teamId . '/members/remove', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RemoveTeamMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $teamId * @param RemoveTeamMembersRequest $request * * @return RemoveTeamMembersResponse */ public function removeTeamMembers($teamId, $request) { $runtime = new RuntimeOptions([]); $headers = new RemoveTeamMembersHeaders([]); return $this->removeTeamMembersWithOptions($teamId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param RenameDentryRequest $request * @param RenameDentryHeaders $headers * @param RuntimeOptions $runtime * * @return RenameDentryResponse */ public function renameDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->name)) { $query['name'] = $request->name; } 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' => 'RenameDentry', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/spaces/' . $spaceId . '/dentries/' . $dentryId . '/rename', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RenameDentryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param RenameDentryRequest $request * * @return RenameDentryResponse */ public function renameDentry($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new RenameDentryHeaders([]); return $this->renameDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $teamId * @param SaveTeamMembersRequest $request * @param SaveTeamMembersHeaders $headers * @param RuntimeOptions $runtime * * @return SaveTeamMembersResponse */ public function saveTeamMembersWithOptions($teamId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->notify)) { $body['notify'] = $request->notify; } if (!Utils::isUnset($request->operatorId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SaveTeamMembers', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/teams/' . $teamId . '/members', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveTeamMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $teamId * @param SaveTeamMembersRequest $request * * @return SaveTeamMembersResponse */ public function saveTeamMembers($teamId, $request) { $runtime = new RuntimeOptions([]); $headers = new SaveTeamMembersHeaders([]); return $this->saveTeamMembersWithOptions($teamId, $request, $headers, $runtime); } /** * @param SearchRequest $request * @param SearchHeaders $headers * @param RuntimeOptions $runtime * * @return SearchResponse */ public function searchWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->dentryRequest)) { $body['dentryRequest'] = $request->dentryRequest; } if (!Utils::isUnset($request->keyword)) { $body['keyword'] = $request->keyword; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->spaceRequest)) { $body['spaceRequest'] = $request->spaceRequest; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'Search', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchRequest $request * * @return SearchResponse */ public function search($request) { $runtime = new RuntimeOptions([]); $headers = new SearchHeaders([]); return $this->searchWithOptions($request, $headers, $runtime); } /** * @param SearchTemplatesRequest $request * @param SearchTemplatesHeaders $headers * @param RuntimeOptions $runtime * * @return SearchTemplatesResponse */ public function searchTemplatesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } 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, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SearchTemplates', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/templates/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchTemplatesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchTemplatesRequest $request * * @return SearchTemplatesResponse */ public function searchTemplates($request) { $runtime = new RuntimeOptions([]); $headers = new SearchTemplatesHeaders([]); return $this->searchTemplatesWithOptions($request, $headers, $runtime); } /** * @param ShareUrlRequest $request * @param ShareUrlHeaders $headers * @param RuntimeOptions $runtime * * @return ShareUrlResponse */ public function shareUrlWithOptions($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' => 'ShareUrl', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/dentries/shareUrls/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ShareUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ShareUrlRequest $request * * @return ShareUrlResponse */ public function shareUrl($request) { $runtime = new RuntimeOptions([]); $headers = new ShareUrlHeaders([]); return $this->shareUrlWithOptions($request, $headers, $runtime); } /** * @param TeamTemplatesRequest $request * @param TeamTemplatesHeaders $headers * @param RuntimeOptions $runtime * * @return TeamTemplatesResponse */ public function teamTemplatesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'TeamTemplates', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/workspaces/templates/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return TeamTemplatesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param TeamTemplatesRequest $request * * @return TeamTemplatesResponse */ public function teamTemplates($request) { $runtime = new RuntimeOptions([]); $headers = new TeamTemplatesHeaders([]); return $this->teamTemplatesWithOptions($request, $headers, $runtime); } /** * @param TemplateCategoriesRequest $request * @param TemplateCategoriesHeaders $headers * @param RuntimeOptions $runtime * * @return TemplateCategoriesResponse */ public function templateCategoriesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } 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, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'TemplateCategories', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/templates/categories/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return TemplateCategoriesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param TemplateCategoriesRequest $request * * @return TemplateCategoriesResponse */ public function templateCategories($request) { $runtime = new RuntimeOptions([]); $headers = new TemplateCategoriesHeaders([]); return $this->templateCategoriesWithOptions($request, $headers, $runtime); } /** * @param string $dentryUuid * @param UnmarkStarRequest $request * @param UnmarkStarHeaders $headers * @param RuntimeOptions $runtime * * @return UnmarkStarResponse */ public function unmarkStarWithOptions($dentryUuid, $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' => 'UnmarkStar', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/dentries/' . $dentryUuid . '/stars/unmark', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UnmarkStarResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dentryUuid * @param UnmarkStarRequest $request * * @return UnmarkStarResponse */ public function unmarkStar($dentryUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new UnmarkStarHeaders([]); return $this->unmarkStarWithOptions($dentryUuid, $request, $headers, $runtime); } /** * @param string $spaceId * @param UnpinSpaceRequest $request * @param UnpinSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return UnpinSpaceResponse */ public function unpinSpaceWithOptions($spaceId, $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' => 'UnpinSpace', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/spaces/' . $spaceId . '/unpin', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UnpinSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param UnpinSpaceRequest $request * * @return UnpinSpaceResponse */ public function unpinSpace($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new UnpinSpaceHeaders([]); return $this->unpinSpaceWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $teamId * @param UpdateTeamRequest $request * @param UpdateTeamHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateTeamResponse */ public function updateTeamWithOptions($teamId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->operatorId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateTeam', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/teams/' . $teamId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTeamResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $teamId * @param UpdateTeamRequest $request * * @return UpdateTeamResponse */ public function updateTeam($teamId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTeamHeaders([]); return $this->updateTeamWithOptions($teamId, $request, $headers, $runtime); } /** * @param UserTemplatesRequest $request * @param UserTemplatesHeaders $headers * @param RuntimeOptions $runtime * * @return UserTemplatesResponse */ public function userTemplatesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UserTemplates', 'version' => 'doc_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/doc/users/templates/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UserTemplatesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UserTemplatesRequest $request * * @return UserTemplatesResponse */ public function userTemplates($request) { $runtime = new RuntimeOptions([]); $headers = new UserTemplatesHeaders([]); return $this->userTemplatesWithOptions($request, $headers, $runtime); } } src/doc_2_0/Models/BatchCreateTeamHeaders.php000064400000002331146412132660014750 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchCreateTeamHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/BatchCreateTeamRequest.php000064400000002403146412132660015025 0ustar00 'param', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->param) { $res['param'] = null !== $this->param ? $this->param->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return BatchCreateTeamRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['param'])) { $model->param = param::fromMap($map['param']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/BatchCreateTeamRequest/param.php000064400000003126146412132660016130 0ustar00 'createTeamParamList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTeamParamList) { $res['createTeamParamList'] = []; if (null !== $this->createTeamParamList && \is_array($this->createTeamParamList)) { $n = 0; foreach ($this->createTeamParamList as $item) { $res['createTeamParamList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return param */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTeamParamList'])) { if (!empty($map['createTeamParamList'])) { $model->createTeamParamList = []; $n = 0; foreach ($map['createTeamParamList'] as $item) { $model->createTeamParamList[$n++] = null !== $item ? createTeamParamList::fromMap($item) : $item; } } } return $model; } } src/doc_2_0/Models/BatchCreateTeamRequest/param/createTeamParamList.php000064400000003753146412132660022025 0ustar00 'adminUnionIdList', 'creatorUnionId' => 'creatorUnionId', 'deptId' => 'deptId', 'teamName' => 'teamName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->adminUnionIdList) { $res['adminUnionIdList'] = $this->adminUnionIdList; } if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->teamName) { $res['teamName'] = $this->teamName; } return $res; } /** * @param array $map * * @return createTeamParamList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['adminUnionIdList'])) { if (!empty($map['adminUnionIdList'])) { $model->adminUnionIdList = $map['adminUnionIdList']; } } if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['teamName'])) { $model->teamName = $map['teamName']; } return $model; } } src/doc_2_0/Models/BatchCreateTeamResponse.php000064400000002725146412132660015202 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchCreateTeamResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchCreateTeamResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/BatchCreateTeamResponseBody.php000064400000001537146412132660016020 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return BatchCreateTeamResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/doc_2_0/Models/BatchDeleteRecentsHeaders.php000064400000002337146412132660015472 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchDeleteRecentsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/BatchDeleteRecentsRequest.php000064400000002373146412132660015547 0ustar00 'dentryUuids', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryUuids) { $res['dentryUuids'] = $this->dentryUuids; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return BatchDeleteRecentsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryUuids'])) { if (!empty($map['dentryUuids'])) { $model->dentryUuids = $map['dentryUuids']; } } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/BatchDeleteRecentsResponse.php000064400000002741146412132660015714 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchDeleteRecentsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchDeleteRecentsResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/BatchDeleteRecentsResponseBody.php000064400000001545146412132660016533 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return BatchDeleteRecentsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/doc_2_0/Models/CategoriesTemplatesHeaders.php000064400000002341146412132660015741 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CategoriesTemplatesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/CategoriesTemplatesRequest.php000064400000003254146412132660016022 0ustar00 'option', 'param' => 'param', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->param) { $res['param'] = null !== $this->param ? $this->param->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return CategoriesTemplatesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['param'])) { $model->param = param::fromMap($map['param']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/CategoriesTemplatesRequest/option.php000064400000003573146412132660017336 0ustar00 'categoryStatus', 'queryPlatform' => 'queryPlatform', 'size' => 'size', 'templateStatus' => 'templateStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->categoryStatus) { $res['categoryStatus'] = $this->categoryStatus; } if (null !== $this->queryPlatform) { $res['queryPlatform'] = $this->queryPlatform; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->templateStatus) { $res['templateStatus'] = $this->templateStatus; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['categoryStatus'])) { $model->categoryStatus = $map['categoryStatus']; } if (isset($map['queryPlatform'])) { $model->queryPlatform = $map['queryPlatform']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['templateStatus'])) { $model->templateStatus = $map['templateStatus']; } return $model; } } src/doc_2_0/Models/CategoriesTemplatesRequest/param.php000064400000001676146412132660017130 0ustar00 'categoryIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->categoryIds) { $res['categoryIds'] = $this->categoryIds; } return $res; } /** * @param array $map * * @return param */ public static function fromMap($map = []) { $model = new self(); if (isset($map['categoryIds'])) { if (!empty($map['categoryIds'])) { $model->categoryIds = $map['categoryIds']; } } return $model; } } src/doc_2_0/Models/CategoriesTemplatesResponse.php000064400000002745146412132660016174 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CategoriesTemplatesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CategoriesTemplatesResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/CategoriesTemplatesResponseBody.php000064400000001457146412132660017011 0ustar00 'map', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->map) { $res['map'] = $this->map; } return $res; } /** * @param array $map * * @return CategoriesTemplatesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['map'])) { $model->map = $map['map']; } return $model; } } src/doc_2_0/Models/CategoryTemplatesHeaders.php000064400000002335146412132660015434 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CategoryTemplatesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/CategoryTemplatesRequest.php000064400000003244146412132660015511 0ustar00 'option', 'param' => 'param', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->param) { $res['param'] = null !== $this->param ? $this->param->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return CategoryTemplatesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['param'])) { $model->param = param::fromMap($map['param']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/CategoryTemplatesRequest/option.php000064400000002365146412132660017024 0ustar00 'categoryStatus', 'templateStatus' => 'templateStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->categoryStatus) { $res['categoryStatus'] = $this->categoryStatus; } if (null !== $this->templateStatus) { $res['templateStatus'] = $this->templateStatus; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['categoryStatus'])) { $model->categoryStatus = $map['categoryStatus']; } if (isset($map['templateStatus'])) { $model->templateStatus = $map['templateStatus']; } return $model; } } src/doc_2_0/Models/CategoryTemplatesRequest/param.php000064400000001557146412132660016616 0ustar00 'categoryId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->categoryId) { $res['categoryId'] = $this->categoryId; } return $res; } /** * @param array $map * * @return param */ public static function fromMap($map = []) { $model = new self(); if (isset($map['categoryId'])) { $model->categoryId = $map['categoryId']; } return $model; } } src/doc_2_0/Models/CategoryTemplatesResponse.php000064400000002735146412132660015663 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CategoryTemplatesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CategoryTemplatesResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/CategoryTemplatesResponseBody.php000064400000002545146412132660016500 0ustar00 '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 CategoryTemplatesResponseBody */ 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/doc_2_0/Models/CategoryTemplatesResponseBody/list_.php000064400000011064146412132660017606 0ustar00 'authorName', 'belong' => 'belong', 'contentDownloadUrl' => 'contentDownloadUrl', 'coverDownloadUrl' => 'coverDownloadUrl', 'createTime' => 'createTime', 'description' => 'description', 'modifiedTime' => 'modifiedTime', 'templateId' => 'templateId', 'title' => 'title', 'type' => 'type', 'usedCount' => 'usedCount', 'workspaceId' => 'workspaceId', 'workspaceName' => 'workspaceName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authorName) { $res['authorName'] = $this->authorName; } if (null !== $this->belong) { $res['belong'] = $this->belong; } if (null !== $this->contentDownloadUrl) { $res['contentDownloadUrl'] = $this->contentDownloadUrl; } if (null !== $this->coverDownloadUrl) { $res['coverDownloadUrl'] = $this->coverDownloadUrl; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->usedCount) { $res['usedCount'] = $this->usedCount; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } if (null !== $this->workspaceName) { $res['workspaceName'] = $this->workspaceName; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authorName'])) { $model->authorName = $map['authorName']; } if (isset($map['belong'])) { $model->belong = $map['belong']; } if (isset($map['contentDownloadUrl'])) { $model->contentDownloadUrl = $map['contentDownloadUrl']; } if (isset($map['coverDownloadUrl'])) { $model->coverDownloadUrl = $map['coverDownloadUrl']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['usedCount'])) { $model->usedCount = $map['usedCount']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } if (isset($map['workspaceName'])) { $model->workspaceName = $map['workspaceName']; } return $model; } } src/doc_2_0/Models/CopyDentryHeaders.php000064400000002317146412132660014100 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CopyDentryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/CopyDentryRequest.php000064400000004702146412132660014155 0ustar00 'name', 'operatorId' => 'operatorId', 'targetSpaceId' => 'targetSpaceId', 'toNextDentryId' => 'toNextDentryId', 'toParentDentryId' => 'toParentDentryId', 'toPrevDentryId' => 'toPrevDentryId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->targetSpaceId) { $res['targetSpaceId'] = $this->targetSpaceId; } if (null !== $this->toNextDentryId) { $res['toNextDentryId'] = $this->toNextDentryId; } if (null !== $this->toParentDentryId) { $res['toParentDentryId'] = $this->toParentDentryId; } if (null !== $this->toPrevDentryId) { $res['toPrevDentryId'] = $this->toPrevDentryId; } return $res; } /** * @param array $map * * @return CopyDentryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['targetSpaceId'])) { $model->targetSpaceId = $map['targetSpaceId']; } if (isset($map['toNextDentryId'])) { $model->toNextDentryId = $map['toNextDentryId']; } if (isset($map['toParentDentryId'])) { $model->toParentDentryId = $map['toParentDentryId']; } if (isset($map['toPrevDentryId'])) { $model->toPrevDentryId = $map['toPrevDentryId']; } return $model; } } src/doc_2_0/Models/CopyDentryResponse.php000064400000002540146412132660014321 0ustar00 '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; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CopyDentryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DentryVO::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/CreateDentryHeaders.php000064400000002323146412132660014366 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateDentryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/CreateDentryRequest.php000064400000004267146412132660014454 0ustar00 'dentryType', 'documentType' => 'documentType', 'name' => 'name', 'operatorId' => 'operatorId', 'parentDentryId' => 'parentDentryId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryType) { $res['dentryType'] = $this->dentryType; } if (null !== $this->documentType) { $res['documentType'] = $this->documentType; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->parentDentryId) { $res['parentDentryId'] = $this->parentDentryId; } return $res; } /** * @param array $map * * @return CreateDentryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryType'])) { $model->dentryType = $map['dentryType']; } if (isset($map['documentType'])) { $model->documentType = $map['documentType']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['parentDentryId'])) { $model->parentDentryId = $map['parentDentryId']; } return $model; } } src/doc_2_0/Models/CreateDentryResponse.php000064400000002544146412132660014616 0ustar00 '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; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateDentryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DentryVO::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/CreateSpaceHeaders.php000064400000002321146412132660014152 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/CreateSpaceRequest.php000064400000005647146412132660014245 0ustar00 'description', 'icon' => 'icon', 'name' => 'name', 'operatorId' => 'operatorId', 'sectionId' => 'sectionId', 'shareScope' => 'shareScope', 'teamId' => 'teamId', ]; 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->name) { $res['name'] = $this->name; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->sectionId) { $res['sectionId'] = $this->sectionId; } if (null !== $this->shareScope) { $res['shareScope'] = null !== $this->shareScope ? $this->shareScope->toMap() : null; } if (null !== $this->teamId) { $res['teamId'] = $this->teamId; } return $res; } /** * @param array $map * * @return CreateSpaceRequest */ 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['name'])) { $model->name = $map['name']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['sectionId'])) { $model->sectionId = $map['sectionId']; } if (isset($map['shareScope'])) { $model->shareScope = shareScope::fromMap($map['shareScope']); } if (isset($map['teamId'])) { $model->teamId = $map['teamId']; } return $model; } } src/doc_2_0/Models/CreateSpaceRequest/shareScope.php000064400000001472146412132660016331 0ustar00 'scope', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scope) { $res['scope'] = $this->scope; } return $res; } /** * @param array $map * * @return shareScope */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scope'])) { $model->scope = $map['scope']; } return $model; } } src/doc_2_0/Models/CreateSpaceResponse.php000064400000002541146412132660014401 0ustar00 '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; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SpaceVO::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/CreateTeamHeaders.php000064400000002317146412132660014012 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateTeamHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/CreateTeamRequest.php000064400000006473146412132660014076 0ustar00 'cover', 'description' => 'description', 'icon' => 'icon', 'members' => 'members', 'name' => 'name', 'operatorId' => 'operatorId', 'teamType' => 'teamType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = $this->icon; } 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->name) { $res['name'] = $this->name; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->teamType) { $res['teamType'] = $this->teamType; } return $res; } /** * @param array $map * * @return CreateTeamRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } 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['name'])) { $model->name = $map['name']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['teamType'])) { $model->teamType = $map['teamType']; } return $model; } } src/doc_2_0/Models/CreateTeamRequest/members.php000064400000002751146412132660015523 0ustar00 'memberId', 'memberType' => 'memberType', 'roleCode' => 'roleCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } 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']; } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } return $model; } } src/doc_2_0/Models/CreateTeamResponse.php000064400000002536146412132660014240 0ustar00 '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; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTeamResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = TeamVO::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/CrossOrgMigrateHeaders.php000064400000002331146412132660015046 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CrossOrgMigrateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/CrossOrgMigrateRequest.php000064400000003234146412132660015126 0ustar00 'option', 'param' => 'param', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->param) { $res['param'] = null !== $this->param ? $this->param->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return CrossOrgMigrateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['param'])) { $model->param = param::fromMap($map['param']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/CrossOrgMigrateRequest/option.php000064400000010107146412132660016433 0ustar00 'checkOperatorSourceRole', 'deleteSource' => 'deleteSource', 'needRecycleFailedWorkspaceId' => 'needRecycleFailedWorkspaceId', 'relateTeamId' => 'relateTeamId', 'relateTeamIdStr' => 'relateTeamIdStr', 'retainOrgGroup' => 'retainOrgGroup', 'skipRole' => 'skipRole', 'workspaceIdStrs' => 'workspaceIdStrs', 'workspaceIds' => 'workspaceIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->checkOperatorSourceRole) { $res['checkOperatorSourceRole'] = $this->checkOperatorSourceRole; } if (null !== $this->deleteSource) { $res['deleteSource'] = $this->deleteSource; } if (null !== $this->needRecycleFailedWorkspaceId) { $res['needRecycleFailedWorkspaceId'] = $this->needRecycleFailedWorkspaceId; } if (null !== $this->relateTeamId) { $res['relateTeamId'] = $this->relateTeamId; } if (null !== $this->relateTeamIdStr) { $res['relateTeamIdStr'] = $this->relateTeamIdStr; } if (null !== $this->retainOrgGroup) { $res['retainOrgGroup'] = $this->retainOrgGroup; } if (null !== $this->skipRole) { $res['skipRole'] = $this->skipRole; } if (null !== $this->workspaceIdStrs) { $res['workspaceIdStrs'] = $this->workspaceIdStrs; } if (null !== $this->workspaceIds) { $res['workspaceIds'] = $this->workspaceIds; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['checkOperatorSourceRole'])) { $model->checkOperatorSourceRole = $map['checkOperatorSourceRole']; } if (isset($map['deleteSource'])) { $model->deleteSource = $map['deleteSource']; } if (isset($map['needRecycleFailedWorkspaceId'])) { $model->needRecycleFailedWorkspaceId = $map['needRecycleFailedWorkspaceId']; } if (isset($map['relateTeamId'])) { $model->relateTeamId = $map['relateTeamId']; } if (isset($map['relateTeamIdStr'])) { $model->relateTeamIdStr = $map['relateTeamIdStr']; } if (isset($map['retainOrgGroup'])) { $model->retainOrgGroup = $map['retainOrgGroup']; } if (isset($map['skipRole'])) { $model->skipRole = $map['skipRole']; } if (isset($map['workspaceIdStrs'])) { if (!empty($map['workspaceIdStrs'])) { $model->workspaceIdStrs = $map['workspaceIdStrs']; } } if (isset($map['workspaceIds'])) { if (!empty($map['workspaceIds'])) { $model->workspaceIds = $map['workspaceIds']; } } return $model; } } src/doc_2_0/Models/CrossOrgMigrateRequest/param.php000064400000001506146412132660016226 0ustar00 'corpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } return $res; } /** * @param array $map * * @return param */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } return $model; } } src/doc_2_0/Models/CrossOrgMigrateResponse.php000064400000002725146412132660015300 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CrossOrgMigrateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CrossOrgMigrateResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/CrossOrgMigrateResponseBody.php000064400000001537146412132660016116 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CrossOrgMigrateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/doc_2_0/Models/DeleteTeamHeaders.php000064400000002317146412132660014011 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteTeamHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/DeleteTeamRequest.php000064400000001570146412132660014066 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DeleteTeamRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/DeleteTeamResponse.php000064400000002536146412132660014237 0ustar00 '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; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteTeamResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = TeamVO::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/DentryModel.php000064400000016351146412132660012735 0ustar00 'contentType', 'createdTime' => 'createdTime', 'creator' => 'creator', 'dentryId' => 'dentryId', 'dentryType' => 'dentryType', 'dentryUuid' => 'dentryUuid', 'docKey' => 'docKey', 'extension' => 'extension', 'hasChildren' => 'hasChildren', 'linkSourceInfo' => 'linkSourceInfo', 'name' => 'name', 'path' => 'path', 'space' => 'space', 'spaceId' => 'spaceId', 'statisticalInfo' => 'statisticalInfo', 'updatedTime' => 'updatedTime', 'updater' => 'updater', 'url' => 'url', 'visitorInfo' => 'visitorInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->createdTime) { $res['createdTime'] = $this->createdTime; } if (null !== $this->creator) { $res['creator'] = null !== $this->creator ? $this->creator->toMap() : null; } if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->dentryType) { $res['dentryType'] = $this->dentryType; } if (null !== $this->dentryUuid) { $res['dentryUuid'] = $this->dentryUuid; } if (null !== $this->docKey) { $res['docKey'] = $this->docKey; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->hasChildren) { $res['hasChildren'] = $this->hasChildren; } if (null !== $this->linkSourceInfo) { $res['linkSourceInfo'] = null !== $this->linkSourceInfo ? $this->linkSourceInfo->toMap() : null; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->space) { $res['space'] = null !== $this->space ? $this->space->toMap() : null; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->statisticalInfo) { $res['statisticalInfo'] = null !== $this->statisticalInfo ? $this->statisticalInfo->toMap() : null; } if (null !== $this->updatedTime) { $res['updatedTime'] = $this->updatedTime; } if (null !== $this->updater) { $res['updater'] = null !== $this->updater ? $this->updater->toMap() : null; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->visitorInfo) { $res['visitorInfo'] = null !== $this->visitorInfo ? $this->visitorInfo->toMap() : null; } return $res; } /** * @param array $map * * @return DentryModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['createdTime'])) { $model->createdTime = $map['createdTime']; } if (isset($map['creator'])) { $model->creator = creator::fromMap($map['creator']); } if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['dentryType'])) { $model->dentryType = $map['dentryType']; } if (isset($map['dentryUuid'])) { $model->dentryUuid = $map['dentryUuid']; } if (isset($map['docKey'])) { $model->docKey = $map['docKey']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['hasChildren'])) { $model->hasChildren = $map['hasChildren']; } if (isset($map['linkSourceInfo'])) { $model->linkSourceInfo = LinkSourceInfo::fromMap($map['linkSourceInfo']); } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['space'])) { $model->space = SpaceModel::fromMap($map['space']); } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['statisticalInfo'])) { $model->statisticalInfo = statisticalInfo::fromMap($map['statisticalInfo']); } if (isset($map['updatedTime'])) { $model->updatedTime = $map['updatedTime']; } if (isset($map['updater'])) { $model->updater = updater::fromMap($map['updater']); } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['visitorInfo'])) { $model->visitorInfo = visitorInfo::fromMap($map['visitorInfo']); } return $model; } } src/doc_2_0/Models/DentryModel/creator.php000064400000002164146412132660014371 0ustar00 'name', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return creator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/doc_2_0/Models/DentryModel/statisticalInfo.php000064400000001510146412132660016064 0ustar00 'wordCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->wordCount) { $res['wordCount'] = $this->wordCount; } return $res; } /** * @param array $map * * @return statisticalInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['wordCount'])) { $model->wordCount = $map['wordCount']; } return $model; } } src/doc_2_0/Models/DentryModel/updater.php000064400000002164146412132660014376 0ustar00 'name', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return updater */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/doc_2_0/Models/DentryModel/visitorInfo.php000064400000003163146412132660015245 0ustar00 'dentryActions', 'roleCode' => 'roleCode', 'spaceActions' => 'spaceActions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryActions) { $res['dentryActions'] = $this->dentryActions; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } if (null !== $this->spaceActions) { $res['spaceActions'] = $this->spaceActions; } return $res; } /** * @param array $map * * @return visitorInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryActions'])) { if (!empty($map['dentryActions'])) { $model->dentryActions = $map['dentryActions']; } } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } if (isset($map['spaceActions'])) { if (!empty($map['spaceActions'])) { $model->spaceActions = $map['spaceActions']; } } return $model; } } src/doc_2_0/Models/DentryVO.php000064400000015313146412132660012216 0ustar00 'contentType', 'createdTime' => 'createdTime', 'creator' => 'creator', 'dentryId' => 'dentryId', 'dentryType' => 'dentryType', 'dentryUuid' => 'dentryUuid', 'docKey' => 'docKey', 'extension' => 'extension', 'hasChildren' => 'hasChildren', 'linkSourceInfo' => 'linkSourceInfo', 'name' => 'name', 'path' => 'path', 'space' => 'space', 'spaceId' => 'spaceId', 'updatedTime' => 'updatedTime', 'updater' => 'updater', 'url' => 'url', 'visitorInfo' => 'visitorInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->createdTime) { $res['createdTime'] = $this->createdTime; } if (null !== $this->creator) { $res['creator'] = null !== $this->creator ? $this->creator->toMap() : null; } if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->dentryType) { $res['dentryType'] = $this->dentryType; } if (null !== $this->dentryUuid) { $res['dentryUuid'] = $this->dentryUuid; } if (null !== $this->docKey) { $res['docKey'] = $this->docKey; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->hasChildren) { $res['hasChildren'] = $this->hasChildren; } if (null !== $this->linkSourceInfo) { $res['linkSourceInfo'] = null !== $this->linkSourceInfo ? $this->linkSourceInfo->toMap() : null; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->space) { $res['space'] = null !== $this->space ? $this->space->toMap() : null; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->updatedTime) { $res['updatedTime'] = $this->updatedTime; } if (null !== $this->updater) { $res['updater'] = null !== $this->updater ? $this->updater->toMap() : null; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->visitorInfo) { $res['visitorInfo'] = null !== $this->visitorInfo ? $this->visitorInfo->toMap() : null; } return $res; } /** * @param array $map * * @return DentryVO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['createdTime'])) { $model->createdTime = $map['createdTime']; } if (isset($map['creator'])) { $model->creator = creator::fromMap($map['creator']); } if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['dentryType'])) { $model->dentryType = $map['dentryType']; } if (isset($map['dentryUuid'])) { $model->dentryUuid = $map['dentryUuid']; } if (isset($map['docKey'])) { $model->docKey = $map['docKey']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['hasChildren'])) { $model->hasChildren = $map['hasChildren']; } if (isset($map['linkSourceInfo'])) { $model->linkSourceInfo = LinkSourceInfo::fromMap($map['linkSourceInfo']); } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['space'])) { $model->space = SpaceModel::fromMap($map['space']); } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['updatedTime'])) { $model->updatedTime = $map['updatedTime']; } if (isset($map['updater'])) { $model->updater = updater::fromMap($map['updater']); } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['visitorInfo'])) { $model->visitorInfo = visitorInfo::fromMap($map['visitorInfo']); } return $model; } } src/doc_2_0/Models/DentryVO/creator.php000064400000002161146412132660013652 0ustar00 'name', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return creator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/doc_2_0/Models/DentryVO/updater.php000064400000002161146412132660013657 0ustar00 'name', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return updater */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/doc_2_0/Models/DentryVO/visitorInfo.php000064400000003160146412132660014526 0ustar00 'dentryActions', 'roleCode' => 'roleCode', 'spaceActions' => 'spaceActions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryActions) { $res['dentryActions'] = $this->dentryActions; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } if (null !== $this->spaceActions) { $res['spaceActions'] = $this->spaceActions; } return $res; } /** * @param array $map * * @return visitorInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryActions'])) { if (!empty($map['dentryActions'])) { $model->dentryActions = $map['dentryActions']; } } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } if (isset($map['spaceActions'])) { if (!empty($map['spaceActions'])) { $model->spaceActions = $map['spaceActions']; } } return $model; } } src/doc_2_0/Models/DocContentHeaders.php000064400000002317146412132660014040 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DocContentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/DocContentRequest.php000064400000002400146412132660014106 0ustar00 'option', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DocContentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/DocContentRequest/option.php000064400000001572146412132660015427 0ustar00 'targetFormat', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->targetFormat) { $res['targetFormat'] = $this->targetFormat; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['targetFormat'])) { $model->targetFormat = $map['targetFormat']; } return $model; } } src/doc_2_0/Models/DocContentResponse.php000064400000002701146412132660014260 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DocContentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DocContentResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/DocContentResponseBody.php000064400000001457146412132660015105 0ustar00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return DocContentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/doc_2_0/Models/GetDentryIdByUuidHeaders.php000064400000002335146412132660015304 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDentryIdByUuidHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/GetDentryIdByUuidRequest.php000064400000001572146412132660015363 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetDentryIdByUuidRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/GetDentryIdByUuidResponse.php000064400000002735146412132660015533 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDentryIdByUuidResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDentryIdByUuidResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/GetDentryIdByUuidResponseBody.php000064400000002640146412132660016344 0ustar00 'dentryId', 'dentryUuid' => 'dentryUuid', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->dentryUuid) { $res['dentryUuid'] = $this->dentryUuid; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return GetDentryIdByUuidResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['dentryUuid'])) { $model->dentryUuid = $map['dentryUuid']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/doc_2_0/Models/GetDocContentHeaders.php000064400000002325146412132660014477 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDocContentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/GetDocContentRequest.php000064400000001604146412132660014553 0ustar00 'targetFormat', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->targetFormat) { $res['targetFormat'] = $this->targetFormat; } return $res; } /** * @param array $map * * @return GetDocContentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['targetFormat'])) { $model->targetFormat = $map['targetFormat']; } return $model; } } src/doc_2_0/Models/GetDocContentResponse.php000064400000002715146412132660014725 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDocContentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDocContentResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/GetDocContentResponseBody.php000064400000001465146412132660015544 0ustar00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return GetDocContentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/doc_2_0/Models/GetMySpaceHeaders.php000064400000002317146412132660014001 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMySpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/GetMySpaceRequest.php000064400000001535146412132660014057 0ustar00 'isMySpace', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isMySpace) { $res['isMySpace'] = $this->isMySpace; } return $res; } /** * @param array $map * * @return GetMySpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isMySpace'])) { $model->isMySpace = $map['isMySpace']; } return $model; } } src/doc_2_0/Models/GetMySpaceResponse.php000064400000002701146412132660014221 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMySpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMySpaceResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/GetMySpaceResponseBody.php000064400000005445146412132660015047 0ustar00 'createTime', 'modifyTime' => 'modifyTime', 'quota' => 'quota', 'spaceId' => 'spaceId', 'spaceName' => 'spaceName', 'spaceType' => 'spaceType', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->spaceName) { $res['spaceName'] = $this->spaceName; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return GetMySpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['spaceName'])) { $model->spaceName = $map['spaceName']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/doc_2_0/Models/GetSchemaHeaders.php000064400000002315146412132660013636 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSchemaHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/GetSchemaRequest.php000064400000001546146412132660013720 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetSchemaRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/GetSchemaResponse.php000064400000002675146412132660014072 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSchemaResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSchemaResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/GetSchemaResponseBody.php000064400000002347146412132660014704 0ustar00 'revision', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->revision) { $res['revision'] = $this->revision; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return GetSchemaResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['revision'])) { $model->revision = $map['revision']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/doc_2_0/Models/GetSpaceDirectoriesHeaders.php000064400000002341146412132660015665 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSpaceDirectoriesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/GetSpaceDirectoriesRequest.php000064400000003331146412132660015742 0ustar00 'dentryId', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetSpaceDirectoriesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/GetSpaceDirectoriesResponse.php000064400000002745146412132660016120 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSpaceDirectoriesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSpaceDirectoriesResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/GetSpaceDirectoriesResponseBody.php000064400000003637146412132660016737 0ustar00 'children', 'hasMore' => 'hasMore', 'nextToken' => 'nextToken', ]; 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->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetSpaceDirectoriesResponseBody */ 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 ? DentryModel::fromMap($item) : $item; } } } if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/doc_2_0/Models/GetStarInfoHeaders.php000064400000002321146412132660014160 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetStarInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/GetStarInfoRequest.php000064400000001556146412132660014246 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetStarInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/GetStarInfoResponse.php000064400000002705146412132660014411 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetStarInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetStarInfoResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/GetStarInfoResponseBody.php000064400000001473146412132660015230 0ustar00 'starred', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->starred) { $res['starred'] = $this->starred; } return $res; } /** * @param array $map * * @return GetStarInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['starred'])) { $model->starred = $map['starred']; } return $model; } } src/doc_2_0/Models/GetTeamHeaders.php000064400000002311146412132660013320 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTeamHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/GetTeamRequest.php000064400000001562146412132660013404 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetTeamRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/GetTeamResponse.php000064400000002530146412132660013546 0ustar00 '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; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTeamResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = TeamVO::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/GetTotalNumberOfDentriesHeaders.php000064400000002353146412132660016657 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTotalNumberOfDentriesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/GetTotalNumberOfDentriesRequest.php000064400000003007146412132660016731 0ustar00 'includeFolder', 'operatorId' => 'operatorId', 'spaceTypes' => 'spaceTypes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->includeFolder) { $res['includeFolder'] = $this->includeFolder; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->spaceTypes) { $res['spaceTypes'] = $this->spaceTypes; } return $res; } /** * @param array $map * * @return GetTotalNumberOfDentriesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['includeFolder'])) { $model->includeFolder = $map['includeFolder']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['spaceTypes'])) { $model->spaceTypes = $map['spaceTypes']; } return $model; } } src/doc_2_0/Models/GetTotalNumberOfDentriesResponse.php000064400000002771146412132660017106 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTotalNumberOfDentriesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTotalNumberOfDentriesResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/GetTotalNumberOfDentriesResponseBody.php000064400000001615146412132660017720 0ustar00 'dentriesCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentriesCount) { $res['dentriesCount'] = $this->dentriesCount; } return $res; } /** * @param array $map * * @return GetTotalNumberOfDentriesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentriesCount'])) { $model->dentriesCount = $map['dentriesCount']; } return $model; } } src/doc_2_0/Models/GetTotalNumberOfSpacesHeaders.php000064400000002347146412132660016323 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTotalNumberOfSpacesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/GetTotalNumberOfSpacesRequest.php000064400000001600146412132660016367 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetTotalNumberOfSpacesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/GetTotalNumberOfSpacesResponse.php000064400000002761146412132660016546 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTotalNumberOfSpacesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTotalNumberOfSpacesResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/GetTotalNumberOfSpacesResponseBody.php000064400000001567146412132660017367 0ustar00 'spacesCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spacesCount) { $res['spacesCount'] = $this->spacesCount; } return $res; } /** * @param array $map * * @return GetTotalNumberOfSpacesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spacesCount'])) { $model->spacesCount = $map['spacesCount']; } return $model; } } src/doc_2_0/Models/GetUserInfoByOpenTokenHeaders.php000064400000002347146412132660016313 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserInfoByOpenTokenHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/GetUserInfoByOpenTokenRequest.php000064400000002154146412132660016364 0ustar00 'docKey', 'openToken' => 'openToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->docKey) { $res['docKey'] = $this->docKey; } if (null !== $this->openToken) { $res['openToken'] = $this->openToken; } return $res; } /** * @param array $map * * @return GetUserInfoByOpenTokenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['docKey'])) { $model->docKey = $map['docKey']; } if (isset($map['openToken'])) { $model->openToken = $map['openToken']; } return $model; } } src/doc_2_0/Models/GetUserInfoByOpenTokenResponse.php000064400000002761146412132660016536 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserInfoByOpenTokenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserInfoByOpenTokenResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/GetUserInfoByOpenTokenResponseBody.php000064400000002142146412132660017345 0ustar00 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetUserInfoByOpenTokenResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/doc_2_0/Models/GetUuidByDentryIdHeaders.php000064400000002335146412132660015304 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUuidByDentryIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/GetUuidByDentryIdRequest.php000064400000002256146412132660015363 0ustar00 'operatorId', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return GetUuidByDentryIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/doc_2_0/Models/GetUuidByDentryIdResponse.php000064400000002735146412132660015533 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUuidByDentryIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUuidByDentryIdResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/GetUuidByDentryIdResponseBody.php000064400000002640146412132660016344 0ustar00 'dentryId', 'dentryUuid' => 'dentryUuid', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->dentryUuid) { $res['dentryUuid'] = $this->dentryUuid; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return GetUuidByDentryIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['dentryUuid'])) { $model->dentryUuid = $map['dentryUuid']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/doc_2_0/Models/LinkSourceInfo.php000064400000004154146412132660013377 0ustar00 'extension', 'iconUrl' => 'iconUrl', 'id' => 'id', 'linkType' => 'linkType', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->iconUrl) { $res['iconUrl'] = null !== $this->iconUrl ? $this->iconUrl->toMap() : null; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->linkType) { $res['linkType'] = $this->linkType; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return LinkSourceInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['iconUrl'])) { $model->iconUrl = iconUrl::fromMap($map['iconUrl']); } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['linkType'])) { $model->linkType = $map['linkType']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/doc_2_0/Models/LinkSourceInfo/iconUrl.php000064400000002114146412132660015004 0ustar00 'line', 'small' => 'small', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->line) { $res['line'] = $this->line; } if (null !== $this->small) { $res['small'] = $this->small; } return $res; } /** * @param array $map * * @return iconUrl */ public static function fromMap($map = []) { $model = new self(); if (isset($map['line'])) { $model->line = $map['line']; } if (isset($map['small'])) { $model->small = $map['small']; } return $model; } } src/doc_2_0/Models/ListFeedsHeaders.php000064400000002315146412132660013660 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListFeedsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/ListFeedsRequest.php000064400000003373146412132660013742 0ustar00 'excludeFile', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->excludeFile) { $res['excludeFile'] = $this->excludeFile; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return ListFeedsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['excludeFile'])) { $model->excludeFile = $map['excludeFile']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/ListFeedsResponse.php000064400000002675146412132660014114 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListFeedsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListFeedsResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/ListFeedsResponseBody.php000064400000003676146412132660014734 0ustar00 'hasMore', 'items' => 'items', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } 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->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListFeedsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } 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['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/doc_2_0/Models/ListFeedsResponseBody/items.php000064400000002574146412132660016051 0ustar00 'content', 'time' => 'time', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->time) { $res['time'] = $this->time; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return items */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['time'])) { $model->time = $map['time']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/doc_2_0/Models/ListHotDocsHeaders.php000064400000002321146412132660014172 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListHotDocsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/ListHotDocsRequest.php000064400000001552146412132660014254 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return ListHotDocsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/ListHotDocsResponse.php000064400000002705146412132660014423 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListHotDocsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListHotDocsResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/ListHotDocsResponseBody.php000064400000002441146412132660015236 0ustar00 'items', ]; 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; } } } return $res; } /** * @param array $map * * @return ListHotDocsResponseBody */ 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 ? DentryModel::fromMap($item) : $item; } } } return $model; } } src/doc_2_0/Models/ListPinSpacesHeaders.php000064400000002325146412132660014520 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListPinSpacesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/ListPinSpacesRequest.php000064400000002411146412132660014571 0ustar00 'option', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return ListPinSpacesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/ListPinSpacesRequest/option.php000064400000005534146412132660016112 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'withSpaceCreatorInfo' => 'withSpaceCreatorInfo', 'withSpaceModifierInfo' => 'withSpaceModifierInfo', 'withSpacePermissionRole' => 'withSpacePermissionRole', 'withTeamDetail' => 'withTeamDetail', ]; 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->withSpaceCreatorInfo) { $res['withSpaceCreatorInfo'] = $this->withSpaceCreatorInfo; } if (null !== $this->withSpaceModifierInfo) { $res['withSpaceModifierInfo'] = $this->withSpaceModifierInfo; } if (null !== $this->withSpacePermissionRole) { $res['withSpacePermissionRole'] = $this->withSpacePermissionRole; } if (null !== $this->withTeamDetail) { $res['withTeamDetail'] = $this->withTeamDetail; } return $res; } /** * @param array $map * * @return option */ 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['withSpaceCreatorInfo'])) { $model->withSpaceCreatorInfo = $map['withSpaceCreatorInfo']; } if (isset($map['withSpaceModifierInfo'])) { $model->withSpaceModifierInfo = $map['withSpaceModifierInfo']; } if (isset($map['withSpacePermissionRole'])) { $model->withSpacePermissionRole = $map['withSpacePermissionRole']; } if (isset($map['withTeamDetail'])) { $model->withTeamDetail = $map['withTeamDetail']; } return $model; } } src/doc_2_0/Models/ListPinSpacesResponse.php000064400000002715146412132660014746 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListPinSpacesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListPinSpacesResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/ListPinSpacesResponseBody.php000064400000003441146412132660015561 0ustar00 'nextToken', 'resultItems' => 'resultItems', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->resultItems) { $res['resultItems'] = []; if (null !== $this->resultItems && \is_array($this->resultItems)) { $n = 0; foreach ($this->resultItems as $item) { $res['resultItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListPinSpacesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['resultItems'])) { if (!empty($map['resultItems'])) { $model->resultItems = []; $n = 0; foreach ($map['resultItems'] as $item) { $model->resultItems[$n++] = null !== $item ? resultItems::fromMap($item) : $item; } } } return $model; } } src/doc_2_0/Models/ListPinSpacesResponseBody/resultItems.php000064400000005114146412132660020100 0ustar00 'createTime', 'modifiedTime' => 'modifiedTime', 'spaceInfo' => 'spaceInfo', 'spacePermissionRole' => 'spacePermissionRole', 'teamInfo' => 'teamInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->spaceInfo) { $res['spaceInfo'] = null !== $this->spaceInfo ? $this->spaceInfo->toMap() : null; } if (null !== $this->spacePermissionRole) { $res['spacePermissionRole'] = $this->spacePermissionRole; } if (null !== $this->teamInfo) { $res['teamInfo'] = null !== $this->teamInfo ? $this->teamInfo->toMap() : null; } return $res; } /** * @param array $map * * @return resultItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['spaceInfo'])) { $model->spaceInfo = spaceInfo::fromMap($map['spaceInfo']); } if (isset($map['spacePermissionRole'])) { $model->spacePermissionRole = $map['spacePermissionRole']; } if (isset($map['teamInfo'])) { $model->teamInfo = teamInfo::fromMap($map['teamInfo']); } return $model; } } src/doc_2_0/Models/ListPinSpacesResponseBody/resultItems/spaceInfo.php000064400000010600146412132660022003 0ustar00 'cover', 'createTime' => 'createTime', 'creator' => 'creator', 'description' => 'description', 'iconVO' => 'iconVO', 'id' => 'id', 'mobileUrl' => 'mobileUrl', 'modifiedTime' => 'modifiedTime', 'modifier' => 'modifier', 'name' => 'name', 'pcUrl' => 'pcUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = null !== $this->creator ? $this->creator->toMap() : null; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->iconVO) { $res['iconVO'] = null !== $this->iconVO ? $this->iconVO->toMap() : null; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->modifier) { $res['modifier'] = null !== $this->modifier ? $this->modifier->toMap() : null; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } return $res; } /** * @param array $map * * @return spaceInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = creator::fromMap($map['creator']); } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['iconVO'])) { $model->iconVO = iconVO::fromMap($map['iconVO']); } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['modifier'])) { $model->modifier = modifier::fromMap($map['modifier']); } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } return $model; } } src/doc_2_0/Models/ListPinSpacesResponseBody/resultItems/spaceInfo/creator.php000064400000002203146412132660023442 0ustar00 '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 creator */ 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/doc_2_0/Models/ListPinSpacesResponseBody/resultItems/spaceInfo/iconVO.php000064400000002147146412132660023207 0ustar00 'icon', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return iconVO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/doc_2_0/Models/ListPinSpacesResponseBody/resultItems/spaceInfo/modifier.php000064400000002205146412132660023603 0ustar00 '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 modifier */ 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/doc_2_0/Models/ListPinSpacesResponseBody/resultItems/teamInfo.php000064400000002126146412132660021642 0ustar00 '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 teamInfo */ 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/doc_2_0/Models/ListRecentsHeaders.php000064400000002321146412132660014232 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListRecentsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/ListRecentsRequest.php000064400000001640146412132660014312 0ustar00 'param', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->param) { $res['param'] = null !== $this->param ? $this->param->toMap() : null; } return $res; } /** * @param array $map * * @return ListRecentsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['param'])) { $model->param = param::fromMap($map['param']); } return $model; } } src/doc_2_0/Models/ListRecentsRequest/param.php000064400000003716146412132660015420 0ustar00 'fileTypes', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'operateTypes' => 'operateTypes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileTypes) { $res['fileTypes'] = $this->fileTypes; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->operateTypes) { $res['operateTypes'] = $this->operateTypes; } return $res; } /** * @param array $map * * @return param */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileTypes'])) { if (!empty($map['fileTypes'])) { $model->fileTypes = $map['fileTypes']; } } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['operateTypes'])) { if (!empty($map['operateTypes'])) { $model->operateTypes = $map['operateTypes']; } } return $model; } } src/doc_2_0/Models/ListRecentsResponse.php000064400000002705146412132660014463 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListRecentsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListRecentsResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/ListRecentsResponseBody.php000064400000004333146412132660015300 0ustar00 'hasMore', 'nextToken' => 'nextToken', 'recentDentryList' => 'recentDentryList', ]; 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->recentDentryList) { $res['recentDentryList'] = []; if (null !== $this->recentDentryList && \is_array($this->recentDentryList)) { $n = 0; foreach ($this->recentDentryList as $item) { $res['recentDentryList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListRecentsResponseBody */ 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['recentDentryList'])) { if (!empty($map['recentDentryList'])) { $model->recentDentryList = []; $n = 0; foreach ($map['recentDentryList'] as $item) { $model->recentDentryList[$n++] = null !== $item ? recentDentryList::fromMap($item) : $item; } } } return $model; } } src/doc_2_0/Models/ListRecentsResponseBody/recentDentryList.php000064400000004423146412132660020602 0ustar00 'accessTime', 'deleted' => 'deleted', 'icon' => 'icon', 'operateType' => 'operateType', 'resource' => 'resource', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessTime) { $res['accessTime'] = $this->accessTime; } if (null !== $this->deleted) { $res['deleted'] = $this->deleted; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->operateType) { $res['operateType'] = $this->operateType; } if (null !== $this->resource) { $res['resource'] = null !== $this->resource ? $this->resource->toMap() : null; } return $res; } /** * @param array $map * * @return recentDentryList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessTime'])) { $model->accessTime = $map['accessTime']; } if (isset($map['deleted'])) { $model->deleted = $map['deleted']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['operateType'])) { $model->operateType = $map['operateType']; } if (isset($map['resource'])) { $model->resource = resource::fromMap($map['resource']); } return $model; } } src/doc_2_0/Models/ListRecentsResponseBody/recentDentryList/resource.php000064400000005761146412132660022437 0ustar00 'dentryUuid', 'driveDentryId' => 'driveDentryId', 'driveSpaceId' => 'driveSpaceId', 'extension' => 'extension', 'name' => 'name', 'spaceInfo' => 'spaceInfo', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryUuid) { $res['dentryUuid'] = $this->dentryUuid; } if (null !== $this->driveDentryId) { $res['driveDentryId'] = $this->driveDentryId; } if (null !== $this->driveSpaceId) { $res['driveSpaceId'] = $this->driveSpaceId; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->spaceInfo) { $res['spaceInfo'] = null !== $this->spaceInfo ? $this->spaceInfo->toMap() : null; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return resource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryUuid'])) { $model->dentryUuid = $map['dentryUuid']; } if (isset($map['driveDentryId'])) { $model->driveDentryId = $map['driveDentryId']; } if (isset($map['driveSpaceId'])) { $model->driveSpaceId = $map['driveSpaceId']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['spaceInfo'])) { $model->spaceInfo = spaceInfo::fromMap($map['spaceInfo']); } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/doc_2_0/Models/ListRecentsResponseBody/recentDentryList/resource/spaceInfo.php000064400000001577146412132660024347 0ustar00 'sceneType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sceneType) { $res['sceneType'] = $this->sceneType; } return $res; } /** * @param array $map * * @return spaceInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sceneType'])) { $model->sceneType = $map['sceneType']; } return $model; } } src/doc_2_0/Models/ListRelatedSpaceTeamsHeaders.php000064400000002345146412132660016163 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListRelatedSpaceTeamsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/ListRelatedSpaceTeamsRequest.php000064400000002175146412132660016241 0ustar00 'operatorId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return ListRelatedSpaceTeamsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/doc_2_0/Models/ListRelatedSpaceTeamsResponse.php000064400000002755146412132660016413 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListRelatedSpaceTeamsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListRelatedSpaceTeamsResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/ListRelatedSpaceTeamsResponseBody.php000064400000002461146412132660017223 0ustar00 'items', ]; 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; } } } return $res; } /** * @param array $map * * @return ListRelatedSpaceTeamsResponseBody */ 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 ? TeamModel::fromMap($item) : $item; } } } return $model; } } src/doc_2_0/Models/ListRelatedTeamsHeaders.php000064400000002333146412132660015204 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListRelatedTeamsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/ListRelatedTeamsRequest.php000064400000003456146412132660015270 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'operatorId' => 'operatorId', '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->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return ListRelatedTeamsRequest */ 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['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/doc_2_0/Models/ListRelatedTeamsResponse.php000064400000002731146412132660015431 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListRelatedTeamsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListRelatedTeamsResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/ListRelatedTeamsResponseBody.php000064400000003617146412132660016253 0ustar00 'hasMore', 'items' => 'items', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } 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->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListRelatedTeamsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['items'])) { if (!empty($map['items'])) { $model->items = []; $n = 0; foreach ($map['items'] as $item) { $model->items[$n++] = null !== $item ? TeamModel::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/doc_2_0/Models/ListSpaceSectionsHeaders.php000064400000002335146412132660015377 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListSpaceSectionsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/ListSpaceSectionsRequest.php000064400000001566146412132660015461 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return ListSpaceSectionsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/ListSpaceSectionsResponse.php000064400000002735146412132660015626 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListSpaceSectionsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListSpaceSectionsResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/ListSpaceSectionsResponseBody.php000064400000002564146412132660016444 0ustar00 'items', ]; 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; } } } return $res; } /** * @param array $map * * @return ListSpaceSectionsResponseBody */ 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; } } } return $model; } } src/doc_2_0/Models/ListSpaceSectionsResponseBody/items.php000064400000005054146412132660017562 0ustar00 'displayType', 'id' => 'id', 'name' => 'name', 'spaceNum' => 'spaceNum', 'spaces' => 'spaces', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayType) { $res['displayType'] = $this->displayType; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->spaceNum) { $res['spaceNum'] = $this->spaceNum; } if (null !== $this->spaces) { $res['spaces'] = []; if (null !== $this->spaces && \is_array($this->spaces)) { $n = 0; foreach ($this->spaces as $item) { $res['spaces'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return items */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayType'])) { $model->displayType = $map['displayType']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['spaceNum'])) { $model->spaceNum = $map['spaceNum']; } if (isset($map['spaces'])) { if (!empty($map['spaces'])) { $model->spaces = []; $n = 0; foreach ($map['spaces'] as $item) { $model->spaces[$n++] = null !== $item ? SpaceModel::fromMap($item) : $item; } } } return $model; } } src/doc_2_0/Models/ListStarsHeaders.php000064400000002315146412132660013726 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListStarsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/ListStarsRequest.php000064400000002375146412132660014011 0ustar00 'option', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return ListStarsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/ListStarsRequest/option.php000064400000012706146412132660015320 0ustar00 'contentTypeList', 'filterDocTypes' => 'filterDocTypes', 'listV2' => 'listV2', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'order' => 'order', 'orderBy' => 'orderBy', 'withDentryCreatorInfo' => 'withDentryCreatorInfo', 'withDentryModifierInfo' => 'withDentryModifierInfo', 'withDentryPermissionRole' => 'withDentryPermissionRole', 'withSpaceDetail' => 'withSpaceDetail', 'withSpacePermissionRole' => 'withSpacePermissionRole', 'withTeamDetail' => 'withTeamDetail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentTypeList) { $res['contentTypeList'] = $this->contentTypeList; } if (null !== $this->filterDocTypes) { $res['filterDocTypes'] = $this->filterDocTypes; } if (null !== $this->listV2) { $res['listV2'] = $this->listV2; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->order) { $res['order'] = $this->order; } if (null !== $this->orderBy) { $res['orderBy'] = $this->orderBy; } if (null !== $this->withDentryCreatorInfo) { $res['withDentryCreatorInfo'] = $this->withDentryCreatorInfo; } if (null !== $this->withDentryModifierInfo) { $res['withDentryModifierInfo'] = $this->withDentryModifierInfo; } if (null !== $this->withDentryPermissionRole) { $res['withDentryPermissionRole'] = $this->withDentryPermissionRole; } if (null !== $this->withSpaceDetail) { $res['withSpaceDetail'] = $this->withSpaceDetail; } if (null !== $this->withSpacePermissionRole) { $res['withSpacePermissionRole'] = $this->withSpacePermissionRole; } if (null !== $this->withTeamDetail) { $res['withTeamDetail'] = $this->withTeamDetail; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentTypeList'])) { if (!empty($map['contentTypeList'])) { $model->contentTypeList = $map['contentTypeList']; } } if (isset($map['filterDocTypes'])) { if (!empty($map['filterDocTypes'])) { $model->filterDocTypes = $map['filterDocTypes']; } } if (isset($map['listV2'])) { $model->listV2 = $map['listV2']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['order'])) { $model->order = $map['order']; } if (isset($map['orderBy'])) { $model->orderBy = $map['orderBy']; } if (isset($map['withDentryCreatorInfo'])) { $model->withDentryCreatorInfo = $map['withDentryCreatorInfo']; } if (isset($map['withDentryModifierInfo'])) { $model->withDentryModifierInfo = $map['withDentryModifierInfo']; } if (isset($map['withDentryPermissionRole'])) { $model->withDentryPermissionRole = $map['withDentryPermissionRole']; } if (isset($map['withSpaceDetail'])) { $model->withSpaceDetail = $map['withSpaceDetail']; } if (isset($map['withSpacePermissionRole'])) { $model->withSpacePermissionRole = $map['withSpacePermissionRole']; } if (isset($map['withTeamDetail'])) { $model->withTeamDetail = $map['withTeamDetail']; } return $model; } } src/doc_2_0/Models/ListStarsResponse.php000064400000002675146412132660014162 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListStarsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListStarsResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/ListStarsResponseBody.php000064400000003336146412132660014773 0ustar00 'nextToken', 'starList' => 'starList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->starList) { $res['starList'] = []; if (null !== $this->starList && \is_array($this->starList)) { $n = 0; foreach ($this->starList as $item) { $res['starList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListStarsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['starList'])) { if (!empty($map['starList'])) { $model->starList = []; $n = 0; foreach ($map['starList'] as $item) { $model->starList[$n++] = null !== $item ? starList::fromMap($item) : $item; } } } return $model; } } src/doc_2_0/Models/ListStarsResponseBody/starList.php000064400000010532146412132660016574 0ustar00 'createTime', 'dentryInfo' => 'dentryInfo', 'dentryPermissionRole' => 'dentryPermissionRole', 'id' => 'id', 'isDeleted' => 'isDeleted', 'modifiedTime' => 'modifiedTime', 'spaceInfo' => 'spaceInfo', 'spacePermissionRole' => 'spacePermissionRole', 'starType' => 'starType', 'teamInfo' => 'teamInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->dentryInfo) { $res['dentryInfo'] = null !== $this->dentryInfo ? $this->dentryInfo->toMap() : null; } if (null !== $this->dentryPermissionRole) { $res['dentryPermissionRole'] = $this->dentryPermissionRole; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->spaceInfo) { $res['spaceInfo'] = null !== $this->spaceInfo ? $this->spaceInfo->toMap() : null; } if (null !== $this->spacePermissionRole) { $res['spacePermissionRole'] = $this->spacePermissionRole; } if (null !== $this->starType) { $res['starType'] = $this->starType; } if (null !== $this->teamInfo) { $res['teamInfo'] = null !== $this->teamInfo ? $this->teamInfo->toMap() : null; } return $res; } /** * @param array $map * * @return starList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['dentryInfo'])) { $model->dentryInfo = dentryInfo::fromMap($map['dentryInfo']); } if (isset($map['dentryPermissionRole'])) { $model->dentryPermissionRole = $map['dentryPermissionRole']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['spaceInfo'])) { $model->spaceInfo = spaceInfo::fromMap($map['spaceInfo']); } if (isset($map['spacePermissionRole'])) { $model->spacePermissionRole = $map['spacePermissionRole']; } if (isset($map['starType'])) { $model->starType = $map['starType']; } if (isset($map['teamInfo'])) { $model->teamInfo = teamInfo::fromMap($map['teamInfo']); } return $model; } } src/doc_2_0/Models/ListStarsResponseBody/starList/dentryInfo.php000064400000011444146412132660020720 0ustar00 'createTime', 'creator' => 'creator', 'extension' => 'extension', 'id' => 'id', 'mobileUrl' => 'mobileUrl', 'modifiedTime' => 'modifiedTime', 'modifier' => 'modifier', 'name' => 'name', 'pcUrl' => 'pcUrl', 'spaceId' => 'spaceId', 'status' => 'status', 'type' => 'type', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = null !== $this->creator ? $this->creator->toMap() : null; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->modifier) { $res['modifier'] = null !== $this->modifier ? $this->modifier->toMap() : null; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } 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; } return $res; } /** * @param array $map * * @return dentryInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = creator::fromMap($map['creator']); } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['modifier'])) { $model->modifier = modifier::fromMap($map['modifier']); } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } 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']; } return $model; } } src/doc_2_0/Models/ListStarsResponseBody/starList/dentryInfo/creator.php000064400000002175146412132660022360 0ustar00 '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 creator */ 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/doc_2_0/Models/ListStarsResponseBody/starList/dentryInfo/modifier.php000064400000002177146412132660022521 0ustar00 '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 modifier */ 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/doc_2_0/Models/ListStarsResponseBody/starList/spaceInfo.php000064400000002123146412132660020500 0ustar00 '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 spaceInfo */ 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/doc_2_0/Models/ListStarsResponseBody/starList/teamInfo.php000064400000002117146412132660020336 0ustar00 '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 teamInfo */ 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/doc_2_0/Models/ListTeamMembersHeaders.php000064400000002331146412132660015031 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListTeamMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/ListTeamMembersRequest.php000064400000001602146412132660015106 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return ListTeamMembersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/ListTeamMembersResponse.php000064400000002725146412132660015263 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListTeamMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListTeamMembersResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/ListTeamMembersResponseBody.php000064400000003335146412132660016077 0ustar00 'members', 'teamName' => 'teamName', ]; 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; } } } if (null !== $this->teamName) { $res['teamName'] = $this->teamName; } return $res; } /** * @param array $map * * @return ListTeamMembersResponseBody */ 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; } } } if (isset($map['teamName'])) { $model->teamName = $map['teamName']; } return $model; } } src/doc_2_0/Models/ListTeamMembersResponseBody/members.php000064400000003423146412132660017527 0ustar00 'memberId', 'memberType' => 'memberType', 'name' => 'name', 'roleCode' => 'roleCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } 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']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } return $model; } } src/doc_2_0/Models/MapValue.php000064400000011034146412132660012212 0ustar00 'templateId', 'title' => 'title', 'type' => 'type', 'coverDownloadUrl' => 'coverDownloadUrl', 'description' => 'description', 'authorName' => 'authorName', 'createTime' => 'createTime', 'modifiedTime' => 'modifiedTime', 'workspaceId' => 'workspaceId', 'workspaceName' => 'workspaceName', 'usedCount' => 'usedCount', 'belong' => 'belong', 'contentDownloadUrl' => 'contentDownloadUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->coverDownloadUrl) { $res['coverDownloadUrl'] = $this->coverDownloadUrl; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->authorName) { $res['authorName'] = $this->authorName; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } if (null !== $this->workspaceName) { $res['workspaceName'] = $this->workspaceName; } if (null !== $this->usedCount) { $res['usedCount'] = $this->usedCount; } if (null !== $this->belong) { $res['belong'] = $this->belong; } if (null !== $this->contentDownloadUrl) { $res['contentDownloadUrl'] = $this->contentDownloadUrl; } return $res; } /** * @param array $map * * @return MapValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['coverDownloadUrl'])) { $model->coverDownloadUrl = $map['coverDownloadUrl']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['authorName'])) { $model->authorName = $map['authorName']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } if (isset($map['workspaceName'])) { $model->workspaceName = $map['workspaceName']; } if (isset($map['usedCount'])) { $model->usedCount = $map['usedCount']; } if (isset($map['belong'])) { $model->belong = $map['belong']; } if (isset($map['contentDownloadUrl'])) { $model->contentDownloadUrl = $map['contentDownloadUrl']; } return $model; } } src/doc_2_0/Models/MarkStarHeaders.php000064400000002313146412132660013520 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MarkStarHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/MarkStarRequest.php000064400000001550146412132660013577 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return MarkStarRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/MarkStarResponse.php000064400000002671146412132660013752 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MarkStarResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = MarkStarResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/MarkStarResponseBody.php000064400000001521146412132660014561 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return MarkStarResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/doc_2_0/Models/MoveDentryHeaders.php000064400000002317146412132660014074 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MoveDentryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/MoveDentryRequest.php000064400000004272146412132660014153 0ustar00 'operatorId', 'targetSpaceId' => 'targetSpaceId', 'toNextDentryId' => 'toNextDentryId', 'toParentDentryId' => 'toParentDentryId', 'toPrevDentryId' => 'toPrevDentryId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->targetSpaceId) { $res['targetSpaceId'] = $this->targetSpaceId; } if (null !== $this->toNextDentryId) { $res['toNextDentryId'] = $this->toNextDentryId; } if (null !== $this->toParentDentryId) { $res['toParentDentryId'] = $this->toParentDentryId; } if (null !== $this->toPrevDentryId) { $res['toPrevDentryId'] = $this->toPrevDentryId; } return $res; } /** * @param array $map * * @return MoveDentryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['targetSpaceId'])) { $model->targetSpaceId = $map['targetSpaceId']; } if (isset($map['toNextDentryId'])) { $model->toNextDentryId = $map['toNextDentryId']; } if (isset($map['toParentDentryId'])) { $model->toParentDentryId = $map['toParentDentryId']; } if (isset($map['toPrevDentryId'])) { $model->toPrevDentryId = $map['toPrevDentryId']; } return $model; } } src/doc_2_0/Models/MoveDentryResponse.php000064400000002540146412132660014315 0ustar00 '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; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MoveDentryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DentryVO::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/OpenActionModel.php000064400000002171146412132660013522 0ustar00 'name', 'timestamp' => 'timestamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } return $res; } /** * @param array $map * * @return OpenActionModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } return $model; } } src/doc_2_0/Models/PinSpaceHeaders.php000064400000002313146412132660013476 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PinSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/PinSpaceRequest.php000064400000001550146412132660013555 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return PinSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/PinSpaceResponse.php000064400000002671146412132660013730 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PinSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PinSpaceResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/PinSpaceResponseBody.php000064400000001521146412132660014537 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return PinSpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/doc_2_0/Models/QueryDentryHeaders.php000064400000002321146412132660014266 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDentryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/QueryDentryRequest.php000064400000002313146412132660014344 0ustar00 'includeSpace', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->includeSpace) { $res['includeSpace'] = $this->includeSpace; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return QueryDentryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['includeSpace'])) { $model->includeSpace = $map['includeSpace']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/QueryDentryResponse.php000064400000002542146412132660014516 0ustar00 '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; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDentryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DentryVO::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/QueryDocContentHeaders.php000064400000002331146412132660015062 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDocContentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/QueryDocContentRequest.php000064400000002334146412132660015142 0ustar00 'operatorId', 'targetFormat' => 'targetFormat', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->targetFormat) { $res['targetFormat'] = $this->targetFormat; } return $res; } /** * @param array $map * * @return QueryDocContentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['targetFormat'])) { $model->targetFormat = $map['targetFormat']; } return $model; } } src/doc_2_0/Models/QueryDocContentResponse.php000064400000002725146412132660015314 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDocContentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDocContentResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/QueryDocContentResponseBody.php000064400000001471146412132660016127 0ustar00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return QueryDocContentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/doc_2_0/Models/QueryItemByUrlHeaders.php000064400000002327146412132660014703 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryItemByUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/QueryItemByUrlRequest.php000064400000003136146412132660014757 0ustar00 'operatorId', 'url' => 'url', 'withStatisticalInfo' => 'withStatisticalInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->withStatisticalInfo) { $res['withStatisticalInfo'] = $this->withStatisticalInfo; } return $res; } /** * @param array $map * * @return QueryItemByUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['withStatisticalInfo'])) { $model->withStatisticalInfo = $map['withStatisticalInfo']; } return $model; } } src/doc_2_0/Models/QueryItemByUrlResponse.php000064400000002721146412132660015124 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryItemByUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryItemByUrlResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/QueryItemByUrlResponseBody.php000064400000003663146412132660015750 0ustar00 'bizType', 'dentry' => 'dentry', 'resourceType' => 'resourceType', 'space' => 'space', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->dentry) { $res['dentry'] = null !== $this->dentry ? $this->dentry->toMap() : null; } if (null !== $this->resourceType) { $res['resourceType'] = $this->resourceType; } if (null !== $this->space) { $res['space'] = null !== $this->space ? $this->space->toMap() : null; } return $res; } /** * @param array $map * * @return QueryItemByUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['dentry'])) { $model->dentry = DentryModel::fromMap($map['dentry']); } if (isset($map['resourceType'])) { $model->resourceType = $map['resourceType']; } if (isset($map['space'])) { $model->space = space::fromMap($map['space']); } return $model; } } src/doc_2_0/Models/QueryItemByUrlResponseBody/space.php000064400000004201146412132660017030 0ustar00 'description', 'id' => 'id', 'name' => 'name', 'owner' => 'owner', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; 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->owner) { $res['owner'] = null !== $this->owner ? $this->owner->toMap() : null; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return space */ public static function fromMap($map = []) { $model = new self(); 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['owner'])) { $model->owner = owner::fromMap($map['owner']); } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/doc_2_0/Models/QueryItemByUrlResponseBody/space/owner.php000064400000002204146412132660020163 0ustar00 'name', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } 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['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/doc_2_0/Models/QueryMineSpaceHeaders.php000064400000002327146412132660014673 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryMineSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/QueryMineSpaceResponse.php000064400000002547146412132660015122 0ustar00 '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; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMineSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SpaceVO::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/QueryRecentListHeaders.php000064400000002331146412132660015076 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryRecentListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/QueryRecentListRequest.php000064400000004472146412132660015163 0ustar00 'creatorType', 'fileType' => 'fileType', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'operatorId' => 'operatorId', 'recentType' => 'recentType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorType) { $res['creatorType'] = $this->creatorType; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->recentType) { $res['recentType'] = $this->recentType; } return $res; } /** * @param array $map * * @return QueryRecentListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorType'])) { $model->creatorType = $map['creatorType']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['recentType'])) { $model->recentType = $map['recentType']; } return $model; } } src/doc_2_0/Models/QueryRecentListResponse.php000064400000002725146412132660015330 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryRecentListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryRecentListResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/QueryRecentListResponseBody.php000064400000004012146412132660016135 0ustar00 'hasMore', 'nextToken' => 'nextToken', 'recentList' => 'recentList', ]; 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->recentList) { $res['recentList'] = []; if (null !== $this->recentList && \is_array($this->recentList)) { $n = 0; foreach ($this->recentList as $item) { $res['recentList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryRecentListResponseBody */ 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['recentList'])) { if (!empty($map['recentList'])) { $model->recentList = []; $n = 0; foreach ($map['recentList'] as $item) { $model->recentList[$n++] = null !== $item ? recentList::fromMap($item) : $item; } } } return $model; } } src/doc_2_0/Models/QueryRecentListResponseBody/recentList.php000064400000003621146412132660020256 0ustar00 'deleted', 'dentry' => 'dentry', 'recentTime' => 'recentTime', 'team' => 'team', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deleted) { $res['deleted'] = $this->deleted; } if (null !== $this->dentry) { $res['dentry'] = null !== $this->dentry ? $this->dentry->toMap() : null; } if (null !== $this->recentTime) { $res['recentTime'] = $this->recentTime; } if (null !== $this->team) { $res['team'] = null !== $this->team ? $this->team->toMap() : null; } return $res; } /** * @param array $map * * @return recentList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deleted'])) { $model->deleted = $map['deleted']; } if (isset($map['dentry'])) { $model->dentry = DentryModel::fromMap($map['dentry']); } if (isset($map['recentTime'])) { $model->recentTime = $map['recentTime']; } if (isset($map['team'])) { $model->team = team::fromMap($map['team']); } return $model; } } src/doc_2_0/Models/QueryRecentListResponseBody/recentList/team.php000064400000002017146412132660021202 0ustar00 '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 team */ 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/doc_2_0/Models/QuerySpaceHeaders.php000064400000002317146412132660014061 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QuerySpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/QuerySpaceRequest.php000064400000001550146412132660014134 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return QuerySpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/QuerySpaceResponse.php000064400000002537146412132660014310 0ustar00 '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; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QuerySpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SpaceVO::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/RelatedSpacesHeaders.php000064400000002325146412132660014516 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RelatedSpacesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/RelatedSpacesRequest.php000064400000003364146412132660014577 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'operatorId' => 'operatorId', 'teamId' => 'teamId', ]; 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->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->teamId) { $res['teamId'] = $this->teamId; } return $res; } /** * @param array $map * * @return RelatedSpacesRequest */ 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['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['teamId'])) { $model->teamId = $map['teamId']; } return $model; } } src/doc_2_0/Models/RelatedSpacesResponse.php000064400000002715146412132660014744 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RelatedSpacesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RelatedSpacesResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/RelatedSpacesResponseBody.php000064400000003654146412132660015565 0ustar00 'hasMore', 'items' => 'items', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } 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->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return RelatedSpacesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } 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['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/doc_2_0/Models/RelatedSpacesResponseBody/items.php000064400000011573146412132660016705 0ustar00 'cover', 'description' => 'description', 'hdIconVO' => 'hdIconVO', 'iconVO' => 'iconVO', 'id' => 'id', 'name' => 'name', 'owner' => 'owner', 'recentList' => 'recentList', 'type' => 'type', 'url' => 'url', 'visitorInfo' => 'visitorInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->hdIconVO) { $res['hdIconVO'] = null !== $this->hdIconVO ? $this->hdIconVO->toMap() : null; } if (null !== $this->iconVO) { $res['iconVO'] = null !== $this->iconVO ? $this->iconVO->toMap() : null; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->owner) { $res['owner'] = null !== $this->owner ? $this->owner->toMap() : null; } if (null !== $this->recentList) { $res['recentList'] = []; if (null !== $this->recentList && \is_array($this->recentList)) { $n = 0; foreach ($this->recentList as $item) { $res['recentList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->visitorInfo) { $res['visitorInfo'] = null !== $this->visitorInfo ? $this->visitorInfo->toMap() : null; } return $res; } /** * @param array $map * * @return items */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['hdIconVO'])) { $model->hdIconVO = hdIconVO::fromMap($map['hdIconVO']); } if (isset($map['iconVO'])) { $model->iconVO = iconVO::fromMap($map['iconVO']); } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['owner'])) { $model->owner = owner::fromMap($map['owner']); } if (isset($map['recentList'])) { if (!empty($map['recentList'])) { $model->recentList = []; $n = 0; foreach ($map['recentList'] as $item) { $model->recentList[$n++] = null !== $item ? DentryModel::fromMap($item) : $item; } } } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['visitorInfo'])) { $model->visitorInfo = visitorInfo::fromMap($map['visitorInfo']); } return $model; } } src/doc_2_0/Models/RelatedSpacesResponseBody/items/hdIconVO.php000064400000002146146412132660020352 0ustar00 'icon', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return hdIconVO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/doc_2_0/Models/RelatedSpacesResponseBody/items/iconVO.php000064400000002142146412132660020072 0ustar00 'icon', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return iconVO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/doc_2_0/Models/RelatedSpacesResponseBody/items/owner.php000064400000002164146412132660020033 0ustar00 'name', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } 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['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/doc_2_0/Models/RelatedSpacesResponseBody/items/visitorInfo.php000064400000003632146412132660021215 0ustar00 'dentryActions', 'pinned' => 'pinned', 'roleCode' => 'roleCode', 'spaceActions' => 'spaceActions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryActions) { $res['dentryActions'] = $this->dentryActions; } if (null !== $this->pinned) { $res['pinned'] = $this->pinned; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } if (null !== $this->spaceActions) { $res['spaceActions'] = $this->spaceActions; } return $res; } /** * @param array $map * * @return visitorInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryActions'])) { if (!empty($map['dentryActions'])) { $model->dentryActions = $map['dentryActions']; } } if (isset($map['pinned'])) { $model->pinned = $map['pinned']; } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } if (isset($map['spaceActions'])) { if (!empty($map['spaceActions'])) { $model->spaceActions = $map['spaceActions']; } } return $model; } } src/doc_2_0/Models/RemoveTeamMembersHeaders.php000064400000002335146412132660015357 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveTeamMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/RemoveTeamMembersRequest.php000064400000003772146412132660015442 0ustar00 'members', 'notify' => 'notify', 'operatorId' => 'operatorId', ]; 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; } } } if (null !== $this->notify) { $res['notify'] = $this->notify; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return RemoveTeamMembersRequest */ 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; } } } if (isset($map['notify'])) { $model->notify = $map['notify']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/RemoveTeamMembersRequest/members.php000064400000002760146412132660017070 0ustar00 'memberId', 'memberType' => 'memberType', 'roleCode' => 'roleCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } 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']; } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } return $model; } } src/doc_2_0/Models/RemoveTeamMembersResponse.php000064400000002735146412132660015606 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RemoveTeamMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RemoveTeamMembersResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/RemoveTeamMembersResponseBody.php000064400000003545146412132660016424 0ustar00 'notInOrgMembers', 'saveSuccess' => 'saveSuccess', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->notInOrgMembers) { $res['notInOrgMembers'] = []; if (null !== $this->notInOrgMembers && \is_array($this->notInOrgMembers)) { $n = 0; foreach ($this->notInOrgMembers as $item) { $res['notInOrgMembers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->saveSuccess) { $res['saveSuccess'] = $this->saveSuccess; } return $res; } /** * @param array $map * * @return RemoveTeamMembersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['notInOrgMembers'])) { if (!empty($map['notInOrgMembers'])) { $model->notInOrgMembers = []; $n = 0; foreach ($map['notInOrgMembers'] as $item) { $model->notInOrgMembers[$n++] = null !== $item ? notInOrgMembers::fromMap($item) : $item; } } } if (isset($map['saveSuccess'])) { $model->saveSuccess = $map['saveSuccess']; } return $model; } } src/doc_2_0/Models/RemoveTeamMembersResponseBody/notInOrgMembers.php000064400000003445146412132660021475 0ustar00 'memberId', 'memberType' => 'memberType', 'name' => 'name', 'roleCode' => 'roleCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } return $res; } /** * @param array $map * * @return notInOrgMembers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } return $model; } } src/doc_2_0/Models/RenameDentryHeaders.php000064400000002323146412132660014372 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RenameDentryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/RenameDentryRequest.php000064400000002122146412132660014444 0ustar00 'name', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return RenameDentryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/RenameDentryResponse.php000064400000002544146412132660014622 0ustar00 '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; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RenameDentryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DentryVO::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/SaveTeamMembersHeaders.php000064400000002331146412132660015014 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveTeamMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/SaveTeamMembersRequest.php000064400000003764146412132660015104 0ustar00 'members', 'notify' => 'notify', 'operatorId' => 'operatorId', ]; 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; } } } if (null !== $this->notify) { $res['notify'] = $this->notify; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return SaveTeamMembersRequest */ 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; } } } if (isset($map['notify'])) { $model->notify = $map['notify']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/SaveTeamMembersRequest/members.php000064400000002756146412132660016536 0ustar00 'memberId', 'memberType' => 'memberType', 'roleCode' => 'roleCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } 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']; } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } return $model; } } src/doc_2_0/Models/SaveTeamMembersResponse.php000064400000002725146412132660015246 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveTeamMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveTeamMembersResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/SaveTeamMembersResponseBody.php000064400000003537146412132660016066 0ustar00 'notInOrgMembers', 'saveSuccess' => 'saveSuccess', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->notInOrgMembers) { $res['notInOrgMembers'] = []; if (null !== $this->notInOrgMembers && \is_array($this->notInOrgMembers)) { $n = 0; foreach ($this->notInOrgMembers as $item) { $res['notInOrgMembers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->saveSuccess) { $res['saveSuccess'] = $this->saveSuccess; } return $res; } /** * @param array $map * * @return SaveTeamMembersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['notInOrgMembers'])) { if (!empty($map['notInOrgMembers'])) { $model->notInOrgMembers = []; $n = 0; foreach ($map['notInOrgMembers'] as $item) { $model->notInOrgMembers[$n++] = null !== $item ? notInOrgMembers::fromMap($item) : $item; } } } if (isset($map['saveSuccess'])) { $model->saveSuccess = $map['saveSuccess']; } return $model; } } src/doc_2_0/Models/SaveTeamMembersResponseBody/notInOrgMembers.php000064400000003443146412132660021134 0ustar00 'memberId', 'memberType' => 'memberType', 'name' => 'name', 'roleCode' => 'roleCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } return $res; } /** * @param array $map * * @return notInOrgMembers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } return $model; } } src/doc_2_0/Models/SearchHeaders.php000064400000002307146412132660013204 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/SearchRequest.php000064400000004123146412132660013257 0ustar00 'dentryRequest', 'keyword' => 'keyword', 'operatorId' => 'operatorId', 'spaceRequest' => 'spaceRequest', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryRequest) { $res['dentryRequest'] = null !== $this->dentryRequest ? $this->dentryRequest->toMap() : null; } if (null !== $this->keyword) { $res['keyword'] = $this->keyword; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->spaceRequest) { $res['spaceRequest'] = null !== $this->spaceRequest ? $this->spaceRequest->toMap() : null; } return $res; } /** * @param array $map * * @return SearchRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryRequest'])) { $model->dentryRequest = dentryRequest::fromMap($map['dentryRequest']); } if (isset($map['keyword'])) { $model->keyword = $map['keyword']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['spaceRequest'])) { $model->spaceRequest = spaceRequest::fromMap($map['spaceRequest']); } return $model; } } src/doc_2_0/Models/SearchRequest/dentryRequest.php000064400000006372146412132660016145 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'searchField' => 'searchField', 'searchFileType' => 'searchFileType', 'spaceId' => 'spaceId', 'spaceIds' => 'spaceIds', 'summaryLength' => 'summaryLength', 'visitTimeRange' => 'visitTimeRange', ]; 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->searchField) { $res['searchField'] = $this->searchField; } if (null !== $this->searchFileType) { $res['searchFileType'] = $this->searchFileType; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->spaceIds) { $res['spaceIds'] = $this->spaceIds; } if (null !== $this->summaryLength) { $res['summaryLength'] = $this->summaryLength; } if (null !== $this->visitTimeRange) { $res['visitTimeRange'] = null !== $this->visitTimeRange ? $this->visitTimeRange->toMap() : null; } return $res; } /** * @param array $map * * @return dentryRequest */ 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['searchField'])) { $model->searchField = $map['searchField']; } if (isset($map['searchFileType'])) { $model->searchFileType = $map['searchFileType']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['spaceIds'])) { if (!empty($map['spaceIds'])) { $model->spaceIds = $map['spaceIds']; } } if (isset($map['summaryLength'])) { $model->summaryLength = $map['summaryLength']; } if (isset($map['visitTimeRange'])) { $model->visitTimeRange = visitTimeRange::fromMap($map['visitTimeRange']); } return $model; } } src/doc_2_0/Models/SearchRequest/dentryRequest/visitTimeRange.php000064400000002044146412132660021067 0ustar00 'end', 'start' => 'start', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = $this->end; } if (null !== $this->start) { $res['start'] = $this->start; } return $res; } /** * @param array $map * * @return visitTimeRange */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = $map['end']; } if (isset($map['start'])) { $model->start = $map['start']; } return $model; } } src/doc_2_0/Models/SearchRequest/spaceRequest.php000064400000002675146412132660015735 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'withTeamInfo' => 'withTeamInfo', ]; 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->withTeamInfo) { $res['withTeamInfo'] = $this->withTeamInfo; } return $res; } /** * @param array $map * * @return spaceRequest */ 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['withTeamInfo'])) { $model->withTeamInfo = $map['withTeamInfo']; } return $model; } } src/doc_2_0/Models/SearchResponse.php000064400000002661146412132660013432 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/SearchResponseBody.php000064400000002716146412132660014251 0ustar00 'dentryResult', 'spaceResult' => 'spaceResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryResult) { $res['dentryResult'] = null !== $this->dentryResult ? $this->dentryResult->toMap() : null; } if (null !== $this->spaceResult) { $res['spaceResult'] = null !== $this->spaceResult ? $this->spaceResult->toMap() : null; } return $res; } /** * @param array $map * * @return SearchResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryResult'])) { $model->dentryResult = dentryResult::fromMap($map['dentryResult']); } if (isset($map['spaceResult'])) { $model->spaceResult = spaceResult::fromMap($map['spaceResult']); } return $model; } } src/doc_2_0/Models/SearchResponseBody/dentryResult.php000064400000003653146412132660016756 0ustar00 'hasMore', 'items' => 'items', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } 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->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return dentryResult */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } 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['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/doc_2_0/Models/SearchResponseBody/dentryResult/items.php000064400000012145146412132660020073 0ustar00 'content', 'creation' => 'creation', 'dentryId' => 'dentryId', 'dentryUuid' => 'dentryUuid', 'extension' => 'extension', 'iconUrl' => 'iconUrl', 'lastEdition' => 'lastEdition', 'name' => 'name', 'originName' => 'originName', 'path' => 'path', 'sceneType' => 'sceneType', 'searchFileType' => 'searchFileType', 'spaceId' => 'spaceId', 'thumbnailUrl' => 'thumbnailUrl', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->creation) { $res['creation'] = null !== $this->creation ? $this->creation->toMap() : null; } if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->dentryUuid) { $res['dentryUuid'] = $this->dentryUuid; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->iconUrl) { $res['iconUrl'] = $this->iconUrl; } if (null !== $this->lastEdition) { $res['lastEdition'] = null !== $this->lastEdition ? $this->lastEdition->toMap() : null; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->originName) { $res['originName'] = $this->originName; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->sceneType) { $res['sceneType'] = $this->sceneType; } if (null !== $this->searchFileType) { $res['searchFileType'] = $this->searchFileType; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->thumbnailUrl) { $res['thumbnailUrl'] = $this->thumbnailUrl; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return items */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['creation'])) { $model->creation = OpenActionModel::fromMap($map['creation']); } if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['dentryUuid'])) { $model->dentryUuid = $map['dentryUuid']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['iconUrl'])) { $model->iconUrl = $map['iconUrl']; } if (isset($map['lastEdition'])) { $model->lastEdition = OpenActionModel::fromMap($map['lastEdition']); } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['originName'])) { $model->originName = $map['originName']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['sceneType'])) { $model->sceneType = $map['sceneType']; } if (isset($map['searchFileType'])) { $model->searchFileType = $map['searchFileType']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['thumbnailUrl'])) { $model->thumbnailUrl = $map['thumbnailUrl']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/doc_2_0/Models/SearchResponseBody/spaceResult.php000064400000003650146412132660016541 0ustar00 'hasMore', 'items' => 'items', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } 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->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return spaceResult */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } 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['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/doc_2_0/Models/SearchResponseBody/spaceResult/items.php000064400000006023146412132660017657 0ustar00 'iconVO', 'name' => 'name', 'originName' => 'originName', 'spaceId' => 'spaceId', 'teamVO' => 'teamVO', 'url' => 'url', 'userLastOperation' => 'userLastOperation', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->iconVO) { $res['iconVO'] = null !== $this->iconVO ? $this->iconVO->toMap() : null; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->originName) { $res['originName'] = $this->originName; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->teamVO) { $res['teamVO'] = null !== $this->teamVO ? $this->teamVO->toMap() : null; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->userLastOperation) { $res['userLastOperation'] = null !== $this->userLastOperation ? $this->userLastOperation->toMap() : null; } return $res; } /** * @param array $map * * @return items */ public static function fromMap($map = []) { $model = new self(); if (isset($map['iconVO'])) { $model->iconVO = iconVO::fromMap($map['iconVO']); } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['originName'])) { $model->originName = $map['originName']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['teamVO'])) { $model->teamVO = teamVO::fromMap($map['teamVO']); } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['userLastOperation'])) { $model->userLastOperation = userLastOperation::fromMap($map['userLastOperation']); } return $model; } } src/doc_2_0/Models/SearchResponseBody/spaceResult/items/iconVO.php000064400000002041146412132660021050 0ustar00 'icon', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return iconVO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/doc_2_0/Models/SearchResponseBody/spaceResult/items/teamVO.php000064400000002021146412132660021044 0ustar00 '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 teamVO */ 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/doc_2_0/Models/SearchResponseBody/spaceResult/items/userLastOperation.php000064400000002064146412132660023343 0ustar00 'name', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return userLastOperation */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/doc_2_0/Models/SearchTemplatesHeaders.php000064400000002331146412132660015060 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchTemplatesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/SearchTemplatesRequest.php000064400000003234146412132660015140 0ustar00 'option', 'param' => 'param', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->param) { $res['param'] = null !== $this->param ? $this->param->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return SearchTemplatesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['param'])) { $model->param = param::fromMap($map['param']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/SearchTemplatesRequest/option.php000064400000006062146412132660016452 0ustar00 'excludeWorkspaceIds', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'platform' => 'platform', 'templateTypes' => 'templateTypes', 'version' => 'version', 'workspaceIds' => 'workspaceIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->excludeWorkspaceIds) { $res['excludeWorkspaceIds'] = $this->excludeWorkspaceIds; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->templateTypes) { $res['templateTypes'] = $this->templateTypes; } if (null !== $this->version) { $res['version'] = $this->version; } if (null !== $this->workspaceIds) { $res['workspaceIds'] = $this->workspaceIds; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['excludeWorkspaceIds'])) { if (!empty($map['excludeWorkspaceIds'])) { $model->excludeWorkspaceIds = $map['excludeWorkspaceIds']; } } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['templateTypes'])) { if (!empty($map['templateTypes'])) { $model->templateTypes = $map['templateTypes']; } } if (isset($map['version'])) { $model->version = $map['version']; } if (isset($map['workspaceIds'])) { if (!empty($map['workspaceIds'])) { $model->workspaceIds = $map['workspaceIds']; } } return $model; } } src/doc_2_0/Models/SearchTemplatesRequest/param.php000064400000002244146412132660016240 0ustar00 'belong', 'searchName' => 'searchName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->belong) { $res['belong'] = $this->belong; } if (null !== $this->searchName) { $res['searchName'] = $this->searchName; } return $res; } /** * @param array $map * * @return param */ public static function fromMap($map = []) { $model = new self(); if (isset($map['belong'])) { $model->belong = $map['belong']; } if (isset($map['searchName'])) { $model->searchName = $map['searchName']; } return $model; } } src/doc_2_0/Models/SearchTemplatesResponse.php000064400000002725146412132660015312 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchTemplatesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchTemplatesResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/SearchTemplatesResponseBody.php000064400000003472146412132660016130 0ustar00 'nextToken', 'templateList' => 'templateList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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 SearchTemplatesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } 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/doc_2_0/Models/SearchTemplatesResponseBody/templateList.php000064400000011100146412132660020562 0ustar00 'authorName', 'belong' => 'belong', 'contentDownloadUrl' => 'contentDownloadUrl', 'coverDownloadUrl' => 'coverDownloadUrl', 'createTime' => 'createTime', 'description' => 'description', 'modifiedTime' => 'modifiedTime', 'templateId' => 'templateId', 'title' => 'title', 'type' => 'type', 'usedCount' => 'usedCount', 'workspaceId' => 'workspaceId', 'workspaceName' => 'workspaceName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authorName) { $res['authorName'] = $this->authorName; } if (null !== $this->belong) { $res['belong'] = $this->belong; } if (null !== $this->contentDownloadUrl) { $res['contentDownloadUrl'] = $this->contentDownloadUrl; } if (null !== $this->coverDownloadUrl) { $res['coverDownloadUrl'] = $this->coverDownloadUrl; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->usedCount) { $res['usedCount'] = $this->usedCount; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } if (null !== $this->workspaceName) { $res['workspaceName'] = $this->workspaceName; } return $res; } /** * @param array $map * * @return templateList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authorName'])) { $model->authorName = $map['authorName']; } if (isset($map['belong'])) { $model->belong = $map['belong']; } if (isset($map['contentDownloadUrl'])) { $model->contentDownloadUrl = $map['contentDownloadUrl']; } if (isset($map['coverDownloadUrl'])) { $model->coverDownloadUrl = $map['coverDownloadUrl']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['usedCount'])) { $model->usedCount = $map['usedCount']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } if (isset($map['workspaceName'])) { $model->workspaceName = $map['workspaceName']; } return $model; } } src/doc_2_0/Models/ShareUrlHeaders.php000064400000002313146412132660013521 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ShareUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/ShareUrlRequest.php000064400000001627146412132660013605 0ustar00 'param', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->param) { $res['param'] = null !== $this->param ? $this->param->toMap() : null; } return $res; } /** * @param array $map * * @return ShareUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['param'])) { $model->param = param::fromMap($map['param']); } return $model; } } src/doc_2_0/Models/ShareUrlRequest/param.php000064400000002306146412132660014700 0ustar00 'dentryUuid', 'triggerShare' => 'triggerShare', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryUuid) { $res['dentryUuid'] = $this->dentryUuid; } if (null !== $this->triggerShare) { $res['triggerShare'] = $this->triggerShare; } return $res; } /** * @param array $map * * @return param */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryUuid'])) { $model->dentryUuid = $map['dentryUuid']; } if (isset($map['triggerShare'])) { $model->triggerShare = $map['triggerShare']; } return $model; } } src/doc_2_0/Models/ShareUrlResponse.php000064400000002671146412132660013753 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ShareUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ShareUrlResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/ShareUrlResponseBody.php000064400000002045146412132660014564 0ustar00 'shareUrlInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->shareUrlInfo) { $res['shareUrlInfo'] = null !== $this->shareUrlInfo ? $this->shareUrlInfo->toMap() : null; } return $res; } /** * @param array $map * * @return ShareUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['shareUrlInfo'])) { $model->shareUrlInfo = shareUrlInfo::fromMap($map['shareUrlInfo']); } return $model; } } src/doc_2_0/Models/ShareUrlResponseBody/shareUrlInfo.php000064400000002253146412132660017166 0ustar00 'mobileUrl', 'pcUrl' => 'pcUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } return $res; } /** * @param array $map * * @return shareUrlInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } return $model; } } src/doc_2_0/Models/SpaceModel.php000064400000011334146412132660012517 0ustar00 'cover', 'description' => 'description', 'hdIconVO' => 'hdIconVO', 'iconVO' => 'iconVO', 'id' => 'id', 'name' => 'name', 'owner' => 'owner', 'recentList' => 'recentList', 'type' => 'type', 'url' => 'url', 'visitorInfo' => 'visitorInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->hdIconVO) { $res['hdIconVO'] = null !== $this->hdIconVO ? $this->hdIconVO->toMap() : null; } if (null !== $this->iconVO) { $res['iconVO'] = null !== $this->iconVO ? $this->iconVO->toMap() : null; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->owner) { $res['owner'] = null !== $this->owner ? $this->owner->toMap() : null; } if (null !== $this->recentList) { $res['recentList'] = []; if (null !== $this->recentList && \is_array($this->recentList)) { $n = 0; foreach ($this->recentList as $item) { $res['recentList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->visitorInfo) { $res['visitorInfo'] = null !== $this->visitorInfo ? $this->visitorInfo->toMap() : null; } return $res; } /** * @param array $map * * @return SpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['hdIconVO'])) { $model->hdIconVO = hdIconVO::fromMap($map['hdIconVO']); } if (isset($map['iconVO'])) { $model->iconVO = iconVO::fromMap($map['iconVO']); } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['owner'])) { $model->owner = owner::fromMap($map['owner']); } if (isset($map['recentList'])) { if (!empty($map['recentList'])) { $model->recentList = []; $n = 0; foreach ($map['recentList'] as $item) { $model->recentList[$n++] = null !== $item ? DentryModel::fromMap($item) : $item; } } } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['visitorInfo'])) { $model->visitorInfo = visitorInfo::fromMap($map['visitorInfo']); } return $model; } } src/doc_2_0/Models/SpaceModel/hdIconVO.php000064400000002121146412132660014162 0ustar00 'icon', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return hdIconVO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/doc_2_0/Models/SpaceModel/iconVO.php000064400000002115146412132660013711 0ustar00 'icon', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return iconVO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/doc_2_0/Models/SpaceModel/owner.php000064400000002137146412132660013652 0ustar00 'name', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } 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['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/doc_2_0/Models/SpaceModel/visitorInfo.php000064400000003162146412132660015032 0ustar00 'dentryActions', 'roleCode' => 'roleCode', 'spaceActions' => 'spaceActions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryActions) { $res['dentryActions'] = $this->dentryActions; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } if (null !== $this->spaceActions) { $res['spaceActions'] = $this->spaceActions; } return $res; } /** * @param array $map * * @return visitorInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryActions'])) { if (!empty($map['dentryActions'])) { $model->dentryActions = $map['dentryActions']; } } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } if (isset($map['spaceActions'])) { if (!empty($map['spaceActions'])) { $model->spaceActions = $map['spaceActions']; } } return $model; } } src/doc_2_0/Models/SpaceVO.php000064400000006604146412132660012007 0ustar00 'cover', 'description' => 'description', 'iconVO' => 'iconVO', 'id' => 'id', 'name' => 'name', 'owner' => 'owner', 'type' => 'type', 'url' => 'url', 'visitorInfo' => 'visitorInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->iconVO) { $res['iconVO'] = null !== $this->iconVO ? $this->iconVO->toMap() : null; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->owner) { $res['owner'] = null !== $this->owner ? $this->owner->toMap() : null; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->visitorInfo) { $res['visitorInfo'] = null !== $this->visitorInfo ? $this->visitorInfo->toMap() : null; } return $res; } /** * @param array $map * * @return SpaceVO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['iconVO'])) { $model->iconVO = iconVO::fromMap($map['iconVO']); } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['owner'])) { $model->owner = owner::fromMap($map['owner']); } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['visitorInfo'])) { $model->visitorInfo = visitorInfo::fromMap($map['visitorInfo']); } return $model; } } src/doc_2_0/Models/SpaceVO/iconVO.php000064400000002004146412132660013172 0ustar00 'icon', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return iconVO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/doc_2_0/Models/SpaceVO/owner.php000064400000002134146412132660013133 0ustar00 'name', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } 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['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/doc_2_0/Models/SpaceVO/visitorInfo.php000064400000003126146412132660014316 0ustar00 'dentryActions', 'roleCode' => 'roleCode', 'spaceActions' => 'spaceActions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryActions) { $res['dentryActions'] = $this->dentryActions; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } if (null !== $this->spaceActions) { $res['spaceActions'] = $this->spaceActions; } return $res; } /** * @param array $map * * @return visitorInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryActions'])) { if (!empty($map['dentryActions'])) { $model->dentryActions = $map['dentryActions']; } } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } if (isset($map['spaceActions'])) { if (!empty($map['spaceActions'])) { $model->spaceActions = $map['spaceActions']; } } return $model; } } src/doc_2_0/Models/TeamModel.php000064400000012464146412132660012357 0ustar00 'cover', 'createdTime' => 'createdTime', 'creator' => 'creator', 'description' => 'description', 'icon' => 'icon', 'id' => 'id', 'name' => 'name', 'relatedDeptInfo' => 'relatedDeptInfo', 'status' => 'status', 'type' => 'type', 'updatedTime' => 'updatedTime', 'updater' => 'updater', 'url' => 'url', 'visitInfo' => 'visitInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->createdTime) { $res['createdTime'] = $this->createdTime; } if (null !== $this->creator) { $res['creator'] = null !== $this->creator ? $this->creator->toMap() : null; } 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->relatedDeptInfo) { $res['relatedDeptInfo'] = null !== $this->relatedDeptInfo ? $this->relatedDeptInfo->toMap() : null; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->updatedTime) { $res['updatedTime'] = $this->updatedTime; } if (null !== $this->updater) { $res['updater'] = null !== $this->updater ? $this->updater->toMap() : null; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->visitInfo) { $res['visitInfo'] = null !== $this->visitInfo ? $this->visitInfo->toMap() : null; } return $res; } /** * @param array $map * * @return TeamModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['createdTime'])) { $model->createdTime = $map['createdTime']; } if (isset($map['creator'])) { $model->creator = creator::fromMap($map['creator']); } 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['relatedDeptInfo'])) { $model->relatedDeptInfo = relatedDeptInfo::fromMap($map['relatedDeptInfo']); } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['updatedTime'])) { $model->updatedTime = $map['updatedTime']; } if (isset($map['updater'])) { $model->updater = updater::fromMap($map['updater']); } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['visitInfo'])) { $model->visitInfo = visitInfo::fromMap($map['visitInfo']); } return $model; } } src/doc_2_0/Models/TeamModel/creator.php000064400000002140146412132660014004 0ustar00 'name', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return creator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/doc_2_0/Models/TeamModel/relatedDeptInfo.php000064400000002217146412132660015423 0ustar00 'deptId', 'deptName' => 'deptName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } return $res; } /** * @param array $map * * @return relatedDeptInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } return $model; } } src/doc_2_0/Models/TeamModel/updater.php000064400000002140146412132660014011 0ustar00 'name', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return updater */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/doc_2_0/Models/TeamModel/visitInfo.php000064400000002155146412132660014325 0ustar00 'joinTime', 'roleCode' => 'roleCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->joinTime) { $res['joinTime'] = $this->joinTime; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } return $res; } /** * @param array $map * * @return visitInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['joinTime'])) { $model->joinTime = $map['joinTime']; } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } return $model; } } src/doc_2_0/Models/TeamTemplatesHeaders.php000064400000002325146412132660014544 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return TeamTemplatesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/TeamTemplatesRequest.php000064400000002411146412132660014615 0ustar00 'option', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return TeamTemplatesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/TeamTemplatesRequest/option.php000064400000006060146412132660016131 0ustar00 'excludeWorkspaceIds', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'platform' => 'platform', 'templateTypes' => 'templateTypes', 'version' => 'version', 'workspaceIds' => 'workspaceIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->excludeWorkspaceIds) { $res['excludeWorkspaceIds'] = $this->excludeWorkspaceIds; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->templateTypes) { $res['templateTypes'] = $this->templateTypes; } if (null !== $this->version) { $res['version'] = $this->version; } if (null !== $this->workspaceIds) { $res['workspaceIds'] = $this->workspaceIds; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['excludeWorkspaceIds'])) { if (!empty($map['excludeWorkspaceIds'])) { $model->excludeWorkspaceIds = $map['excludeWorkspaceIds']; } } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['templateTypes'])) { if (!empty($map['templateTypes'])) { $model->templateTypes = $map['templateTypes']; } } if (isset($map['version'])) { $model->version = $map['version']; } if (isset($map['workspaceIds'])) { if (!empty($map['workspaceIds'])) { $model->workspaceIds = $map['workspaceIds']; } } return $model; } } src/doc_2_0/Models/TeamTemplatesResponse.php000064400000002715146412132660014772 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return TeamTemplatesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = TeamTemplatesResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/TeamTemplatesResponseBody.php000064400000003464146412132660015612 0ustar00 'nextToken', 'templateList' => 'templateList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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 TeamTemplatesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } 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/doc_2_0/Models/TeamTemplatesResponseBody/templateList.php000064400000011076146412132660020257 0ustar00 'authorName', 'belong' => 'belong', 'contentDownloadUrl' => 'contentDownloadUrl', 'coverDownloadUrl' => 'coverDownloadUrl', 'createTime' => 'createTime', 'description' => 'description', 'modifiedTime' => 'modifiedTime', 'templateId' => 'templateId', 'title' => 'title', 'type' => 'type', 'usedCount' => 'usedCount', 'workspaceId' => 'workspaceId', 'workspaceName' => 'workspaceName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authorName) { $res['authorName'] = $this->authorName; } if (null !== $this->belong) { $res['belong'] = $this->belong; } if (null !== $this->contentDownloadUrl) { $res['contentDownloadUrl'] = $this->contentDownloadUrl; } if (null !== $this->coverDownloadUrl) { $res['coverDownloadUrl'] = $this->coverDownloadUrl; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->usedCount) { $res['usedCount'] = $this->usedCount; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } if (null !== $this->workspaceName) { $res['workspaceName'] = $this->workspaceName; } return $res; } /** * @param array $map * * @return templateList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authorName'])) { $model->authorName = $map['authorName']; } if (isset($map['belong'])) { $model->belong = $map['belong']; } if (isset($map['contentDownloadUrl'])) { $model->contentDownloadUrl = $map['contentDownloadUrl']; } if (isset($map['coverDownloadUrl'])) { $model->coverDownloadUrl = $map['coverDownloadUrl']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['usedCount'])) { $model->usedCount = $map['usedCount']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } if (isset($map['workspaceName'])) { $model->workspaceName = $map['workspaceName']; } return $model; } } src/doc_2_0/Models/TeamVO.php000064400000013420146412132660011634 0ustar00 'cover', 'createdTime' => 'createdTime', 'creator' => 'creator', 'description' => 'description', 'icon' => 'icon', 'id' => 'id', 'name' => 'name', 'relatedDeptInfo' => 'relatedDeptInfo', 'shareScopeInfo' => 'shareScopeInfo', 'status' => 'status', 'type' => 'type', 'updatedTime' => 'updatedTime', 'updater' => 'updater', 'url' => 'url', 'visitInfo' => 'visitInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->createdTime) { $res['createdTime'] = $this->createdTime; } if (null !== $this->creator) { $res['creator'] = null !== $this->creator ? $this->creator->toMap() : null; } 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->relatedDeptInfo) { $res['relatedDeptInfo'] = null !== $this->relatedDeptInfo ? $this->relatedDeptInfo->toMap() : null; } if (null !== $this->shareScopeInfo) { $res['shareScopeInfo'] = null !== $this->shareScopeInfo ? $this->shareScopeInfo->toMap() : null; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->updatedTime) { $res['updatedTime'] = $this->updatedTime; } if (null !== $this->updater) { $res['updater'] = null !== $this->updater ? $this->updater->toMap() : null; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->visitInfo) { $res['visitInfo'] = null !== $this->visitInfo ? $this->visitInfo->toMap() : null; } return $res; } /** * @param array $map * * @return TeamVO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['createdTime'])) { $model->createdTime = $map['createdTime']; } if (isset($map['creator'])) { $model->creator = creator::fromMap($map['creator']); } 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['relatedDeptInfo'])) { $model->relatedDeptInfo = relatedDeptInfo::fromMap($map['relatedDeptInfo']); } if (isset($map['shareScopeInfo'])) { $model->shareScopeInfo = shareScopeInfo::fromMap($map['shareScopeInfo']); } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['updatedTime'])) { $model->updatedTime = $map['updatedTime']; } if (isset($map['updater'])) { $model->updater = updater::fromMap($map['updater']); } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['visitInfo'])) { $model->visitInfo = visitInfo::fromMap($map['visitInfo']); } return $model; } } src/doc_2_0/Models/TeamVO/creator.php000064400000002134146412132660013273 0ustar00 'name', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return creator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/doc_2_0/Models/TeamVO/relatedDeptInfo.php000064400000002214146412132660014704 0ustar00 'deptId', 'deptName' => 'deptName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } return $res; } /** * @param array $map * * @return relatedDeptInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } return $model; } } src/doc_2_0/Models/TeamVO/shareScopeInfo.php000064400000002054146412132660014545 0ustar00 'roleId', 'scope' => 'scope', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->scope) { $res['scope'] = $this->scope; } return $res; } /** * @param array $map * * @return shareScopeInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['scope'])) { $model->scope = $map['scope']; } return $model; } } src/doc_2_0/Models/TeamVO/updater.php000064400000002134146412132660013300 0ustar00 'name', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return updater */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/doc_2_0/Models/TeamVO/visitInfo.php000064400000001512146412132660013605 0ustar00 'roleCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } return $res; } /** * @param array $map * * @return visitInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } return $model; } } src/doc_2_0/Models/TemplateCategoriesHeaders.php000064400000002337146412132660015563 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return TemplateCategoriesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/TemplateCategoriesRequest.php000064400000003250146412132660015633 0ustar00 'option', 'param' => 'param', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->param) { $res['param'] = null !== $this->param ? $this->param->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return TemplateCategoriesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['param'])) { $model->param = param::fromMap($map['param']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/TemplateCategoriesRequest/option.php000064400000002327146412132660017147 0ustar00 'categoryStatus', 'industryId' => 'industryId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->categoryStatus) { $res['categoryStatus'] = $this->categoryStatus; } if (null !== $this->industryId) { $res['industryId'] = $this->industryId; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['categoryStatus'])) { $model->categoryStatus = $map['categoryStatus']; } if (isset($map['industryId'])) { $model->industryId = $map['industryId']; } return $model; } } src/doc_2_0/Models/TemplateCategoriesRequest/param.php000064400000001534146412132660016736 0ustar00 'tenantId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->tenantId) { $res['tenantId'] = $this->tenantId; } return $res; } /** * @param array $map * * @return param */ public static function fromMap($map = []) { $model = new self(); if (isset($map['tenantId'])) { $model->tenantId = $map['tenantId']; } return $model; } } src/doc_2_0/Models/TemplateCategoriesResponse.php000064400000002741146412132660016005 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return TemplateCategoriesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = TemplateCategoriesResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/TemplateCategoriesResponseBody.php000064400000002550146412132660016621 0ustar00 '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 TemplateCategoriesResponseBody */ 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/doc_2_0/Models/TemplateCategoriesResponseBody/list_.php000064400000002635146412132660017737 0ustar00 'categoryId', 'categoryName' => 'categoryName', 'sort' => 'sort', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->categoryId) { $res['categoryId'] = $this->categoryId; } if (null !== $this->categoryName) { $res['categoryName'] = $this->categoryName; } if (null !== $this->sort) { $res['sort'] = $this->sort; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['categoryId'])) { $model->categoryId = $map['categoryId']; } if (isset($map['categoryName'])) { $model->categoryName = $map['categoryName']; } if (isset($map['sort'])) { $model->sort = $map['sort']; } return $model; } } src/doc_2_0/Models/UnmarkStarHeaders.php000064400000002317146412132660014067 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UnmarkStarHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/UnmarkStarRequest.php000064400000001554146412132660014146 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return UnmarkStarRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/UnmarkStarResponse.php000064400000002701146412132660014307 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UnmarkStarResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UnmarkStarResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/UnmarkStarResponseBody.php000064400000001525146412132660015130 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UnmarkStarResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/doc_2_0/Models/UnpinSpaceHeaders.php000064400000002317146412132660014045 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UnpinSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/UnpinSpaceRequest.php000064400000001554146412132660014124 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return UnpinSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/UnpinSpaceResponse.php000064400000002701146412132660014265 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UnpinSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UnpinSpaceResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/UnpinSpaceResponseBody.php000064400000001525146412132660015106 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UnpinSpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/doc_2_0/Models/UpdateTeamHeaders.php000064400000002317146412132660014031 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTeamHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/UpdateTeamRequest.php000064400000003021146412132660014077 0ustar00 'description', 'name' => 'name', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return UpdateTeamRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/UpdateTeamResponse.php000064400000002536146412132660014257 0ustar00 '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; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTeamResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = TeamVO::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/UserTemplatesHeaders.php000064400000002325146412132660014574 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UserTemplatesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/doc_2_0/Models/UserTemplatesRequest.php000064400000002411146412132660014645 0ustar00 'option', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return UserTemplatesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/doc_2_0/Models/UserTemplatesRequest/option.php000064400000004265146412132660016166 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'platform' => 'platform', 'templateTypes' => 'templateTypes', 'version' => 'version', ]; 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->platform) { $res['platform'] = $this->platform; } if (null !== $this->templateTypes) { $res['templateTypes'] = $this->templateTypes; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return option */ 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['platform'])) { $model->platform = $map['platform']; } if (isset($map['templateTypes'])) { if (!empty($map['templateTypes'])) { $model->templateTypes = $map['templateTypes']; } } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/doc_2_0/Models/UserTemplatesResponse.php000064400000002715146412132660015022 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UserTemplatesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UserTemplatesResponseBody::fromMap($map['body']); } return $model; } } src/doc_2_0/Models/UserTemplatesResponseBody.php000064400000003464146412132660015642 0ustar00 'nextToken', 'templateList' => 'templateList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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 UserTemplatesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } 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/doc_2_0/Models/UserTemplatesResponseBody/templateList.php000064400000011076146412132660020307 0ustar00 'authorName', 'belong' => 'belong', 'contentDownloadUrl' => 'contentDownloadUrl', 'coverDownloadUrl' => 'coverDownloadUrl', 'createTime' => 'createTime', 'description' => 'description', 'modifiedTime' => 'modifiedTime', 'templateId' => 'templateId', 'title' => 'title', 'type' => 'type', 'usedCount' => 'usedCount', 'workspaceId' => 'workspaceId', 'workspaceName' => 'workspaceName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authorName) { $res['authorName'] = $this->authorName; } if (null !== $this->belong) { $res['belong'] = $this->belong; } if (null !== $this->contentDownloadUrl) { $res['contentDownloadUrl'] = $this->contentDownloadUrl; } if (null !== $this->coverDownloadUrl) { $res['coverDownloadUrl'] = $this->coverDownloadUrl; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->usedCount) { $res['usedCount'] = $this->usedCount; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } if (null !== $this->workspaceName) { $res['workspaceName'] = $this->workspaceName; } return $res; } /** * @param array $map * * @return templateList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authorName'])) { $model->authorName = $map['authorName']; } if (isset($map['belong'])) { $model->belong = $map['belong']; } if (isset($map['contentDownloadUrl'])) { $model->contentDownloadUrl = $map['contentDownloadUrl']; } if (isset($map['coverDownloadUrl'])) { $model->coverDownloadUrl = $map['coverDownloadUrl']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['usedCount'])) { $model->usedCount = $map['usedCount']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } if (isset($map['workspaceName'])) { $model->workspaceName = $map['workspaceName']; } return $model; } } src/drive_1_0/Dingtalk.php000064400000232525146412132660011367 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddCustomSpaceRequest $request * @param AddCustomSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return AddCustomSpaceResponse */ public function addCustomSpaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->identifier)) { $body['identifier'] = $request->identifier; } if (!Utils::isUnset($request->permissionMode)) { $body['permissionMode'] = $request->permissionMode; } 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' => 'AddCustomSpace', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/customSpaces', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddCustomSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddCustomSpaceRequest $request * * @return AddCustomSpaceResponse */ public function addCustomSpace($request) { $runtime = new RuntimeOptions([]); $headers = new AddCustomSpaceHeaders([]); return $this->addCustomSpaceWithOptions($request, $headers, $runtime); } /** * @param string $spaceId * @param AddFileRequest $request * @param AddFileHeaders $headers * @param RuntimeOptions $runtime * * @return AddFileResponse */ public function addFileWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->addConflictPolicy)) { $body['addConflictPolicy'] = $request->addConflictPolicy; } if (!Utils::isUnset($request->fileName)) { $body['fileName'] = $request->fileName; } if (!Utils::isUnset($request->fileType)) { $body['fileType'] = $request->fileType; } if (!Utils::isUnset($request->mediaId)) { $body['mediaId'] = $request->mediaId; } if (!Utils::isUnset($request->parentId)) { $body['parentId'] = $request->parentId; } 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' => 'AddFile', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddFileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param AddFileRequest $request * * @return AddFileResponse */ public function addFile($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddFileHeaders([]); return $this->addFileWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $fileId * @param AddPermissionRequest $request * @param AddPermissionHeaders $headers * @param RuntimeOptions $runtime * * @return AddPermissionResponse */ public function addPermissionWithOptions($spaceId, $fileId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->role)) { $body['role'] = $request->role; } 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' => 'AddPermission', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/' . $fileId . '/permissions', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return AddPermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $fileId * @param AddPermissionRequest $request * * @return AddPermissionResponse */ public function addPermission($spaceId, $fileId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddPermissionHeaders([]); return $this->addPermissionWithOptions($spaceId, $fileId, $request, $headers, $runtime); } /** * @param AddSpaceRequest $request * @param AddSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return AddSpaceResponse */ public function addSpaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } 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' => 'AddSpace', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddSpaceRequest $request * * @return AddSpaceResponse */ public function addSpace($request) { $runtime = new RuntimeOptions([]); $headers = new AddSpaceHeaders([]); return $this->addSpaceWithOptions($request, $headers, $runtime); } /** * @param ClearRecycleFilesRequest $request * @param ClearRecycleFilesHeaders $headers * @param RuntimeOptions $runtime * * @return ClearRecycleFilesResponse */ public function clearRecycleFilesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->recycleType)) { $body['recycleType'] = $request->recycleType; } 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' => 'ClearRecycleFiles', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/recycleItems/clear', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return ClearRecycleFilesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ClearRecycleFilesRequest $request * * @return ClearRecycleFilesResponse */ public function clearRecycleFiles($request) { $runtime = new RuntimeOptions([]); $headers = new ClearRecycleFilesHeaders([]); return $this->clearRecycleFilesWithOptions($request, $headers, $runtime); } /** * @param string $spaceId * @param string $fileId * @param CopyFileRequest $request * @param CopyFileHeaders $headers * @param RuntimeOptions $runtime * * @return CopyFileResponse */ public function copyFileWithOptions($spaceId, $fileId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->addConflictPolicy)) { $body['addConflictPolicy'] = $request->addConflictPolicy; } if (!Utils::isUnset($request->targetParentId)) { $body['targetParentId'] = $request->targetParentId; } if (!Utils::isUnset($request->targetSpaceId)) { $body['targetSpaceId'] = $request->targetSpaceId; } 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' => 'CopyFile', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/' . $fileId . '/copy', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CopyFileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $fileId * @param CopyFileRequest $request * * @return CopyFileResponse */ public function copyFile($spaceId, $fileId, $request) { $runtime = new RuntimeOptions([]); $headers = new CopyFileHeaders([]); return $this->copyFileWithOptions($spaceId, $fileId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $fileId * @param DeleteFileRequest $request * @param DeleteFileHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteFileResponse */ public function deleteFileWithOptions($spaceId, $fileId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deletePolicy)) { $query['deletePolicy'] = $request->deletePolicy; } 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' => 'DeleteFile', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/' . $fileId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteFileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $fileId * @param DeleteFileRequest $request * * @return DeleteFileResponse */ public function deleteFile($spaceId, $fileId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteFileHeaders([]); return $this->deleteFileWithOptions($spaceId, $fileId, $request, $headers, $runtime); } /** * @param string $spaceId * @param DeleteFilesRequest $request * @param DeleteFilesHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteFilesResponse */ public function deleteFilesWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deletePolicy)) { $body['deletePolicy'] = $request->deletePolicy; } if (!Utils::isUnset($request->fileIds)) { $body['fileIds'] = $request->fileIds; } 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' => 'DeleteFiles', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/batchDelete', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteFilesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param DeleteFilesRequest $request * * @return DeleteFilesResponse */ public function deleteFiles($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteFilesHeaders([]); return $this->deleteFilesWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $fileId * @param DeletePermissionRequest $request * @param DeletePermissionHeaders $headers * @param RuntimeOptions $runtime * * @return DeletePermissionResponse */ public function deletePermissionWithOptions($spaceId, $fileId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->role)) { $body['role'] = $request->role; } 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' => 'DeletePermission', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/' . $fileId . '/permissions/delete', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return DeletePermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $fileId * @param DeletePermissionRequest $request * * @return DeletePermissionResponse */ public function deletePermission($spaceId, $fileId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeletePermissionHeaders([]); return $this->deletePermissionWithOptions($spaceId, $fileId, $request, $headers, $runtime); } /** * @param DeleteRecycleFilesRequest $request * @param DeleteRecycleFilesHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteRecycleFilesResponse */ public function deleteRecycleFilesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->recycleItemIdList)) { $body['recycleItemIdList'] = $request->recycleItemIdList; } if (!Utils::isUnset($request->recycleType)) { $body['recycleType'] = $request->recycleType; } 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' => 'DeleteRecycleFiles', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/recycleItems/delete', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return DeleteRecycleFilesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteRecycleFilesRequest $request * * @return DeleteRecycleFilesResponse */ public function deleteRecycleFiles($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteRecycleFilesHeaders([]); return $this->deleteRecycleFilesWithOptions($request, $headers, $runtime); } /** * @param string $spaceId * @param DeleteSpaceRequest $request * @param DeleteSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteSpaceResponse */ public function deleteSpaceWithOptions($spaceId, $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' => 'DeleteSpace', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return DeleteSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param DeleteSpaceRequest $request * * @return DeleteSpaceResponse */ public function deleteSpace($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteSpaceHeaders([]); return $this->deleteSpaceWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $taskId * @param GetAsyncTaskInfoRequest $request * @param GetAsyncTaskInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetAsyncTaskInfoResponse */ public function getAsyncTaskInfoWithOptions($taskId, $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' => 'GetAsyncTaskInfo', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/tasks/' . $taskId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAsyncTaskInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskId * @param GetAsyncTaskInfoRequest $request * * @return GetAsyncTaskInfoResponse */ public function getAsyncTaskInfo($taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetAsyncTaskInfoHeaders([]); return $this->getAsyncTaskInfoWithOptions($taskId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $fileId * @param GetDownloadInfoRequest $request * @param GetDownloadInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetDownloadInfoResponse */ public function getDownloadInfoWithOptions($spaceId, $fileId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } if (!Utils::isUnset($request->withInternalResourceUrl)) { $query['withInternalResourceUrl'] = $request->withInternalResourceUrl; } if (!Utils::isUnset($request->withRegion)) { $query['withRegion'] = $request->withRegion; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetDownloadInfo', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/' . $fileId . '/downloadInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDownloadInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $fileId * @param GetDownloadInfoRequest $request * * @return GetDownloadInfoResponse */ public function getDownloadInfo($spaceId, $fileId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetDownloadInfoHeaders([]); return $this->getDownloadInfoWithOptions($spaceId, $fileId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $fileId * @param GetFileInfoRequest $request * @param GetFileInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetFileInfoResponse */ public function getFileInfoWithOptions($spaceId, $fileId, $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' => 'GetFileInfo', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/' . $fileId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFileInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $fileId * @param GetFileInfoRequest $request * * @return GetFileInfoResponse */ public function getFileInfo($spaceId, $fileId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetFileInfoHeaders([]); return $this->getFileInfoWithOptions($spaceId, $fileId, $request, $headers, $runtime); } /** * @param GetMySpaceInfoRequest $request * @param GetMySpaceInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetMySpaceInfoResponse */ public function getMySpaceInfoWithOptions($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' => 'GetMySpaceInfo', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/mySpaces', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetMySpaceInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetMySpaceInfoRequest $request * * @return GetMySpaceInfoResponse */ public function getMySpaceInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetMySpaceInfoHeaders([]); return $this->getMySpaceInfoWithOptions($request, $headers, $runtime); } /** * @param string $spaceId * @param string $fileId * @param GetPreviewInfoRequest $request * @param GetPreviewInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetPreviewInfoResponse */ public function getPreviewInfoWithOptions($spaceId, $fileId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } if (!Utils::isUnset($request->version)) { $query['version'] = $request->version; } if (!Utils::isUnset($request->watermark)) { $query['watermark'] = $request->watermark; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetPreviewInfo', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/' . $fileId . '/previewInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetPreviewInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $fileId * @param GetPreviewInfoRequest $request * * @return GetPreviewInfoResponse */ public function getPreviewInfo($spaceId, $fileId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetPreviewInfoHeaders([]); return $this->getPreviewInfoWithOptions($spaceId, $fileId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $fileId * @param GetPrivilegeInfoRequest $request * @param GetPrivilegeInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetPrivilegeInfoResponse */ public function getPrivilegeInfoWithOptions($spaceId, $fileId, $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' => 'GetPrivilegeInfo', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/' . $fileId . '/privileges', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetPrivilegeInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $fileId * @param GetPrivilegeInfoRequest $request * * @return GetPrivilegeInfoResponse */ public function getPrivilegeInfo($spaceId, $fileId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetPrivilegeInfoHeaders([]); return $this->getPrivilegeInfoWithOptions($spaceId, $fileId, $request, $headers, $runtime); } /** * @param GetQuotaInfosRequest $request * @param GetQuotaInfosHeaders $headers * @param RuntimeOptions $runtime * * @return GetQuotaInfosResponse */ public function getQuotaInfosWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->identifiers)) { $body['identifiers'] = $request->identifiers; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } 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' => 'GetQuotaInfos', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/quotaInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetQuotaInfosResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetQuotaInfosRequest $request * * @return GetQuotaInfosResponse */ public function getQuotaInfos($request) { $runtime = new RuntimeOptions([]); $headers = new GetQuotaInfosHeaders([]); return $this->getQuotaInfosWithOptions($request, $headers, $runtime); } /** * @param string $spaceId * @param string $parentId * @param GetUploadInfoRequest $request * @param GetUploadInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetUploadInfoResponse */ public function getUploadInfoWithOptions($spaceId, $parentId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->addConflictPolicy)) { $query['addConflictPolicy'] = $request->addConflictPolicy; } if (!Utils::isUnset($request->callerRegion)) { $query['callerRegion'] = $request->callerRegion; } 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->mediaId)) { $query['mediaId'] = $request->mediaId; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } if (!Utils::isUnset($request->withInternalEndPoint)) { $query['withInternalEndPoint'] = $request->withInternalEndPoint; } if (!Utils::isUnset($request->withRegion)) { $query['withRegion'] = $request->withRegion; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetUploadInfo', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/' . $parentId . '/uploadInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUploadInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $parentId * @param GetUploadInfoRequest $request * * @return GetUploadInfoResponse */ public function getUploadInfo($spaceId, $parentId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetUploadInfoHeaders([]); return $this->getUploadInfoWithOptions($spaceId, $parentId, $request, $headers, $runtime); } /** * @param string $spaceId * @param GrantPrivilegeOfCustomSpaceRequest $request * @param GrantPrivilegeOfCustomSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return GrantPrivilegeOfCustomSpaceResponse */ public function grantPrivilegeOfCustomSpaceWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->duration)) { $body['duration'] = $request->duration; } if (!Utils::isUnset($request->fileIds)) { $body['fileIds'] = $request->fileIds; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } 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' => 'GrantPrivilegeOfCustomSpace', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/customSpacePrivileges', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return GrantPrivilegeOfCustomSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param GrantPrivilegeOfCustomSpaceRequest $request * * @return GrantPrivilegeOfCustomSpaceResponse */ public function grantPrivilegeOfCustomSpace($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GrantPrivilegeOfCustomSpaceHeaders([]); return $this->grantPrivilegeOfCustomSpaceWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param InfoSpaceRequest $request * @param InfoSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return InfoSpaceResponse */ public function infoSpaceWithOptions($spaceId, $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' => 'InfoSpace', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InfoSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param InfoSpaceRequest $request * * @return InfoSpaceResponse */ public function infoSpace($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new InfoSpaceHeaders([]); return $this->infoSpaceWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param ListFilesRequest $request * @param ListFilesHeaders $headers * @param RuntimeOptions $runtime * * @return ListFilesResponse */ public function listFilesWithOptions($spaceId, $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->orderType)) { $query['orderType'] = $request->orderType; } if (!Utils::isUnset($request->parentId)) { $query['parentId'] = $request->parentId; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } if (!Utils::isUnset($request->withIcon)) { $query['withIcon'] = $request->withIcon; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListFiles', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListFilesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param ListFilesRequest $request * * @return ListFilesResponse */ public function listFiles($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListFilesHeaders([]); return $this->listFilesWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $fileId * @param ListPermissionsRequest $request * @param ListPermissionsHeaders $headers * @param RuntimeOptions $runtime * * @return ListPermissionsResponse */ public function listPermissionsWithOptions($spaceId, $fileId, $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' => 'ListPermissions', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/' . $fileId . '/permissions', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListPermissionsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $fileId * @param ListPermissionsRequest $request * * @return ListPermissionsResponse */ public function listPermissions($spaceId, $fileId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListPermissionsHeaders([]); return $this->listPermissionsWithOptions($spaceId, $fileId, $request, $headers, $runtime); } /** * @param ListRecycleFilesRequest $request * @param ListRecycleFilesHeaders $headers * @param RuntimeOptions $runtime * * @return ListRecycleFilesResponse */ public function listRecycleFilesWithOptions($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->orderType)) { $query['orderType'] = $request->orderType; } if (!Utils::isUnset($request->recycleType)) { $query['recycleType'] = $request->recycleType; } 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' => 'ListRecycleFiles', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/recycleItems', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListRecycleFilesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListRecycleFilesRequest $request * * @return ListRecycleFilesResponse */ public function listRecycleFiles($request) { $runtime = new RuntimeOptions([]); $headers = new ListRecycleFilesHeaders([]); return $this->listRecycleFilesWithOptions($request, $headers, $runtime); } /** * @param ListSpacesRequest $request * @param ListSpacesHeaders $headers * @param RuntimeOptions $runtime * * @return ListSpacesResponse */ public function listSpacesWithOptions($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->spaceType)) { $query['spaceType'] = $request->spaceType; } 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' => 'ListSpaces', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListSpacesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListSpacesRequest $request * * @return ListSpacesResponse */ public function listSpaces($request) { $runtime = new RuntimeOptions([]); $headers = new ListSpacesHeaders([]); return $this->listSpacesWithOptions($request, $headers, $runtime); } /** * @param ManagementBuyQuotaRequest $request * @param ManagementBuyQuotaHeaders $headers * @param RuntimeOptions $runtime * * @return ManagementBuyQuotaResponse */ public function managementBuyQuotaWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->order)) { $body['order'] = $request->order; } if (!Utils::isUnset($request->token)) { $body['token'] = $request->token; } 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' => 'ManagementBuyQuota', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/managements/quotas/buy', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return ManagementBuyQuotaResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ManagementBuyQuotaRequest $request * * @return ManagementBuyQuotaResponse */ public function managementBuyQuota($request) { $runtime = new RuntimeOptions([]); $headers = new ManagementBuyQuotaHeaders([]); return $this->managementBuyQuotaWithOptions($request, $headers, $runtime); } /** * @param ManagementListSpacesRequest $request * @param ManagementListSpacesHeaders $headers * @param RuntimeOptions $runtime * * @return ManagementListSpacesResponse */ public function managementListSpacesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->spaceIds)) { $body['spaceIds'] = $request->spaceIds; } 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' => 'ManagementListSpaces', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/managements/spaces/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ManagementListSpacesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ManagementListSpacesRequest $request * * @return ManagementListSpacesResponse */ public function managementListSpaces($request) { $runtime = new RuntimeOptions([]); $headers = new ManagementListSpacesHeaders([]); return $this->managementListSpacesWithOptions($request, $headers, $runtime); } /** * @param ManagementModifySpaceRequest $request * @param ManagementModifySpaceHeaders $headers * @param RuntimeOptions $runtime * * @return ManagementModifySpaceResponse */ public function managementModifySpaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->quota)) { $body['quota'] = $request->quota; } if (!Utils::isUnset($request->spaceIds)) { $body['spaceIds'] = $request->spaceIds; } 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' => 'ManagementModifySpace', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/managements/spaces', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ManagementModifySpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ManagementModifySpaceRequest $request * * @return ManagementModifySpaceResponse */ public function managementModifySpace($request) { $runtime = new RuntimeOptions([]); $headers = new ManagementModifySpaceHeaders([]); return $this->managementModifySpaceWithOptions($request, $headers, $runtime); } /** * @param string $spaceId * @param string $fileId * @param ModifyPermissionRequest $request * @param ModifyPermissionHeaders $headers * @param RuntimeOptions $runtime * * @return ModifyPermissionResponse */ public function modifyPermissionWithOptions($spaceId, $fileId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->role)) { $body['role'] = $request->role; } 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' => 'ModifyPermission', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/' . $fileId . '/permissions', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return ModifyPermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $fileId * @param ModifyPermissionRequest $request * * @return ModifyPermissionResponse */ public function modifyPermission($spaceId, $fileId, $request) { $runtime = new RuntimeOptions([]); $headers = new ModifyPermissionHeaders([]); return $this->modifyPermissionWithOptions($spaceId, $fileId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $fileId * @param MoveFileRequest $request * @param MoveFileHeaders $headers * @param RuntimeOptions $runtime * * @return MoveFileResponse */ public function moveFileWithOptions($spaceId, $fileId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->addConflictPolicy)) { $body['addConflictPolicy'] = $request->addConflictPolicy; } if (!Utils::isUnset($request->targetParentId)) { $body['targetParentId'] = $request->targetParentId; } if (!Utils::isUnset($request->targetSpaceId)) { $body['targetSpaceId'] = $request->targetSpaceId; } 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' => 'MoveFile', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/' . $fileId . '/move', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return MoveFileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $fileId * @param MoveFileRequest $request * * @return MoveFileResponse */ public function moveFile($spaceId, $fileId, $request) { $runtime = new RuntimeOptions([]); $headers = new MoveFileHeaders([]); return $this->moveFileWithOptions($spaceId, $fileId, $request, $headers, $runtime); } /** * @param string $spaceId * @param MoveFilesRequest $request * @param MoveFilesHeaders $headers * @param RuntimeOptions $runtime * * @return MoveFilesResponse */ public function moveFilesWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->addConflictPolicy)) { $body['addConflictPolicy'] = $request->addConflictPolicy; } if (!Utils::isUnset($request->fileIds)) { $body['fileIds'] = $request->fileIds; } if (!Utils::isUnset($request->targetParentId)) { $body['targetParentId'] = $request->targetParentId; } if (!Utils::isUnset($request->targetSpaceId)) { $body['targetSpaceId'] = $request->targetSpaceId; } 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' => 'MoveFiles', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/batchMove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return MoveFilesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param MoveFilesRequest $request * * @return MoveFilesResponse */ public function moveFiles($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new MoveFilesHeaders([]); return $this->moveFilesWithOptions($spaceId, $request, $headers, $runtime); } /** * @param RecoverRecycleFilesRequest $request * @param RecoverRecycleFilesHeaders $headers * @param RuntimeOptions $runtime * * @return RecoverRecycleFilesResponse */ public function recoverRecycleFilesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->recycleItemIdList)) { $body['recycleItemIdList'] = $request->recycleItemIdList; } if (!Utils::isUnset($request->recycleType)) { $body['recycleType'] = $request->recycleType; } 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' => 'RecoverRecycleFiles', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/recycleItems/recover', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return RecoverRecycleFilesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RecoverRecycleFilesRequest $request * * @return RecoverRecycleFilesResponse */ public function recoverRecycleFiles($request) { $runtime = new RuntimeOptions([]); $headers = new RecoverRecycleFilesHeaders([]); return $this->recoverRecycleFilesWithOptions($request, $headers, $runtime); } /** * @param string $spaceId * @param string $fileId * @param RenameFileRequest $request * @param RenameFileHeaders $headers * @param RuntimeOptions $runtime * * @return RenameFileResponse */ public function renameFileWithOptions($spaceId, $fileId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->newFileName)) { $body['newFileName'] = $request->newFileName; } 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' => 'RenameFile', 'version' => 'drive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/drive/spaces/' . $spaceId . '/files/' . $fileId . '/rename', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RenameFileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $fileId * @param RenameFileRequest $request * * @return RenameFileResponse */ public function renameFile($spaceId, $fileId, $request) { $runtime = new RuntimeOptions([]); $headers = new RenameFileHeaders([]); return $this->renameFileWithOptions($spaceId, $fileId, $request, $headers, $runtime); } } src/drive_1_0/Models/AddCustomSpaceHeaders.php000064400000002331146412132660015176 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddCustomSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/AddCustomSpaceRequest.php000064400000003354146412132660015261 0ustar00 'bizType', 'identifier' => 'identifier', 'permissionMode' => 'permissionMode', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->identifier) { $res['identifier'] = $this->identifier; } if (null !== $this->permissionMode) { $res['permissionMode'] = $this->permissionMode; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return AddCustomSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['identifier'])) { $model->identifier = $map['identifier']; } if (isset($map['permissionMode'])) { $model->permissionMode = $map['permissionMode']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/AddCustomSpaceResponse.php000064400000002723146412132660015426 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddCustomSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddCustomSpaceResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/AddCustomSpaceResponseBody.php000064400000005640146412132660016245 0ustar00 'createTime', 'modifyTime' => 'modifyTime', 'permissionMode' => 'permissionMode', 'quota' => 'quota', 'spaceId' => 'spaceId', 'spaceName' => 'spaceName', 'spaceType' => 'spaceType', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->permissionMode) { $res['permissionMode'] = $this->permissionMode; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->spaceName) { $res['spaceName'] = $this->spaceName; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return AddCustomSpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['permissionMode'])) { $model->permissionMode = $map['permissionMode']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['spaceName'])) { $model->spaceName = $map['spaceName']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/drive_1_0/Models/AddFileHeaders.php000064400000002313146412132660013627 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/drive_1_0/Models/AddFileRequest.php000064400000004504146412132660013710 0ustar00 'addConflictPolicy', 'fileName' => 'fileName', 'fileType' => 'fileType', 'mediaId' => 'mediaId', 'parentId' => 'parentId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->addConflictPolicy) { $res['addConflictPolicy'] = $this->addConflictPolicy; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return AddFileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['addConflictPolicy'])) { $model->addConflictPolicy = $map['addConflictPolicy']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/AddFileResponse.php000064400000002667146412132660014066 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/drive_1_0/Models/AddFileResponseBody.php000064400000010476146412132660014701 0ustar00 'contentType', 'createTime' => 'createTime', 'creator' => 'creator', 'fileExtension' => 'fileExtension', 'fileId' => 'fileId', 'fileName' => 'fileName', 'filePath' => 'filePath', 'fileSize' => 'fileSize', 'fileType' => 'fileType', 'modifier' => 'modifier', 'modifyTime' => 'modifyTime', 'parentId' => 'parentId', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->fileExtension) { $res['fileExtension'] = $this->fileExtension; } if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->filePath) { $res['filePath'] = $this->filePath; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->modifier) { $res['modifier'] = $this->modifier; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } 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['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['fileExtension'])) { $model->fileExtension = $map['fileExtension']; } if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['filePath'])) { $model->filePath = $map['filePath']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['modifier'])) { $model->modifier = $map['modifier']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/drive_1_0/Models/AddPermissionHeaders.php000064400000002327146412132660015105 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddPermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/AddPermissionRequest.php000064400000003627146412132660015166 0ustar00 'members', 'role' => 'role', 'unionId' => 'unionId', ]; 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; } } } if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return AddPermissionRequest */ 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; } } } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/AddPermissionRequest/members.php000064400000002603146412132660016611 0ustar00 'corpId', 'memberId' => 'memberId', 'memberType' => 'memberType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } 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['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } return $model; } } src/drive_1_0/Models/AddPermissionResponse.php000064400000002157146412132660015331 0ustar00 '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 AddPermissionResponse */ 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/drive_1_0/Models/AddSpaceHeaders.php000064400000002315146412132660014005 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/AddSpaceRequest.php000064400000002056146412132660014064 0ustar00 'name', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return AddSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/AddSpaceResponse.php000064400000002673146412132660014237 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddSpaceResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/AddSpaceResponseBody.php000064400000005624146412132660015054 0ustar00 'createTime', 'modifyTime' => 'modifyTime', 'permissionMode' => 'permissionMode', 'quota' => 'quota', 'spaceId' => 'spaceId', 'spaceName' => 'spaceName', 'spaceType' => 'spaceType', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->permissionMode) { $res['permissionMode'] = $this->permissionMode; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->spaceName) { $res['spaceName'] = $this->spaceName; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return AddSpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['permissionMode'])) { $model->permissionMode = $map['permissionMode']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['spaceName'])) { $model->spaceName = $map['spaceName']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/drive_1_0/Models/ClearRecycleFilesHeaders.php000064400000002337146412132660015665 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ClearRecycleFilesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/ClearRecycleFilesRequest.php000064400000002200146412132660015727 0ustar00 'recycleType', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->recycleType) { $res['recycleType'] = $this->recycleType; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ClearRecycleFilesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['recycleType'])) { $model->recycleType = $map['recycleType']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/ClearRecycleFilesResponse.php000064400000002167146412132660016111 0ustar00 '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 ClearRecycleFilesResponse */ 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/drive_1_0/Models/CopyFileHeaders.php000064400000002315146412132660014053 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CopyFileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/CopyFileRequest.php000064400000003524146412132660014133 0ustar00 'addConflictPolicy', 'targetParentId' => 'targetParentId', 'targetSpaceId' => 'targetSpaceId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->addConflictPolicy) { $res['addConflictPolicy'] = $this->addConflictPolicy; } if (null !== $this->targetParentId) { $res['targetParentId'] = $this->targetParentId; } if (null !== $this->targetSpaceId) { $res['targetSpaceId'] = $this->targetSpaceId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return CopyFileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['addConflictPolicy'])) { $model->addConflictPolicy = $map['addConflictPolicy']; } if (isset($map['targetParentId'])) { $model->targetParentId = $map['targetParentId']; } if (isset($map['targetSpaceId'])) { $model->targetSpaceId = $map['targetSpaceId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/CopyFileResponse.php000064400000002673146412132660014305 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CopyFileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CopyFileResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/CopyFileResponseBody.php000064400000002255146412132660015117 0ustar00 'file', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->file) { $res['file'] = null !== $this->file ? $this->file->toMap() : null; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return CopyFileResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['file'])) { $model->file = file::fromMap($map['file']); } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/drive_1_0/Models/CopyFileResponseBody/file.php000064400000010465146412132660016040 0ustar00 'contentType', 'createTime' => 'createTime', 'creator' => 'creator', 'fileExtension' => 'fileExtension', 'fileId' => 'fileId', 'fileName' => 'fileName', 'filePath' => 'filePath', 'fileSize' => 'fileSize', 'fileType' => 'fileType', 'modifier' => 'modifier', 'modifyTime' => 'modifyTime', 'parentId' => 'parentId', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->fileExtension) { $res['fileExtension'] = $this->fileExtension; } if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->filePath) { $res['filePath'] = $this->filePath; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->modifier) { $res['modifier'] = $this->modifier; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return file */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['fileExtension'])) { $model->fileExtension = $map['fileExtension']; } if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['filePath'])) { $model->filePath = $map['filePath']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['modifier'])) { $model->modifier = $map['modifier']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/drive_1_0/Models/DeleteFileHeaders.php000064400000002321146412132660014340 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteFileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/DeleteFileRequest.php000064400000002174146412132660014423 0ustar00 'deletePolicy', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deletePolicy) { $res['deletePolicy'] = $this->deletePolicy; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return DeleteFileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deletePolicy'])) { $model->deletePolicy = $map['deletePolicy']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/DeleteFileResponse.php000064400000002703146412132660014567 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteFileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteFileResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/DeleteFileResponseBody.php000064400000001473146412132660015410 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteFileResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/drive_1_0/Models/DeleteFilesHeaders.php000064400000002323146412132660014525 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteFilesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/DeleteFilesRequest.php000064400000002731146412132660014605 0ustar00 'deletePolicy', 'fileIds' => 'fileIds', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deletePolicy) { $res['deletePolicy'] = $this->deletePolicy; } if (null !== $this->fileIds) { $res['fileIds'] = $this->fileIds; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return DeleteFilesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deletePolicy'])) { $model->deletePolicy = $map['deletePolicy']; } if (isset($map['fileIds'])) { if (!empty($map['fileIds'])) { $model->fileIds = $map['fileIds']; } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/DeleteFilesResponse.php000064400000002707146412132660014756 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteFilesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteFilesResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/DeleteFilesResponseBody.php000064400000002114146412132660015564 0ustar00 'success', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return DeleteFilesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/drive_1_0/Models/DeletePermissionHeaders.php000064400000002335146412132660015616 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeletePermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/DeletePermissionRequest.php000064400000003640146412132660015673 0ustar00 'members', 'role' => 'role', 'unionId' => 'unionId', ]; 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; } } } if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return DeletePermissionRequest */ 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; } } } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/DeletePermissionRequest/members.php000064400000002606146412132660017326 0ustar00 'corpId', 'memberId' => 'memberId', 'memberType' => 'memberType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } 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['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } return $model; } } src/drive_1_0/Models/DeletePermissionResponse.php000064400000002165146412132660016042 0ustar00 '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 DeletePermissionResponse */ 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/drive_1_0/Models/DeleteRecycleFilesHeaders.php000064400000002341146412132660016034 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteRecycleFilesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/DeleteRecycleFilesRequest.php000064400000003105146412132660016110 0ustar00 'recycleItemIdList', 'recycleType' => 'recycleType', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->recycleItemIdList) { $res['recycleItemIdList'] = $this->recycleItemIdList; } if (null !== $this->recycleType) { $res['recycleType'] = $this->recycleType; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return DeleteRecycleFilesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['recycleItemIdList'])) { if (!empty($map['recycleItemIdList'])) { $model->recycleItemIdList = $map['recycleItemIdList']; } } if (isset($map['recycleType'])) { $model->recycleType = $map['recycleType']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/DeleteRecycleFilesResponse.php000064400000002171146412132660016260 0ustar00 '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 DeleteRecycleFilesResponse */ 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/drive_1_0/Models/DeleteSpaceHeaders.php000064400000002323146412132660014516 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/DeleteSpaceRequest.php000064400000001465146412132660014601 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return DeleteSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/DeleteSpaceResponse.php000064400000002153146412132660014742 0ustar00 '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 DeleteSpaceResponse */ 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/drive_1_0/Models/GetAsyncTaskInfoHeaders.php000064400000002335146412132660015517 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAsyncTaskInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/GetAsyncTaskInfoRequest.php000064400000001477146412132660015602 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetAsyncTaskInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/GetAsyncTaskInfoResponse.php000064400000002733146412132660015744 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAsyncTaskInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAsyncTaskInfoResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/GetAsyncTaskInfoResponseBody.php000064400000004700146412132660016556 0ustar00 'beginTime', 'endTime' => 'endTime', 'failed' => 'failed', 'status' => 'status', 'success' => 'success', 'taskId' => 'taskId', 'total' => 'total', ]; 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->failed) { $res['failed'] = $this->failed; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetAsyncTaskInfoResponseBody */ 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['failed'])) { $model->failed = $map['failed']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/drive_1_0/Models/GetDownloadInfoHeaders.php000064400000002333146412132660015364 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDownloadInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/GetDownloadInfoRequest.php000064400000003057146412132660015445 0ustar00 'unionId', 'withInternalResourceUrl' => 'withInternalResourceUrl', 'withRegion' => 'withRegion', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->withInternalResourceUrl) { $res['withInternalResourceUrl'] = $this->withInternalResourceUrl; } if (null !== $this->withRegion) { $res['withRegion'] = $this->withRegion; } return $res; } /** * @param array $map * * @return GetDownloadInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['withInternalResourceUrl'])) { $model->withInternalResourceUrl = $map['withInternalResourceUrl']; } if (isset($map['withRegion'])) { $model->withRegion = $map['withRegion']; } return $model; } } src/drive_1_0/Models/GetDownloadInfoResponse.php000064400000002727146412132660015616 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDownloadInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDownloadInfoResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/GetDownloadInfoResponseBody.php000064400000002456146412132660016433 0ustar00 'downloadInfo', 'region' => 'region', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->downloadInfo) { $res['downloadInfo'] = null !== $this->downloadInfo ? $this->downloadInfo->toMap() : null; } if (null !== $this->region) { $res['region'] = $this->region; } return $res; } /** * @param array $map * * @return GetDownloadInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['downloadInfo'])) { $model->downloadInfo = downloadInfo::fromMap($map['downloadInfo']); } if (isset($map['region'])) { $model->region = $map['region']; } return $model; } } src/drive_1_0/Models/GetDownloadInfoResponseBody/downloadInfo.php000064400000003610146412132660021047 0ustar00 'expirationSeconds', 'headers' => 'headers', 'internalResourceUrl' => 'internalResourceUrl', 'resourceUrl' => 'resourceUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expirationSeconds) { $res['expirationSeconds'] = $this->expirationSeconds; } if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->internalResourceUrl) { $res['internalResourceUrl'] = $this->internalResourceUrl; } if (null !== $this->resourceUrl) { $res['resourceUrl'] = $this->resourceUrl; } return $res; } /** * @param array $map * * @return downloadInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expirationSeconds'])) { $model->expirationSeconds = $map['expirationSeconds']; } if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['internalResourceUrl'])) { $model->internalResourceUrl = $map['internalResourceUrl']; } if (isset($map['resourceUrl'])) { $model->resourceUrl = $map['resourceUrl']; } return $model; } } src/drive_1_0/Models/GetFileInfoHeaders.php000064400000002323146412132660014473 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFileInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/GetFileInfoRequest.php000064400000001465146412132660014556 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetFileInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/GetFileInfoResponse.php000064400000002707146412132660014724 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFileInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFileInfoResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/GetFileInfoResponseBody.php000064400000010506146412132660015536 0ustar00 'contentType', 'createTime' => 'createTime', 'creator' => 'creator', 'fileExtension' => 'fileExtension', 'fileId' => 'fileId', 'fileName' => 'fileName', 'filePath' => 'filePath', 'fileSize' => 'fileSize', 'fileType' => 'fileType', 'modifier' => 'modifier', 'modifyTime' => 'modifyTime', 'parentId' => 'parentId', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->fileExtension) { $res['fileExtension'] = $this->fileExtension; } if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->filePath) { $res['filePath'] = $this->filePath; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->modifier) { $res['modifier'] = $this->modifier; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return GetFileInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['fileExtension'])) { $model->fileExtension = $map['fileExtension']; } if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['filePath'])) { $model->filePath = $map['filePath']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['modifier'])) { $model->modifier = $map['modifier']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/drive_1_0/Models/GetMySpaceInfoHeaders.php000064400000002331146412132660015154 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMySpaceInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/GetMySpaceInfoRequest.php000064400000001473146412132660015237 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetMySpaceInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/GetMySpaceInfoResponse.php000064400000002723146412132660015404 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMySpaceInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMySpaceInfoResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/GetMySpaceInfoResponseBody.php000064400000005640146412132660016223 0ustar00 'createTime', 'modifyTime' => 'modifyTime', 'permissionMode' => 'permissionMode', 'quota' => 'quota', 'spaceId' => 'spaceId', 'spaceName' => 'spaceName', 'spaceType' => 'spaceType', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->permissionMode) { $res['permissionMode'] = $this->permissionMode; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->spaceName) { $res['spaceName'] = $this->spaceName; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return GetMySpaceInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['permissionMode'])) { $model->permissionMode = $map['permissionMode']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['spaceName'])) { $model->spaceName = $map['spaceName']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/drive_1_0/Models/GetPreviewInfoHeaders.php000064400000002331146412132660015234 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPreviewInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/GetPreviewInfoRequest.php000064400000002572146412132660015320 0ustar00 'unionId', 'version' => 'version', 'watermark' => 'watermark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->version) { $res['version'] = $this->version; } if (null !== $this->watermark) { $res['watermark'] = $this->watermark; } return $res; } /** * @param array $map * * @return GetPreviewInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['version'])) { $model->version = $map['version']; } if (isset($map['watermark'])) { $model->watermark = $map['watermark']; } return $model; } } src/drive_1_0/Models/GetPreviewInfoResponse.php000064400000002723146412132660015464 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPreviewInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPreviewInfoResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/GetPreviewInfoResponseBody.php000064400000001657146412132660016307 0ustar00 'info', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->info) { $res['info'] = null !== $this->info ? $this->info->toMap() : null; } return $res; } /** * @param array $map * * @return GetPreviewInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['info'])) { $model->info = info::fromMap($map['info']); } return $model; } } src/drive_1_0/Models/GetPreviewInfoResponseBody/info.php000064400000001420146412132660017226 0ustar00 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return info */ public static function fromMap($map = []) { $model = new self(); if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/drive_1_0/Models/GetPrivilegeInfoHeaders.php000064400000002335146412132660015545 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPrivilegeInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/GetPrivilegeInfoRequest.php000064400000001477146412132660015630 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetPrivilegeInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/GetPrivilegeInfoResponse.php000064400000002733146412132660015772 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPrivilegeInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPrivilegeInfoResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/GetPrivilegeInfoResponseBody.php000064400000001564146412132660016611 0ustar00 'types', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->types) { $res['types'] = $this->types; } return $res; } /** * @param array $map * * @return GetPrivilegeInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['types'])) { if (!empty($map['types'])) { $model->types = $map['types']; } } return $model; } } src/drive_1_0/Models/GetQuotaInfosHeaders.php000064400000002327146412132660015074 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetQuotaInfosHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/GetQuotaInfosRequest.php000064400000002676146412132660015160 0ustar00 'identifiers', 'type' => 'type', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->identifiers) { $res['identifiers'] = $this->identifiers; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetQuotaInfosRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['identifiers'])) { if (!empty($map['identifiers'])) { $model->identifiers = $map['identifiers']; } } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/GetQuotaInfosResponse.php000064400000002717146412132660015322 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetQuotaInfosResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetQuotaInfosResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/GetQuotaInfosResponseBody.php000064400000002576146412132660016143 0ustar00 'quotas', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->quotas) { $res['quotas'] = []; if (null !== $this->quotas && \is_array($this->quotas)) { $n = 0; foreach ($this->quotas as $item) { $res['quotas'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetQuotaInfosResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['quotas'])) { if (!empty($map['quotas'])) { $model->quotas = []; $n = 0; foreach ($map['quotas'] as $item) { $model->quotas[$n++] = null !== $item ? quotas::fromMap($item) : $item; } } } return $model; } } src/drive_1_0/Models/GetQuotaInfosResponseBody/quotas.php000064400000003202146412132660017442 0ustar00 'identifier', 'quota' => 'quota', 'type' => 'type', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->identifier) { $res['identifier'] = $this->identifier; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return quotas */ public static function fromMap($map = []) { $model = new self(); if (isset($map['identifier'])) { $model->identifier = $map['identifier']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/drive_1_0/Models/GetUploadInfoHeaders.php000064400000002327146412132660015044 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUploadInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/GetUploadInfoRequest.php000064400000006507146412132660015125 0ustar00 'addConflictPolicy', 'callerRegion' => 'callerRegion', 'fileName' => 'fileName', 'fileSize' => 'fileSize', 'md5' => 'md5', 'mediaId' => 'mediaId', 'unionId' => 'unionId', 'withInternalEndPoint' => 'withInternalEndPoint', 'withRegion' => 'withRegion', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->addConflictPolicy) { $res['addConflictPolicy'] = $this->addConflictPolicy; } if (null !== $this->callerRegion) { $res['callerRegion'] = $this->callerRegion; } 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->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->withInternalEndPoint) { $res['withInternalEndPoint'] = $this->withInternalEndPoint; } if (null !== $this->withRegion) { $res['withRegion'] = $this->withRegion; } return $res; } /** * @param array $map * * @return GetUploadInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['addConflictPolicy'])) { $model->addConflictPolicy = $map['addConflictPolicy']; } if (isset($map['callerRegion'])) { $model->callerRegion = $map['callerRegion']; } 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['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['withInternalEndPoint'])) { $model->withInternalEndPoint = $map['withInternalEndPoint']; } if (isset($map['withRegion'])) { $model->withRegion = $map['withRegion']; } return $model; } } src/drive_1_0/Models/GetUploadInfoResponse.php000064400000002717146412132660015272 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUploadInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUploadInfoResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/GetUploadInfoResponseBody.php000064400000003737146412132660016113 0ustar00 'headerSignatureUploadInfo', 'region' => 'region', 'stsUploadInfo' => 'stsUploadInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headerSignatureUploadInfo) { $res['headerSignatureUploadInfo'] = null !== $this->headerSignatureUploadInfo ? $this->headerSignatureUploadInfo->toMap() : null; } if (null !== $this->region) { $res['region'] = $this->region; } if (null !== $this->stsUploadInfo) { $res['stsUploadInfo'] = null !== $this->stsUploadInfo ? $this->stsUploadInfo->toMap() : null; } return $res; } /** * @param array $map * * @return GetUploadInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headerSignatureUploadInfo'])) { $model->headerSignatureUploadInfo = headerSignatureUploadInfo::fromMap($map['headerSignatureUploadInfo']); } if (isset($map['region'])) { $model->region = $map['region']; } if (isset($map['stsUploadInfo'])) { $model->stsUploadInfo = stsUploadInfo::fromMap($map['stsUploadInfo']); } return $model; } } src/drive_1_0/Models/GetUploadInfoResponseBody/headerSignatureUploadInfo.php000064400000004303146412132660023174 0ustar00 'expirationSeconds', 'headers' => 'headers', 'internalResourceUrl' => 'internalResourceUrl', 'mediaId' => 'mediaId', 'resourceUrl' => 'resourceUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expirationSeconds) { $res['expirationSeconds'] = $this->expirationSeconds; } if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->internalResourceUrl) { $res['internalResourceUrl'] = $this->internalResourceUrl; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->resourceUrl) { $res['resourceUrl'] = $this->resourceUrl; } return $res; } /** * @param array $map * * @return headerSignatureUploadInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expirationSeconds'])) { $model->expirationSeconds = $map['expirationSeconds']; } if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['internalResourceUrl'])) { $model->internalResourceUrl = $map['internalResourceUrl']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['resourceUrl'])) { $model->resourceUrl = $map['resourceUrl']; } return $model; } } src/drive_1_0/Models/GetUploadInfoResponseBody/stsUploadInfo.php000064400000006353146412132660020702 0ustar00 'accessKeyId', 'accessKeySecret' => 'accessKeySecret', 'accessToken' => 'accessToken', 'accessTokenExpirationMillis' => 'accessTokenExpirationMillis', 'bucket' => 'bucket', 'endPoint' => 'endPoint', 'internalEndPoint' => 'internalEndPoint', '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->internalEndPoint) { $res['internalEndPoint'] = $this->internalEndPoint; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } return $res; } /** * @param array $map * * @return stsUploadInfo */ 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['internalEndPoint'])) { $model->internalEndPoint = $map['internalEndPoint']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } return $model; } } src/drive_1_0/Models/GrantPrivilegeOfCustomSpaceHeaders.php000064400000002363146412132660017722 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GrantPrivilegeOfCustomSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/GrantPrivilegeOfCustomSpaceRequest.php000064400000003732146412132660020000 0ustar00 'duration', 'fileIds' => 'fileIds', 'type' => 'type', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->fileIds) { $res['fileIds'] = $this->fileIds; } 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 GrantPrivilegeOfCustomSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['fileIds'])) { if (!empty($map['fileIds'])) { $model->fileIds = $map['fileIds']; } } 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/drive_1_0/Models/GrantPrivilegeOfCustomSpaceResponse.php000064400000002213146412132660020137 0ustar00 '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 GrantPrivilegeOfCustomSpaceResponse */ 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/drive_1_0/Models/InfoSpaceHeaders.php000064400000002317146412132660014212 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InfoSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/InfoSpaceRequest.php000064400000001461146412132660014266 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return InfoSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/InfoSpaceResponse.php000064400000002677146412132660014446 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InfoSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InfoSpaceResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/InfoSpaceResponseBody.php000064400000005626146412132660015261 0ustar00 'createTime', 'modifyTime' => 'modifyTime', 'permissionMode' => 'permissionMode', 'quota' => 'quota', 'spaceId' => 'spaceId', 'spaceName' => 'spaceName', 'spaceType' => 'spaceType', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->permissionMode) { $res['permissionMode'] = $this->permissionMode; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->spaceName) { $res['spaceName'] = $this->spaceName; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return InfoSpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['permissionMode'])) { $model->permissionMode = $map['permissionMode']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['spaceName'])) { $model->spaceName = $map['spaceName']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/drive_1_0/Models/ListFilesHeaders.php000064400000002317146412132660014241 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListFilesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/ListFilesRequest.php000064400000004371146412132660014320 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'orderType' => 'orderType', 'parentId' => 'parentId', 'unionId' => 'unionId', 'withIcon' => 'withIcon', ]; 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->orderType) { $res['orderType'] = $this->orderType; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->withIcon) { $res['withIcon'] = $this->withIcon; } return $res; } /** * @param array $map * * @return ListFilesRequest */ 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['orderType'])) { $model->orderType = $map['orderType']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['withIcon'])) { $model->withIcon = $map['withIcon']; } return $model; } } src/drive_1_0/Models/ListFilesResponse.php000064400000002677146412132660014475 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListFilesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListFilesResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/ListFilesResponseBody.php000064400000003215146412132660015300 0ustar00 'files', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->files) { $res['files'] = []; if (null !== $this->files && \is_array($this->files)) { $n = 0; foreach ($this->files as $item) { $res['files'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListFilesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['files'])) { if (!empty($map['files'])) { $model->files = []; $n = 0; foreach ($map['files'] as $item) { $model->files[$n++] = null !== $item ? files::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/drive_1_0/Models/ListFilesResponseBody/files.php000064400000011552146412132660016405 0ustar00 'contentType', 'createTime' => 'createTime', 'creator' => 'creator', 'fileExtension' => 'fileExtension', 'fileId' => 'fileId', 'fileName' => 'fileName', 'filePath' => 'filePath', 'fileSize' => 'fileSize', 'fileType' => 'fileType', 'icon' => 'icon', 'modifier' => 'modifier', 'modifyTime' => 'modifyTime', 'parentId' => 'parentId', 'spaceId' => 'spaceId', 'thumbnail' => 'thumbnail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->fileExtension) { $res['fileExtension'] = $this->fileExtension; } if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->filePath) { $res['filePath'] = $this->filePath; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->modifier) { $res['modifier'] = $this->modifier; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->thumbnail) { $res['thumbnail'] = $this->thumbnail; } return $res; } /** * @param array $map * * @return files */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['fileExtension'])) { $model->fileExtension = $map['fileExtension']; } if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['filePath'])) { $model->filePath = $map['filePath']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['modifier'])) { $model->modifier = $map['modifier']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['thumbnail'])) { $model->thumbnail = $map['thumbnail']; } return $model; } } src/drive_1_0/Models/ListPermissionsHeaders.php000064400000002333146412132660015510 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListPermissionsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/ListPermissionsRequest.php000064400000001475146412132660015573 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ListPermissionsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/ListPermissionsResponse.php000064400000002727146412132660015742 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListPermissionsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListPermissionsResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/ListPermissionsResponseBody.php000064400000004465146412132660016561 0ustar00 'members', 'outMembers' => 'outMembers', ]; 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; } } } if (null !== $this->outMembers) { $res['outMembers'] = []; if (null !== $this->outMembers && \is_array($this->outMembers)) { $n = 0; foreach ($this->outMembers as $item) { $res['outMembers'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListPermissionsResponseBody */ 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; } } } if (isset($map['outMembers'])) { if (!empty($map['outMembers'])) { $model->outMembers = []; $n = 0; foreach ($map['outMembers'] as $item) { $model->outMembers[$n++] = null !== $item ? outMembers::fromMap($item) : $item; } } } return $model; } } src/drive_1_0/Models/ListPermissionsResponseBody/members.php000064400000002722146412132660020205 0ustar00 'extend', 'member' => 'member', 'role' => 'role', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->member) { $res['member'] = null !== $this->member ? $this->member->toMap() : null; } if (null !== $this->role) { $res['role'] = $this->role; } return $res; } /** * @param array $map * * @return members */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['member'])) { $model->member = member::fromMap($map['member']); } if (isset($map['role'])) { $model->role = $map['role']; } return $model; } } src/drive_1_0/Models/ListPermissionsResponseBody/members/member.php000064400000003302146412132660021447 0ustar00 'corpId', 'memberId' => 'memberId', 'memberName' => 'memberName', 'memberType' => 'memberType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberName) { $res['memberName'] = $this->memberName; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } return $res; } /** * @param array $map * * @return member */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberName'])) { $model->memberName = $map['memberName']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } return $model; } } src/drive_1_0/Models/ListPermissionsResponseBody/outMembers.php000064400000002733146412132660020677 0ustar00 'extend', 'member' => 'member', 'role' => 'role', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->member) { $res['member'] = null !== $this->member ? $this->member->toMap() : null; } if (null !== $this->role) { $res['role'] = $this->role; } return $res; } /** * @param array $map * * @return outMembers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['member'])) { $model->member = member::fromMap($map['member']); } if (isset($map['role'])) { $model->role = $map['role']; } return $model; } } src/drive_1_0/Models/ListPermissionsResponseBody/outMembers/member.php000064400000003305146412132660022142 0ustar00 'corpId', 'memberId' => 'memberId', 'memberName' => 'memberName', 'memberType' => 'memberType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberName) { $res['memberName'] = $this->memberName; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } return $res; } /** * @param array $map * * @return member */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberName'])) { $model->memberName = $map['memberName']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } return $model; } } src/drive_1_0/Models/ListRecycleFilesHeaders.php000064400000002335146412132660015550 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListRecycleFilesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/ListRecycleFilesRequest.php000064400000004004146412132660015620 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'orderType' => 'orderType', 'recycleType' => 'recycleType', 'unionId' => 'unionId', ]; 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->orderType) { $res['orderType'] = $this->orderType; } if (null !== $this->recycleType) { $res['recycleType'] = $this->recycleType; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ListRecycleFilesRequest */ 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['orderType'])) { $model->orderType = $map['orderType']; } if (isset($map['recycleType'])) { $model->recycleType = $map['recycleType']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/ListRecycleFilesResponse.php000064400000002733146412132660015775 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListRecycleFilesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListRecycleFilesResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/ListRecycleFilesResponseBody.php000064400000003437146412132660016615 0ustar00 'nextToken', 'recycleItems' => 'recycleItems', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->recycleItems) { $res['recycleItems'] = []; if (null !== $this->recycleItems && \is_array($this->recycleItems)) { $n = 0; foreach ($this->recycleItems as $item) { $res['recycleItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListRecycleFilesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['recycleItems'])) { if (!empty($map['recycleItems'])) { $model->recycleItems = []; $n = 0; foreach ($map['recycleItems'] as $item) { $model->recycleItems[$n++] = null !== $item ? recycleItems::fromMap($item) : $item; } } } return $model; } } src/drive_1_0/Models/ListRecycleFilesResponseBody/recycleItems.php000064400000005714146412132660021245 0ustar00 'contentType', 'deleteStaffId' => 'deleteStaffId', 'deleteTime' => 'deleteTime', 'fileName' => 'fileName', 'filePath' => 'filePath', 'fileSize' => 'fileSize', 'fileType' => 'fileType', 'recycleItemId' => 'recycleItemId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->deleteStaffId) { $res['deleteStaffId'] = $this->deleteStaffId; } if (null !== $this->deleteTime) { $res['deleteTime'] = $this->deleteTime; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->filePath) { $res['filePath'] = $this->filePath; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->recycleItemId) { $res['recycleItemId'] = $this->recycleItemId; } return $res; } /** * @param array $map * * @return recycleItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['deleteStaffId'])) { $model->deleteStaffId = $map['deleteStaffId']; } if (isset($map['deleteTime'])) { $model->deleteTime = $map['deleteTime']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['filePath'])) { $model->filePath = $map['filePath']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['recycleItemId'])) { $model->recycleItemId = $map['recycleItemId']; } return $model; } } src/drive_1_0/Models/ListSpacesHeaders.php000064400000002321146412132660014410 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListSpacesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/ListSpacesRequest.php000064400000003271146412132660014472 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'spaceType' => 'spaceType', 'unionId' => 'unionId', ]; 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->spaceType) { $res['spaceType'] = $this->spaceType; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ListSpacesRequest */ 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['spaceType'])) { $model->spaceType = $map['spaceType']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/ListSpacesResponse.php000064400000002703146412132660014637 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListSpacesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListSpacesResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/ListSpacesResponseBody.php000064400000003241146412132660015453 0ustar00 'nextToken', 'spaces' => 'spaces', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->spaces) { $res['spaces'] = []; if (null !== $this->spaces && \is_array($this->spaces)) { $n = 0; foreach ($this->spaces as $item) { $res['spaces'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListSpacesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['spaces'])) { if (!empty($map['spaces'])) { $model->spaces = []; $n = 0; foreach ($map['spaces'] as $item) { $model->spaces[$n++] = null !== $item ? spaces::fromMap($item) : $item; } } } return $model; } } src/drive_1_0/Models/ListSpacesResponseBody/spaces.php000064400000005617146412132660016742 0ustar00 'createTime', 'modifyTime' => 'modifyTime', 'permissionMode' => 'permissionMode', 'quota' => 'quota', 'spaceId' => 'spaceId', 'spaceName' => 'spaceName', 'spaceType' => 'spaceType', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->permissionMode) { $res['permissionMode'] = $this->permissionMode; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->spaceName) { $res['spaceName'] = $this->spaceName; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return spaces */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['permissionMode'])) { $model->permissionMode = $map['permissionMode']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['spaceName'])) { $model->spaceName = $map['spaceName']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/drive_1_0/Models/ManagementBuyQuotaHeaders.php000064400000002341146412132660016106 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ManagementBuyQuotaHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/ManagementBuyQuotaRequest.php000064400000002731146412132660016166 0ustar00 'order', 'token' => 'token', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->order) { $res['order'] = null !== $this->order ? $this->order->toMap() : null; } if (null !== $this->token) { $res['token'] = $this->token; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ManagementBuyQuotaRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['order'])) { $model->order = order::fromMap($map['order']); } if (isset($map['token'])) { $model->token = $map['token']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/ManagementBuyQuotaRequest/order.php000064400000004272146412132660017303 0ustar00 'bizType', 'capacity' => 'capacity', 'capacityType' => 'capacityType', 'day' => 'day', 'money' => 'money', 'orderId' => 'orderId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->capacity) { $res['capacity'] = $this->capacity; } if (null !== $this->capacityType) { $res['capacityType'] = $this->capacityType; } if (null !== $this->day) { $res['day'] = $this->day; } if (null !== $this->money) { $res['money'] = $this->money; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } return $res; } /** * @param array $map * * @return order */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['capacity'])) { $model->capacity = $map['capacity']; } if (isset($map['capacityType'])) { $model->capacityType = $map['capacityType']; } if (isset($map['day'])) { $model->day = $map['day']; } if (isset($map['money'])) { $model->money = $map['money']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } return $model; } } src/drive_1_0/Models/ManagementBuyQuotaResponse.php000064400000002171146412132660016332 0ustar00 '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 ManagementBuyQuotaResponse */ 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/drive_1_0/Models/ManagementListSpacesHeaders.php000064400000002345146412132660016413 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ManagementListSpacesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/ManagementListSpacesRequest.php000064400000002250146412132660016463 0ustar00 'spaceIds', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spaceIds) { $res['spaceIds'] = $this->spaceIds; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ManagementListSpacesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spaceIds'])) { if (!empty($map['spaceIds'])) { $model->spaceIds = $map['spaceIds']; } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/ManagementListSpacesResponse.php000064400000002753146412132660016641 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ManagementListSpacesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ManagementListSpacesResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/ManagementListSpacesResponseBody.php000064400000002623146412132660017453 0ustar00 'spaces', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spaces) { $res['spaces'] = []; if (null !== $this->spaces && \is_array($this->spaces)) { $n = 0; foreach ($this->spaces as $item) { $res['spaces'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ManagementListSpacesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spaces'])) { if (!empty($map['spaces'])) { $model->spaces = []; $n = 0; foreach ($map['spaces'] as $item) { $model->spaces[$n++] = null !== $item ? spaces::fromMap($item) : $item; } } } return $model; } } src/drive_1_0/Models/ManagementListSpacesResponseBody/spaces.php000064400000005631146412132660020733 0ustar00 'createTime', 'modifyTime' => 'modifyTime', 'permissionMode' => 'permissionMode', 'quota' => 'quota', 'spaceId' => 'spaceId', 'spaceName' => 'spaceName', 'spaceType' => 'spaceType', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->permissionMode) { $res['permissionMode'] = $this->permissionMode; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->spaceName) { $res['spaceName'] = $this->spaceName; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return spaces */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['permissionMode'])) { $model->permissionMode = $map['permissionMode']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['spaceName'])) { $model->spaceName = $map['spaceName']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/drive_1_0/Models/ManagementModifySpaceHeaders.php000064400000002347146412132660016546 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ManagementModifySpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/ManagementModifySpaceRequest.php000064400000002657146412132660016627 0ustar00 'quota', 'spaceIds' => 'spaceIds', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->spaceIds) { $res['spaceIds'] = $this->spaceIds; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ManagementModifySpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['spaceIds'])) { if (!empty($map['spaceIds'])) { $model->spaceIds = $map['spaceIds']; } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/ManagementModifySpaceResponse.php000064400000002757146412132660016776 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ManagementModifySpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ManagementModifySpaceResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/ManagementModifySpaceResponseBody.php000064400000002626146412132660017607 0ustar00 'spaces', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spaces) { $res['spaces'] = []; if (null !== $this->spaces && \is_array($this->spaces)) { $n = 0; foreach ($this->spaces as $item) { $res['spaces'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ManagementModifySpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spaces'])) { if (!empty($map['spaces'])) { $model->spaces = []; $n = 0; foreach ($map['spaces'] as $item) { $model->spaces[$n++] = null !== $item ? spaces::fromMap($item) : $item; } } } return $model; } } src/drive_1_0/Models/ManagementModifySpaceResponseBody/spaces.php000064400000005632146412132660021065 0ustar00 'createTime', 'modifyTime' => 'modifyTime', 'permissionMode' => 'permissionMode', 'quota' => 'quota', 'spaceId' => 'spaceId', 'spaceName' => 'spaceName', 'spaceType' => 'spaceType', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->permissionMode) { $res['permissionMode'] = $this->permissionMode; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->spaceName) { $res['spaceName'] = $this->spaceName; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return spaces */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['permissionMode'])) { $model->permissionMode = $map['permissionMode']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['spaceName'])) { $model->spaceName = $map['spaceName']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/drive_1_0/Models/ModifyPermissionHeaders.php000064400000002335146412132660015643 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ModifyPermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/ModifyPermissionRequest.php000064400000003640146412132660015720 0ustar00 'members', 'role' => 'role', 'unionId' => 'unionId', ]; 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; } } } if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ModifyPermissionRequest */ 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; } } } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/ModifyPermissionRequest/members.php000064400000002606146412132660017353 0ustar00 'corpId', 'memberId' => 'memberId', 'memberType' => 'memberType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } 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['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } return $model; } } src/drive_1_0/Models/ModifyPermissionResponse.php000064400000002165146412132660016067 0ustar00 '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 ModifyPermissionResponse */ 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/drive_1_0/Models/MoveFileHeaders.php000064400000002315146412132660014047 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MoveFileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/MoveFileRequest.php000064400000003524146412132660014127 0ustar00 'addConflictPolicy', 'targetParentId' => 'targetParentId', 'targetSpaceId' => 'targetSpaceId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->addConflictPolicy) { $res['addConflictPolicy'] = $this->addConflictPolicy; } if (null !== $this->targetParentId) { $res['targetParentId'] = $this->targetParentId; } if (null !== $this->targetSpaceId) { $res['targetSpaceId'] = $this->targetSpaceId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return MoveFileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['addConflictPolicy'])) { $model->addConflictPolicy = $map['addConflictPolicy']; } if (isset($map['targetParentId'])) { $model->targetParentId = $map['targetParentId']; } if (isset($map['targetSpaceId'])) { $model->targetSpaceId = $map['targetSpaceId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/MoveFileResponse.php000064400000002673146412132660014301 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MoveFileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = MoveFileResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/MoveFileResponseBody.php000064400000010500146412132660015103 0ustar00 'contentType', 'createTime' => 'createTime', 'creator' => 'creator', 'fileExtension' => 'fileExtension', 'fileId' => 'fileId', 'fileName' => 'fileName', 'filePath' => 'filePath', 'fileSize' => 'fileSize', 'fileType' => 'fileType', 'modifier' => 'modifier', 'modifyTime' => 'modifyTime', 'parentId' => 'parentId', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->fileExtension) { $res['fileExtension'] = $this->fileExtension; } if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->filePath) { $res['filePath'] = $this->filePath; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->modifier) { $res['modifier'] = $this->modifier; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return MoveFileResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['fileExtension'])) { $model->fileExtension = $map['fileExtension']; } if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['filePath'])) { $model->filePath = $map['filePath']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['modifier'])) { $model->modifier = $map['modifier']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/drive_1_0/Models/MoveFilesHeaders.php000064400000002317146412132660014234 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MoveFilesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/MoveFilesRequest.php000064400000004266146412132660014316 0ustar00 'addConflictPolicy', 'fileIds' => 'fileIds', 'targetParentId' => 'targetParentId', 'targetSpaceId' => 'targetSpaceId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->addConflictPolicy) { $res['addConflictPolicy'] = $this->addConflictPolicy; } if (null !== $this->fileIds) { $res['fileIds'] = $this->fileIds; } if (null !== $this->targetParentId) { $res['targetParentId'] = $this->targetParentId; } if (null !== $this->targetSpaceId) { $res['targetSpaceId'] = $this->targetSpaceId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return MoveFilesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['addConflictPolicy'])) { $model->addConflictPolicy = $map['addConflictPolicy']; } if (isset($map['fileIds'])) { if (!empty($map['fileIds'])) { $model->fileIds = $map['fileIds']; } } if (isset($map['targetParentId'])) { $model->targetParentId = $map['targetParentId']; } if (isset($map['targetSpaceId'])) { $model->targetSpaceId = $map['targetSpaceId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/MoveFilesResponse.php000064400000002677146412132660014470 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MoveFilesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = MoveFilesResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/MoveFilesResponseBody.php000064400000003157146412132660015300 0ustar00 'files', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->files) { $res['files'] = []; if (null !== $this->files && \is_array($this->files)) { $n = 0; foreach ($this->files as $item) { $res['files'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return MoveFilesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['files'])) { if (!empty($map['files'])) { $model->files = []; $n = 0; foreach ($map['files'] as $item) { $model->files[$n++] = null !== $item ? files::fromMap($item) : $item; } } } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/drive_1_0/Models/MoveFilesResponseBody/files.php000064400000010470146412132660016376 0ustar00 'contentType', 'createTime' => 'createTime', 'creator' => 'creator', 'fileExtension' => 'fileExtension', 'fileId' => 'fileId', 'fileName' => 'fileName', 'filePath' => 'filePath', 'fileSize' => 'fileSize', 'fileType' => 'fileType', 'modifier' => 'modifier', 'modifyTime' => 'modifyTime', 'parentId' => 'parentId', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->fileExtension) { $res['fileExtension'] = $this->fileExtension; } if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->filePath) { $res['filePath'] = $this->filePath; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->modifier) { $res['modifier'] = $this->modifier; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return files */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['fileExtension'])) { $model->fileExtension = $map['fileExtension']; } if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['filePath'])) { $model->filePath = $map['filePath']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['modifier'])) { $model->modifier = $map['modifier']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/drive_1_0/Models/RecoverRecycleFilesHeaders.php000064400000002343146412132660016241 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RecoverRecycleFilesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/RecoverRecycleFilesRequest.php000064400000003107146412132660016315 0ustar00 'recycleItemIdList', 'recycleType' => 'recycleType', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->recycleItemIdList) { $res['recycleItemIdList'] = $this->recycleItemIdList; } if (null !== $this->recycleType) { $res['recycleType'] = $this->recycleType; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return RecoverRecycleFilesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['recycleItemIdList'])) { if (!empty($map['recycleItemIdList'])) { $model->recycleItemIdList = $map['recycleItemIdList']; } } if (isset($map['recycleType'])) { $model->recycleType = $map['recycleType']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/RecoverRecycleFilesResponse.php000064400000002173146412132660016465 0ustar00 '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 RecoverRecycleFilesResponse */ 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/drive_1_0/Models/RenameFileHeaders.php000064400000002321146412132660014345 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RenameFileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/drive_1_0/Models/RenameFileRequest.php000064400000002162146412132660014425 0ustar00 'newFileName', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->newFileName) { $res['newFileName'] = $this->newFileName; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return RenameFileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['newFileName'])) { $model->newFileName = $map['newFileName']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/drive_1_0/Models/RenameFileResponse.php000064400000002703146412132660014574 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RenameFileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RenameFileResponseBody::fromMap($map['body']); } return $model; } } src/drive_1_0/Models/RenameFileResponseBody.php000064400000010504146412132660015410 0ustar00 'contentType', 'createTime' => 'createTime', 'creator' => 'creator', 'fileExtension' => 'fileExtension', 'fileId' => 'fileId', 'fileName' => 'fileName', 'filePath' => 'filePath', 'fileSize' => 'fileSize', 'fileType' => 'fileType', 'modifier' => 'modifier', 'modifyTime' => 'modifyTime', 'parentId' => 'parentId', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->fileExtension) { $res['fileExtension'] = $this->fileExtension; } if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->filePath) { $res['filePath'] = $this->filePath; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->modifier) { $res['modifier'] = $this->modifier; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return RenameFileResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['fileExtension'])) { $model->fileExtension = $map['fileExtension']; } if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['filePath'])) { $model->filePath = $map['filePath']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['modifier'])) { $model->modifier = $map['modifier']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/edu_1_0/Dingtalk.php000064400001133066146412132660011034 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param ActivateDeviceRequest $request * @param ActivateDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return ActivateDeviceResponse */ public function activateDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->licenseKey)) { $body['licenseKey'] = $request->licenseKey; } if (!Utils::isUnset($request->model)) { $body['model'] = $request->model; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } 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' => 'ActivateDevice', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/vpaas/devices/activate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ActivateDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ActivateDeviceRequest $request * * @return ActivateDeviceResponse */ public function activateDevice($request) { $runtime = new RuntimeOptions([]); $headers = new ActivateDeviceHeaders([]); return $this->activateDeviceWithOptions($request, $headers, $runtime); } /** * @param AddCompetitionRecordRequest $request * @param AddCompetitionRecordHeaders $headers * @param RuntimeOptions $runtime * * @return AddCompetitionRecordResponse */ public function addCompetitionRecordWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->competitionCode)) { $body['competitionCode'] = $request->competitionCode; } if (!Utils::isUnset($request->groupTemplateCode)) { $body['groupTemplateCode'] = $request->groupTemplateCode; } if (!Utils::isUnset($request->joinGroup)) { $body['joinGroup'] = $request->joinGroup; } if (!Utils::isUnset($request->participantName)) { $body['participantName'] = $request->participantName; } 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' => 'AddCompetitionRecord', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/competitions/records', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddCompetitionRecordResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddCompetitionRecordRequest $request * * @return AddCompetitionRecordResponse */ public function addCompetitionRecord($request) { $runtime = new RuntimeOptions([]); $headers = new AddCompetitionRecordHeaders([]); return $this->addCompetitionRecordWithOptions($request, $headers, $runtime); } /** * @param AddDeviceRequest $request * @param AddDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return AddDeviceResponse */ public function addDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->merchantId)) { $body['merchantId'] = $request->merchantId; } if (!Utils::isUnset($request->model)) { $body['model'] = $request->model; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->scene)) { $body['scene'] = $request->scene; } if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } 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' => 'AddDevice', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/devices', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddDeviceRequest $request * * @return AddDeviceResponse */ public function addDevice($request) { $runtime = new RuntimeOptions([]); $headers = new AddDeviceHeaders([]); return $this->addDeviceWithOptions($request, $headers, $runtime); } /** * @param AddSchoolConfigRequest $request * @param AddSchoolConfigHeaders $headers * @param RuntimeOptions $runtime * * @return AddSchoolConfigResponse */ public function addSchoolConfigWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->operatorName)) { $body['operatorName'] = $request->operatorName; } if (!Utils::isUnset($request->temperatureUpLimit)) { $body['temperatureUpLimit'] = $request->temperatureUpLimit; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddSchoolConfig', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/schools/configurations', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddSchoolConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddSchoolConfigRequest $request * * @return AddSchoolConfigResponse */ public function addSchoolConfig($request) { $runtime = new RuntimeOptions([]); $headers = new AddSchoolConfigHeaders([]); return $this->addSchoolConfigWithOptions($request, $headers, $runtime); } /** * @param AssignClassRequest $request * @param AssignClassHeaders $headers * @param RuntimeOptions $runtime * * @return AssignClassResponse */ public function assignClassWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->classId)) { $body['classId'] = $request->classId; } if (!Utils::isUnset($request->isFinish)) { $body['isFinish'] = $request->isFinish; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } if (!Utils::isUnset($request->studentId)) { $body['studentId'] = $request->studentId; } if (!Utils::isUnset($request->taskId)) { $body['taskId'] = $request->taskId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AssignClass', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/newGrades/tasks/students/classes/assign', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AssignClassResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AssignClassRequest $request * * @return AssignClassResponse */ public function assignClass($request) { $runtime = new RuntimeOptions([]); $headers = new AssignClassHeaders([]); return $this->assignClassWithOptions($request, $headers, $runtime); } /** * @param BatchCreateRequest $request * @param BatchCreateHeaders $headers * @param RuntimeOptions $runtime * * @return BatchCreateResponse */ public function batchCreateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->cardBizCode)) { $body['cardBizCode'] = $request->cardBizCode; } if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->identifier)) { $body['identifier'] = $request->identifier; } if (!Utils::isUnset($request->jsVersion)) { $body['jsVersion'] = $request->jsVersion; } if (!Utils::isUnset($request->sourceType)) { $body['sourceType'] = $request->sourceType; } 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' => 'BatchCreate', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/cards', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return BatchCreateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchCreateRequest $request * * @return BatchCreateResponse */ public function batchCreate($request) { $runtime = new RuntimeOptions([]); $headers = new BatchCreateHeaders([]); return $this->batchCreateWithOptions($request, $headers, $runtime); } /** * @param BatchOrgCreateHWRequest $request * @param BatchOrgCreateHWHeaders $headers * @param RuntimeOptions $runtime * * @return BatchOrgCreateHWResponse */ public function batchOrgCreateHWWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->attributes)) { $body['attributes'] = $request->attributes; } if (!Utils::isUnset($request->bizCode)) { $body['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->courseName)) { $body['courseName'] = $request->courseName; } if (!Utils::isUnset($request->hwContent)) { $body['hwContent'] = $request->hwContent; } if (!Utils::isUnset($request->hwDeadline)) { $body['hwDeadline'] = $request->hwDeadline; } if (!Utils::isUnset($request->hwDeadlineOpen)) { $body['hwDeadlineOpen'] = $request->hwDeadlineOpen; } if (!Utils::isUnset($request->hwMedia)) { $body['hwMedia'] = $request->hwMedia; } if (!Utils::isUnset($request->hwPhoto)) { $body['hwPhoto'] = $request->hwPhoto; } if (!Utils::isUnset($request->hwTitle)) { $body['hwTitle'] = $request->hwTitle; } if (!Utils::isUnset($request->hwType)) { $body['hwType'] = $request->hwType; } if (!Utils::isUnset($request->hwVideo)) { $body['hwVideo'] = $request->hwVideo; } if (!Utils::isUnset($request->identifier)) { $body['identifier'] = $request->identifier; } if (!Utils::isUnset($request->openSelectItemList)) { $body['openSelectItemList'] = $request->openSelectItemList; } if (!Utils::isUnset($request->scheduledRelease)) { $body['scheduledRelease'] = $request->scheduledRelease; } if (!Utils::isUnset($request->scheduledTime)) { $body['scheduledTime'] = $request->scheduledTime; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } if (!Utils::isUnset($request->targetRole)) { $body['targetRole'] = $request->targetRole; } if (!Utils::isUnset($request->teacherName)) { $body['teacherName'] = $request->teacherName; } if (!Utils::isUnset($request->teacherUserId)) { $body['teacherUserId'] = $request->teacherUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchOrgCreateHW', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/homeworks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return BatchOrgCreateHWResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchOrgCreateHWRequest $request * * @return BatchOrgCreateHWResponse */ public function batchOrgCreateHW($request) { $runtime = new RuntimeOptions([]); $headers = new BatchOrgCreateHWHeaders([]); return $this->batchOrgCreateHWWithOptions($request, $headers, $runtime); } /** * @param CancelOrderRequest $request * @param CancelOrderHeaders $headers * @param RuntimeOptions $runtime * * @return CancelOrderResponse */ public function cancelOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->faceId)) { $body['faceId'] = $request->faceId; } if (!Utils::isUnset($request->orderNo)) { $body['orderNo'] = $request->orderNo; } if (!Utils::isUnset($request->signature)) { $body['signature'] = $request->signature; } if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } if (!Utils::isUnset($request->timestamp)) { $body['timestamp'] = $request->timestamp; } 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' => 'CancelOrder', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/orders/cancel', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CancelOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CancelOrderRequest $request * * @return CancelOrderResponse */ public function cancelOrder($request) { $runtime = new RuntimeOptions([]); $headers = new CancelOrderHeaders([]); return $this->cancelOrderWithOptions($request, $headers, $runtime); } /** * @param CancelSnsOrderRequest $request * @param CancelSnsOrderHeaders $headers * @param RuntimeOptions $runtime * * @return CancelSnsOrderResponse */ public function cancelSnsOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->alipayAppId)) { $body['alipayAppId'] = $request->alipayAppId; } if (!Utils::isUnset($request->merchantId)) { $body['merchantId'] = $request->merchantId; } if (!Utils::isUnset($request->orderNo)) { $body['orderNo'] = $request->orderNo; } if (!Utils::isUnset($request->signature)) { $body['signature'] = $request->signature; } if (!Utils::isUnset($request->timestamp)) { $body['timestamp'] = $request->timestamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CancelSnsOrder', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/snsUserOrders/cancel', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CancelSnsOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CancelSnsOrderRequest $request * * @return CancelSnsOrderResponse */ public function cancelSnsOrder($request) { $runtime = new RuntimeOptions([]); $headers = new CancelSnsOrderHeaders([]); return $this->cancelSnsOrderWithOptions($request, $headers, $runtime); } /** * @param CancelUserOrderRequest $request * @param CancelUserOrderHeaders $headers * @param RuntimeOptions $runtime * * @return CancelUserOrderResponse */ public function cancelUserOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->alipayAppId)) { $body['alipayAppId'] = $request->alipayAppId; } if (!Utils::isUnset($request->merchantId)) { $body['merchantId'] = $request->merchantId; } if (!Utils::isUnset($request->orderNo)) { $body['orderNo'] = $request->orderNo; } if (!Utils::isUnset($request->signature)) { $body['signature'] = $request->signature; } if (!Utils::isUnset($request->timestamp)) { $body['timestamp'] = $request->timestamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CancelUserOrder', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/userOrders/cancel', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CancelUserOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CancelUserOrderRequest $request * * @return CancelUserOrderResponse */ public function cancelUserOrder($request) { $runtime = new RuntimeOptions([]); $headers = new CancelUserOrderHeaders([]); return $this->cancelUserOrderWithOptions($request, $headers, $runtime); } /** * @param CardBatchQueryCardsRequest $request * @param CardBatchQueryCardsHeaders $headers * @param RuntimeOptions $runtime * * @return CardBatchQueryCardsResponse */ public function cardBatchQueryCardsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->cardBizCode)) { $body['cardBizCode'] = $request->cardBizCode; } if (!Utils::isUnset($request->cardIds)) { $body['cardIds'] = $request->cardIds; } if (!Utils::isUnset($request->sourceType)) { $body['sourceType'] = $request->sourceType; } 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' => 'CardBatchQueryCards', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/cards/tasks/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CardBatchQueryCardsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CardBatchQueryCardsRequest $request * * @return CardBatchQueryCardsResponse */ public function cardBatchQueryCards($request) { $runtime = new RuntimeOptions([]); $headers = new CardBatchQueryCardsHeaders([]); return $this->cardBatchQueryCardsWithOptions($request, $headers, $runtime); } /** * @param CardDeleteCardRequest $request * @param CardDeleteCardHeaders $headers * @param RuntimeOptions $runtime * * @return CardDeleteCardResponse */ public function cardDeleteCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->cardBizCode)) { $query['cardBizCode'] = $request->cardBizCode; } if (!Utils::isUnset($request->cardBizId)) { $query['cardBizId'] = $request->cardBizId; } if (!Utils::isUnset($request->cardId)) { $query['cardId'] = $request->cardId; } if (!Utils::isUnset($request->sourceType)) { $query['sourceType'] = $request->sourceType; } 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' => 'CardDeleteCard', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/cards', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CardDeleteCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CardDeleteCardRequest $request * * @return CardDeleteCardResponse */ public function cardDeleteCard($request) { $runtime = new RuntimeOptions([]); $headers = new CardDeleteCardHeaders([]); return $this->cardDeleteCardWithOptions($request, $headers, $runtime); } /** * @param CardEndCardRequest $request * @param CardEndCardHeaders $headers * @param RuntimeOptions $runtime * * @return CardEndCardResponse */ public function cardEndCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->cardBizCode)) { $body['cardBizCode'] = $request->cardBizCode; } if (!Utils::isUnset($request->cardBizId)) { $body['cardBizId'] = $request->cardBizId; } if (!Utils::isUnset($request->cardId)) { $body['cardId'] = $request->cardId; } if (!Utils::isUnset($request->sourceType)) { $body['sourceType'] = $request->sourceType; } 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' => 'CardEndCard', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/cards/finish', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CardEndCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CardEndCardRequest $request * * @return CardEndCardResponse */ public function cardEndCard($request) { $runtime = new RuntimeOptions([]); $headers = new CardEndCardHeaders([]); return $this->cardEndCardWithOptions($request, $headers, $runtime); } /** * @param CardGetCardRequest $request * @param CardGetCardHeaders $headers * @param RuntimeOptions $runtime * * @return CardGetCardResponse */ public function cardGetCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->cardId)) { $query['cardId'] = $request->cardId; } if (!Utils::isUnset($request->sourceType)) { $query['sourceType'] = $request->sourceType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CardGetCard', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/cards/tasks', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CardGetCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CardGetCardRequest $request * * @return CardGetCardResponse */ public function cardGetCard($request) { $runtime = new RuntimeOptions([]); $headers = new CardGetCardHeaders([]); return $this->cardGetCardWithOptions($request, $headers, $runtime); } /** * @param CardGetCardFinishProgressRequest $request * @param CardGetCardFinishProgressHeaders $headers * @param RuntimeOptions $runtime * * @return CardGetCardFinishProgressResponse */ public function cardGetCardFinishProgressWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->cardBizCode)) { $query['cardBizCode'] = $request->cardBizCode; } if (!Utils::isUnset($request->cardBizId)) { $query['cardBizId'] = $request->cardBizId; } if (!Utils::isUnset($request->cardId)) { $query['cardId'] = $request->cardId; } if (!Utils::isUnset($request->sourceType)) { $query['sourceType'] = $request->sourceType; } if (!Utils::isUnset($request->studentId)) { $query['studentId'] = $request->studentId; } 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' => 'CardGetCardFinishProgress', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/cards/completionProgress', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CardGetCardFinishProgressResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CardGetCardFinishProgressRequest $request * * @return CardGetCardFinishProgressResponse */ public function cardGetCardFinishProgress($request) { $runtime = new RuntimeOptions([]); $headers = new CardGetCardFinishProgressHeaders([]); return $this->cardGetCardFinishProgressWithOptions($request, $headers, $runtime); } /** * @param CardQueryCardFeedsRequest $request * @param CardQueryCardFeedsHeaders $headers * @param RuntimeOptions $runtime * * @return CardQueryCardFeedsResponse */ public function cardQueryCardFeedsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizType)) { $query['bizType'] = $request->bizType; } if (!Utils::isUnset($request->cardBizCode)) { $query['cardBizCode'] = $request->cardBizCode; } if (!Utils::isUnset($request->cardBizId)) { $query['cardBizId'] = $request->cardBizId; } if (!Utils::isUnset($request->cardId)) { $query['cardId'] = $request->cardId; } if (!Utils::isUnset($request->count)) { $query['count'] = $request->count; } if (!Utils::isUnset($request->cursor)) { $query['cursor'] = $request->cursor; } if (!Utils::isUnset($request->feedType)) { $query['feedType'] = $request->feedType; } if (!Utils::isUnset($request->needFinishProcess)) { $query['needFinishProcess'] = $request->needFinishProcess; } if (!Utils::isUnset($request->sourceType)) { $query['sourceType'] = $request->sourceType; } if (!Utils::isUnset($request->studentId)) { $query['studentId'] = $request->studentId; } if (!Utils::isUnset($request->subBizId)) { $query['subBizId'] = $request->subBizId; } 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' => 'CardQueryCardFeeds', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/cards/feeds', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CardQueryCardFeedsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CardQueryCardFeedsRequest $request * * @return CardQueryCardFeedsResponse */ public function cardQueryCardFeeds($request) { $runtime = new RuntimeOptions([]); $headers = new CardQueryCardFeedsHeaders([]); return $this->cardQueryCardFeedsWithOptions($request, $headers, $runtime); } /** * @param CheckRestrictionRequest $request * @param CheckRestrictionHeaders $headers * @param RuntimeOptions $runtime * * @return CheckRestrictionResponse */ public function checkRestrictionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->actualAmount)) { $body['actualAmount'] = $request->actualAmount; } if (!Utils::isUnset($request->faceId)) { $body['faceId'] = $request->faceId; } if (!Utils::isUnset($request->scene)) { $body['scene'] = $request->scene; } if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } 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' => 'CheckRestriction', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/restrictions/check', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CheckRestrictionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CheckRestrictionRequest $request * * @return CheckRestrictionResponse */ public function checkRestriction($request) { $runtime = new RuntimeOptions([]); $headers = new CheckRestrictionHeaders([]); return $this->checkRestrictionWithOptions($request, $headers, $runtime); } /** * @param ConsumePointRequest $request * @param ConsumePointHeaders $headers * @param RuntimeOptions $runtime * * @return ConsumePointResponse */ public function consumePointWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->amount)) { $body['amount'] = $request->amount; } if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->productCode)) { $body['productCode'] = $request->productCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ConsumePoint', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/poins/consume', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ConsumePointResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ConsumePointRequest $request * * @return ConsumePointResponse */ public function consumePoint($request) { $runtime = new RuntimeOptions([]); $headers = new ConsumePointHeaders([]); return $this->consumePointWithOptions($request, $headers, $runtime); } /** * @param CourseSchedulingComplimentNoticeRequest $request * @param CourseSchedulingComplimentNoticeHeaders $headers * @param RuntimeOptions $runtime * * @return CourseSchedulingComplimentNoticeResponse */ public function courseSchedulingComplimentNoticeWithOptions($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' => 'CourseSchedulingComplimentNotice', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/schedules/finishNotify', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CourseSchedulingComplimentNoticeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CourseSchedulingComplimentNoticeRequest $request * * @return CourseSchedulingComplimentNoticeResponse */ public function courseSchedulingComplimentNotice($request) { $runtime = new RuntimeOptions([]); $headers = new CourseSchedulingComplimentNoticeHeaders([]); return $this->courseSchedulingComplimentNoticeWithOptions($request, $headers, $runtime); } /** * @param CreateAppOrderRequest $request * @param CreateAppOrderHeaders $headers * @param RuntimeOptions $runtime * * @return CreateAppOrderResponse */ public function createAppOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->actualAmount)) { $body['actualAmount'] = $request->actualAmount; } if (!Utils::isUnset($request->alipayAppId)) { $body['alipayAppId'] = $request->alipayAppId; } if (!Utils::isUnset($request->bizCode)) { $body['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->detailList)) { $body['detailList'] = $request->detailList; } if (!Utils::isUnset($request->labelAmount)) { $body['labelAmount'] = $request->labelAmount; } if (!Utils::isUnset($request->merchantId)) { $body['merchantId'] = $request->merchantId; } if (!Utils::isUnset($request->merchantOrderNo)) { $body['merchantOrderNo'] = $request->merchantOrderNo; } if (!Utils::isUnset($request->outerUserId)) { $body['outerUserId'] = $request->outerUserId; } if (!Utils::isUnset($request->signature)) { $body['signature'] = $request->signature; } if (!Utils::isUnset($request->subject)) { $body['subject'] = $request->subject; } if (!Utils::isUnset($request->timestamp)) { $body['timestamp'] = $request->timestamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateAppOrder', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/appOrders', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateAppOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateAppOrderRequest $request * * @return CreateAppOrderResponse */ public function createAppOrder($request) { $runtime = new RuntimeOptions([]); $headers = new CreateAppOrderHeaders([]); return $this->createAppOrderWithOptions($request, $headers, $runtime); } /** * @param CreateCustomClassRequest $request * @param CreateCustomClassHeaders $headers * @param RuntimeOptions $runtime * * @return CreateCustomClassResponse */ public function createCustomClassWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->customClass)) { $body['customClass'] = $request->customClass; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } if (!Utils::isUnset($request->superId)) { $body['superId'] = $request->superId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateCustomClass', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/customClasses', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateCustomClassResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateCustomClassRequest $request * * @return CreateCustomClassResponse */ public function createCustomClass($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCustomClassHeaders([]); return $this->createCustomClassWithOptions($request, $headers, $runtime); } /** * @param CreateCustomDeptRequest $request * @param CreateCustomDeptHeaders $headers * @param RuntimeOptions $runtime * * @return CreateCustomDeptResponse */ public function createCustomDeptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->customDept)) { $body['customDept'] = $request->customDept; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } if (!Utils::isUnset($request->superId)) { $body['superId'] = $request->superId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateCustomDept', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/customDepts', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateCustomDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateCustomDeptRequest $request * * @return CreateCustomDeptResponse */ public function createCustomDept($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCustomDeptHeaders([]); return $this->createCustomDeptWithOptions($request, $headers, $runtime); } /** * @param CreateEduAssetSpaceRequest $request * @param CreateEduAssetSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return CreateEduAssetSpaceResponse */ public function createEduAssetSpaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizCode)) { $body['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->spaceDesc)) { $body['spaceDesc'] = $request->spaceDesc; } if (!Utils::isUnset($request->spaceIcon)) { $body['spaceIcon'] = $request->spaceIcon; } if (!Utils::isUnset($request->spaceName)) { $body['spaceName'] = $request->spaceName; } 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' => 'CreateEduAssetSpace', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/assets/spaces', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateEduAssetSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateEduAssetSpaceRequest $request * * @return CreateEduAssetSpaceResponse */ public function createEduAssetSpace($request) { $runtime = new RuntimeOptions([]); $headers = new CreateEduAssetSpaceHeaders([]); return $this->createEduAssetSpaceWithOptions($request, $headers, $runtime); } /** * @param CreateFulfilRecordRequest $request * @param CreateFulfilRecordHeaders $headers * @param RuntimeOptions $runtime * * @return CreateFulfilRecordResponse */ public function createFulfilRecordWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizTime)) { $body['bizTime'] = $request->bizTime; } if (!Utils::isUnset($request->extInfo)) { $body['extInfo'] = $request->extInfo; } if (!Utils::isUnset($request->faceId)) { $body['faceId'] = $request->faceId; } if (!Utils::isUnset($request->scene)) { $body['scene'] = $request->scene; } if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } 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' => 'CreateFulfilRecord', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/fulfilRecords', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateFulfilRecordResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateFulfilRecordRequest $request * * @return CreateFulfilRecordResponse */ public function createFulfilRecord($request) { $runtime = new RuntimeOptions([]); $headers = new CreateFulfilRecordHeaders([]); return $this->createFulfilRecordWithOptions($request, $headers, $runtime); } /** * @param CreateInviteUrlRequest $request * @param CreateInviteUrlHeaders $headers * @param RuntimeOptions $runtime * * @return CreateInviteUrlResponse */ public function createInviteUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->authCode)) { $body['authCode'] = $request->authCode; } if (!Utils::isUnset($request->targetCorpId)) { $body['targetCorpId'] = $request->targetCorpId; } if (!Utils::isUnset($request->targetOperator)) { $body['targetOperator'] = $request->targetOperator; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateInviteUrl', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/remoteClasses/orgRelations/inviteUrls', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateInviteUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateInviteUrlRequest $request * * @return CreateInviteUrlResponse */ public function createInviteUrl($request) { $runtime = new RuntimeOptions([]); $headers = new CreateInviteUrlHeaders([]); return $this->createInviteUrlWithOptions($request, $headers, $runtime); } /** * @param CreateItemRequest $request * @param CreateItemHeaders $headers * @param RuntimeOptions $runtime * * @return CreateItemResponse */ public function createItemWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->effectType)) { $body['effectType'] = $request->effectType; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->merchantId)) { $body['merchantId'] = $request->merchantId; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->optUser)) { $body['optUser'] = $request->optUser; } if (!Utils::isUnset($request->periodType)) { $body['periodType'] = $request->periodType; } if (!Utils::isUnset($request->price)) { $body['price'] = $request->price; } if (!Utils::isUnset($request->scene)) { $body['scene'] = $request->scene; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } 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' => 'CreateItem', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/items', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateItemResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateItemRequest $request * * @return CreateItemResponse */ public function createItem($request) { $runtime = new RuntimeOptions([]); $headers = new CreateItemHeaders([]); return $this->createItemWithOptions($request, $headers, $runtime); } /** * @param CreateOrderRequest $request * @param CreateOrderHeaders $headers * @param RuntimeOptions $runtime * * @return CreateOrderResponse */ public function createOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->actualAmount)) { $body['actualAmount'] = $request->actualAmount; } if (!Utils::isUnset($request->createTime)) { $body['createTime'] = $request->createTime; } if (!Utils::isUnset($request->detailList)) { $body['detailList'] = $request->detailList; } if (!Utils::isUnset($request->faceId)) { $body['faceId'] = $request->faceId; } if (!Utils::isUnset($request->ftoken)) { $body['ftoken'] = $request->ftoken; } if (!Utils::isUnset($request->signature)) { $body['signature'] = $request->signature; } if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } if (!Utils::isUnset($request->terminalParams)) { $body['terminalParams'] = $request->terminalParams; } if (!Utils::isUnset($request->timestamp)) { $body['timestamp'] = $request->timestamp; } if (!Utils::isUnset($request->totalAmount)) { $body['totalAmount'] = $request->totalAmount; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->version)) { $body['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateOrder', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/orders', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateOrderRequest $request * * @return CreateOrderResponse */ public function createOrder($request) { $runtime = new RuntimeOptions([]); $headers = new CreateOrderHeaders([]); return $this->createOrderWithOptions($request, $headers, $runtime); } /** * @param CreateOrderFlowRequest $request * @param CreateOrderFlowHeaders $headers * @param RuntimeOptions $runtime * * @return CreateOrderFlowResponse */ public function createOrderFlowWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->actualAmount)) { $body['actualAmount'] = $request->actualAmount; } if (!Utils::isUnset($request->alipayUid)) { $body['alipayUid'] = $request->alipayUid; } if (!Utils::isUnset($request->createTime)) { $body['createTime'] = $request->createTime; } if (!Utils::isUnset($request->detailList)) { $body['detailList'] = $request->detailList; } if (!Utils::isUnset($request->faceId)) { $body['faceId'] = $request->faceId; } if (!Utils::isUnset($request->guardianUserId)) { $body['guardianUserId'] = $request->guardianUserId; } if (!Utils::isUnset($request->merchantId)) { $body['merchantId'] = $request->merchantId; } if (!Utils::isUnset($request->orderNo)) { $body['orderNo'] = $request->orderNo; } if (!Utils::isUnset($request->signature)) { $body['signature'] = $request->signature; } if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } if (!Utils::isUnset($request->timestamp)) { $body['timestamp'] = $request->timestamp; } if (!Utils::isUnset($request->totalAmount)) { $body['totalAmount'] = $request->totalAmount; } 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' => 'CreateOrderFlow', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/orders/flows', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateOrderFlowResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateOrderFlowRequest $request * * @return CreateOrderFlowResponse */ public function createOrderFlow($request) { $runtime = new RuntimeOptions([]); $headers = new CreateOrderFlowHeaders([]); return $this->createOrderFlowWithOptions($request, $headers, $runtime); } /** * @param CreatePhysicalClassroomRequest $request * @param CreatePhysicalClassroomHeaders $headers * @param RuntimeOptions $runtime * * @return CreatePhysicalClassroomResponse */ public function createPhysicalClassroomWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->classroomBuilding)) { $body['classroomBuilding'] = $request->classroomBuilding; } if (!Utils::isUnset($request->classroomCampus)) { $body['classroomCampus'] = $request->classroomCampus; } if (!Utils::isUnset($request->classroomFloor)) { $body['classroomFloor'] = $request->classroomFloor; } if (!Utils::isUnset($request->classroomName)) { $body['classroomName'] = $request->classroomName; } if (!Utils::isUnset($request->classroomNumber)) { $body['classroomNumber'] = $request->classroomNumber; } if (!Utils::isUnset($request->directBroadcast)) { $body['directBroadcast'] = $request->directBroadcast; } if (!Utils::isUnset($request->ext)) { $body['ext'] = $request->ext; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CreatePhysicalClassroom', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/physicalClassrooms', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreatePhysicalClassroomResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreatePhysicalClassroomRequest $request * * @return CreatePhysicalClassroomResponse */ public function createPhysicalClassroom($request) { $runtime = new RuntimeOptions([]); $headers = new CreatePhysicalClassroomHeaders([]); return $this->createPhysicalClassroomWithOptions($request, $headers, $runtime); } /** * @param CreateRefundFlowRequest $request * @param CreateRefundFlowHeaders $headers * @param RuntimeOptions $runtime * * @return CreateRefundFlowResponse */ public function createRefundFlowWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->faceId)) { $body['faceId'] = $request->faceId; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->operatorName)) { $body['operatorName'] = $request->operatorName; } if (!Utils::isUnset($request->orderNo)) { $body['orderNo'] = $request->orderNo; } if (!Utils::isUnset($request->signature)) { $body['signature'] = $request->signature; } if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } if (!Utils::isUnset($request->timestamp)) { $body['timestamp'] = $request->timestamp; } 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' => 'CreateRefundFlow', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/refunds/flows', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateRefundFlowResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateRefundFlowRequest $request * * @return CreateRefundFlowResponse */ public function createRefundFlow($request) { $runtime = new RuntimeOptions([]); $headers = new CreateRefundFlowHeaders([]); return $this->createRefundFlowWithOptions($request, $headers, $runtime); } /** * @param CreateRemoteClassCourseRequest $request * @param CreateRemoteClassCourseHeaders $headers * @param RuntimeOptions $runtime * * @return CreateRemoteClassCourseResponse */ public function createRemoteClassCourseWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->attendParticipants)) { $body['attendParticipants'] = $request->attendParticipants; } if (!Utils::isUnset($request->authCode)) { $body['authCode'] = $request->authCode; } if (!Utils::isUnset($request->courseName)) { $body['courseName'] = $request->courseName; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->teachingParticipant)) { $body['teachingParticipant'] = $request->teachingParticipant; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateRemoteClassCourse', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/remoteClasses/courses', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateRemoteClassCourseResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateRemoteClassCourseRequest $request * * @return CreateRemoteClassCourseResponse */ public function createRemoteClassCourse($request) { $runtime = new RuntimeOptions([]); $headers = new CreateRemoteClassCourseHeaders([]); return $this->createRemoteClassCourseWithOptions($request, $headers, $runtime); } /** * @param CreateSectionConfigRequest $request * @param CreateSectionConfigHeaders $headers * @param RuntimeOptions $runtime * * @return CreateSectionConfigResponse */ public function createSectionConfigWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->ext)) { $body['ext'] = $request->ext; } if (!Utils::isUnset($request->sectionConfigs)) { $body['sectionConfigs'] = $request->sectionConfigs; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CreateSectionConfig', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/sectionConfigs', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateSectionConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateSectionConfigRequest $request * * @return CreateSectionConfigResponse */ public function createSectionConfig($request) { $runtime = new RuntimeOptions([]); $headers = new CreateSectionConfigHeaders([]); return $this->createSectionConfigWithOptions($request, $headers, $runtime); } /** * @param CreateSnsAppOrderRequest $request * @param CreateSnsAppOrderHeaders $headers * @param RuntimeOptions $runtime * * @return CreateSnsAppOrderResponse */ public function createSnsAppOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->actualAmount)) { $body['actualAmount'] = $request->actualAmount; } if (!Utils::isUnset($request->alipayAppId)) { $body['alipayAppId'] = $request->alipayAppId; } if (!Utils::isUnset($request->bizCode)) { $body['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->detailList)) { $body['detailList'] = $request->detailList; } if (!Utils::isUnset($request->labelAmount)) { $body['labelAmount'] = $request->labelAmount; } if (!Utils::isUnset($request->merchantId)) { $body['merchantId'] = $request->merchantId; } if (!Utils::isUnset($request->merchantOrderNo)) { $body['merchantOrderNo'] = $request->merchantOrderNo; } if (!Utils::isUnset($request->signature)) { $body['signature'] = $request->signature; } if (!Utils::isUnset($request->subject)) { $body['subject'] = $request->subject; } if (!Utils::isUnset($request->timestamp)) { $body['timestamp'] = $request->timestamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateSnsAppOrder', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/snsAppOrders', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateSnsAppOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateSnsAppOrderRequest $request * * @return CreateSnsAppOrderResponse */ public function createSnsAppOrder($request) { $runtime = new RuntimeOptions([]); $headers = new CreateSnsAppOrderHeaders([]); return $this->createSnsAppOrderWithOptions($request, $headers, $runtime); } /** * @param CreateStsTokenRequest $request * @param CreateStsTokenHeaders $headers * @param RuntimeOptions $runtime * * @return CreateStsTokenResponse */ public function createStsTokenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deviceSn)) { $body['deviceSn'] = $request->deviceSn; } if (!Utils::isUnset($request->stsType)) { $body['stsType'] = $request->stsType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateStsToken', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/vpaas/ststoken', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateStsTokenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateStsTokenRequest $request * * @return CreateStsTokenResponse */ public function createStsToken($request) { $runtime = new RuntimeOptions([]); $headers = new CreateStsTokenHeaders([]); return $this->createStsTokenWithOptions($request, $headers, $runtime); } /** * @param CreateTokenRequest $request * @param CreateTokenHeaders $headers * @param RuntimeOptions $runtime * * @return CreateTokenResponse */ public function createTokenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } 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' => 'CreateToken', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/tokens', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateTokenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateTokenRequest $request * * @return CreateTokenResponse */ public function createToken($request) { $runtime = new RuntimeOptions([]); $headers = new CreateTokenHeaders([]); return $this->createTokenWithOptions($request, $headers, $runtime); } /** * @param CreateUniversityCourseGroupRequest $request * @param CreateUniversityCourseGroupHeaders $headers * @param RuntimeOptions $runtime * * @return CreateUniversityCourseGroupResponse */ public function createUniversityCourseGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->courseGroupIntroduce)) { $body['courseGroupIntroduce'] = $request->courseGroupIntroduce; } if (!Utils::isUnset($request->courseGroupName)) { $body['courseGroupName'] = $request->courseGroupName; } if (!Utils::isUnset($request->courserGroupItemModels)) { $body['courserGroupItemModels'] = $request->courserGroupItemModels; } if (!Utils::isUnset($request->ext)) { $body['ext'] = $request->ext; } if (!Utils::isUnset($request->isvCourseGroupCode)) { $body['isvCourseGroupCode'] = $request->isvCourseGroupCode; } if (!Utils::isUnset($request->periodCode)) { $body['periodCode'] = $request->periodCode; } if (!Utils::isUnset($request->schoolYear)) { $body['schoolYear'] = $request->schoolYear; } if (!Utils::isUnset($request->semester)) { $body['semester'] = $request->semester; } if (!Utils::isUnset($request->subjectName)) { $body['subjectName'] = $request->subjectName; } if (!Utils::isUnset($request->teacherInfos)) { $body['teacherInfos'] = $request->teacherInfos; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CreateUniversityCourseGroup', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/courseGroups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateUniversityCourseGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateUniversityCourseGroupRequest $request * * @return CreateUniversityCourseGroupResponse */ public function createUniversityCourseGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CreateUniversityCourseGroupHeaders([]); return $this->createUniversityCourseGroupWithOptions($request, $headers, $runtime); } /** * @param CreateUniversityStudentRequest $request * @param CreateUniversityStudentHeaders $headers * @param RuntimeOptions $runtime * * @return CreateUniversityStudentResponse */ public function createUniversityStudentWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->classId)) { $body['classId'] = $request->classId; } if (!Utils::isUnset($request->gender)) { $body['gender'] = $request->gender; } if (!Utils::isUnset($request->identityNumber)) { $body['identityNumber'] = $request->identityNumber; } if (!Utils::isUnset($request->mobile)) { $body['mobile'] = $request->mobile; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->studentNumber)) { $body['studentNumber'] = $request->studentNumber; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CreateUniversityStudent', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/students', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateUniversityStudentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateUniversityStudentRequest $request * * @return CreateUniversityStudentResponse */ public function createUniversityStudent($request) { $runtime = new RuntimeOptions([]); $headers = new CreateUniversityStudentHeaders([]); return $this->createUniversityStudentWithOptions($request, $headers, $runtime); } /** * @param CreateUniversityTeacherRequest $request * @param CreateUniversityTeacherHeaders $headers * @param RuntimeOptions $runtime * * @return CreateUniversityTeacherResponse */ public function createUniversityTeacherWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->classId)) { $body['classId'] = $request->classId; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->role)) { $body['role'] = $request->role; } if (!Utils::isUnset($request->teacherUserId)) { $body['teacherUserId'] = $request->teacherUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateUniversityTeacher', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/teachers', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateUniversityTeacherResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateUniversityTeacherRequest $request * * @return CreateUniversityTeacherResponse */ public function createUniversityTeacher($request) { $runtime = new RuntimeOptions([]); $headers = new CreateUniversityTeacherHeaders([]); return $this->createUniversityTeacherWithOptions($request, $headers, $runtime); } /** * @param DeactivateDeviceRequest $request * @param DeactivateDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return DeactivateDeviceResponse */ public function deactivateDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->model)) { $body['model'] = $request->model; } if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } 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' => 'DeactivateDevice', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/vpaas/devices/deactivate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeactivateDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeactivateDeviceRequest $request * * @return DeactivateDeviceResponse */ public function deactivateDevice($request) { $runtime = new RuntimeOptions([]); $headers = new DeactivateDeviceHeaders([]); return $this->deactivateDeviceWithOptions($request, $headers, $runtime); } /** * @param DeductPointRequest $request * @param DeductPointHeaders $headers * @param RuntimeOptions $runtime * * @return DeductPointResponse */ public function deductPointWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->deductDesc)) { $body['deductDesc'] = $request->deductDesc; } if (!Utils::isUnset($request->deductDetailUrl)) { $body['deductDetailUrl'] = $request->deductDetailUrl; } if (!Utils::isUnset($request->deductNum)) { $body['deductNum'] = $request->deductNum; } if (!Utils::isUnset($request->pointType)) { $body['pointType'] = $request->pointType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeductPoint', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/points/deduct', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeductPointResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeductPointRequest $request * * @return DeductPointResponse */ public function deductPoint($request) { $runtime = new RuntimeOptions([]); $headers = new DeductPointHeaders([]); return $this->deductPointWithOptions($request, $headers, $runtime); } /** * @param string $deptId * @param DeleteDeptRequest $request * @param DeleteDeptHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteDeptResponse */ public function deleteDeptWithOptions($deptId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operator)) { $query['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, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteDept', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/depts/' . $deptId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $deptId * @param DeleteDeptRequest $request * * @return DeleteDeptResponse */ public function deleteDept($deptId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteDeptHeaders([]); return $this->deleteDeptWithOptions($deptId, $request, $headers, $runtime); } /** * @param DeleteDeviceRequest $request * @param DeleteDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteDeviceResponse */ public function deleteDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->sn)) { $query['sn'] = $request->sn; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteDevice', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/vpaas/devices', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteDeviceRequest $request * * @return DeleteDeviceResponse */ public function deleteDevice($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteDeviceHeaders([]); return $this->deleteDeviceWithOptions($request, $headers, $runtime); } /** * @param DeleteDeviceOrgRequest $request * @param DeleteDeviceOrgHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteDeviceOrgResponse */ public function deleteDeviceOrgWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->authCode)) { $query['authCode'] = $request->authCode; } if (!Utils::isUnset($request->deviceCode)) { $query['deviceCode'] = $request->deviceCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteDeviceOrg', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/remoteClasses/deviceOrgs', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteDeviceOrgResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteDeviceOrgRequest $request * * @return DeleteDeviceOrgResponse */ public function deleteDeviceOrg($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteDeviceOrgHeaders([]); return $this->deleteDeviceOrgWithOptions($request, $headers, $runtime); } /** * @param string $classId * @param string $userId * @param DeleteGuardianRequest $request * @param DeleteGuardianHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteGuardianResponse */ public function deleteGuardianWithOptions($classId, $userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operator)) { $query['operator'] = $request->operator; } if (!Utils::isUnset($request->stuId)) { $query['stuId'] = $request->stuId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteGuardian', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/classes/' . $classId . '/guardians/' . $userId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteGuardianResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $classId * @param string $userId * @param DeleteGuardianRequest $request * * @return DeleteGuardianResponse */ public function deleteGuardian($classId, $userId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteGuardianHeaders([]); return $this->deleteGuardianWithOptions($classId, $userId, $request, $headers, $runtime); } /** * @param DeleteOrgRelationRequest $request * @param DeleteOrgRelationHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteOrgRelationResponse */ public function deleteOrgRelationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->authCode)) { $query['authCode'] = $request->authCode; } 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' => 'DeleteOrgRelation', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/remoteClasses/orgRelations', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteOrgRelationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteOrgRelationRequest $request * * @return DeleteOrgRelationResponse */ public function deleteOrgRelation($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteOrgRelationHeaders([]); return $this->deleteOrgRelationWithOptions($request, $headers, $runtime); } /** * @param DeletePhysicalClassroomRequest $request * @param DeletePhysicalClassroomHeaders $headers * @param RuntimeOptions $runtime * * @return DeletePhysicalClassroomResponse */ public function deletePhysicalClassroomWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->classroomId)) { $query['classroomId'] = $request->classroomId; } 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' => 'DeletePhysicalClassroom', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/physicalClassrooms', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeletePhysicalClassroomResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeletePhysicalClassroomRequest $request * * @return DeletePhysicalClassroomResponse */ public function deletePhysicalClassroom($request) { $runtime = new RuntimeOptions([]); $headers = new DeletePhysicalClassroomHeaders([]); return $this->deletePhysicalClassroomWithOptions($request, $headers, $runtime); } /** * @param string $courseCode * @param DeleteRemoteClassCourseRequest $request * @param DeleteRemoteClassCourseHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteRemoteClassCourseResponse */ public function deleteRemoteClassCourseWithOptions($courseCode, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->authCode)) { $query['authCode'] = $request->authCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteRemoteClassCourse', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/remoteClasses/courses/' . $courseCode . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteRemoteClassCourseResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $courseCode * @param DeleteRemoteClassCourseRequest $request * * @return DeleteRemoteClassCourseResponse */ public function deleteRemoteClassCourse($courseCode, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteRemoteClassCourseHeaders([]); return $this->deleteRemoteClassCourseWithOptions($courseCode, $request, $headers, $runtime); } /** * @param string $classId * @param string $userId * @param DeleteStudentRequest $request * @param DeleteStudentHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteStudentResponse */ public function deleteStudentWithOptions($classId, $userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operator)) { $query['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, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteStudent', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/classes/' . $classId . '/students/' . $userId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteStudentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $classId * @param string $userId * @param DeleteStudentRequest $request * * @return DeleteStudentResponse */ public function deleteStudent($classId, $userId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteStudentHeaders([]); return $this->deleteStudentWithOptions($classId, $userId, $request, $headers, $runtime); } /** * @param string $classId * @param string $userId * @param DeleteTeacherRequest $request * @param DeleteTeacherHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteTeacherResponse */ public function deleteTeacherWithOptions($classId, $userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->adviser)) { $query['adviser'] = $request->adviser; } if (!Utils::isUnset($request->operator)) { $query['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, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteTeacher', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/classes/' . $classId . '/teachers/' . $userId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteTeacherResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $classId * @param string $userId * @param DeleteTeacherRequest $request * * @return DeleteTeacherResponse */ public function deleteTeacher($classId, $userId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteTeacherHeaders([]); return $this->deleteTeacherWithOptions($classId, $userId, $request, $headers, $runtime); } /** * @param DeleteUniversityCourseGroupRequest $request * @param DeleteUniversityCourseGroupHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteUniversityCourseGroupResponse */ public function deleteUniversityCourseGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->courseGroupCode)) { $query['courseGroupCode'] = $request->courseGroupCode; } 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' => 'DeleteUniversityCourseGroup', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/courseGroups', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteUniversityCourseGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteUniversityCourseGroupRequest $request * * @return DeleteUniversityCourseGroupResponse */ public function deleteUniversityCourseGroup($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteUniversityCourseGroupHeaders([]); return $this->deleteUniversityCourseGroupWithOptions($request, $headers, $runtime); } /** * @param DeleteUniversityStudentRequest $request * @param DeleteUniversityStudentHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteUniversityStudentResponse */ public function deleteUniversityStudentWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->classId)) { $query['classId'] = $request->classId; } if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->studentUserId)) { $query['studentUserId'] = $request->studentUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteUniversityStudent', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/students', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteUniversityStudentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteUniversityStudentRequest $request * * @return DeleteUniversityStudentResponse */ public function deleteUniversityStudent($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteUniversityStudentHeaders([]); return $this->deleteUniversityStudentWithOptions($request, $headers, $runtime); } /** * @param DeleteUniversityTeacherRequest $request * @param DeleteUniversityTeacherHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteUniversityTeacherResponse */ public function deleteUniversityTeacherWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->classId)) { $query['classId'] = $request->classId; } if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->role)) { $query['role'] = $request->role; } if (!Utils::isUnset($request->teacherUserId)) { $query['teacherUserId'] = $request->teacherUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteUniversityTeacher', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/teachers', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteUniversityTeacherResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteUniversityTeacherRequest $request * * @return DeleteUniversityTeacherResponse */ public function deleteUniversityTeacher($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteUniversityTeacherHeaders([]); return $this->deleteUniversityTeacherWithOptions($request, $headers, $runtime); } /** * @param DeviceHeartbeatRequest $request * @param DeviceHeartbeatHeaders $headers * @param RuntimeOptions $runtime * * @return DeviceHeartbeatResponse */ public function deviceHeartbeatWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->sn)) { $query['sn'] = $request->sn; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeviceHeartbeat', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/heartbeats/report', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeviceHeartbeatResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeviceHeartbeatRequest $request * * @return DeviceHeartbeatResponse */ public function deviceHeartbeat($request) { $runtime = new RuntimeOptions([]); $headers = new DeviceHeartbeatHeaders([]); return $this->deviceHeartbeatWithOptions($request, $headers, $runtime); } /** * @param EduFindUserRolesByUserIdRequest $request * @param EduFindUserRolesByUserIdHeaders $headers * @param RuntimeOptions $runtime * * @return EduFindUserRolesByUserIdResponse */ public function eduFindUserRolesByUserIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->classId)) { $query['classId'] = $request->classId; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->hasOrgRole)) { $query['hasOrgRole'] = $request->hasOrgRole; } 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' => 'EduFindUserRolesByUserId', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/users/allRoles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EduFindUserRolesByUserIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EduFindUserRolesByUserIdRequest $request * * @return EduFindUserRolesByUserIdResponse */ public function eduFindUserRolesByUserId($request) { $runtime = new RuntimeOptions([]); $headers = new EduFindUserRolesByUserIdHeaders([]); return $this->eduFindUserRolesByUserIdWithOptions($request, $headers, $runtime); } /** * @param EduListUserByFromUserIdsRequest $request * @param EduListUserByFromUserIdsHeaders $headers * @param RuntimeOptions $runtime * * @return EduListUserByFromUserIdsResponse */ public function eduListUserByFromUserIdsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->classId)) { $query['classId'] = $request->classId; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->guardianUserId)) { $query['guardianUserId'] = $request->guardianUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'EduListUserByFromUserIds', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/users/allRelations/lists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EduListUserByFromUserIdsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EduListUserByFromUserIdsRequest $request * * @return EduListUserByFromUserIdsResponse */ public function eduListUserByFromUserIds($request) { $runtime = new RuntimeOptions([]); $headers = new EduListUserByFromUserIdsHeaders([]); return $this->eduListUserByFromUserIdsWithOptions($request, $headers, $runtime); } /** * @param EduTeacherListRequest $request * @param EduTeacherListHeaders $headers * @param RuntimeOptions $runtime * * @return EduTeacherListResponse */ public function eduTeacherListWithOptions($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' => 'EduTeacherList', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/teachers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EduTeacherListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EduTeacherListRequest $request * * @return EduTeacherListResponse */ public function eduTeacherList($request) { $runtime = new RuntimeOptions([]); $headers = new EduTeacherListHeaders([]); return $this->eduTeacherListWithOptions($request, $headers, $runtime); } /** * @param EndCourseRequest $request * @param EndCourseHeaders $headers * @param RuntimeOptions $runtime * * @return EndCourseResponse */ public function endCourseWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->courseCode)) { $body['courseCode'] = $request->courseCode; } if (!Utils::isUnset($request->ext)) { $body['ext'] = $request->ext; } if (!Utils::isUnset($request->isvCode)) { $body['isvCode'] = $request->isvCode; } if (!Utils::isUnset($request->livePlayInfoList)) { $body['livePlayInfoList'] = $request->livePlayInfoList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'EndCourse', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/courses/end', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EndCourseResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EndCourseRequest $request * * @return EndCourseResponse */ public function endCourse($request) { $runtime = new RuntimeOptions([]); $headers = new EndCourseHeaders([]); return $this->endCourseWithOptions($request, $headers, $runtime); } /** * @param GetBindChildInfoRequest $request * @param GetBindChildInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetBindChildInfoResponse */ public function getBindChildInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->schoolCorpId)) { $query['schoolCorpId'] = $request->schoolCorpId; } if (!Utils::isUnset($request->studentUserId)) { $query['studentUserId'] = $request->studentUserId; } 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' => 'GetBindChildInfo', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/families/childs/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetBindChildInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetBindChildInfoRequest $request * * @return GetBindChildInfoResponse */ public function getBindChildInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetBindChildInfoHeaders([]); return $this->getBindChildInfoWithOptions($request, $headers, $runtime); } /** * @param GetDefaultChildHeaders $headers * @param RuntimeOptions $runtime * * @return GetDefaultChildResponse */ public function getDefaultChildWithOptions($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' => 'GetDefaultChild', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/defaultChildren', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetDefaultChildResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return GetDefaultChildResponse */ public function getDefaultChild() { $runtime = new RuntimeOptions([]); $headers = new GetDefaultChildHeaders([]); return $this->getDefaultChildWithOptions($headers, $runtime); } /** * @param GetEduUserIdentityRequest $request * @param GetEduUserIdentityHeaders $headers * @param RuntimeOptions $runtime * * @return GetEduUserIdentityResponse */ public function getEduUserIdentityWithOptions($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' => 'GetEduUserIdentity', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/apollos/activities/userIdentities', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetEduUserIdentityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetEduUserIdentityRequest $request * * @return GetEduUserIdentityResponse */ public function getEduUserIdentity($request) { $runtime = new RuntimeOptions([]); $headers = new GetEduUserIdentityHeaders([]); return $this->getEduUserIdentityWithOptions($request, $headers, $runtime); } /** * @param string $courseId * @param GetOpenCourseDetailHeaders $headers * @param RuntimeOptions $runtime * * @return GetOpenCourseDetailResponse */ public function getOpenCourseDetailWithOptions($courseId, $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' => 'GetOpenCourseDetail', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/openCourse/' . $courseId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOpenCourseDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $courseId * * @return GetOpenCourseDetailResponse */ public function getOpenCourseDetail($courseId) { $runtime = new RuntimeOptions([]); $headers = new GetOpenCourseDetailHeaders([]); return $this->getOpenCourseDetailWithOptions($courseId, $headers, $runtime); } /** * @param GetOpenCoursesRequest $request * @param GetOpenCoursesHeaders $headers * @param RuntimeOptions $runtime * * @return GetOpenCoursesResponse */ public function getOpenCoursesWithOptions($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' => 'GetOpenCourses', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/openCourses', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOpenCoursesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetOpenCoursesRequest $request * * @return GetOpenCoursesResponse */ public function getOpenCourses($request) { $runtime = new RuntimeOptions([]); $headers = new GetOpenCoursesHeaders([]); return $this->getOpenCoursesWithOptions($request, $headers, $runtime); } /** * @param GetPointActionRecordRequest $tmpReq * @param GetPointActionRecordHeaders $headers * @param RuntimeOptions $runtime * * @return GetPointActionRecordResponse */ public function getPointActionRecordWithOptions($tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new GetPointActionRecordShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->body)) { $request->bodyShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->body, 'body', 'json'); } $query = []; if (!Utils::isUnset($request->bodyShrink)) { $query['body'] = $request->bodyShrink; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetPointActionRecord', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/points/actionRecords', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetPointActionRecordResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetPointActionRecordRequest $request * * @return GetPointActionRecordResponse */ public function getPointActionRecord($request) { $runtime = new RuntimeOptions([]); $headers = new GetPointActionRecordHeaders([]); return $this->getPointActionRecordWithOptions($request, $headers, $runtime); } /** * @param GetPointInfoRequest $request * @param GetPointInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetPointInfoResponse */ public function getPointInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pointType)) { $query['pointType'] = $request->pointType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetPointInfo', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/points/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetPointInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetPointInfoRequest $request * * @return GetPointInfoResponse */ public function getPointInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetPointInfoHeaders([]); return $this->getPointInfoWithOptions($request, $headers, $runtime); } /** * @param string $courseCode * @param GetRemoteClassCourseRequest $request * @param GetRemoteClassCourseHeaders $headers * @param RuntimeOptions $runtime * * @return GetRemoteClassCourseResponse */ public function getRemoteClassCourseWithOptions($courseCode, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operator)) { $query['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, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetRemoteClassCourse', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/remoteClasses/courses/' . $courseCode . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetRemoteClassCourseResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $courseCode * @param GetRemoteClassCourseRequest $request * * @return GetRemoteClassCourseResponse */ public function getRemoteClassCourse($courseCode, $request) { $runtime = new RuntimeOptions([]); $headers = new GetRemoteClassCourseHeaders([]); return $this->getRemoteClassCourseWithOptions($courseCode, $request, $headers, $runtime); } /** * @param string $shareRoleCode * @param GetShareRoleMembersHeaders $headers * @param RuntimeOptions $runtime * * @return GetShareRoleMembersResponse */ public function getShareRoleMembersWithOptions($shareRoleCode, $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' => 'GetShareRoleMembers', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/shareRoles/' . $shareRoleCode . '/members', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetShareRoleMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $shareRoleCode * * @return GetShareRoleMembersResponse */ public function getShareRoleMembers($shareRoleCode) { $runtime = new RuntimeOptions([]); $headers = new GetShareRoleMembersHeaders([]); return $this->getShareRoleMembersWithOptions($shareRoleCode, $headers, $runtime); } /** * @param GetShareRolesHeaders $headers * @param RuntimeOptions $runtime * * @return GetShareRolesResponse */ public function getShareRolesWithOptions($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' => 'GetShareRoles', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/shareRoles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetShareRolesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return GetShareRolesResponse */ public function getShareRoles() { $runtime = new RuntimeOptions([]); $headers = new GetShareRolesHeaders([]); return $this->getShareRolesWithOptions($headers, $runtime); } /** * @param GetTaskListRequest $request * @param GetTaskListHeaders $headers * @param RuntimeOptions $runtime * * @return GetTaskListResponse */ public function getTaskListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operator)) { $query['operator'] = $request->operator; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->taskYear)) { $query['taskYear'] = $request->taskYear; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetTaskList', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/newGrades/tasks/lists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTaskListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetTaskListRequest $request * * @return GetTaskListResponse */ public function getTaskList($request) { $runtime = new RuntimeOptions([]); $headers = new GetTaskListHeaders([]); return $this->getTaskListWithOptions($request, $headers, $runtime); } /** * @param GetTaskStudentListRequest $request * @param GetTaskStudentListHeaders $headers * @param RuntimeOptions $runtime * * @return GetTaskStudentListResponse */ public function getTaskStudentListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operator)) { $query['operator'] = $request->operator; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->taskId)) { $query['taskId'] = $request->taskId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetTaskStudentList', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/newGrades/tasks/students/lists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTaskStudentListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetTaskStudentListRequest $request * * @return GetTaskStudentListResponse */ public function getTaskStudentList($request) { $runtime = new RuntimeOptions([]); $headers = new GetTaskStudentListHeaders([]); return $this->getTaskStudentListWithOptions($request, $headers, $runtime); } /** * @param string $classId * @param InitCoursesOfClassRequest $request * @param InitCoursesOfClassHeaders $headers * @param RuntimeOptions $runtime * * @return InitCoursesOfClassResponse */ public function initCoursesOfClassWithOptions($classId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->courses)) { $body['courses'] = $request->courses; } if (!Utils::isUnset($request->sectionConfig)) { $body['sectionConfig'] = $request->sectionConfig; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'InitCoursesOfClass', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/classes/' . $classId . '/courses/init', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return InitCoursesOfClassResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $classId * @param InitCoursesOfClassRequest $request * * @return InitCoursesOfClassResponse */ public function initCoursesOfClass($classId, $request) { $runtime = new RuntimeOptions([]); $headers = new InitCoursesOfClassHeaders([]); return $this->initCoursesOfClassWithOptions($classId, $request, $headers, $runtime); } /** * @param InitDeviceRequest $request * @param InitDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return InitDeviceResponse */ public function initDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->encryptPubKey)) { $body['encryptPubKey'] = $request->encryptPubKey; } if (!Utils::isUnset($request->signature)) { $body['signature'] = $request->signature; } if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } if (!Utils::isUnset($request->timestamp)) { $body['timestamp'] = $request->timestamp; } if (!Utils::isUnset($request->version)) { $body['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'InitDevice', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/devices/init', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InitDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param InitDeviceRequest $request * * @return InitDeviceResponse */ public function initDevice($request) { $runtime = new RuntimeOptions([]); $headers = new InitDeviceHeaders([]); return $this->initDeviceWithOptions($request, $headers, $runtime); } /** * @param InitVPaasDeviceRequest $request * @param InitVPaasDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return InitVPaasDeviceResponse */ public function initVPaasDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } if (!Utils::isUnset($request->timestamp)) { $body['timestamp'] = $request->timestamp; } 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' => 'InitVPaasDevice', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/vpaas/devices/init', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InitVPaasDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param InitVPaasDeviceRequest $request * * @return InitVPaasDeviceResponse */ public function initVPaasDevice($request) { $runtime = new RuntimeOptions([]); $headers = new InitVPaasDeviceHeaders([]); return $this->initVPaasDeviceWithOptions($request, $headers, $runtime); } /** * @param InsertSectionConfigRequest $request * @param InsertSectionConfigHeaders $headers * @param RuntimeOptions $runtime * * @return InsertSectionConfigResponse */ public function insertSectionConfigWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->end)) { $body['end'] = $request->end; } if (!Utils::isUnset($request->scheduleName)) { $body['scheduleName'] = $request->scheduleName; } if (!Utils::isUnset($request->sectionModels)) { $body['sectionModels'] = $request->sectionModels; } if (!Utils::isUnset($request->start)) { $body['start'] = $request->start; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'InsertSectionConfig', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/schedules/configs', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return InsertSectionConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param InsertSectionConfigRequest $request * * @return InsertSectionConfigResponse */ public function insertSectionConfig($request) { $runtime = new RuntimeOptions([]); $headers = new InsertSectionConfigHeaders([]); return $this->insertSectionConfigWithOptions($request, $headers, $runtime); } /** * @param IsvDataWriteRequest $request * @param IsvDataWriteHeaders $headers * @param RuntimeOptions $runtime * * @return IsvDataWriteResponse */ public function isvDataWriteWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->objectCode)) { $body['objectCode'] = $request->objectCode; } if (!Utils::isUnset($request->rowValueList)) { $body['rowValueList'] = $request->rowValueList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'IsvDataWrite', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/datas/write', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IsvDataWriteResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IsvDataWriteRequest $request * * @return IsvDataWriteResponse */ public function isvDataWrite($request) { $runtime = new RuntimeOptions([]); $headers = new IsvDataWriteHeaders([]); return $this->isvDataWriteWithOptions($request, $headers, $runtime); } /** * @param IsvMetadataQueryRequest $request * @param IsvMetadataQueryHeaders $headers * @param RuntimeOptions $runtime * * @return IsvMetadataQueryResponse */ public function isvMetadataQueryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->objectCode)) { $query['objectCode'] = $request->objectCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'IsvMetadataQuery', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/datas/metadatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IsvMetadataQueryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IsvMetadataQueryRequest $request * * @return IsvMetadataQueryResponse */ public function isvMetadataQuery($request) { $runtime = new RuntimeOptions([]); $headers = new IsvMetadataQueryHeaders([]); return $this->isvMetadataQueryWithOptions($request, $headers, $runtime); } /** * @param ListOrderRequest $request * @param ListOrderHeaders $headers * @param RuntimeOptions $runtime * * @return ListOrderResponse */ public function listOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->createTimeEnd)) { $body['createTimeEnd'] = $request->createTimeEnd; } if (!Utils::isUnset($request->createTimeStart)) { $body['createTimeStart'] = $request->createTimeStart; } if (!Utils::isUnset($request->merchantId)) { $body['merchantId'] = $request->merchantId; } if (!Utils::isUnset($request->orderNo)) { $body['orderNo'] = $request->orderNo; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->scene)) { $body['scene'] = $request->scene; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } 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' => 'ListOrder', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/orders/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListOrderRequest $request * * @return ListOrderResponse */ public function listOrder($request) { $runtime = new RuntimeOptions([]); $headers = new ListOrderHeaders([]); return $this->listOrderWithOptions($request, $headers, $runtime); } /** * @param MoveStudentRequest $request * @param MoveStudentHeaders $headers * @param RuntimeOptions $runtime * * @return MoveStudentResponse */ public function moveStudentWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } if (!Utils::isUnset($request->originClassId)) { $body['originClassId'] = $request->originClassId; } if (!Utils::isUnset($request->targetClassId)) { $body['targetClassId'] = $request->targetClassId; } 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' => 'MoveStudent', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/students/move', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return MoveStudentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param MoveStudentRequest $request * * @return MoveStudentResponse */ public function moveStudent($request) { $runtime = new RuntimeOptions([]); $headers = new MoveStudentHeaders([]); return $this->moveStudentWithOptions($request, $headers, $runtime); } /** * @param PageQueryDevicesRequest $request * @param PageQueryDevicesHeaders $headers * @param RuntimeOptions $runtime * * @return PageQueryDevicesResponse */ public function pageQueryDevicesWithOptions($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' => 'PageQueryDevices', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/vpaas/devices', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PageQueryDevicesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PageQueryDevicesRequest $request * * @return PageQueryDevicesResponse */ public function pageQueryDevices($request) { $runtime = new RuntimeOptions([]); $headers = new PageQueryDevicesHeaders([]); return $this->pageQueryDevicesWithOptions($request, $headers, $runtime); } /** * @param PayOrderRequest $request * @param PayOrderHeaders $headers * @param RuntimeOptions $runtime * * @return PayOrderResponse */ public function payOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->faceId)) { $body['faceId'] = $request->faceId; } if (!Utils::isUnset($request->orderNo)) { $body['orderNo'] = $request->orderNo; } if (!Utils::isUnset($request->signature)) { $body['signature'] = $request->signature; } if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } if (!Utils::isUnset($request->timestamp)) { $body['timestamp'] = $request->timestamp; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->version)) { $body['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PayOrder', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/orders/pay', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PayOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PayOrderRequest $request * * @return PayOrderResponse */ public function payOrder($request) { $runtime = new RuntimeOptions([]); $headers = new PayOrderHeaders([]); return $this->payOrderWithOptions($request, $headers, $runtime); } /** * @param PollingConfirmStatusRequest $request * @param PollingConfirmStatusHeaders $headers * @param RuntimeOptions $runtime * * @return PollingConfirmStatusResponse */ public function pollingConfirmStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->courseCode)) { $query['courseCode'] = $request->courseCode; } if (!Utils::isUnset($request->ext)) { $query['ext'] = $request->ext; } if (!Utils::isUnset($request->isvCode)) { $query['isvCode'] = $request->isvCode; } 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' => 'PollingConfirmStatus', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/courses/pollingConfirmStatus', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PollingConfirmStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PollingConfirmStatusRequest $request * * @return PollingConfirmStatusResponse */ public function pollingConfirmStatus($request) { $runtime = new RuntimeOptions([]); $headers = new PollingConfirmStatusHeaders([]); return $this->pollingConfirmStatusWithOptions($request, $headers, $runtime); } /** * @param PreDialRequest $request * @param PreDialHeaders $headers * @param RuntimeOptions $runtime * * @return PreDialResponse */ public function preDialWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->callerUserId)) { $body['callerUserId'] = $request->callerUserId; } if (!Utils::isUnset($request->receiverUserId)) { $body['receiverUserId'] = $request->receiverUserId; } if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } 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' => 'PreDial', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/vpaas/devices/preDial', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PreDialResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PreDialRequest $request * * @return PreDialResponse */ public function preDial($request) { $runtime = new RuntimeOptions([]); $headers = new PreDialHeaders([]); return $this->preDialWithOptions($request, $headers, $runtime); } /** * @param ProvidePointRequest $request * @param ProvidePointHeaders $headers * @param RuntimeOptions $runtime * * @return ProvidePointResponse */ public function providePointWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->actionCode)) { $body['actionCode'] = $request->actionCode; } if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->pointType)) { $body['pointType'] = $request->pointType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ProvidePoint', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/points/provide', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ProvidePointResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ProvidePointRequest $request * * @return ProvidePointResponse */ public function providePoint($request) { $runtime = new RuntimeOptions([]); $headers = new ProvidePointHeaders([]); return $this->providePointWithOptions($request, $headers, $runtime); } /** * @param QueryAllSubjectsFromClassScheduleRequest $tmpReq * @param QueryAllSubjectsFromClassScheduleHeaders $headers * @param RuntimeOptions $runtime * * @return QueryAllSubjectsFromClassScheduleResponse */ public function queryAllSubjectsFromClassScheduleWithOptions($tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new QueryAllSubjectsFromClassScheduleShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->classIds)) { $request->classIdsShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->classIds, 'classIds', 'json'); } $query = []; if (!Utils::isUnset($request->classIdsShrink)) { $query['classIds'] = $request->classIdsShrink; } if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->periodCode)) { $query['periodCode'] = $request->periodCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryAllSubjectsFromClassSchedule', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/subjects/instances', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryAllSubjectsFromClassScheduleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryAllSubjectsFromClassScheduleRequest $request * * @return QueryAllSubjectsFromClassScheduleResponse */ public function queryAllSubjectsFromClassSchedule($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAllSubjectsFromClassScheduleHeaders([]); return $this->queryAllSubjectsFromClassScheduleWithOptions($request, $headers, $runtime); } /** * @param QueryClassScheduleRequest $request * @param QueryClassScheduleHeaders $headers * @param RuntimeOptions $runtime * * @return QueryClassScheduleResponse */ public function queryClassScheduleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->startTime)) { $query['startTime'] = $request->startTime; } if (!Utils::isUnset($request->subscriberType)) { $query['subscriberType'] = $request->subscriberType; } $body = []; if (!Utils::isUnset($request->sectionIndexList)) { $body['sectionIndexList'] = $request->sectionIndexList; } if (!Utils::isUnset($request->subscriberIds)) { $body['subscriberIds'] = $request->subscriberIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'QueryClassSchedule', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/classes/schedules/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryClassScheduleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryClassScheduleRequest $request * * @return QueryClassScheduleResponse */ public function queryClassSchedule($request) { $runtime = new RuntimeOptions([]); $headers = new QueryClassScheduleHeaders([]); return $this->queryClassScheduleWithOptions($request, $headers, $runtime); } /** * @param QueryClassScheduleByTimeSchoolRequest $request * @param QueryClassScheduleByTimeSchoolHeaders $headers * @param RuntimeOptions $runtime * * @return QueryClassScheduleByTimeSchoolResponse */ public function queryClassScheduleByTimeSchoolWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } 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' => 'QueryClassScheduleByTimeSchool', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/schools/classes/courses ', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryClassScheduleByTimeSchoolResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryClassScheduleByTimeSchoolRequest $request * * @return QueryClassScheduleByTimeSchoolResponse */ public function queryClassScheduleByTimeSchool($request) { $runtime = new RuntimeOptions([]); $headers = new QueryClassScheduleByTimeSchoolHeaders([]); return $this->queryClassScheduleByTimeSchoolWithOptions($request, $headers, $runtime); } /** * @param QueryClassScheduleConfigRequest $tmpReq * @param QueryClassScheduleConfigHeaders $headers * @param RuntimeOptions $runtime * * @return QueryClassScheduleConfigResponse */ public function queryClassScheduleConfigWithOptions($tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new QueryClassScheduleConfigShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->classIds)) { $request->classIdsShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->classIds, 'classIds', 'json'); } $query = []; if (!Utils::isUnset($request->classIdsShrink)) { $query['classIds'] = $request->classIdsShrink; } 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' => 'QueryClassScheduleConfig', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/schedules/configs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryClassScheduleConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryClassScheduleConfigRequest $request * * @return QueryClassScheduleConfigResponse */ public function queryClassScheduleConfig($request) { $runtime = new RuntimeOptions([]); $headers = new QueryClassScheduleConfigHeaders([]); return $this->queryClassScheduleConfigWithOptions($request, $headers, $runtime); } /** * @param QueryDeviceRequest $request * @param QueryDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return QueryDeviceResponse */ public function queryDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->sn)) { $query['sn'] = $request->sn; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->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' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/vpass/devices/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryDeviceRequest $request * * @return QueryDeviceResponse */ public function queryDevice($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDeviceHeaders([]); return $this->queryDeviceWithOptions($request, $headers, $runtime); } /** * @param QueryDeviceListByCorpIdRequest $request * @param QueryDeviceListByCorpIdHeaders $headers * @param RuntimeOptions $runtime * * @return QueryDeviceListByCorpIdResponse */ public function queryDeviceListByCorpIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operator)) { $query['operator'] = $request->operator; } 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' => 'QueryDeviceListByCorpId', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/remoteClasses/devices', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryDeviceListByCorpIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryDeviceListByCorpIdRequest $request * * @return QueryDeviceListByCorpIdResponse */ public function queryDeviceListByCorpId($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDeviceListByCorpIdHeaders([]); return $this->queryDeviceListByCorpIdWithOptions($request, $headers, $runtime); } /** * @param QueryEduAssetSpacesRequest $request * @param QueryEduAssetSpacesHeaders $headers * @param RuntimeOptions $runtime * * @return QueryEduAssetSpacesResponse */ public function queryEduAssetSpacesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } 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' => 'QueryEduAssetSpaces', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/assets/spaces', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryEduAssetSpacesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryEduAssetSpacesRequest $request * * @return QueryEduAssetSpacesResponse */ public function queryEduAssetSpaces($request) { $runtime = new RuntimeOptions([]); $headers = new QueryEduAssetSpacesHeaders([]); return $this->queryEduAssetSpacesWithOptions($request, $headers, $runtime); } /** * @param QueryGroupIdRequest $request * @param QueryGroupIdHeaders $headers * @param RuntimeOptions $runtime * * @return QueryGroupIdResponse */ public function queryGroupIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->sn)) { $query['sn'] = $request->sn; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryGroupId', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/faces/groups', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryGroupIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryGroupIdRequest $request * * @return QueryGroupIdResponse */ public function queryGroupId($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGroupIdHeaders([]); return $this->queryGroupIdWithOptions($request, $headers, $runtime); } /** * @param QueryOrderRequest $request * @param QueryOrderHeaders $headers * @param RuntimeOptions $runtime * * @return QueryOrderResponse */ public function queryOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->alipayAppId)) { $query['alipayAppId'] = $request->alipayAppId; } if (!Utils::isUnset($request->merchantId)) { $query['merchantId'] = $request->merchantId; } if (!Utils::isUnset($request->orderNo)) { $query['orderNo'] = $request->orderNo; } if (!Utils::isUnset($request->signature)) { $query['signature'] = $request->signature; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryOrder', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/orders', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryOrderRequest $request * * @return QueryOrderResponse */ public function queryOrder($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOrderHeaders([]); return $this->queryOrderWithOptions($request, $headers, $runtime); } /** * @param QueryOrgRelationListRequest $request * @param QueryOrgRelationListHeaders $headers * @param RuntimeOptions $runtime * * @return QueryOrgRelationListResponse */ public function queryOrgRelationListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operator)) { $query['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, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryOrgRelationList', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/remoteClasses/orgRelations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryOrgRelationListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryOrgRelationListRequest $request * * @return QueryOrgRelationListResponse */ public function queryOrgRelationList($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOrgRelationListHeaders([]); return $this->queryOrgRelationListWithOptions($request, $headers, $runtime); } /** * @param QueryOrgSecretKeyRequest $request * @param QueryOrgSecretKeyHeaders $headers * @param RuntimeOptions $runtime * * @return QueryOrgSecretKeyResponse */ public function queryOrgSecretKeyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->isvCode)) { $query['isvCode'] = $request->isvCode; } 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' => 'QueryOrgSecretKey', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/secretKeys', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryOrgSecretKeyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryOrgSecretKeyRequest $request * * @return QueryOrgSecretKeyResponse */ public function queryOrgSecretKey($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOrgSecretKeyHeaders([]); return $this->queryOrgSecretKeyWithOptions($request, $headers, $runtime); } /** * @param QueryOrgTypeHeaders $headers * @param RuntimeOptions $runtime * * @return QueryOrgTypeResponse */ public function queryOrgTypeWithOptions($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' => 'QueryOrgType', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/orgTypes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryOrgTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return QueryOrgTypeResponse */ public function queryOrgType() { $runtime = new RuntimeOptions([]); $headers = new QueryOrgTypeHeaders([]); return $this->queryOrgTypeWithOptions($headers, $runtime); } /** * @param QueryPayResultRequest $request * @param QueryPayResultHeaders $headers * @param RuntimeOptions $runtime * * @return QueryPayResultResponse */ public function queryPayResultWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->faceId)) { $body['faceId'] = $request->faceId; } if (!Utils::isUnset($request->orderNo)) { $body['orderNo'] = $request->orderNo; } if (!Utils::isUnset($request->signature)) { $body['signature'] = $request->signature; } if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } if (!Utils::isUnset($request->timestamp)) { $body['timestamp'] = $request->timestamp; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->version)) { $body['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryPayResult', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/payResults/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryPayResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryPayResultRequest $request * * @return QueryPayResultResponse */ public function queryPayResult($request) { $runtime = new RuntimeOptions([]); $headers = new QueryPayResultHeaders([]); return $this->queryPayResultWithOptions($request, $headers, $runtime); } /** * @param QueryPhysicalClassroomRequest $request * @param QueryPhysicalClassroomHeaders $headers * @param RuntimeOptions $runtime * * @return QueryPhysicalClassroomResponse */ public function queryPhysicalClassroomWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->classroomId)) { $query['classroomId'] = $request->classroomId; } 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' => 'QueryPhysicalClassroom', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/physicalClassrooms', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryPhysicalClassroomResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryPhysicalClassroomRequest $request * * @return QueryPhysicalClassroomResponse */ public function queryPhysicalClassroom($request) { $runtime = new RuntimeOptions([]); $headers = new QueryPhysicalClassroomHeaders([]); return $this->queryPhysicalClassroomWithOptions($request, $headers, $runtime); } /** * @param QueryPurchaseInfoRequest $request * @param QueryPurchaseInfoHeaders $headers * @param RuntimeOptions $runtime * * @return QueryPurchaseInfoResponse */ public function queryPurchaseInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->merchantId)) { $query['merchantId'] = $request->merchantId; } if (!Utils::isUnset($request->scene)) { $query['scene'] = $request->scene; } if (!Utils::isUnset($request->sn)) { $query['sn'] = $request->sn; } 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' => 'QueryPurchaseInfo', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/users/purchases', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryPurchaseInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryPurchaseInfoRequest $request * * @return QueryPurchaseInfoResponse */ public function queryPurchaseInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryPurchaseInfoHeaders([]); return $this->queryPurchaseInfoWithOptions($request, $headers, $runtime); } /** * @param QueryRemoteClassCourseRequest $request * @param QueryRemoteClassCourseHeaders $headers * @param RuntimeOptions $runtime * * @return QueryRemoteClassCourseResponse */ public function queryRemoteClassCourseWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->operator)) { $query['operator'] = $request->operator; } 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' => 'QueryRemoteClassCourse', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/remoteClasses/courses', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryRemoteClassCourseResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryRemoteClassCourseRequest $request * * @return QueryRemoteClassCourseResponse */ public function queryRemoteClassCourse($request) { $runtime = new RuntimeOptions([]); $headers = new QueryRemoteClassCourseHeaders([]); return $this->queryRemoteClassCourseWithOptions($request, $headers, $runtime); } /** * @param QuerySchoolUserFaceRequest $request * @param QuerySchoolUserFaceHeaders $headers * @param RuntimeOptions $runtime * * @return QuerySchoolUserFaceResponse */ public function querySchoolUserFaceWithOptions($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->sn)) { $query['sn'] = $request->sn; } 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' => 'QuerySchoolUserFace', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/schools/faces', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QuerySchoolUserFaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QuerySchoolUserFaceRequest $request * * @return QuerySchoolUserFaceResponse */ public function querySchoolUserFace($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySchoolUserFaceHeaders([]); return $this->querySchoolUserFaceWithOptions($request, $headers, $runtime); } /** * @param QuerySnsOrderRequest $request * @param QuerySnsOrderHeaders $headers * @param RuntimeOptions $runtime * * @return QuerySnsOrderResponse */ public function querySnsOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->alipayAppId)) { $query['alipayAppId'] = $request->alipayAppId; } if (!Utils::isUnset($request->merchantId)) { $query['merchantId'] = $request->merchantId; } if (!Utils::isUnset($request->orderNo)) { $query['orderNo'] = $request->orderNo; } if (!Utils::isUnset($request->signature)) { $query['signature'] = $request->signature; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QuerySnsOrder', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/snsOrders', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QuerySnsOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QuerySnsOrderRequest $request * * @return QuerySnsOrderResponse */ public function querySnsOrder($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySnsOrderHeaders([]); return $this->querySnsOrderWithOptions($request, $headers, $runtime); } /** * @param QueryStatisticsDataRequest $request * @param QueryStatisticsDataHeaders $headers * @param RuntimeOptions $runtime * * @return QueryStatisticsDataResponse */ public function queryStatisticsDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->startTime)) { $query['startTime'] = $request->startTime; } $body = []; if (!Utils::isUnset($request->sectionIndexList)) { $body['sectionIndexList'] = $request->sectionIndexList; } if (!Utils::isUnset($request->teacherUserIds)) { $body['teacherUserIds'] = $request->teacherUserIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'QueryStatisticsData', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/classes/schedules/statisticData/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryStatisticsDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryStatisticsDataRequest $request * * @return QueryStatisticsDataResponse */ public function queryStatisticsData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryStatisticsDataHeaders([]); return $this->queryStatisticsDataWithOptions($request, $headers, $runtime); } /** * @param QuerySubjectTeachersRequest $request * @param QuerySubjectTeachersHeaders $headers * @param RuntimeOptions $runtime * * @return QuerySubjectTeachersResponse */ public function querySubjectTeachersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->classIds)) { $query['classIds'] = $request->classIds; } if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->subjectCode)) { $query['subjectCode'] = $request->subjectCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QuerySubjectTeachers', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/subjects/teachers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QuerySubjectTeachersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QuerySubjectTeachersRequest $request * * @return QuerySubjectTeachersResponse */ public function querySubjectTeachers($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySubjectTeachersHeaders([]); return $this->querySubjectTeachersWithOptions($request, $headers, $runtime); } /** * @param QueryTeachSubjectsRequest $request * @param QueryTeachSubjectsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryTeachSubjectsResponse */ public function queryTeachSubjectsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->classIds)) { $query['classIds'] = $request->classIds; } 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' => 'QueryTeachSubjects', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/teachers/subjects', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryTeachSubjectsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryTeachSubjectsRequest $request * * @return QueryTeachSubjectsResponse */ public function queryTeachSubjects($request) { $runtime = new RuntimeOptions([]); $headers = new QueryTeachSubjectsHeaders([]); return $this->queryTeachSubjectsWithOptions($request, $headers, $runtime); } /** * @param QueryUniversityCourseGroupRequest $request * @param QueryUniversityCourseGroupHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUniversityCourseGroupResponse */ public function queryUniversityCourseGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->courseGroupCode)) { $query['courseGroupCode'] = $request->courseGroupCode; } 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' => 'QueryUniversityCourseGroup', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/courseGroups', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryUniversityCourseGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryUniversityCourseGroupRequest $request * * @return QueryUniversityCourseGroupResponse */ public function queryUniversityCourseGroup($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUniversityCourseGroupHeaders([]); return $this->queryUniversityCourseGroupWithOptions($request, $headers, $runtime); } /** * @param QueryUserFaceRequest $request * @param QueryUserFaceHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUserFaceResponse */ public function queryUserFaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->faceId)) { $query['faceId'] = $request->faceId; } if (!Utils::isUnset($request->sn)) { $query['sn'] = $request->sn; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryUserFace', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/users/faces', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUserFaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryUserFaceRequest $request * * @return QueryUserFaceResponse */ public function queryUserFace($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUserFaceHeaders([]); return $this->queryUserFaceWithOptions($request, $headers, $runtime); } /** * @param QueryUserPayInfoRequest $request * @param QueryUserPayInfoHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUserPayInfoResponse */ public function queryUserPayInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->faceId)) { $query['faceId'] = $request->faceId; } if (!Utils::isUnset($request->sn)) { $query['sn'] = $request->sn; } 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' => 'QueryUserPayInfo', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/orders/payInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUserPayInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryUserPayInfoRequest $request * * @return QueryUserPayInfoResponse */ public function queryUserPayInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUserPayInfoHeaders([]); return $this->queryUserPayInfoWithOptions($request, $headers, $runtime); } /** * @param RemoveDeviceRequest $request * @param RemoveDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return RemoveDeviceResponse */ public function removeDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->merchantId)) { $query['merchantId'] = $request->merchantId; } if (!Utils::isUnset($request->sn)) { $query['sn'] = $request->sn; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'RemoveDevice', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/devices', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RemoveDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RemoveDeviceRequest $request * * @return RemoveDeviceResponse */ public function removeDevice($request) { $runtime = new RuntimeOptions([]); $headers = new RemoveDeviceHeaders([]); return $this->removeDeviceWithOptions($request, $headers, $runtime); } /** * @param ReportDeviceLogRequest $request * @param ReportDeviceLogHeaders $headers * @param RuntimeOptions $runtime * * @return ReportDeviceLogResponse */ public function reportDeviceLogWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->mediaId)) { $query['mediaId'] = $request->mediaId; } if (!Utils::isUnset($request->sn)) { $query['sn'] = $request->sn; } 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' => 'ReportDeviceLog', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/deviceLogs/report', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ReportDeviceLogResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ReportDeviceLogRequest $request * * @return ReportDeviceLogResponse */ public function reportDeviceLog($request) { $runtime = new RuntimeOptions([]); $headers = new ReportDeviceLogHeaders([]); return $this->reportDeviceLogWithOptions($request, $headers, $runtime); } /** * @param ReportDeviceUseLogRequest $request * @param ReportDeviceUseLogHeaders $headers * @param RuntimeOptions $runtime * * @return ReportDeviceUseLogResponse */ public function reportDeviceUseLogWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->orderNo)) { $body['orderNo'] = $request->orderNo; } if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } 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' => 'ReportDeviceUseLog', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/deviceUseLogs/report', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ReportDeviceUseLogResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ReportDeviceUseLogRequest $request * * @return ReportDeviceUseLogResponse */ public function reportDeviceUseLog($request) { $runtime = new RuntimeOptions([]); $headers = new ReportDeviceUseLogHeaders([]); return $this->reportDeviceUseLogWithOptions($request, $headers, $runtime); } /** * @param RollbackDeductPointRequest $request * @param RollbackDeductPointHeaders $headers * @param RuntimeOptions $runtime * * @return RollbackDeductPointResponse */ public function rollbackDeductPointWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->pointType)) { $body['pointType'] = $request->pointType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RollbackDeductPoint', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/deductPoints/rollback', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RollbackDeductPointResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RollbackDeductPointRequest $request * * @return RollbackDeductPointResponse */ public function rollbackDeductPoint($request) { $runtime = new RuntimeOptions([]); $headers = new RollbackDeductPointHeaders([]); return $this->rollbackDeductPointWithOptions($request, $headers, $runtime); } /** * @param SaveClassLearningDataRequest $request * @param SaveClassLearningDataHeaders $headers * @param RuntimeOptions $runtime * * @return SaveClassLearningDataResponse */ public function saveClassLearningDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->assignNum)) { $body['assignNum'] = $request->assignNum; } if (!Utils::isUnset($request->assignStudentUserIds)) { $body['assignStudentUserIds'] = $request->assignStudentUserIds; } if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } if (!Utils::isUnset($request->fileSuffix)) { $body['fileSuffix'] = $request->fileSuffix; } if (!Utils::isUnset($request->generatedTime)) { $body['generatedTime'] = $request->generatedTime; } if (!Utils::isUnset($request->questionNum)) { $body['questionNum'] = $request->questionNum; } if (!Utils::isUnset($request->questionPictureNum)) { $body['questionPictureNum'] = $request->questionPictureNum; } if (!Utils::isUnset($request->standardAnswerPictureNum)) { $body['standardAnswerPictureNum'] = $request->standardAnswerPictureNum; } if (!Utils::isUnset($request->subjectCode)) { $body['subjectCode'] = $request->subjectCode; } if (!Utils::isUnset($request->teacherUserId)) { $body['teacherUserId'] = $request->teacherUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SaveClassLearningData', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/classes/learnings/datas/save', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveClassLearningDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SaveClassLearningDataRequest $request * * @return SaveClassLearningDataResponse */ public function saveClassLearningData($request) { $runtime = new RuntimeOptions([]); $headers = new SaveClassLearningDataHeaders([]); return $this->saveClassLearningDataWithOptions($request, $headers, $runtime); } /** * @param SaveStudentLearningDataRequest $request * @param SaveStudentLearningDataHeaders $headers * @param RuntimeOptions $runtime * * @return SaveStudentLearningDataResponse */ public function saveStudentLearningDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->assignNum)) { $body['assignNum'] = $request->assignNum; } if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->correctNum)) { $body['correctNum'] = $request->correctNum; } if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } if (!Utils::isUnset($request->fileSuffix)) { $body['fileSuffix'] = $request->fileSuffix; } if (!Utils::isUnset($request->generatedTime)) { $body['generatedTime'] = $request->generatedTime; } if (!Utils::isUnset($request->questionNum)) { $body['questionNum'] = $request->questionNum; } if (!Utils::isUnset($request->studentUserId)) { $body['studentUserId'] = $request->studentUserId; } if (!Utils::isUnset($request->subjectCode)) { $body['subjectCode'] = $request->subjectCode; } if (!Utils::isUnset($request->submitNum)) { $body['submitNum'] = $request->submitNum; } if (!Utils::isUnset($request->wrongQuestions)) { $body['wrongQuestions'] = $request->wrongQuestions; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SaveStudentLearningData', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/students/learnings/datas/save', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveStudentLearningDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SaveStudentLearningDataRequest $request * * @return SaveStudentLearningDataResponse */ public function saveStudentLearningData($request) { $runtime = new RuntimeOptions([]); $headers = new SaveStudentLearningDataHeaders([]); return $this->saveStudentLearningDataWithOptions($request, $headers, $runtime); } /** * @param SearchTeachersRequest $request * @param SearchTeachersHeaders $headers * @param RuntimeOptions $runtime * * @return SearchTeachersResponse */ public function searchTeachersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->nameKeyword)) { $query['nameKeyword'] = $request->nameKeyword; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SearchTeachers', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/teachers/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return SearchTeachersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchTeachersRequest $request * * @return SearchTeachersResponse */ public function searchTeachers($request) { $runtime = new RuntimeOptions([]); $headers = new SearchTeachersHeaders([]); return $this->searchTeachersWithOptions($request, $headers, $runtime); } /** * @param SendMessageRequest $request * @param SendMessageHeaders $headers * @param RuntimeOptions $runtime * * @return SendMessageResponse */ public function sendMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->fromUserId)) { $body['fromUserId'] = $request->fromUserId; } if (!Utils::isUnset($request->sn)) { $body['sn'] = $request->sn; } if (!Utils::isUnset($request->toUserIdList)) { $body['toUserIdList'] = $request->toUserIdList; } 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' => 'SendMessage', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/messages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendMessageRequest $request * * @return SendMessageResponse */ public function sendMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendMessageHeaders([]); return $this->sendMessageWithOptions($request, $headers, $runtime); } /** * @param StartCourseRequest $request * @param StartCourseHeaders $headers * @param RuntimeOptions $runtime * * @return StartCourseResponse */ public function startCourseWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->courseCode)) { $body['courseCode'] = $request->courseCode; } if (!Utils::isUnset($request->ext)) { $body['ext'] = $request->ext; } if (!Utils::isUnset($request->isvCode)) { $body['isvCode'] = $request->isvCode; } if (!Utils::isUnset($request->livePlayInfoList)) { $body['livePlayInfoList'] = $request->livePlayInfoList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'StartCourse', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/courses/start', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return StartCourseResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param StartCourseRequest $request * * @return StartCourseResponse */ public function startCourse($request) { $runtime = new RuntimeOptions([]); $headers = new StartCourseHeaders([]); return $this->startCourseWithOptions($request, $headers, $runtime); } /** * @param StartCoursePrepareRequest $request * @param StartCoursePrepareHeaders $headers * @param RuntimeOptions $runtime * * @return StartCoursePrepareResponse */ public function startCoursePrepareWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->courseDate)) { $body['courseDate'] = $request->courseDate; } if (!Utils::isUnset($request->courseGroupCode)) { $body['courseGroupCode'] = $request->courseGroupCode; } if (!Utils::isUnset($request->deviceId)) { $body['deviceId'] = $request->deviceId; } if (!Utils::isUnset($request->ext)) { $body['ext'] = $request->ext; } if (!Utils::isUnset($request->isvCode)) { $body['isvCode'] = $request->isvCode; } if (!Utils::isUnset($request->liveCoverImage)) { $body['liveCoverImage'] = $request->liveCoverImage; } if (!Utils::isUnset($request->sectionIndex)) { $body['sectionIndex'] = $request->sectionIndex; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'StartCoursePrepare', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/courses/prepare', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return StartCoursePrepareResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param StartCoursePrepareRequest $request * * @return StartCoursePrepareResponse */ public function startCoursePrepare($request) { $runtime = new RuntimeOptions([]); $headers = new StartCoursePrepareHeaders([]); return $this->startCoursePrepareWithOptions($request, $headers, $runtime); } /** * @param SubscribeUniversityCourseGroupRequest $request * @param SubscribeUniversityCourseGroupHeaders $headers * @param RuntimeOptions $runtime * * @return SubscribeUniversityCourseGroupResponse */ public function subscribeUniversityCourseGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->courseGroupCode)) { $body['courseGroupCode'] = $request->courseGroupCode; } if (!Utils::isUnset($request->studentUserIds)) { $body['studentUserIds'] = $request->studentUserIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'SubscribeUniversityCourseGroup', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/courseGroups/subscribe', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return SubscribeUniversityCourseGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SubscribeUniversityCourseGroupRequest $request * * @return SubscribeUniversityCourseGroupResponse */ public function subscribeUniversityCourseGroup($request) { $runtime = new RuntimeOptions([]); $headers = new SubscribeUniversityCourseGroupHeaders([]); return $this->subscribeUniversityCourseGroupWithOptions($request, $headers, $runtime); } /** * @param UnsubscribeUniversityCourseGroupRequest $request * @param UnsubscribeUniversityCourseGroupHeaders $headers * @param RuntimeOptions $runtime * * @return UnsubscribeUniversityCourseGroupResponse */ public function unsubscribeUniversityCourseGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->courseGroupCode)) { $body['courseGroupCode'] = $request->courseGroupCode; } if (!Utils::isUnset($request->studentUserIds)) { $body['studentUserIds'] = $request->studentUserIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UnsubscribeUniversityCourseGroup', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/courseGroups/unsubscribe', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UnsubscribeUniversityCourseGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UnsubscribeUniversityCourseGroupRequest $request * * @return UnsubscribeUniversityCourseGroupResponse */ public function unsubscribeUniversityCourseGroup($request) { $runtime = new RuntimeOptions([]); $headers = new UnsubscribeUniversityCourseGroupHeaders([]); return $this->unsubscribeUniversityCourseGroupWithOptions($request, $headers, $runtime); } /** * @param string $classId * @param UpdateCoursesOfClassRequest $request * @param UpdateCoursesOfClassHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateCoursesOfClassResponse */ public function updateCoursesOfClassWithOptions($classId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->courses)) { $body['courses'] = $request->courses; } if (!Utils::isUnset($request->sectionConfig)) { $body['sectionConfig'] = $request->sectionConfig; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdateCoursesOfClass', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/classes/' . $classId . '/courses/schedules', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateCoursesOfClassResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $classId * @param UpdateCoursesOfClassRequest $request * * @return UpdateCoursesOfClassResponse */ public function updateCoursesOfClass($classId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateCoursesOfClassHeaders([]); return $this->updateCoursesOfClassWithOptions($classId, $request, $headers, $runtime); } /** * @param UpdatePhysicalClassroomRequest $request * @param UpdatePhysicalClassroomHeaders $headers * @param RuntimeOptions $runtime * * @return UpdatePhysicalClassroomResponse */ public function updatePhysicalClassroomWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->classroomBuilding)) { $body['classroomBuilding'] = $request->classroomBuilding; } if (!Utils::isUnset($request->classroomCampus)) { $body['classroomCampus'] = $request->classroomCampus; } if (!Utils::isUnset($request->classroomFloor)) { $body['classroomFloor'] = $request->classroomFloor; } if (!Utils::isUnset($request->classroomId)) { $body['classroomId'] = $request->classroomId; } if (!Utils::isUnset($request->classroomName)) { $body['classroomName'] = $request->classroomName; } if (!Utils::isUnset($request->classroomNumber)) { $body['classroomNumber'] = $request->classroomNumber; } if (!Utils::isUnset($request->directBroadcast)) { $body['directBroadcast'] = $request->directBroadcast; } if (!Utils::isUnset($request->ext)) { $body['ext'] = $request->ext; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdatePhysicalClassroom', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/physicalClassrooms', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdatePhysicalClassroomResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdatePhysicalClassroomRequest $request * * @return UpdatePhysicalClassroomResponse */ public function updatePhysicalClassroom($request) { $runtime = new RuntimeOptions([]); $headers = new UpdatePhysicalClassroomHeaders([]); return $this->updatePhysicalClassroomWithOptions($request, $headers, $runtime); } /** * @param UpdateRemoteClassCourseRequest $request * @param UpdateRemoteClassCourseHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateRemoteClassCourseResponse */ public function updateRemoteClassCourseWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->attendParticipants)) { $body['attendParticipants'] = $request->attendParticipants; } if (!Utils::isUnset($request->authCode)) { $body['authCode'] = $request->authCode; } if (!Utils::isUnset($request->courseCode)) { $body['courseCode'] = $request->courseCode; } if (!Utils::isUnset($request->courseName)) { $body['courseName'] = $request->courseName; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->teachingParticipant)) { $body['teachingParticipant'] = $request->teachingParticipant; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateRemoteClassCourse', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/remoteClasses/courses', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateRemoteClassCourseResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateRemoteClassCourseRequest $request * * @return UpdateRemoteClassCourseResponse */ public function updateRemoteClassCourse($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateRemoteClassCourseHeaders([]); return $this->updateRemoteClassCourseWithOptions($request, $headers, $runtime); } /** * @param UpdateRemoteClassDeviceRequest $request * @param UpdateRemoteClassDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateRemoteClassDeviceResponse */ public function updateRemoteClassDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->authCode)) { $query['authCode'] = $request->authCode; } if (!Utils::isUnset($request->deviceCode)) { $query['deviceCode'] = $request->deviceCode; } if (!Utils::isUnset($request->deviceName)) { $query['deviceName'] = $request->deviceName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'UpdateRemoteClassDevice', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/remoteClasses/deviceNames', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateRemoteClassDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateRemoteClassDeviceRequest $request * * @return UpdateRemoteClassDeviceResponse */ public function updateRemoteClassDevice($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateRemoteClassDeviceHeaders([]); return $this->updateRemoteClassDeviceWithOptions($request, $headers, $runtime); } /** * @param UpdateUniversityCourseGroupRequest $request * @param UpdateUniversityCourseGroupHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateUniversityCourseGroupResponse */ public function updateUniversityCourseGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->courseGroupCode)) { $body['courseGroupCode'] = $request->courseGroupCode; } if (!Utils::isUnset($request->courseGroupIntroduce)) { $body['courseGroupIntroduce'] = $request->courseGroupIntroduce; } if (!Utils::isUnset($request->courseGroupName)) { $body['courseGroupName'] = $request->courseGroupName; } if (!Utils::isUnset($request->courserGroupItemModels)) { $body['courserGroupItemModels'] = $request->courserGroupItemModels; } if (!Utils::isUnset($request->ext)) { $body['ext'] = $request->ext; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdateUniversityCourseGroup', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/universities/courseGroups', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateUniversityCourseGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateUniversityCourseGroupRequest $request * * @return UpdateUniversityCourseGroupResponse */ public function updateUniversityCourseGroup($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateUniversityCourseGroupHeaders([]); return $this->updateUniversityCourseGroupWithOptions($request, $headers, $runtime); } /** * @param UploadLearningDataCallbackRequest $request * @param UploadLearningDataCallbackHeaders $headers * @param RuntimeOptions $runtime * * @return UploadLearningDataCallbackResponse */ public function uploadLearningDataCallbackWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } if (!Utils::isUnset($request->generatedTime)) { $body['generatedTime'] = $request->generatedTime; } if (!Utils::isUnset($request->studentUserId)) { $body['studentUserId'] = $request->studentUserId; } if (!Utils::isUnset($request->subjectCode)) { $body['subjectCode'] = $request->subjectCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UploadLearningDataCallback', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/uploadLearnings/datas/callback', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UploadLearningDataCallbackResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UploadLearningDataCallbackRequest $request * * @return UploadLearningDataCallbackResponse */ public function uploadLearningDataCallback($request) { $runtime = new RuntimeOptions([]); $headers = new UploadLearningDataCallbackHeaders([]); return $this->uploadLearningDataCallbackWithOptions($request, $headers, $runtime); } /** * @param VPaasProxyRequest $request * @param VPaasProxyHeaders $headers * @param RuntimeOptions $runtime * * @return VPaasProxyResponse */ public function vPaasProxyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->actionCode)) { $body['actionCode'] = $request->actionCode; } if (!Utils::isUnset($request->params)) { $body['params'] = $request->params; } if (!Utils::isUnset($request->publicKey)) { $body['publicKey'] = $request->publicKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'VPaasProxy', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/vpaas/proxy', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return VPaasProxyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param VPaasProxyRequest $request * * @return VPaasProxyResponse */ public function vPaasProxy($request) { $runtime = new RuntimeOptions([]); $headers = new VPaasProxyHeaders([]); return $this->vPaasProxyWithOptions($request, $headers, $runtime); } /** * @param ValidateNewGradeManagerRequest $request * @param ValidateNewGradeManagerHeaders $headers * @param RuntimeOptions $runtime * * @return ValidateNewGradeManagerResponse */ public function validateNewGradeManagerWithOptions($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' => 'ValidateNewGradeManager', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/newGrades/tasks/validate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ValidateNewGradeManagerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ValidateNewGradeManagerRequest $request * * @return ValidateNewGradeManagerResponse */ public function validateNewGradeManager($request) { $runtime = new RuntimeOptions([]); $headers = new ValidateNewGradeManagerHeaders([]); return $this->validateNewGradeManagerWithOptions($request, $headers, $runtime); } /** * @param ValidateUserRoleRequest $request * @param ValidateUserRoleHeaders $headers * @param RuntimeOptions $runtime * * @return ValidateUserRoleResponse */ public function validateUserRoleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->timeThreshold)) { $body['timeThreshold'] = $request->timeThreshold; } 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' => 'ValidateUserRole', 'version' => 'edu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/edu/users/roles/validate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ValidateUserRoleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ValidateUserRoleRequest $request * * @return ValidateUserRoleResponse */ public function validateUserRole($request) { $runtime = new RuntimeOptions([]); $headers = new ValidateUserRoleHeaders([]); return $this->validateUserRoleWithOptions($request, $headers, $runtime); } } src/edu_1_0/Models/ActivateDeviceHeaders.php000064400000002327146412132660014670 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ActivateDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/ActivateDeviceRequest.php000064400000004021146412132660014736 0ustar00 'licenseKey', 'model' => 'model', 'name' => 'name', 'sn' => 'sn', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->licenseKey) { $res['licenseKey'] = $this->licenseKey; } if (null !== $this->model) { $res['model'] = $this->model; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return ActivateDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['licenseKey'])) { $model->licenseKey = $map['licenseKey']; } if (isset($map['model'])) { $model->model = $map['model']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/edu_1_0/Models/ActivateDeviceResponse.php000064400000002721146412132660015111 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ActivateDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ActivateDeviceResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/ActivateDeviceResponseBody.php000064400000001470146412132660015727 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ActivateDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/AddCompetitionRecordHeaders.php000064400000002343146412132660016050 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddCompetitionRecordHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/AddCompetitionRecordRequest.php000064400000004453146412132660016131 0ustar00 'competitionCode', 'groupTemplateCode' => 'groupTemplateCode', 'joinGroup' => 'joinGroup', 'participantName' => 'participantName', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->competitionCode) { $res['competitionCode'] = $this->competitionCode; } if (null !== $this->groupTemplateCode) { $res['groupTemplateCode'] = $this->groupTemplateCode; } if (null !== $this->joinGroup) { $res['joinGroup'] = $this->joinGroup; } if (null !== $this->participantName) { $res['participantName'] = $this->participantName; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return AddCompetitionRecordRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['competitionCode'])) { $model->competitionCode = $map['competitionCode']; } if (isset($map['groupTemplateCode'])) { $model->groupTemplateCode = $map['groupTemplateCode']; } if (isset($map['joinGroup'])) { $model->joinGroup = $map['joinGroup']; } if (isset($map['participantName'])) { $model->participantName = $map['participantName']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/edu_1_0/Models/AddCompetitionRecordResponse.php000064400000002751146412132660016276 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddCompetitionRecordResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddCompetitionRecordResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/AddCompetitionRecordResponseBody.php000064400000001515146412132660017111 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AddCompetitionRecordResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/AddDeviceHeaders.php000064400000002315146412132660013615 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/AddDeviceRequest.php000064400000005061146412132660013673 0ustar00 'merchantId', 'model' => 'model', 'name' => 'name', 'scene' => 'scene', 'sn' => 'sn', 'status' => 'status', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->model) { $res['model'] = $this->model; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return AddDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['model'])) { $model->model = $map['model']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/edu_1_0/Models/AddDeviceResponse.php000064400000002675146412132660014051 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddDeviceResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/AddDeviceResponseBody.php000064400000003737146412132660014667 0ustar00 'corpId', 'id' => 'id', 'merchantId' => 'merchantId', 'sn' => 'sn', 'status' => 'status', ]; 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->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return AddDeviceResponseBody */ 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['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/edu_1_0/Models/AddSchoolConfigHeaders.php000064400000002331146412132660014771 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddSchoolConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/AddSchoolConfigRequest.php000064400000003215146412132660015050 0ustar00 'operatorId', 'operatorName' => 'operatorName', 'temperatureUpLimit' => 'temperatureUpLimit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->operatorName) { $res['operatorName'] = $this->operatorName; } if (null !== $this->temperatureUpLimit) { $res['temperatureUpLimit'] = $this->temperatureUpLimit; } return $res; } /** * @param array $map * * @return AddSchoolConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['operatorName'])) { $model->operatorName = $map['operatorName']; } if (isset($map['temperatureUpLimit'])) { $model->temperatureUpLimit = $map['temperatureUpLimit']; } return $model; } } src/edu_1_0/Models/AddSchoolConfigResponse.php000064400000002725146412132660015223 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddSchoolConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddSchoolConfigResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/AddSchoolConfigResponseBody.php000064400000001526146412132660016037 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AddSchoolConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/AssignClassHeaders.php000064400000002321146412132660014214 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AssignClassHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/AssignClassRequest.php000064400000004041146412132660014272 0ustar00 'classId', 'isFinish' => 'isFinish', 'operator' => 'operator', 'studentId' => 'studentId', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->isFinish) { $res['isFinish'] = $this->isFinish; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return AssignClassRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['isFinish'])) { $model->isFinish = $map['isFinish']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/edu_1_0/Models/AssignClassResponse.php000064400000002705146412132660014445 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AssignClassResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AssignClassResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/AssignClassResponseBody.php000064400000001473146412132660015264 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AssignClassResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/BatchCreateHeaders.php000064400000002321146412132660014147 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchCreateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/BatchCreateRequest.php000064400000005022146412132660014225 0ustar00 'cardBizCode', 'data' => 'data', 'identifier' => 'identifier', 'jsVersion' => 'jsVersion', 'sourceType' => 'sourceType', 'userid' => 'userid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardBizCode) { $res['cardBizCode'] = $this->cardBizCode; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->identifier) { $res['identifier'] = $this->identifier; } if (null !== $this->jsVersion) { $res['jsVersion'] = $this->jsVersion; } if (null !== $this->sourceType) { $res['sourceType'] = $this->sourceType; } if (null !== $this->userid) { $res['userid'] = $this->userid; } return $res; } /** * @param array $map * * @return BatchCreateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardBizCode'])) { $model->cardBizCode = $map['cardBizCode']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['identifier'])) { $model->identifier = $map['identifier']; } if (isset($map['jsVersion'])) { $model->jsVersion = $map['jsVersion']; } if (isset($map['sourceType'])) { $model->sourceType = $map['sourceType']; } if (isset($map['userid'])) { $model->userid = $map['userid']; } return $model; } } src/edu_1_0/Models/BatchCreateRequest/data.php000064400000017353146412132660015150 0ustar00 'canReissueCard', 'cardCycle' => 'cardCycle', 'cardFrequency' => 'cardFrequency', 'cardRuleItemParamList' => 'cardRuleItemParamList', 'classIds' => 'classIds', 'classNames' => 'classNames', 'content' => 'content', 'effectDate' => 'effectDate', 'medias' => 'medias', 'needMetering' => 'needMetering', 'orgClassStudentGroupList' => 'orgClassStudentGroupList', 'remindHour' => 'remindHour', 'remindMinute' => 'remindMinute', 'targetRole' => 'targetRole', 'templateId' => 'templateId', 'title' => 'title', 'unitOfMeasurement' => 'unitOfMeasurement', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->canReissueCard) { $res['canReissueCard'] = $this->canReissueCard; } if (null !== $this->cardCycle) { $res['cardCycle'] = $this->cardCycle; } if (null !== $this->cardFrequency) { $res['cardFrequency'] = $this->cardFrequency; } if (null !== $this->cardRuleItemParamList) { $res['cardRuleItemParamList'] = []; if (null !== $this->cardRuleItemParamList && \is_array($this->cardRuleItemParamList)) { $n = 0; foreach ($this->cardRuleItemParamList as $item) { $res['cardRuleItemParamList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->classIds) { $res['classIds'] = $this->classIds; } if (null !== $this->classNames) { $res['classNames'] = $this->classNames; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->effectDate) { $res['effectDate'] = $this->effectDate; } if (null !== $this->medias) { $res['medias'] = $this->medias; } if (null !== $this->needMetering) { $res['needMetering'] = $this->needMetering; } if (null !== $this->orgClassStudentGroupList) { $res['orgClassStudentGroupList'] = []; if (null !== $this->orgClassStudentGroupList && \is_array($this->orgClassStudentGroupList)) { $n = 0; foreach ($this->orgClassStudentGroupList as $item) { $res['orgClassStudentGroupList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->remindHour) { $res['remindHour'] = $this->remindHour; } if (null !== $this->remindMinute) { $res['remindMinute'] = $this->remindMinute; } if (null !== $this->targetRole) { $res['targetRole'] = $this->targetRole; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->unitOfMeasurement) { $res['unitOfMeasurement'] = $this->unitOfMeasurement; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['canReissueCard'])) { $model->canReissueCard = $map['canReissueCard']; } if (isset($map['cardCycle'])) { $model->cardCycle = $map['cardCycle']; } if (isset($map['cardFrequency'])) { if (!empty($map['cardFrequency'])) { $model->cardFrequency = $map['cardFrequency']; } } if (isset($map['cardRuleItemParamList'])) { if (!empty($map['cardRuleItemParamList'])) { $model->cardRuleItemParamList = []; $n = 0; foreach ($map['cardRuleItemParamList'] as $item) { $model->cardRuleItemParamList[$n++] = null !== $item ? cardRuleItemParamList::fromMap($item) : $item; } } } if (isset($map['classIds'])) { if (!empty($map['classIds'])) { $model->classIds = $map['classIds']; } } if (isset($map['classNames'])) { if (!empty($map['classNames'])) { $model->classNames = $map['classNames']; } } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['effectDate'])) { $model->effectDate = $map['effectDate']; } if (isset($map['medias'])) { $model->medias = $map['medias']; } if (isset($map['needMetering'])) { $model->needMetering = $map['needMetering']; } if (isset($map['orgClassStudentGroupList'])) { if (!empty($map['orgClassStudentGroupList'])) { $model->orgClassStudentGroupList = []; $n = 0; foreach ($map['orgClassStudentGroupList'] as $item) { $model->orgClassStudentGroupList[$n++] = null !== $item ? orgClassStudentGroupList::fromMap($item) : $item; } } } if (isset($map['remindHour'])) { $model->remindHour = $map['remindHour']; } if (isset($map['remindMinute'])) { $model->remindMinute = $map['remindMinute']; } if (isset($map['targetRole'])) { $model->targetRole = $map['targetRole']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['unitOfMeasurement'])) { $model->unitOfMeasurement = $map['unitOfMeasurement']; } return $model; } } src/edu_1_0/Models/BatchCreateRequest/data/cardRuleItemParamList.php000064400000004705146412132660021342 0ustar00 'cardRuleAttr', 'cardTaskCode' => 'cardTaskCode', 'dailyDubbing' => 'dailyDubbing', 'relationId' => 'relationId', 'relationTitle' => 'relationTitle', 'relationUrl' => 'relationUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardRuleAttr) { $res['cardRuleAttr'] = $this->cardRuleAttr; } if (null !== $this->cardTaskCode) { $res['cardTaskCode'] = $this->cardTaskCode; } if (null !== $this->dailyDubbing) { $res['dailyDubbing'] = $this->dailyDubbing; } if (null !== $this->relationId) { $res['relationId'] = $this->relationId; } if (null !== $this->relationTitle) { $res['relationTitle'] = $this->relationTitle; } if (null !== $this->relationUrl) { $res['relationUrl'] = $this->relationUrl; } return $res; } /** * @param array $map * * @return cardRuleItemParamList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardRuleAttr'])) { $model->cardRuleAttr = $map['cardRuleAttr']; } if (isset($map['cardTaskCode'])) { $model->cardTaskCode = $map['cardTaskCode']; } if (isset($map['dailyDubbing'])) { $model->dailyDubbing = $map['dailyDubbing']; } if (isset($map['relationId'])) { $model->relationId = $map['relationId']; } if (isset($map['relationTitle'])) { $model->relationTitle = $map['relationTitle']; } if (isset($map['relationUrl'])) { $model->relationUrl = $map['relationUrl']; } return $model; } } src/edu_1_0/Models/BatchCreateRequest/data/orgClassStudentGroupList.php000064400000003356146412132660022143 0ustar00 'classList', 'corpId' => 'corpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classList) { $res['classList'] = []; if (null !== $this->classList && \is_array($this->classList)) { $n = 0; foreach ($this->classList as $item) { $res['classList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } return $res; } /** * @param array $map * * @return orgClassStudentGroupList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classList'])) { if (!empty($map['classList'])) { $model->classList = []; $n = 0; foreach ($map['classList'] as $item) { $model->classList[$n++] = null !== $item ? classList::fromMap($item) : $item; } } } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } return $model; } } src/edu_1_0/Models/BatchCreateRequest/data/orgClassStudentGroupList/classList.php000064400000004020146412132660024071 0ustar00 'classId', 'className' => 'className', 'students' => 'students', ]; 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->students) { $res['students'] = []; if (null !== $this->students && \is_array($this->students)) { $n = 0; foreach ($this->students as $item) { $res['students'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return classList */ 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['students'])) { if (!empty($map['students'])) { $model->students = []; $n = 0; foreach ($map['students'] as $item) { $model->students[$n++] = null !== $item ? students::fromMap($item) : $item; } } } return $model; } } src/edu_1_0/Models/BatchCreateRequest/data/orgClassStudentGroupList/classList/students.php000064400000002131146412132660025743 0ustar00 'name', 'staffId' => 'staffId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->staffId) { $res['staffId'] = $this->staffId; } return $res; } /** * @param array $map * * @return students */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['staffId'])) { $model->staffId = $map['staffId']; } return $model; } } src/edu_1_0/Models/BatchCreateResponse.php000064400000002705146412132660014400 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchCreateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchCreateResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/BatchCreateResponseBody.php000064400000001674146412132660015222 0ustar00 '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 BatchCreateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/edu_1_0/Models/BatchCreateResponseBody/result.php000064400000001575146412132660016540 0ustar00 'corpIdCardIdMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpIdCardIdMap) { $res['corpIdCardIdMap'] = $this->corpIdCardIdMap; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpIdCardIdMap'])) { $model->corpIdCardIdMap = $map['corpIdCardIdMap']; } return $model; } } src/edu_1_0/Models/BatchOrgCreateHWHeaders.php000064400000002333146412132660015061 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchOrgCreateHWHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/BatchOrgCreateHWRequest.php000064400000016076146412132660015147 0ustar00 'attributes', 'bizCode' => 'bizCode', 'courseName' => 'courseName', 'hwContent' => 'hwContent', 'hwDeadline' => 'hwDeadline', 'hwDeadlineOpen' => 'hwDeadlineOpen', 'hwMedia' => 'hwMedia', 'hwPhoto' => 'hwPhoto', 'hwTitle' => 'hwTitle', 'hwType' => 'hwType', 'hwVideo' => 'hwVideo', 'identifier' => 'identifier', 'openSelectItemList' => 'openSelectItemList', 'scheduledRelease' => 'scheduledRelease', 'scheduledTime' => 'scheduledTime', 'status' => 'status', 'targetRole' => 'targetRole', 'teacherName' => 'teacherName', 'teacherUserId' => 'teacherUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attributes) { $res['attributes'] = $this->attributes; } if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->courseName) { $res['courseName'] = $this->courseName; } if (null !== $this->hwContent) { $res['hwContent'] = $this->hwContent; } if (null !== $this->hwDeadline) { $res['hwDeadline'] = $this->hwDeadline; } if (null !== $this->hwDeadlineOpen) { $res['hwDeadlineOpen'] = $this->hwDeadlineOpen; } if (null !== $this->hwMedia) { $res['hwMedia'] = $this->hwMedia; } if (null !== $this->hwPhoto) { $res['hwPhoto'] = $this->hwPhoto; } if (null !== $this->hwTitle) { $res['hwTitle'] = $this->hwTitle; } if (null !== $this->hwType) { $res['hwType'] = $this->hwType; } if (null !== $this->hwVideo) { $res['hwVideo'] = $this->hwVideo; } if (null !== $this->identifier) { $res['identifier'] = $this->identifier; } if (null !== $this->openSelectItemList) { $res['openSelectItemList'] = []; if (null !== $this->openSelectItemList && \is_array($this->openSelectItemList)) { $n = 0; foreach ($this->openSelectItemList as $item) { $res['openSelectItemList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->scheduledRelease) { $res['scheduledRelease'] = $this->scheduledRelease; } if (null !== $this->scheduledTime) { $res['scheduledTime'] = $this->scheduledTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->targetRole) { $res['targetRole'] = $this->targetRole; } if (null !== $this->teacherName) { $res['teacherName'] = $this->teacherName; } if (null !== $this->teacherUserId) { $res['teacherUserId'] = $this->teacherUserId; } return $res; } /** * @param array $map * * @return BatchOrgCreateHWRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attributes'])) { $model->attributes = $map['attributes']; } if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['courseName'])) { $model->courseName = $map['courseName']; } if (isset($map['hwContent'])) { $model->hwContent = $map['hwContent']; } if (isset($map['hwDeadline'])) { $model->hwDeadline = $map['hwDeadline']; } if (isset($map['hwDeadlineOpen'])) { $model->hwDeadlineOpen = $map['hwDeadlineOpen']; } if (isset($map['hwMedia'])) { $model->hwMedia = $map['hwMedia']; } if (isset($map['hwPhoto'])) { $model->hwPhoto = $map['hwPhoto']; } if (isset($map['hwTitle'])) { $model->hwTitle = $map['hwTitle']; } if (isset($map['hwType'])) { $model->hwType = $map['hwType']; } if (isset($map['hwVideo'])) { $model->hwVideo = $map['hwVideo']; } if (isset($map['identifier'])) { $model->identifier = $map['identifier']; } if (isset($map['openSelectItemList'])) { if (!empty($map['openSelectItemList'])) { $model->openSelectItemList = []; $n = 0; foreach ($map['openSelectItemList'] as $item) { $model->openSelectItemList[$n++] = null !== $item ? openSelectItemList::fromMap($item) : $item; } } } if (isset($map['scheduledRelease'])) { $model->scheduledRelease = $map['scheduledRelease']; } if (isset($map['scheduledTime'])) { $model->scheduledTime = $map['scheduledTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['targetRole'])) { $model->targetRole = $map['targetRole']; } if (isset($map['teacherName'])) { $model->teacherName = $map['teacherName']; } if (isset($map['teacherUserId'])) { $model->teacherUserId = $map['teacherUserId']; } return $model; } } src/edu_1_0/Models/BatchOrgCreateHWRequest/openSelectItemList.php000064400000004163146412132660020715 0ustar00 'classList', 'corpId' => 'corpId', 'selectedClassesDesc' => 'selectedClassesDesc', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classList) { $res['classList'] = []; if (null !== $this->classList && \is_array($this->classList)) { $n = 0; foreach ($this->classList as $item) { $res['classList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->selectedClassesDesc) { $res['selectedClassesDesc'] = $this->selectedClassesDesc; } return $res; } /** * @param array $map * * @return openSelectItemList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classList'])) { if (!empty($map['classList'])) { $model->classList = []; $n = 0; foreach ($map['classList'] as $item) { $model->classList[$n++] = null !== $item ? classList::fromMap($item) : $item; } } } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['selectedClassesDesc'])) { $model->selectedClassesDesc = $map['selectedClassesDesc']; } return $model; } } src/edu_1_0/Models/BatchOrgCreateHWRequest/openSelectItemList/classList.php000064400000004376146412132660022664 0ustar00 'all', 'classId' => 'classId', 'className' => 'className', 'students' => 'students', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->all) { $res['all'] = $this->all; } if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->className) { $res['className'] = $this->className; } if (null !== $this->students) { $res['students'] = []; if (null !== $this->students && \is_array($this->students)) { $n = 0; foreach ($this->students as $item) { $res['students'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return classList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['all'])) { $model->all = $map['all']; } if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['className'])) { $model->className = $map['className']; } if (isset($map['students'])) { if (!empty($map['students'])) { $model->students = []; $n = 0; foreach ($map['students'] as $item) { $model->students[$n++] = null !== $item ? students::fromMap($item) : $item; } } } return $model; } } src/edu_1_0/Models/BatchOrgCreateHWRequest/openSelectItemList/classList/students.php000064400000002542146412132660024526 0ustar00 'avatar', 'name' => 'name', 'staffId' => 'staffId', ]; 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->staffId) { $res['staffId'] = $this->staffId; } return $res; } /** * @param array $map * * @return students */ 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['staffId'])) { $model->staffId = $map['staffId']; } return $model; } } src/edu_1_0/Models/BatchOrgCreateHWResponse.php000064400000002731146412132660015306 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchOrgCreateHWResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchOrgCreateHWResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/BatchOrgCreateHWResponseBody.php000064400000001713146412132660016123 0ustar00 '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 BatchOrgCreateHWResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/edu_1_0/Models/BatchOrgCreateHWResponseBody/result.php000064400000002725146412132660017445 0ustar00 'publishList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->publishList) { $res['publishList'] = []; if (null !== $this->publishList && \is_array($this->publishList)) { $n = 0; foreach ($this->publishList as $item) { $res['publishList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['publishList'])) { if (!empty($map['publishList'])) { $model->publishList = []; $n = 0; foreach ($map['publishList'] as $item) { $model->publishList[$n++] = null !== $item ? publishList::fromMap($item) : $item; } } } return $model; } } src/edu_1_0/Models/BatchOrgCreateHWResponseBody/result/publishList.php000064400000002073146412132660021743 0ustar00 'corpid', 'hwid' => 'hwid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpid) { $res['corpid'] = $this->corpid; } if (null !== $this->hwid) { $res['hwid'] = $this->hwid; } return $res; } /** * @param array $map * * @return publishList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpid'])) { $model->corpid = $map['corpid']; } if (isset($map['hwid'])) { $model->hwid = $map['hwid']; } return $model; } } src/edu_1_0/Models/CancelOrderHeaders.php000064400000002321146412132660014163 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CancelOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CancelOrderRequest.php000064400000004770146412132660014252 0ustar00 'faceId', 'orderNo' => 'orderNo', 'signature' => 'signature', 'sn' => 'sn', 'timestamp' => 'timestamp', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->faceId) { $res['faceId'] = $this->faceId; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->signature) { $res['signature'] = $this->signature; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CancelOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['faceId'])) { $model->faceId = $map['faceId']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/CancelOrderResponse.php000064400000002705146412132660014414 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CancelOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CancelOrderResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CancelOrderResponseBody.php000064400000002305146412132660015226 0ustar00 'needRetry', 'tradeAction' => 'tradeAction', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->needRetry) { $res['needRetry'] = $this->needRetry; } if (null !== $this->tradeAction) { $res['tradeAction'] = $this->tradeAction; } return $res; } /** * @param array $map * * @return CancelOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['needRetry'])) { $model->needRetry = $map['needRetry']; } if (isset($map['tradeAction'])) { $model->tradeAction = $map['tradeAction']; } return $model; } } src/edu_1_0/Models/CancelSnsOrderHeaders.php000064400000002327146412132660014655 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CancelSnsOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CancelSnsOrderRequest.php000064400000004272146412132660014733 0ustar00 'alipayAppId', 'merchantId' => 'merchantId', 'orderNo' => 'orderNo', 'signature' => 'signature', 'timestamp' => 'timestamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alipayAppId) { $res['alipayAppId'] = $this->alipayAppId; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->signature) { $res['signature'] = $this->signature; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } return $res; } /** * @param array $map * * @return CancelSnsOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alipayAppId'])) { $model->alipayAppId = $map['alipayAppId']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } return $model; } } src/edu_1_0/Models/CancelSnsOrderResponse.php000064400000002721146412132660015076 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CancelSnsOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CancelSnsOrderResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CancelSnsOrderResponseBody.php000064400000005507146412132660015721 0ustar00 'alipayAppId', 'merchantId' => 'merchantId', 'merchantOrderNo' => 'merchantOrderNo', 'orderNo' => 'orderNo', 'payStatus' => 'payStatus', 'refundStatus' => 'refundStatus', 'totalAmount' => 'totalAmount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alipayAppId) { $res['alipayAppId'] = $this->alipayAppId; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->merchantOrderNo) { $res['merchantOrderNo'] = $this->merchantOrderNo; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->payStatus) { $res['payStatus'] = $this->payStatus; } if (null !== $this->refundStatus) { $res['refundStatus'] = $this->refundStatus; } if (null !== $this->totalAmount) { $res['totalAmount'] = $this->totalAmount; } return $res; } /** * @param array $map * * @return CancelSnsOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alipayAppId'])) { $model->alipayAppId = $map['alipayAppId']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['merchantOrderNo'])) { $model->merchantOrderNo = $map['merchantOrderNo']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['payStatus'])) { $model->payStatus = $map['payStatus']; } if (isset($map['refundStatus'])) { $model->refundStatus = $map['refundStatus']; } if (isset($map['totalAmount'])) { $model->totalAmount = $map['totalAmount']; } return $model; } } src/edu_1_0/Models/CancelUserOrderHeaders.php000064400000002331146412132660015023 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CancelUserOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CancelUserOrderRequest.php000064400000004274146412132660015110 0ustar00 'alipayAppId', 'merchantId' => 'merchantId', 'orderNo' => 'orderNo', 'signature' => 'signature', 'timestamp' => 'timestamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alipayAppId) { $res['alipayAppId'] = $this->alipayAppId; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->signature) { $res['signature'] = $this->signature; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } return $res; } /** * @param array $map * * @return CancelUserOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alipayAppId'])) { $model->alipayAppId = $map['alipayAppId']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } return $model; } } src/edu_1_0/Models/CancelUserOrderResponse.php000064400000002725146412132660015255 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CancelUserOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CancelUserOrderResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CancelUserOrderResponseBody.php000064400000005511146412132660016067 0ustar00 'alipayAppId', 'merchantId' => 'merchantId', 'merchantOrderNo' => 'merchantOrderNo', 'orderNo' => 'orderNo', 'payStatus' => 'payStatus', 'refundStatus' => 'refundStatus', 'totalAmount' => 'totalAmount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alipayAppId) { $res['alipayAppId'] = $this->alipayAppId; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->merchantOrderNo) { $res['merchantOrderNo'] = $this->merchantOrderNo; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->payStatus) { $res['payStatus'] = $this->payStatus; } if (null !== $this->refundStatus) { $res['refundStatus'] = $this->refundStatus; } if (null !== $this->totalAmount) { $res['totalAmount'] = $this->totalAmount; } return $res; } /** * @param array $map * * @return CancelUserOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alipayAppId'])) { $model->alipayAppId = $map['alipayAppId']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['merchantOrderNo'])) { $model->merchantOrderNo = $map['merchantOrderNo']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['payStatus'])) { $model->payStatus = $map['payStatus']; } if (isset($map['refundStatus'])) { $model->refundStatus = $map['refundStatus']; } if (isset($map['totalAmount'])) { $model->totalAmount = $map['totalAmount']; } return $model; } } src/edu_1_0/Models/CardBatchQueryCardsHeaders.php000064400000002341146412132660015622 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CardBatchQueryCardsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CardBatchQueryCardsRequest.php000064400000003557146412132660015711 0ustar00 'cardBizCode', 'cardIds' => 'cardIds', 'sourceType' => 'sourceType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardBizCode) { $res['cardBizCode'] = $this->cardBizCode; } if (null !== $this->cardIds) { $res['cardIds'] = $this->cardIds; } if (null !== $this->sourceType) { $res['sourceType'] = $this->sourceType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CardBatchQueryCardsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardBizCode'])) { $model->cardBizCode = $map['cardBizCode']; } if (isset($map['cardIds'])) { if (!empty($map['cardIds'])) { $model->cardIds = $map['cardIds']; } } if (isset($map['sourceType'])) { $model->sourceType = $map['sourceType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/CardBatchQueryCardsResponse.php000064400000002745146412132660016055 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CardBatchQueryCardsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CardBatchQueryCardsResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CardBatchQueryCardsResponseBody.php000064400000002352146412132660016665 0ustar00 '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 CardBatchQueryCardsResponseBody */ 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/edu_1_0/Models/CardBatchQueryCardsResponseBody/result.php000064400000002557146412132660020212 0ustar00 'cards', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cards) { $res['cards'] = []; if (null !== $this->cards && \is_array($this->cards)) { $n = 0; foreach ($this->cards as $item) { $res['cards'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cards'])) { if (!empty($map['cards'])) { $model->cards = []; $n = 0; foreach ($map['cards'] as $item) { $model->cards[$n++] = null !== $item ? cards::fromMap($item) : $item; } } } return $model; } } src/edu_1_0/Models/CardBatchQueryCardsResponseBody/result/cards.php000064400000014535146412132660021305 0ustar00 'cardBizCode', 'cardId' => 'cardId', 'cardStatus' => 'cardStatus', 'content' => 'content', 'corpId' => 'corpId', 'effectTime' => 'effectTime', 'finished' => 'finished', 'gmtCreate' => 'gmtCreate', 'optEndTime' => 'optEndTime', 'optEndUserId' => 'optEndUserId', 'optEndUserName' => 'optEndUserName', 'sendTime' => 'sendTime', 'startTime' => 'startTime', 'status' => 'status', 'teacherId' => 'teacherId', 'teacherName' => 'teacherName', 'title' => 'title', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardBizCode) { $res['cardBizCode'] = $this->cardBizCode; } if (null !== $this->cardId) { $res['cardId'] = $this->cardId; } if (null !== $this->cardStatus) { $res['cardStatus'] = $this->cardStatus; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->effectTime) { $res['effectTime'] = $this->effectTime; } if (null !== $this->finished) { $res['finished'] = $this->finished; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->optEndTime) { $res['optEndTime'] = $this->optEndTime; } if (null !== $this->optEndUserId) { $res['optEndUserId'] = $this->optEndUserId; } if (null !== $this->optEndUserName) { $res['optEndUserName'] = $this->optEndUserName; } if (null !== $this->sendTime) { $res['sendTime'] = $this->sendTime; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->teacherId) { $res['teacherId'] = $this->teacherId; } if (null !== $this->teacherName) { $res['teacherName'] = $this->teacherName; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return cards */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardBizCode'])) { $model->cardBizCode = $map['cardBizCode']; } if (isset($map['cardId'])) { $model->cardId = $map['cardId']; } if (isset($map['cardStatus'])) { $model->cardStatus = $map['cardStatus']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['effectTime'])) { $model->effectTime = $map['effectTime']; } if (isset($map['finished'])) { $model->finished = $map['finished']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['optEndTime'])) { $model->optEndTime = $map['optEndTime']; } if (isset($map['optEndUserId'])) { $model->optEndUserId = $map['optEndUserId']; } if (isset($map['optEndUserName'])) { $model->optEndUserName = $map['optEndUserName']; } if (isset($map['sendTime'])) { $model->sendTime = $map['sendTime']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['teacherId'])) { $model->teacherId = $map['teacherId']; } if (isset($map['teacherName'])) { $model->teacherName = $map['teacherName']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/edu_1_0/Models/CardDeleteCardHeaders.php000064400000002327146412132660014576 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CardDeleteCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CardDeleteCardRequest.php000064400000004206146412132660014651 0ustar00 'cardBizCode', 'cardBizId' => 'cardBizId', 'cardId' => 'cardId', 'sourceType' => 'sourceType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardBizCode) { $res['cardBizCode'] = $this->cardBizCode; } if (null !== $this->cardBizId) { $res['cardBizId'] = $this->cardBizId; } if (null !== $this->cardId) { $res['cardId'] = $this->cardId; } if (null !== $this->sourceType) { $res['sourceType'] = $this->sourceType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CardDeleteCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardBizCode'])) { $model->cardBizCode = $map['cardBizCode']; } if (isset($map['cardBizId'])) { $model->cardBizId = $map['cardBizId']; } if (isset($map['cardId'])) { $model->cardId = $map['cardId']; } if (isset($map['sourceType'])) { $model->sourceType = $map['sourceType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/CardDeleteCardResponse.php000064400000002721146412132660015017 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CardDeleteCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CardDeleteCardResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CardDeleteCardResponseBody.php000064400000002116146412132660015633 0ustar00 '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 CardDeleteCardResponseBody */ 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/edu_1_0/Models/CardEndCardHeaders.php000064400000002321146412132660014074 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CardEndCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CardEndCardRequest.php000064400000004205146412132660014154 0ustar00 'cardBizCode', 'cardBizId' => 'cardBizId', 'cardId' => 'cardId', 'sourceType' => 'sourceType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardBizCode) { $res['cardBizCode'] = $this->cardBizCode; } if (null !== $this->cardBizId) { $res['cardBizId'] = $this->cardBizId; } if (null !== $this->cardId) { $res['cardId'] = $this->cardId; } if (null !== $this->sourceType) { $res['sourceType'] = $this->sourceType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CardEndCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardBizCode'])) { $model->cardBizCode = $map['cardBizCode']; } if (isset($map['cardBizId'])) { $model->cardBizId = $map['cardBizId']; } if (isset($map['cardId'])) { $model->cardId = $map['cardId']; } if (isset($map['sourceType'])) { $model->sourceType = $map['sourceType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/CardEndCardResponse.php000064400000002705146412132660014325 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CardEndCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CardEndCardResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CardEndCardResponseBody.php000064400000002110146412132660015131 0ustar00 '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 CardEndCardResponseBody */ 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/edu_1_0/Models/CardGetCardFinishProgressHeaders.php000064400000002355146412132660017002 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CardGetCardFinishProgressHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CardGetCardFinishProgressRequest.php000064400000004767146412132660017070 0ustar00 'cardBizCode', 'cardBizId' => 'cardBizId', 'cardId' => 'cardId', 'sourceType' => 'sourceType', 'studentId' => 'studentId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardBizCode) { $res['cardBizCode'] = $this->cardBizCode; } if (null !== $this->cardBizId) { $res['cardBizId'] = $this->cardBizId; } if (null !== $this->cardId) { $res['cardId'] = $this->cardId; } if (null !== $this->sourceType) { $res['sourceType'] = $this->sourceType; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CardGetCardFinishProgressRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardBizCode'])) { $model->cardBizCode = $map['cardBizCode']; } if (isset($map['cardBizId'])) { $model->cardBizId = $map['cardBizId']; } if (isset($map['cardId'])) { $model->cardId = $map['cardId']; } if (isset($map['sourceType'])) { $model->sourceType = $map['sourceType']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/CardGetCardFinishProgressResponse.php000064400000002775146412132660017233 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CardGetCardFinishProgressResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CardGetCardFinishProgressResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CardGetCardFinishProgressResponseBody.php000064400000002374146412132660020044 0ustar00 '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 CardGetCardFinishProgressResponseBody */ 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/edu_1_0/Models/CardGetCardFinishProgressResponseBody/result.php000064400000006052146412132660021357 0ustar00 'classStatistics', 'patriarchStatistics' => 'patriarchStatistics', 'studentNameList' => 'studentNameList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classStatistics) { $res['classStatistics'] = []; if (null !== $this->classStatistics && \is_array($this->classStatistics)) { $n = 0; foreach ($this->classStatistics as $item) { $res['classStatistics'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->patriarchStatistics) { $res['patriarchStatistics'] = []; if (null !== $this->patriarchStatistics && \is_array($this->patriarchStatistics)) { $n = 0; foreach ($this->patriarchStatistics as $item) { $res['patriarchStatistics'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->studentNameList) { $res['studentNameList'] = $this->studentNameList; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classStatistics'])) { if (!empty($map['classStatistics'])) { $model->classStatistics = []; $n = 0; foreach ($map['classStatistics'] as $item) { $model->classStatistics[$n++] = null !== $item ? classStatistics::fromMap($item) : $item; } } } if (isset($map['patriarchStatistics'])) { if (!empty($map['patriarchStatistics'])) { $model->patriarchStatistics = []; $n = 0; foreach ($map['patriarchStatistics'] as $item) { $model->patriarchStatistics[$n++] = null !== $item ? patriarchStatistics::fromMap($item) : $item; } } } if (isset($map['studentNameList'])) { if (!empty($map['studentNameList'])) { $model->studentNameList = $map['studentNameList']; } } return $model; } } src/edu_1_0/Models/CardGetCardFinishProgressResponseBody/result/classStatistics.php000064400000005402146412132660024535 0ustar00 'cardBizId', 'cardBizName' => 'cardBizName', 'classId' => 'classId', 'className' => 'className', 'process' => 'process', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardBizId) { $res['cardBizId'] = $this->cardBizId; } if (null !== $this->cardBizName) { $res['cardBizName'] = $this->cardBizName; } if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->className) { $res['className'] = $this->className; } if (null !== $this->process) { $res['process'] = []; if (null !== $this->process && \is_array($this->process)) { $n = 0; foreach ($this->process as $item) { $res['process'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return classStatistics */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardBizId'])) { $model->cardBizId = $map['cardBizId']; } if (isset($map['cardBizName'])) { $model->cardBizName = $map['cardBizName']; } if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['className'])) { $model->className = $map['className']; } if (isset($map['process'])) { if (!empty($map['process'])) { $model->process = []; $n = 0; foreach ($map['process'] as $item) { $model->process[$n++] = null !== $item ? process::fromMap($item) : $item; } } } return $model; } } src/edu_1_0/Models/CardGetCardFinishProgressResponseBody/result/classStatistics/process.php000064400000004506146412132660026217 0ustar00 'date', 'finishedStudentsNum' => 'finishedStudentsNum', 'needFinishStudentsNum' => 'needFinishStudentsNum', 'taskCode' => 'taskCode', 'today' => 'today', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->finishedStudentsNum) { $res['finishedStudentsNum'] = $this->finishedStudentsNum; } if (null !== $this->needFinishStudentsNum) { $res['needFinishStudentsNum'] = $this->needFinishStudentsNum; } if (null !== $this->taskCode) { $res['taskCode'] = $this->taskCode; } if (null !== $this->today) { $res['today'] = $this->today; } return $res; } /** * @param array $map * * @return process */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['finishedStudentsNum'])) { $model->finishedStudentsNum = $map['finishedStudentsNum']; } if (isset($map['needFinishStudentsNum'])) { $model->needFinishStudentsNum = $map['needFinishStudentsNum']; } if (isset($map['taskCode'])) { $model->taskCode = $map['taskCode']; } if (isset($map['today'])) { $model->today = $map['today']; } return $model; } } src/edu_1_0/Models/CardGetCardFinishProgressResponseBody/result/patriarchStatistics.php000064400000007671146412132660025417 0ustar00 'cardTaskCode', 'date' => 'date', 'isFinished' => 'isFinished', 'isFinishedByReissueCard' => 'isFinishedByReissueCard', 'isLastDay' => 'isLastDay', 'reissueCard' => 'reissueCard', 'studentId' => 'studentId', 'studentName' => 'studentName', 'today' => 'today', 'userSubTaskId' => 'userSubTaskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardTaskCode) { $res['cardTaskCode'] = $this->cardTaskCode; } if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->isFinished) { $res['isFinished'] = $this->isFinished; } if (null !== $this->isFinishedByReissueCard) { $res['isFinishedByReissueCard'] = $this->isFinishedByReissueCard; } if (null !== $this->isLastDay) { $res['isLastDay'] = $this->isLastDay; } if (null !== $this->reissueCard) { $res['reissueCard'] = $this->reissueCard; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } if (null !== $this->studentName) { $res['studentName'] = $this->studentName; } if (null !== $this->today) { $res['today'] = $this->today; } if (null !== $this->userSubTaskId) { $res['userSubTaskId'] = $this->userSubTaskId; } return $res; } /** * @param array $map * * @return patriarchStatistics */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardTaskCode'])) { $model->cardTaskCode = $map['cardTaskCode']; } if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['isFinished'])) { $model->isFinished = $map['isFinished']; } if (isset($map['isFinishedByReissueCard'])) { $model->isFinishedByReissueCard = $map['isFinishedByReissueCard']; } if (isset($map['isLastDay'])) { $model->isLastDay = $map['isLastDay']; } if (isset($map['reissueCard'])) { $model->reissueCard = $map['reissueCard']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } if (isset($map['studentName'])) { $model->studentName = $map['studentName']; } if (isset($map['today'])) { $model->today = $map['today']; } if (isset($map['userSubTaskId'])) { $model->userSubTaskId = $map['userSubTaskId']; } return $model; } } src/edu_1_0/Models/CardGetCardHeaders.php000064400000002321146412132660014105 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CardGetCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CardGetCardRequest.php000064400000002237146412132660014170 0ustar00 'cardId', 'sourceType' => 'sourceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardId) { $res['cardId'] = $this->cardId; } if (null !== $this->sourceType) { $res['sourceType'] = $this->sourceType; } return $res; } /** * @param array $map * * @return CardGetCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardId'])) { $model->cardId = $map['cardId']; } if (isset($map['sourceType'])) { $model->sourceType = $map['sourceType']; } return $model; } } src/edu_1_0/Models/CardGetCardResponse.php000064400000002705146412132660014336 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CardGetCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CardGetCardResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CardGetCardResponseBody.php000064400000002322146412132660015147 0ustar00 '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 CardGetCardResponseBody */ 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/edu_1_0/Models/CardGetCardResponseBody/result.php000064400000033344146412132660016475 0ustar00 'attr', 'cardBizCode' => 'cardBizCode', 'cardBizId' => 'cardBizId', 'cardContentCount' => 'cardContentCount', 'cardCycle' => 'cardCycle', 'cardFrequency' => 'cardFrequency', 'cardId' => 'cardId', 'cardStatus' => 'cardStatus', 'cardUrl' => 'cardUrl', 'categoryContentTag' => 'categoryContentTag', 'categoryCoverImageUrl' => 'categoryCoverImageUrl', 'categoryCreateCardSmallImageUrl' => 'categoryCreateCardSmallImageUrl', 'categoryListSmallImageUrl' => 'categoryListSmallImageUrl', 'categoryName' => 'categoryName', 'classIds' => 'classIds', 'classNames' => 'classNames', 'content' => 'content', 'corpId' => 'corpId', 'effectTime' => 'effectTime', 'finished' => 'finished', 'media' => 'media', 'optEndTime' => 'optEndTime', 'optEndUserId' => 'optEndUserId', 'optEndUserName' => 'optEndUserName', 'remindNotPunchCardHour' => 'remindNotPunchCardHour', 'remindNotPunchCardMinute' => 'remindNotPunchCardMinute', 'sendTime' => 'sendTime', 'sourceType' => 'sourceType', 'startTime' => 'startTime', 'status' => 'status', 'systemTime' => 'systemTime', 'teacherId' => 'teacherId', 'teacherName' => 'teacherName', 'templateCoverImageUrl' => 'templateCoverImageUrl', 'title' => 'title', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attr) { $res['attr'] = $this->attr; } if (null !== $this->cardBizCode) { $res['cardBizCode'] = $this->cardBizCode; } if (null !== $this->cardBizId) { $res['cardBizId'] = $this->cardBizId; } if (null !== $this->cardContentCount) { $res['cardContentCount'] = $this->cardContentCount; } if (null !== $this->cardCycle) { $res['cardCycle'] = $this->cardCycle; } if (null !== $this->cardFrequency) { $res['cardFrequency'] = $this->cardFrequency; } if (null !== $this->cardId) { $res['cardId'] = $this->cardId; } if (null !== $this->cardStatus) { $res['cardStatus'] = $this->cardStatus; } if (null !== $this->cardUrl) { $res['cardUrl'] = $this->cardUrl; } if (null !== $this->categoryContentTag) { $res['categoryContentTag'] = $this->categoryContentTag; } if (null !== $this->categoryCoverImageUrl) { $res['categoryCoverImageUrl'] = $this->categoryCoverImageUrl; } if (null !== $this->categoryCreateCardSmallImageUrl) { $res['categoryCreateCardSmallImageUrl'] = $this->categoryCreateCardSmallImageUrl; } if (null !== $this->categoryListSmallImageUrl) { $res['categoryListSmallImageUrl'] = $this->categoryListSmallImageUrl; } if (null !== $this->categoryName) { $res['categoryName'] = $this->categoryName; } if (null !== $this->classIds) { $res['classIds'] = $this->classIds; } if (null !== $this->classNames) { $res['classNames'] = $this->classNames; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->effectTime) { $res['effectTime'] = $this->effectTime; } if (null !== $this->finished) { $res['finished'] = $this->finished; } if (null !== $this->media) { $res['media'] = $this->media; } if (null !== $this->optEndTime) { $res['optEndTime'] = $this->optEndTime; } if (null !== $this->optEndUserId) { $res['optEndUserId'] = $this->optEndUserId; } if (null !== $this->optEndUserName) { $res['optEndUserName'] = $this->optEndUserName; } if (null !== $this->remindNotPunchCardHour) { $res['remindNotPunchCardHour'] = $this->remindNotPunchCardHour; } if (null !== $this->remindNotPunchCardMinute) { $res['remindNotPunchCardMinute'] = $this->remindNotPunchCardMinute; } if (null !== $this->sendTime) { $res['sendTime'] = $this->sendTime; } if (null !== $this->sourceType) { $res['sourceType'] = $this->sourceType; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->systemTime) { $res['systemTime'] = $this->systemTime; } if (null !== $this->teacherId) { $res['teacherId'] = $this->teacherId; } if (null !== $this->teacherName) { $res['teacherName'] = $this->teacherName; } if (null !== $this->templateCoverImageUrl) { $res['templateCoverImageUrl'] = $this->templateCoverImageUrl; } if (null !== $this->title) { $res['title'] = $this->title; } 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['attr'])) { $model->attr = $map['attr']; } if (isset($map['cardBizCode'])) { $model->cardBizCode = $map['cardBizCode']; } if (isset($map['cardBizId'])) { $model->cardBizId = $map['cardBizId']; } if (isset($map['cardContentCount'])) { $model->cardContentCount = $map['cardContentCount']; } if (isset($map['cardCycle'])) { $model->cardCycle = $map['cardCycle']; } if (isset($map['cardFrequency'])) { if (!empty($map['cardFrequency'])) { $model->cardFrequency = $map['cardFrequency']; } } if (isset($map['cardId'])) { $model->cardId = $map['cardId']; } if (isset($map['cardStatus'])) { $model->cardStatus = $map['cardStatus']; } if (isset($map['cardUrl'])) { $model->cardUrl = $map['cardUrl']; } if (isset($map['categoryContentTag'])) { $model->categoryContentTag = $map['categoryContentTag']; } if (isset($map['categoryCoverImageUrl'])) { $model->categoryCoverImageUrl = $map['categoryCoverImageUrl']; } if (isset($map['categoryCreateCardSmallImageUrl'])) { $model->categoryCreateCardSmallImageUrl = $map['categoryCreateCardSmallImageUrl']; } if (isset($map['categoryListSmallImageUrl'])) { $model->categoryListSmallImageUrl = $map['categoryListSmallImageUrl']; } if (isset($map['categoryName'])) { $model->categoryName = $map['categoryName']; } if (isset($map['classIds'])) { if (!empty($map['classIds'])) { $model->classIds = $map['classIds']; } } if (isset($map['classNames'])) { if (!empty($map['classNames'])) { $model->classNames = $map['classNames']; } } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['effectTime'])) { $model->effectTime = $map['effectTime']; } if (isset($map['finished'])) { $model->finished = $map['finished']; } if (isset($map['media'])) { $model->media = $map['media']; } if (isset($map['optEndTime'])) { $model->optEndTime = $map['optEndTime']; } if (isset($map['optEndUserId'])) { $model->optEndUserId = $map['optEndUserId']; } if (isset($map['optEndUserName'])) { $model->optEndUserName = $map['optEndUserName']; } if (isset($map['remindNotPunchCardHour'])) { $model->remindNotPunchCardHour = $map['remindNotPunchCardHour']; } if (isset($map['remindNotPunchCardMinute'])) { $model->remindNotPunchCardMinute = $map['remindNotPunchCardMinute']; } if (isset($map['sendTime'])) { $model->sendTime = $map['sendTime']; } if (isset($map['sourceType'])) { $model->sourceType = $map['sourceType']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['systemTime'])) { $model->systemTime = $map['systemTime']; } if (isset($map['teacherId'])) { $model->teacherId = $map['teacherId']; } if (isset($map['teacherName'])) { $model->teacherName = $map['teacherName']; } if (isset($map['templateCoverImageUrl'])) { $model->templateCoverImageUrl = $map['templateCoverImageUrl']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/edu_1_0/Models/CardQueryCardFeedsHeaders.php000064400000002337146412132660015451 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CardQueryCardFeedsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CardQueryCardFeedsRequest.php000064400000010600146412132660015516 0ustar00 'bizType', 'cardBizCode' => 'cardBizCode', 'cardBizId' => 'cardBizId', 'cardId' => 'cardId', 'count' => 'count', 'cursor' => 'cursor', 'feedType' => 'feedType', 'needFinishProcess' => 'needFinishProcess', 'sourceType' => 'sourceType', 'studentId' => 'studentId', 'subBizId' => 'subBizId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->cardBizCode) { $res['cardBizCode'] = $this->cardBizCode; } if (null !== $this->cardBizId) { $res['cardBizId'] = $this->cardBizId; } if (null !== $this->cardId) { $res['cardId'] = $this->cardId; } if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->cursor) { $res['cursor'] = $this->cursor; } if (null !== $this->feedType) { $res['feedType'] = $this->feedType; } if (null !== $this->needFinishProcess) { $res['needFinishProcess'] = $this->needFinishProcess; } if (null !== $this->sourceType) { $res['sourceType'] = $this->sourceType; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } if (null !== $this->subBizId) { $res['subBizId'] = $this->subBizId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CardQueryCardFeedsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['cardBizCode'])) { $model->cardBizCode = $map['cardBizCode']; } if (isset($map['cardBizId'])) { $model->cardBizId = $map['cardBizId']; } if (isset($map['cardId'])) { $model->cardId = $map['cardId']; } if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['cursor'])) { $model->cursor = $map['cursor']; } if (isset($map['feedType'])) { $model->feedType = $map['feedType']; } if (isset($map['needFinishProcess'])) { $model->needFinishProcess = $map['needFinishProcess']; } if (isset($map['sourceType'])) { $model->sourceType = $map['sourceType']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } if (isset($map['subBizId'])) { $model->subBizId = $map['subBizId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/CardQueryCardFeedsResponse.php000064400000002741146412132660015673 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CardQueryCardFeedsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CardQueryCardFeedsResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CardQueryCardFeedsResponseBody.php000064400000002347146412132660016513 0ustar00 '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 CardQueryCardFeedsResponseBody */ 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/edu_1_0/Models/CardQueryCardFeedsResponseBody/result.php000064400000003204146412132660020022 0ustar00 'hasMore', 'posts' => 'posts', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->posts) { $res['posts'] = []; if (null !== $this->posts && \is_array($this->posts)) { $n = 0; foreach ($this->posts as $item) { $res['posts'][$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['posts'])) { if (!empty($map['posts'])) { $model->posts = []; $n = 0; foreach ($map['posts'] as $item) { $model->posts[$n++] = null !== $item ? posts::fromMap($item) : $item; } } } return $model; } } src/edu_1_0/Models/CardQueryCardFeedsResponseBody/result/posts.php000064400000005604146412132660021200 0ustar00 'author', 'bizType' => 'bizType', 'content' => 'content', 'createAt' => 'createAt', 'feedType' => 'feedType', 'postId' => 'postId', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->author) { $res['author'] = null !== $this->author ? $this->author->toMap() : null; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->createAt) { $res['createAt'] = $this->createAt; } if (null !== $this->feedType) { $res['feedType'] = $this->feedType; } if (null !== $this->postId) { $res['postId'] = $this->postId; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return posts */ public static function fromMap($map = []) { $model = new self(); if (isset($map['author'])) { $model->author = author::fromMap($map['author']); } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } if (isset($map['createAt'])) { $model->createAt = $map['createAt']; } if (isset($map['feedType'])) { $model->feedType = $map['feedType']; } if (isset($map['postId'])) { $model->postId = $map['postId']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/edu_1_0/Models/CardQueryCardFeedsResponseBody/result/posts/author.php000064400000002745146412132660022505 0ustar00 'showName', 'userId' => 'userId', 'userRole' => 'userRole', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->showName) { $res['showName'] = $this->showName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userRole) { $res['userRole'] = $this->userRole; } return $res; } /** * @param array $map * * @return author */ public static function fromMap($map = []) { $model = new self(); if (isset($map['showName'])) { $model->showName = $map['showName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userRole'])) { $model->userRole = $map['userRole']; } return $model; } } src/edu_1_0/Models/CardQueryCardFeedsResponseBody/result/posts/content.php000064400000003431146412132660022646 0ustar00 'contentType', 'text' => 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/edu_1_0/Models/CheckRestrictionHeaders.php000064400000002333146412132660015250 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CheckRestrictionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CheckRestrictionRequest.php000064400000004017146412132660015326 0ustar00 'actualAmount', 'faceId' => 'faceId', 'scene' => 'scene', 'sn' => 'sn', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actualAmount) { $res['actualAmount'] = $this->actualAmount; } if (null !== $this->faceId) { $res['faceId'] = $this->faceId; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CheckRestrictionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actualAmount'])) { $model->actualAmount = $map['actualAmount']; } if (isset($map['faceId'])) { $model->faceId = $map['faceId']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/CheckRestrictionResponse.php000064400000002731146412132660015475 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CheckRestrictionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CheckRestrictionResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CheckRestrictionResponseBody.php000064400000001541146412132660016311 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CheckRestrictionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/ConsumePointHeaders.php000064400000002323146412132660014427 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ConsumePointHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/ConsumePointRequest.php000064400000003461146412132660014510 0ustar00 'amount', 'bizId' => 'bizId', 'description' => 'description', 'productCode' => 'productCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->productCode) { $res['productCode'] = $this->productCode; } return $res; } /** * @param array $map * * @return ConsumePointRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['productCode'])) { $model->productCode = $map['productCode']; } return $model; } } src/edu_1_0/Models/ConsumePointResponse.php000064400000002711146412132660014653 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ConsumePointResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ConsumePointResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/ConsumePointResponseBody.php000064400000002112146412132660015464 0ustar00 '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 ConsumePointResponseBody */ 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/edu_1_0/Models/CourseSchedulingComplimentNoticeHeaders.php000064400000002373146412132660020451 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CourseSchedulingComplimentNoticeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CourseSchedulingComplimentNoticeRequest.php000064400000001613146412132660020522 0ustar00 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return CourseSchedulingComplimentNoticeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/CourseSchedulingComplimentNoticeResponse.php000064400000003031146412132660020664 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CourseSchedulingComplimentNoticeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CourseSchedulingComplimentNoticeResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CourseSchedulingComplimentNoticeResponseBody.php000064400000001620146412132660021504 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CourseSchedulingComplimentNoticeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/CreateAppOrderHeaders.php000064400000002327146412132660014650 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateAppOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateAppOrderRequest.php000064400000011451146412132660014723 0ustar00 'actualAmount', 'alipayAppId' => 'alipayAppId', 'bizCode' => 'bizCode', 'detailList' => 'detailList', 'labelAmount' => 'labelAmount', 'merchantId' => 'merchantId', 'merchantOrderNo' => 'merchantOrderNo', 'outerUserId' => 'outerUserId', 'signature' => 'signature', 'subject' => 'subject', 'timestamp' => 'timestamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actualAmount) { $res['actualAmount'] = $this->actualAmount; } if (null !== $this->alipayAppId) { $res['alipayAppId'] = $this->alipayAppId; } if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->detailList) { $res['detailList'] = []; if (null !== $this->detailList && \is_array($this->detailList)) { $n = 0; foreach ($this->detailList as $item) { $res['detailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->labelAmount) { $res['labelAmount'] = $this->labelAmount; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->merchantOrderNo) { $res['merchantOrderNo'] = $this->merchantOrderNo; } if (null !== $this->outerUserId) { $res['outerUserId'] = $this->outerUserId; } if (null !== $this->signature) { $res['signature'] = $this->signature; } if (null !== $this->subject) { $res['subject'] = $this->subject; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } return $res; } /** * @param array $map * * @return CreateAppOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actualAmount'])) { $model->actualAmount = $map['actualAmount']; } if (isset($map['alipayAppId'])) { $model->alipayAppId = $map['alipayAppId']; } if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['detailList'])) { if (!empty($map['detailList'])) { $model->detailList = []; $n = 0; foreach ($map['detailList'] as $item) { $model->detailList[$n++] = null !== $item ? detailList::fromMap($item) : $item; } } } if (isset($map['labelAmount'])) { $model->labelAmount = $map['labelAmount']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['merchantOrderNo'])) { $model->merchantOrderNo = $map['merchantOrderNo']; } if (isset($map['outerUserId'])) { $model->outerUserId = $map['outerUserId']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } if (isset($map['subject'])) { $model->subject = $map['subject']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } return $model; } } src/edu_1_0/Models/CreateAppOrderRequest/detailList.php000064400000003535146412132660017025 0ustar00 'goodsId', 'goodsName' => 'goodsName', 'goodsPrice' => 'goodsPrice', 'goodsQuantity' => 'goodsQuantity', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->goodsId) { $res['goodsId'] = $this->goodsId; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->goodsPrice) { $res['goodsPrice'] = $this->goodsPrice; } if (null !== $this->goodsQuantity) { $res['goodsQuantity'] = $this->goodsQuantity; } return $res; } /** * @param array $map * * @return detailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['goodsId'])) { $model->goodsId = $map['goodsId']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['goodsPrice'])) { $model->goodsPrice = $map['goodsPrice']; } if (isset($map['goodsQuantity'])) { $model->goodsQuantity = $map['goodsQuantity']; } return $model; } } src/edu_1_0/Models/CreateAppOrderResponse.php000064400000002721146412132660015071 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateAppOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateAppOrderResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateAppOrderResponseBody.php000064400000005110146412132660015702 0ustar00 'actualAmount', 'alipayAppId' => 'alipayAppId', 'body' => 'body', 'merchantId' => 'merchantId', 'merchantOrderNo' => 'merchantOrderNo', 'orderNo' => 'orderNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actualAmount) { $res['actualAmount'] = $this->actualAmount; } if (null !== $this->alipayAppId) { $res['alipayAppId'] = $this->alipayAppId; } if (null !== $this->body) { $res['body'] = $this->body; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->merchantOrderNo) { $res['merchantOrderNo'] = $this->merchantOrderNo; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } return $res; } /** * @param array $map * * @return CreateAppOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actualAmount'])) { $model->actualAmount = $map['actualAmount']; } if (isset($map['alipayAppId'])) { $model->alipayAppId = $map['alipayAppId']; } if (isset($map['body'])) { $model->body = $map['body']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['merchantOrderNo'])) { $model->merchantOrderNo = $map['merchantOrderNo']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } return $model; } } src/edu_1_0/Models/CreateCustomClassHeaders.php000064400000002335146412132660015373 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateCustomClassHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateCustomClassRequest.php000064400000003164146412132660015451 0ustar00 'customClass', 'operator' => 'operator', 'superId' => 'superId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customClass) { $res['customClass'] = null !== $this->customClass ? $this->customClass->toMap() : null; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->superId) { $res['superId'] = $this->superId; } return $res; } /** * @param array $map * * @return CreateCustomClassRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customClass'])) { $model->customClass = customClass::fromMap($map['customClass']); } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['superId'])) { $model->superId = $map['superId']; } return $model; } } src/edu_1_0/Models/CreateCustomClassRequest/customClass.php000064400000001513146412132660017745 0ustar00 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return customClass */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/edu_1_0/Models/CreateCustomClassResponse.php000064400000002735146412132660015622 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateCustomClassResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateCustomClassResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateCustomClassResponseBody.php000064400000002344146412132660016434 0ustar00 '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 CreateCustomClassResponseBody */ 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/edu_1_0/Models/CreateCustomClassResponseBody/result.php000064400000001455146412132660017754 0ustar00 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/edu_1_0/Models/CreateCustomDeptHeaders.php000064400000002333146412132660015220 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateCustomDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateCustomDeptRequest.php000064400000003142146412132660015274 0ustar00 'customDept', 'operator' => 'operator', 'superId' => 'superId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customDept) { $res['customDept'] = null !== $this->customDept ? $this->customDept->toMap() : null; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->superId) { $res['superId'] = $this->superId; } return $res; } /** * @param array $map * * @return CreateCustomDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customDept'])) { $model->customDept = customDept::fromMap($map['customDept']); } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['superId'])) { $model->superId = $map['superId']; } return $model; } } src/edu_1_0/Models/CreateCustomDeptRequest/customDept.php000064400000002146146412132660017426 0ustar00 'name', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return customDept */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/edu_1_0/Models/CreateCustomDeptResponse.php000064400000002731146412132660015445 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateCustomDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateCustomDeptResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateCustomDeptResponseBody.php000064400000002341146412132660016260 0ustar00 '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 CreateCustomDeptResponseBody */ 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/edu_1_0/Models/CreateCustomDeptResponseBody/result.php000064400000001510146412132660017573 0ustar00 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/edu_1_0/Models/CreateEduAssetSpaceHeaders.php000064400000002341146412132660015621 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateEduAssetSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateEduAssetSpaceRequest.php000064400000004351146412132660015701 0ustar00 'bizCode', 'spaceDesc' => 'spaceDesc', 'spaceIcon' => 'spaceIcon', 'spaceName' => 'spaceName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->spaceDesc) { $res['spaceDesc'] = $this->spaceDesc; } if (null !== $this->spaceIcon) { $res['spaceIcon'] = $this->spaceIcon; } if (null !== $this->spaceName) { $res['spaceName'] = $this->spaceName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CreateEduAssetSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['spaceDesc'])) { $model->spaceDesc = $map['spaceDesc']; } if (isset($map['spaceIcon'])) { $model->spaceIcon = $map['spaceIcon']; } if (isset($map['spaceName'])) { $model->spaceName = $map['spaceName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/CreateEduAssetSpaceResponse.php000064400000002745146412132660016054 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateEduAssetSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateEduAssetSpaceResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateEduAssetSpaceResponseBody.php000064400000006204146412132660016664 0ustar00 'createTimeMillis', 'modifyTimeMillis' => 'modifyTimeMillis', 'permissionMode' => 'permissionMode', 'quota' => 'quota', 'spaceId' => 'spaceId', 'spaceName' => 'spaceName', 'spaceType' => 'spaceType', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTimeMillis) { $res['createTimeMillis'] = $this->createTimeMillis; } if (null !== $this->modifyTimeMillis) { $res['modifyTimeMillis'] = $this->modifyTimeMillis; } if (null !== $this->permissionMode) { $res['permissionMode'] = $this->permissionMode; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->spaceName) { $res['spaceName'] = $this->spaceName; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return CreateEduAssetSpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTimeMillis'])) { $model->createTimeMillis = $map['createTimeMillis']; } if (isset($map['modifyTimeMillis'])) { $model->modifyTimeMillis = $map['modifyTimeMillis']; } if (isset($map['permissionMode'])) { $model->permissionMode = $map['permissionMode']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['spaceName'])) { $model->spaceName = $map['spaceName']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/edu_1_0/Models/CreateFulfilRecordHeaders.php000064400000002337146412132660015515 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateFulfilRecordHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateFulfilRecordRequest.php000064400000004455146412132660015575 0ustar00 'bizTime', 'extInfo' => 'extInfo', 'faceId' => 'faceId', 'scene' => 'scene', 'sn' => 'sn', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTime) { $res['bizTime'] = $this->bizTime; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->faceId) { $res['faceId'] = $this->faceId; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CreateFulfilRecordRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTime'])) { $model->bizTime = $map['bizTime']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['faceId'])) { $model->faceId = $map['faceId']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/CreateFulfilRecordResponse.php000064400000002741146412132660015737 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateFulfilRecordResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateFulfilRecordResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateFulfilRecordResponseBody.php000064400000001616146412132660016555 0ustar00 'successInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->successInfo) { $res['successInfo'] = $this->successInfo; } return $res; } /** * @param array $map * * @return CreateFulfilRecordResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['successInfo'])) { $model->successInfo = $map['successInfo']; } return $model; } } src/edu_1_0/Models/CreateInviteUrlHeaders.php000064400000002331146412132660015050 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateInviteUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateInviteUrlRequest.php000064400000002746146412132660015137 0ustar00 'authCode', 'targetCorpId' => 'targetCorpId', 'targetOperator' => 'targetOperator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authCode) { $res['authCode'] = $this->authCode; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } if (null !== $this->targetOperator) { $res['targetOperator'] = $this->targetOperator; } return $res; } /** * @param array $map * * @return CreateInviteUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authCode'])) { $model->authCode = $map['authCode']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } if (isset($map['targetOperator'])) { $model->targetOperator = $map['targetOperator']; } return $model; } } src/edu_1_0/Models/CreateInviteUrlResponse.php000064400000002725146412132660015302 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateInviteUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateInviteUrlResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateInviteUrlResponseBody.php000064400000002336146412132660016116 0ustar00 '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 CreateInviteUrlResponseBody */ 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/edu_1_0/Models/CreateInviteUrlResponseBody/result.php000064400000001511146412132660017426 0ustar00 'inviteUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->inviteUrl) { $res['inviteUrl'] = $this->inviteUrl; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['inviteUrl'])) { $model->inviteUrl = $map['inviteUrl']; } return $model; } } src/edu_1_0/Models/CreateItemHeaders.php000064400000002317146412132660014031 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateItemHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateItemRequest.php000064400000007577146412132660014123 0ustar00 'description', 'effectType' => 'effectType', 'endTime' => 'endTime', 'merchantId' => 'merchantId', 'name' => 'name', 'optUser' => 'optUser', 'periodType' => 'periodType', 'price' => 'price', 'scene' => 'scene', 'startTime' => 'startTime', 'status' => 'status', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->effectType) { $res['effectType'] = $this->effectType; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->optUser) { $res['optUser'] = $this->optUser; } if (null !== $this->periodType) { $res['periodType'] = $this->periodType; } if (null !== $this->price) { $res['price'] = $this->price; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return CreateItemRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['effectType'])) { $model->effectType = $map['effectType']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['optUser'])) { $model->optUser = $map['optUser']; } if (isset($map['periodType'])) { $model->periodType = $map['periodType']; } if (isset($map['price'])) { $model->price = $map['price']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/edu_1_0/Models/CreateItemResponse.php000064400000002701146412132660014251 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateItemResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateItemResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateItemResponseBody.php000064400000003146146412132660015073 0ustar00 'corpId', 'id' => 'id', 'merchantId' => 'merchantId', 'status' => 'status', ]; 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->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return CreateItemResponseBody */ 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['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/edu_1_0/Models/CreateOrderFlowHeaders.php000064400000002331146412132660015032 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateOrderFlowHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateOrderFlowRequest.php000064400000013020146412132660015104 0ustar00 'actualAmount', 'alipayUid' => 'alipayUid', 'createTime' => 'createTime', 'detailList' => 'detailList', 'faceId' => 'faceId', 'guardianUserId' => 'guardianUserId', 'merchantId' => 'merchantId', 'orderNo' => 'orderNo', 'signature' => 'signature', 'sn' => 'sn', 'timestamp' => 'timestamp', 'totalAmount' => 'totalAmount', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actualAmount) { $res['actualAmount'] = $this->actualAmount; } if (null !== $this->alipayUid) { $res['alipayUid'] = $this->alipayUid; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->detailList) { $res['detailList'] = []; if (null !== $this->detailList && \is_array($this->detailList)) { $n = 0; foreach ($this->detailList as $item) { $res['detailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->faceId) { $res['faceId'] = $this->faceId; } if (null !== $this->guardianUserId) { $res['guardianUserId'] = $this->guardianUserId; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->signature) { $res['signature'] = $this->signature; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } if (null !== $this->totalAmount) { $res['totalAmount'] = $this->totalAmount; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CreateOrderFlowRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actualAmount'])) { $model->actualAmount = $map['actualAmount']; } if (isset($map['alipayUid'])) { $model->alipayUid = $map['alipayUid']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['detailList'])) { if (!empty($map['detailList'])) { $model->detailList = []; $n = 0; foreach ($map['detailList'] as $item) { $model->detailList[$n++] = null !== $item ? detailList::fromMap($item) : $item; } } } if (isset($map['faceId'])) { $model->faceId = $map['faceId']; } if (isset($map['guardianUserId'])) { $model->guardianUserId = $map['guardianUserId']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } if (isset($map['totalAmount'])) { $model->totalAmount = $map['totalAmount']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/CreateOrderFlowRequest/detailList.php000064400000004141146412132660017206 0ustar00 'actualAmount', 'itemAmount' => 'itemAmount', 'itemId' => 'itemId', 'itemName' => 'itemName', 'scene' => 'scene', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actualAmount) { $res['actualAmount'] = $this->actualAmount; } if (null !== $this->itemAmount) { $res['itemAmount'] = $this->itemAmount; } if (null !== $this->itemId) { $res['itemId'] = $this->itemId; } if (null !== $this->itemName) { $res['itemName'] = $this->itemName; } if (null !== $this->scene) { $res['scene'] = $this->scene; } return $res; } /** * @param array $map * * @return detailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actualAmount'])) { $model->actualAmount = $map['actualAmount']; } if (isset($map['itemAmount'])) { $model->itemAmount = $map['itemAmount']; } if (isset($map['itemId'])) { $model->itemId = $map['itemId']; } if (isset($map['itemName'])) { $model->itemName = $map['itemName']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } return $model; } } src/edu_1_0/Models/CreateOrderFlowResponse.php000064400000002725146412132660015264 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateOrderFlowResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateOrderFlowResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateOrderFlowResponseBody.php000064400000001537146412132660016102 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateOrderFlowResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/CreateOrderHeaders.php000064400000002321146412132660014201 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateOrderRequest.php000064400000012303146412132660014257 0ustar00 'actualAmount', 'createTime' => 'createTime', 'detailList' => 'detailList', 'faceId' => 'faceId', 'ftoken' => 'ftoken', 'signature' => 'signature', 'sn' => 'sn', 'terminalParams' => 'terminalParams', 'timestamp' => 'timestamp', 'totalAmount' => 'totalAmount', 'userId' => 'userId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actualAmount) { $res['actualAmount'] = $this->actualAmount; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->detailList) { $res['detailList'] = []; if (null !== $this->detailList && \is_array($this->detailList)) { $n = 0; foreach ($this->detailList as $item) { $res['detailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->faceId) { $res['faceId'] = $this->faceId; } if (null !== $this->ftoken) { $res['ftoken'] = $this->ftoken; } if (null !== $this->signature) { $res['signature'] = $this->signature; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->terminalParams) { $res['terminalParams'] = $this->terminalParams; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } if (null !== $this->totalAmount) { $res['totalAmount'] = $this->totalAmount; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return CreateOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actualAmount'])) { $model->actualAmount = $map['actualAmount']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['detailList'])) { if (!empty($map['detailList'])) { $model->detailList = []; $n = 0; foreach ($map['detailList'] as $item) { $model->detailList[$n++] = null !== $item ? detailList::fromMap($item) : $item; } } } if (isset($map['faceId'])) { $model->faceId = $map['faceId']; } if (isset($map['ftoken'])) { $model->ftoken = $map['ftoken']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['terminalParams'])) { $model->terminalParams = $map['terminalParams']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } if (isset($map['totalAmount'])) { $model->totalAmount = $map['totalAmount']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/edu_1_0/Models/CreateOrderRequest/detailList.php000064400000003461146412132660016362 0ustar00 'actualAmount', 'itemAmount' => 'itemAmount', 'itemName' => 'itemName', 'scene' => 'scene', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actualAmount) { $res['actualAmount'] = $this->actualAmount; } if (null !== $this->itemAmount) { $res['itemAmount'] = $this->itemAmount; } if (null !== $this->itemName) { $res['itemName'] = $this->itemName; } if (null !== $this->scene) { $res['scene'] = $this->scene; } return $res; } /** * @param array $map * * @return detailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actualAmount'])) { $model->actualAmount = $map['actualAmount']; } if (isset($map['itemAmount'])) { $model->itemAmount = $map['itemAmount']; } if (isset($map['itemName'])) { $model->itemName = $map['itemName']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } return $model; } } src/edu_1_0/Models/CreateOrderResponse.php000064400000002705146412132660014432 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateOrderResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateOrderResponseBody.php000064400000001540146412132660015244 0ustar00 'orderNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } return $res; } /** * @param array $map * * @return CreateOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } return $model; } } src/edu_1_0/Models/CreatePhysicalClassroomHeaders.php000064400000002351146412132660016570 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreatePhysicalClassroomHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreatePhysicalClassroomRequest.php000064400000006610146412132660016647 0ustar00 'classroomBuilding', 'classroomCampus' => 'classroomCampus', 'classroomFloor' => 'classroomFloor', 'classroomName' => 'classroomName', 'classroomNumber' => 'classroomNumber', 'directBroadcast' => 'directBroadcast', 'ext' => 'ext', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classroomBuilding) { $res['classroomBuilding'] = $this->classroomBuilding; } if (null !== $this->classroomCampus) { $res['classroomCampus'] = $this->classroomCampus; } if (null !== $this->classroomFloor) { $res['classroomFloor'] = $this->classroomFloor; } if (null !== $this->classroomName) { $res['classroomName'] = $this->classroomName; } if (null !== $this->classroomNumber) { $res['classroomNumber'] = $this->classroomNumber; } if (null !== $this->directBroadcast) { $res['directBroadcast'] = $this->directBroadcast; } if (null !== $this->ext) { $res['ext'] = $this->ext; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return CreatePhysicalClassroomRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classroomBuilding'])) { $model->classroomBuilding = $map['classroomBuilding']; } if (isset($map['classroomCampus'])) { $model->classroomCampus = $map['classroomCampus']; } if (isset($map['classroomFloor'])) { $model->classroomFloor = $map['classroomFloor']; } if (isset($map['classroomName'])) { $model->classroomName = $map['classroomName']; } if (isset($map['classroomNumber'])) { $model->classroomNumber = $map['classroomNumber']; } if (isset($map['directBroadcast'])) { $model->directBroadcast = $map['directBroadcast']; } if (isset($map['ext'])) { $model->ext = $map['ext']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/CreatePhysicalClassroomResponse.php000064400000002765146412132660017024 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreatePhysicalClassroomResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreatePhysicalClassroomResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreatePhysicalClassroomResponseBody.php000064400000001623146412132660017632 0ustar00 'classroomId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classroomId) { $res['classroomId'] = $this->classroomId; } return $res; } /** * @param array $map * * @return CreatePhysicalClassroomResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classroomId'])) { $model->classroomId = $map['classroomId']; } return $model; } } src/edu_1_0/Models/CreateRefundFlowHeaders.php000064400000002333146412132660015204 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateRefundFlowHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateRefundFlowRequest.php000064400000006275146412132660015272 0ustar00 'faceId', 'operatorId' => 'operatorId', 'operatorName' => 'operatorName', 'orderNo' => 'orderNo', 'signature' => 'signature', 'sn' => 'sn', 'timestamp' => 'timestamp', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->faceId) { $res['faceId'] = $this->faceId; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->operatorName) { $res['operatorName'] = $this->operatorName; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->signature) { $res['signature'] = $this->signature; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CreateRefundFlowRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['faceId'])) { $model->faceId = $map['faceId']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['operatorName'])) { $model->operatorName = $map['operatorName']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/CreateRefundFlowResponse.php000064400000002731146412132660015431 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateRefundFlowResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateRefundFlowResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateRefundFlowResponseBody.php000064400000001541146412132660016245 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateRefundFlowResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/CreateRemoteClassCourseHeaders.php000064400000002351146412132660016533 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateRemoteClassCourseHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateRemoteClassCourseRequest.php000064400000006771146412132660016622 0ustar00 'attendParticipants', 'authCode' => 'authCode', 'courseName' => 'courseName', 'endTime' => 'endTime', 'startTime' => 'startTime', 'teachingParticipant' => 'teachingParticipant', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendParticipants) { $res['attendParticipants'] = []; if (null !== $this->attendParticipants && \is_array($this->attendParticipants)) { $n = 0; foreach ($this->attendParticipants as $item) { $res['attendParticipants'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->authCode) { $res['authCode'] = $this->authCode; } if (null !== $this->courseName) { $res['courseName'] = $this->courseName; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->teachingParticipant) { $res['teachingParticipant'] = null !== $this->teachingParticipant ? $this->teachingParticipant->toMap() : null; } return $res; } /** * @param array $map * * @return CreateRemoteClassCourseRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendParticipants'])) { if (!empty($map['attendParticipants'])) { $model->attendParticipants = []; $n = 0; foreach ($map['attendParticipants'] as $item) { $model->attendParticipants[$n++] = null !== $item ? attendParticipants::fromMap($item) : $item; } } } if (isset($map['authCode'])) { $model->authCode = $map['authCode']; } if (isset($map['courseName'])) { $model->courseName = $map['courseName']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['teachingParticipant'])) { $model->teachingParticipant = teachingParticipant::fromMap($map['teachingParticipant']); } return $model; } } src/edu_1_0/Models/CreateRemoteClassCourseRequest/attendParticipants.php000064400000002334146412132660022452 0ustar00 'corpId', 'participantId' => 'participantId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->participantId) { $res['participantId'] = $this->participantId; } return $res; } /** * @param array $map * * @return attendParticipants */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['participantId'])) { $model->participantId = $map['participantId']; } return $model; } } src/edu_1_0/Models/CreateRemoteClassCourseRequest/teachingParticipant.php000064400000002335146412132660022573 0ustar00 'corpId', 'participantId' => 'participantId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->participantId) { $res['participantId'] = $this->participantId; } return $res; } /** * @param array $map * * @return teachingParticipant */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['participantId'])) { $model->participantId = $map['participantId']; } return $model; } } src/edu_1_0/Models/CreateRemoteClassCourseResponse.php000064400000002765146412132660016767 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateRemoteClassCourseResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateRemoteClassCourseResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateRemoteClassCourseResponseBody.php000064400000002366146412132660017602 0ustar00 '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 CreateRemoteClassCourseResponseBody */ 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/edu_1_0/Models/CreateRemoteClassCourseResponseBody/result.php000064400000001532146412132660021112 0ustar00 'courseCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseCode) { $res['courseCode'] = $this->courseCode; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseCode'])) { $model->courseCode = $map['courseCode']; } return $model; } } src/edu_1_0/Models/CreateSectionConfigHeaders.php000064400000002341146412132660015662 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateSectionConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateSectionConfigRequest.php000064400000004167146412132660015747 0ustar00 'ext', 'sectionConfigs' => 'sectionConfigs', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ext) { $res['ext'] = $this->ext; } if (null !== $this->sectionConfigs) { $res['sectionConfigs'] = []; if (null !== $this->sectionConfigs && \is_array($this->sectionConfigs)) { $n = 0; foreach ($this->sectionConfigs as $item) { $res['sectionConfigs'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return CreateSectionConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ext'])) { $model->ext = $map['ext']; } if (isset($map['sectionConfigs'])) { if (!empty($map['sectionConfigs'])) { $model->sectionConfigs = []; $n = 0; foreach ($map['sectionConfigs'] as $item) { $model->sectionConfigs[$n++] = null !== $item ? sectionConfigs::fromMap($item) : $item; } } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/CreateSectionConfigRequest/sectionConfigs.php000064400000011261146412132660020715 0ustar00 'scheduleName', 'schoolYear' => 'schoolYear', 'sectionEndDate' => 'sectionEndDate', 'sectionModels' => 'sectionModels', 'sectionStartDate' => 'sectionStartDate', 'semester' => 'semester', 'semesterEndDate' => 'semesterEndDate', 'semesterStartDate' => 'semesterStartDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scheduleName) { $res['scheduleName'] = $this->scheduleName; } if (null !== $this->schoolYear) { $res['schoolYear'] = $this->schoolYear; } if (null !== $this->sectionEndDate) { $res['sectionEndDate'] = null !== $this->sectionEndDate ? $this->sectionEndDate->toMap() : null; } if (null !== $this->sectionModels) { $res['sectionModels'] = []; if (null !== $this->sectionModels && \is_array($this->sectionModels)) { $n = 0; foreach ($this->sectionModels as $item) { $res['sectionModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sectionStartDate) { $res['sectionStartDate'] = null !== $this->sectionStartDate ? $this->sectionStartDate->toMap() : null; } if (null !== $this->semester) { $res['semester'] = $this->semester; } if (null !== $this->semesterEndDate) { $res['semesterEndDate'] = null !== $this->semesterEndDate ? $this->semesterEndDate->toMap() : null; } if (null !== $this->semesterStartDate) { $res['semesterStartDate'] = null !== $this->semesterStartDate ? $this->semesterStartDate->toMap() : null; } return $res; } /** * @param array $map * * @return sectionConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scheduleName'])) { $model->scheduleName = $map['scheduleName']; } if (isset($map['schoolYear'])) { $model->schoolYear = $map['schoolYear']; } if (isset($map['sectionEndDate'])) { $model->sectionEndDate = sectionEndDate::fromMap($map['sectionEndDate']); } if (isset($map['sectionModels'])) { if (!empty($map['sectionModels'])) { $model->sectionModels = []; $n = 0; foreach ($map['sectionModels'] as $item) { $model->sectionModels[$n++] = null !== $item ? sectionModels::fromMap($item) : $item; } } } if (isset($map['sectionStartDate'])) { $model->sectionStartDate = sectionStartDate::fromMap($map['sectionStartDate']); } if (isset($map['semester'])) { $model->semester = $map['semester']; } if (isset($map['semesterEndDate'])) { $model->semesterEndDate = semesterEndDate::fromMap($map['semesterEndDate']); } if (isset($map['semesterStartDate'])) { $model->semesterStartDate = semesterStartDate::fromMap($map['semesterStartDate']); } return $model; } } src/edu_1_0/Models/CreateSectionConfigRequest/sectionConfigs/sectionEndDate.php000064400000002703146412132660023607 0ustar00 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return sectionEndDate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/CreateSectionConfigRequest/sectionConfigs/sectionModels.php000064400000005324146412132660023530 0ustar00 'sectionEndTime', 'sectionIndex' => 'sectionIndex', 'sectionName' => 'sectionName', 'sectionStartTime' => 'sectionStartTime', 'sectionType' => 'sectionType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sectionEndTime) { $res['sectionEndTime'] = null !== $this->sectionEndTime ? $this->sectionEndTime->toMap() : null; } if (null !== $this->sectionIndex) { $res['sectionIndex'] = $this->sectionIndex; } if (null !== $this->sectionName) { $res['sectionName'] = $this->sectionName; } if (null !== $this->sectionStartTime) { $res['sectionStartTime'] = null !== $this->sectionStartTime ? $this->sectionStartTime->toMap() : null; } if (null !== $this->sectionType) { $res['sectionType'] = $this->sectionType; } return $res; } /** * @param array $map * * @return sectionModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sectionEndTime'])) { $model->sectionEndTime = sectionEndTime::fromMap($map['sectionEndTime']); } if (isset($map['sectionIndex'])) { $model->sectionIndex = $map['sectionIndex']; } if (isset($map['sectionName'])) { $model->sectionName = $map['sectionName']; } if (isset($map['sectionStartTime'])) { $model->sectionStartTime = sectionStartTime::fromMap($map['sectionStartTime']); } if (isset($map['sectionType'])) { $model->sectionType = $map['sectionType']; } return $model; } } src/edu_1_0/Models/CreateSectionConfigRequest/sectionConfigs/sectionModels/sectionEndTime.php000064400000002152146412132660026436 0ustar00 'hour', 'min' => 'min', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hour) { $res['hour'] = $this->hour; } if (null !== $this->min) { $res['min'] = $this->min; } return $res; } /** * @param array $map * * @return sectionEndTime */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hour'])) { $model->hour = $map['hour']; } if (isset($map['min'])) { $model->min = $map['min']; } return $model; } } src/edu_1_0/Models/CreateSectionConfigRequest/sectionConfigs/sectionModels/sectionStartTime.php000064400000002155146412132660027030 0ustar00 'hour', 'min' => 'min', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hour) { $res['hour'] = $this->hour; } if (null !== $this->min) { $res['min'] = $this->min; } return $res; } /** * @param array $map * * @return sectionStartTime */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hour'])) { $model->hour = $map['hour']; } if (isset($map['min'])) { $model->min = $map['min']; } return $model; } } src/edu_1_0/Models/CreateSectionConfigRequest/sectionConfigs/sectionStartDate.php000064400000002706146412132660024201 0ustar00 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return sectionStartDate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/CreateSectionConfigRequest/sectionConfigs/semesterEndDate.php000064400000002705146412132660023774 0ustar00 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return semesterEndDate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/CreateSectionConfigRequest/sectionConfigs/semesterStartDate.php000064400000002710146412132660024357 0ustar00 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return semesterStartDate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/CreateSectionConfigResponse.php000064400000002745146412132660016115 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateSectionConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateSectionConfigResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateSectionConfigResponseBody.php000064400000001536146412132660016730 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CreateSectionConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/CreateSnsAppOrderHeaders.php000064400000002335146412132660015333 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateSnsAppOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateSnsAppOrderRequest.php000064400000010726146412132660015413 0ustar00 'actualAmount', 'alipayAppId' => 'alipayAppId', 'bizCode' => 'bizCode', 'detailList' => 'detailList', 'labelAmount' => 'labelAmount', 'merchantId' => 'merchantId', 'merchantOrderNo' => 'merchantOrderNo', 'signature' => 'signature', 'subject' => 'subject', 'timestamp' => 'timestamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actualAmount) { $res['actualAmount'] = $this->actualAmount; } if (null !== $this->alipayAppId) { $res['alipayAppId'] = $this->alipayAppId; } if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->detailList) { $res['detailList'] = []; if (null !== $this->detailList && \is_array($this->detailList)) { $n = 0; foreach ($this->detailList as $item) { $res['detailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->labelAmount) { $res['labelAmount'] = $this->labelAmount; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->merchantOrderNo) { $res['merchantOrderNo'] = $this->merchantOrderNo; } if (null !== $this->signature) { $res['signature'] = $this->signature; } if (null !== $this->subject) { $res['subject'] = $this->subject; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } return $res; } /** * @param array $map * * @return CreateSnsAppOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actualAmount'])) { $model->actualAmount = $map['actualAmount']; } if (isset($map['alipayAppId'])) { $model->alipayAppId = $map['alipayAppId']; } if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['detailList'])) { if (!empty($map['detailList'])) { $model->detailList = []; $n = 0; foreach ($map['detailList'] as $item) { $model->detailList[$n++] = null !== $item ? detailList::fromMap($item) : $item; } } } if (isset($map['labelAmount'])) { $model->labelAmount = $map['labelAmount']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['merchantOrderNo'])) { $model->merchantOrderNo = $map['merchantOrderNo']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } if (isset($map['subject'])) { $model->subject = $map['subject']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } return $model; } } src/edu_1_0/Models/CreateSnsAppOrderRequest/detailList.php000064400000003540146412132660017505 0ustar00 'goodsId', 'goodsName' => 'goodsName', 'goodsPrice' => 'goodsPrice', 'goodsQuantity' => 'goodsQuantity', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->goodsId) { $res['goodsId'] = $this->goodsId; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->goodsPrice) { $res['goodsPrice'] = $this->goodsPrice; } if (null !== $this->goodsQuantity) { $res['goodsQuantity'] = $this->goodsQuantity; } return $res; } /** * @param array $map * * @return detailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['goodsId'])) { $model->goodsId = $map['goodsId']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['goodsPrice'])) { $model->goodsPrice = $map['goodsPrice']; } if (isset($map['goodsQuantity'])) { $model->goodsQuantity = $map['goodsQuantity']; } return $model; } } src/edu_1_0/Models/CreateSnsAppOrderResponse.php000064400000002735146412132660015562 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateSnsAppOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateSnsAppOrderResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateSnsAppOrderResponseBody.php000064400000005116146412132660016374 0ustar00 'actualAmount', 'alipayAppId' => 'alipayAppId', 'body' => 'body', 'merchantId' => 'merchantId', 'merchantOrderNo' => 'merchantOrderNo', 'orderNo' => 'orderNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actualAmount) { $res['actualAmount'] = $this->actualAmount; } if (null !== $this->alipayAppId) { $res['alipayAppId'] = $this->alipayAppId; } if (null !== $this->body) { $res['body'] = $this->body; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->merchantOrderNo) { $res['merchantOrderNo'] = $this->merchantOrderNo; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } return $res; } /** * @param array $map * * @return CreateSnsAppOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actualAmount'])) { $model->actualAmount = $map['actualAmount']; } if (isset($map['alipayAppId'])) { $model->alipayAppId = $map['alipayAppId']; } if (isset($map['body'])) { $model->body = $map['body']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['merchantOrderNo'])) { $model->merchantOrderNo = $map['merchantOrderNo']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } return $model; } } src/edu_1_0/Models/CreateStsTokenHeaders.php000064400000002327146412132660014706 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateStsTokenHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateStsTokenRequest.php000064400000002232146412132660014756 0ustar00 'deviceSn', 'stsType' => 'stsType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceSn) { $res['deviceSn'] = $this->deviceSn; } if (null !== $this->stsType) { $res['stsType'] = $this->stsType; } return $res; } /** * @param array $map * * @return CreateStsTokenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceSn'])) { $model->deviceSn = $map['deviceSn']; } if (isset($map['stsType'])) { $model->stsType = $map['stsType']; } return $model; } } src/edu_1_0/Models/CreateStsTokenResponse.php000064400000002721146412132660015127 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateStsTokenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateStsTokenResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateStsTokenResponseBody.php000064400000005104146412132660015743 0ustar00 'accessKeyId', 'accessKeySecret' => 'accessKeySecret', 'expiration' => 'expiration', 'extInfo' => 'extInfo', 'securityToken' => 'securityToken', 'status' => 'status', ]; 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->expiration) { $res['expiration'] = $this->expiration; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->securityToken) { $res['securityToken'] = $this->securityToken; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return CreateStsTokenResponseBody */ 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['expiration'])) { $model->expiration = $map['expiration']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['securityToken'])) { $model->securityToken = $map['securityToken']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/edu_1_0/Models/CreateTokenHeaders.php000064400000002321146412132660014206 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateTokenHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateTokenRequest.php000064400000002004146412132660014261 0ustar00 'sn', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return CreateTokenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/edu_1_0/Models/CreateTokenResponse.php000064400000002705146412132660014437 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTokenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateTokenResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateTokenResponseBody.php000064400000004600146412132660015251 0ustar00 'accessKeyId', 'accessKeySecret' => 'accessKeySecret', 'expiration' => 'expiration', 'extInfo' => 'extInfo', 'securityToken' => 'securityToken', 'status' => 'status', ]; 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->expiration) { $res['expiration'] = $this->expiration; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->securityToken) { $res['securityToken'] = $this->securityToken; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return CreateTokenResponseBody */ 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['expiration'])) { $model->expiration = $map['expiration']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['securityToken'])) { $model->securityToken = $map['securityToken']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/edu_1_0/Models/CreateUniversityCourseGroupHeaders.php000064400000002361146412132660017511 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateUniversityCourseGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateUniversityCourseGroupRequest.php000064400000013436146412132660017573 0ustar00 'courseGroupIntroduce', 'courseGroupName' => 'courseGroupName', 'courserGroupItemModels' => 'courserGroupItemModels', 'ext' => 'ext', 'isvCourseGroupCode' => 'isvCourseGroupCode', 'periodCode' => 'periodCode', 'schoolYear' => 'schoolYear', 'semester' => 'semester', 'subjectName' => 'subjectName', 'teacherInfos' => 'teacherInfos', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseGroupIntroduce) { $res['courseGroupIntroduce'] = $this->courseGroupIntroduce; } if (null !== $this->courseGroupName) { $res['courseGroupName'] = $this->courseGroupName; } if (null !== $this->courserGroupItemModels) { $res['courserGroupItemModels'] = []; if (null !== $this->courserGroupItemModels && \is_array($this->courserGroupItemModels)) { $n = 0; foreach ($this->courserGroupItemModels as $item) { $res['courserGroupItemModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->ext) { $res['ext'] = $this->ext; } if (null !== $this->isvCourseGroupCode) { $res['isvCourseGroupCode'] = $this->isvCourseGroupCode; } if (null !== $this->periodCode) { $res['periodCode'] = $this->periodCode; } if (null !== $this->schoolYear) { $res['schoolYear'] = $this->schoolYear; } if (null !== $this->semester) { $res['semester'] = $this->semester; } if (null !== $this->subjectName) { $res['subjectName'] = $this->subjectName; } if (null !== $this->teacherInfos) { $res['teacherInfos'] = []; if (null !== $this->teacherInfos && \is_array($this->teacherInfos)) { $n = 0; foreach ($this->teacherInfos as $item) { $res['teacherInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return CreateUniversityCourseGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseGroupIntroduce'])) { $model->courseGroupIntroduce = $map['courseGroupIntroduce']; } if (isset($map['courseGroupName'])) { $model->courseGroupName = $map['courseGroupName']; } if (isset($map['courserGroupItemModels'])) { if (!empty($map['courserGroupItemModels'])) { $model->courserGroupItemModels = []; $n = 0; foreach ($map['courserGroupItemModels'] as $item) { $model->courserGroupItemModels[$n++] = null !== $item ? courserGroupItemModels::fromMap($item) : $item; } } } if (isset($map['ext'])) { $model->ext = $map['ext']; } if (isset($map['isvCourseGroupCode'])) { $model->isvCourseGroupCode = $map['isvCourseGroupCode']; } if (isset($map['periodCode'])) { $model->periodCode = $map['periodCode']; } if (isset($map['schoolYear'])) { $model->schoolYear = $map['schoolYear']; } if (isset($map['semester'])) { $model->semester = $map['semester']; } if (isset($map['subjectName'])) { $model->subjectName = $map['subjectName']; } if (isset($map['teacherInfos'])) { if (!empty($map['teacherInfos'])) { $model->teacherInfos = []; $n = 0; foreach ($map['teacherInfos'] as $item) { $model->teacherInfos[$n++] = null !== $item ? teacherInfos::fromMap($item) : $item; } } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/CreateUniversityCourseGroupRequest/courserGroupItemModels.php000064400000007376146412132660024263 0ustar00 'classPeriodType', 'classroomId' => 'classroomId', 'courseType' => 'courseType', 'courserGroupItemEndDate' => 'courserGroupItemEndDate', 'courserGroupItemStartDate' => 'courserGroupItemStartDate', 'dayOfWeek' => 'dayOfWeek', 'sectionIndex' => 'sectionIndex', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classPeriodType) { $res['classPeriodType'] = $this->classPeriodType; } if (null !== $this->classroomId) { $res['classroomId'] = $this->classroomId; } if (null !== $this->courseType) { $res['courseType'] = $this->courseType; } if (null !== $this->courserGroupItemEndDate) { $res['courserGroupItemEndDate'] = null !== $this->courserGroupItemEndDate ? $this->courserGroupItemEndDate->toMap() : null; } if (null !== $this->courserGroupItemStartDate) { $res['courserGroupItemStartDate'] = null !== $this->courserGroupItemStartDate ? $this->courserGroupItemStartDate->toMap() : null; } if (null !== $this->dayOfWeek) { $res['dayOfWeek'] = $this->dayOfWeek; } if (null !== $this->sectionIndex) { $res['sectionIndex'] = $this->sectionIndex; } return $res; } /** * @param array $map * * @return courserGroupItemModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classPeriodType'])) { $model->classPeriodType = $map['classPeriodType']; } if (isset($map['classroomId'])) { $model->classroomId = $map['classroomId']; } if (isset($map['courseType'])) { $model->courseType = $map['courseType']; } if (isset($map['courserGroupItemEndDate'])) { $model->courserGroupItemEndDate = courserGroupItemEndDate::fromMap($map['courserGroupItemEndDate']); } if (isset($map['courserGroupItemStartDate'])) { $model->courserGroupItemStartDate = courserGroupItemStartDate::fromMap($map['courserGroupItemStartDate']); } if (isset($map['dayOfWeek'])) { $model->dayOfWeek = $map['dayOfWeek']; } if (isset($map['sectionIndex'])) { if (!empty($map['sectionIndex'])) { $model->sectionIndex = $map['sectionIndex']; } } return $model; } } edu_1_0/Models/CreateUniversityCourseGroupRequest/courserGroupItemModels/courserGroupItemEndDate.php000064400000002745146412132660030742 0ustar00src 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return courserGroupItemEndDate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } Models/CreateUniversityCourseGroupRequest/courserGroupItemModels/courserGroupItemStartDate.php000064400000002750146412132660031325 0ustar00src/edu_1_0 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return courserGroupItemStartDate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/CreateUniversityCourseGroupRequest/teacherInfos.php000064400000002417146412132660022202 0ustar00 'participantRole', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->participantRole) { $res['participantRole'] = $this->participantRole; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return teacherInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['participantRole'])) { $model->participantRole = $map['participantRole']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/CreateUniversityCourseGroupResponse.php000064400000003005146412132660017730 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateUniversityCourseGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateUniversityCourseGroupResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateUniversityCourseGroupResponseBody.php000064400000002141146412132660020546 0ustar00 'courseGroupInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseGroupInfo) { $res['courseGroupInfo'] = null !== $this->courseGroupInfo ? $this->courseGroupInfo->toMap() : null; } return $res; } /** * @param array $map * * @return CreateUniversityCourseGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseGroupInfo'])) { $model->courseGroupInfo = courseGroupInfo::fromMap($map['courseGroupInfo']); } return $model; } } src/edu_1_0/Models/CreateUniversityCourseGroupResponseBody/courseGroupInfo.php000064400000001674146412132660023711 0ustar00 'courseGroupCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseGroupCode) { $res['courseGroupCode'] = $this->courseGroupCode; } return $res; } /** * @param array $map * * @return courseGroupInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseGroupCode'])) { $model->courseGroupCode = $map['courseGroupCode']; } return $model; } } src/edu_1_0/Models/CreateUniversityStudentHeaders.php000064400000002351146412132660016661 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateUniversityStudentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateUniversityStudentRequest.php000064400000005113146412132660016735 0ustar00 'classId', 'gender' => 'gender', 'identityNumber' => 'identityNumber', 'mobile' => 'mobile', 'name' => 'name', 'studentNumber' => 'studentNumber', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->gender) { $res['gender'] = $this->gender; } if (null !== $this->identityNumber) { $res['identityNumber'] = $this->identityNumber; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->studentNumber) { $res['studentNumber'] = $this->studentNumber; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return CreateUniversityStudentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['gender'])) { $model->gender = $map['gender']; } if (isset($map['identityNumber'])) { $model->identityNumber = $map['identityNumber']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['studentNumber'])) { $model->studentNumber = $map['studentNumber']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/CreateUniversityStudentResponse.php000064400000002765146412132660017115 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateUniversityStudentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateUniversityStudentResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateUniversityStudentResponseBody.php000064400000001546146412132660017727 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CreateUniversityStudentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/CreateUniversityTeacherHeaders.php000064400000002351146412132660016606 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateUniversityTeacherHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/CreateUniversityTeacherRequest.php000064400000003550146412132660016665 0ustar00 'classId', 'opUserId' => 'opUserId', 'role' => 'role', 'teacherUserId' => 'teacherUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->teacherUserId) { $res['teacherUserId'] = $this->teacherUserId; } return $res; } /** * @param array $map * * @return CreateUniversityTeacherRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['teacherUserId'])) { $model->teacherUserId = $map['teacherUserId']; } return $model; } } src/edu_1_0/Models/CreateUniversityTeacherResponse.php000064400000002765146412132660017042 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateUniversityTeacherResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateUniversityTeacherResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/CreateUniversityTeacherResponseBody.php000064400000001546146412132660017654 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CreateUniversityTeacherResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/DeactivateDeviceHeaders.php000064400000002333146412132660015176 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeactivateDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/DeactivateDeviceRequest.php000064400000002572146412132660015260 0ustar00 'model', 'sn' => 'sn', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->model) { $res['model'] = $this->model; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return DeactivateDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['model'])) { $model->model = $map['model']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/edu_1_0/Models/DeactivateDeviceResponse.php000064400000002731146412132660015423 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeactivateDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeactivateDeviceResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/DeactivateDeviceResponseBody.php000064400000001623146412132660016240 0ustar00 'activateTimes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activateTimes) { $res['activateTimes'] = $this->activateTimes; } return $res; } /** * @param array $map * * @return DeactivateDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activateTimes'])) { $model->activateTimes = $map['activateTimes']; } return $model; } } src/edu_1_0/Models/DeductPointHeaders.php000064400000002321146412132660014224 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeductPointHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/DeductPointRequest.php000064400000004256146412132660014312 0ustar00 'bizId', 'deductDesc' => 'deductDesc', 'deductDetailUrl' => 'deductDetailUrl', 'deductNum' => 'deductNum', 'pointType' => 'pointType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->deductDesc) { $res['deductDesc'] = $this->deductDesc; } if (null !== $this->deductDetailUrl) { $res['deductDetailUrl'] = $this->deductDetailUrl; } if (null !== $this->deductNum) { $res['deductNum'] = $this->deductNum; } if (null !== $this->pointType) { $res['pointType'] = $this->pointType; } return $res; } /** * @param array $map * * @return DeductPointRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['deductDesc'])) { $model->deductDesc = $map['deductDesc']; } if (isset($map['deductDetailUrl'])) { $model->deductDetailUrl = $map['deductDetailUrl']; } if (isset($map['deductNum'])) { $model->deductNum = $map['deductNum']; } if (isset($map['pointType'])) { $model->pointType = $map['pointType']; } return $model; } } src/edu_1_0/Models/DeductPointResponse.php000064400000002705146412132660014455 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeductPointResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeductPointResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/DeductPointResponseBody.php000064400000002110146412132660015261 0ustar00 '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 DeductPointResponseBody */ 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/edu_1_0/Models/DeleteDeptHeaders.php000064400000002317146412132660014026 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/DeleteDeptRequest.php000064400000001535146412132660014104 0ustar00 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return DeleteDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/edu_1_0/Models/DeleteDeptResponse.php000064400000002701146412132660014246 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteDeptResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/DeleteDeptResponseBody.php000064400000001525146412132660015067 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteDeptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/DeleteDeviceHeaders.php000064400000002323146412132660014326 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/DeleteDeviceOrgHeaders.php000064400000002331146412132660014775 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteDeviceOrgHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/DeleteDeviceOrgRequest.php000064400000002170146412132660015053 0ustar00 'authCode', 'deviceCode' => 'deviceCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authCode) { $res['authCode'] = $this->authCode; } if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } return $res; } /** * @param array $map * * @return DeleteDeviceOrgRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authCode'])) { $model->authCode = $map['authCode']; } if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } return $model; } } src/edu_1_0/Models/DeleteDeviceOrgResponse.php000064400000002725146412132660015227 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteDeviceOrgResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteDeviceOrgResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/DeleteDeviceOrgResponseBody.php000064400000001503146412132660016036 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteDeviceOrgResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/DeleteDeviceRequest.php000064400000001446146412132660014410 0ustar00 'sn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sn) { $res['sn'] = $this->sn; } return $res; } /** * @param array $map * * @return DeleteDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sn'])) { $model->sn = $map['sn']; } return $model; } } src/edu_1_0/Models/DeleteDeviceResponse.php000064400000002711146412132660014552 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteDeviceResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/DeleteDeviceResponseBody.php000064400000001464146412132660015374 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/DeleteGuardianHeaders.php000064400000002327146412132660014665 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteGuardianHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/DeleteGuardianRequest.php000064400000002210146412132660014731 0ustar00 'operator', 'stuId' => 'stuId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->stuId) { $res['stuId'] = $this->stuId; } return $res; } /** * @param array $map * * @return DeleteGuardianRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['stuId'])) { $model->stuId = $map['stuId']; } return $model; } } src/edu_1_0/Models/DeleteGuardianResponse.php000064400000002721146412132660015106 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteGuardianResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteGuardianResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/DeleteGuardianResponseBody.php000064400000001501146412132660015717 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteGuardianResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/DeleteOrgRelationHeaders.php000064400000002335146412132660015357 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteOrgRelationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/DeleteOrgRelationRequest.php000064400000002220146412132660015425 0ustar00 'authCode', 'targetCorpId' => 'targetCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authCode) { $res['authCode'] = $this->authCode; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } return $res; } /** * @param array $map * * @return DeleteOrgRelationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authCode'])) { $model->authCode = $map['authCode']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } return $model; } } src/edu_1_0/Models/DeleteOrgRelationResponse.php000064400000002735146412132660015606 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteOrgRelationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteOrgRelationResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/DeleteOrgRelationResponseBody.php000064400000001507146412132660016420 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteOrgRelationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/DeletePhysicalClassroomHeaders.php000064400000002351146412132660016567 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeletePhysicalClassroomHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/DeletePhysicalClassroomRequest.php000064400000002316146412132660016645 0ustar00 'classroomId', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classroomId) { $res['classroomId'] = $this->classroomId; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return DeletePhysicalClassroomRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classroomId'])) { $model->classroomId = $map['classroomId']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/DeletePhysicalClassroomResponse.php000064400000002765146412132660017023 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeletePhysicalClassroomResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeletePhysicalClassroomResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/DeletePhysicalClassroomResponseBody.php000064400000001546146412132660017635 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeletePhysicalClassroomResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/DeleteRemoteClassCourseHeaders.php000064400000002351146412132660016532 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteRemoteClassCourseHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/DeleteRemoteClassCourseRequest.php000064400000001601146412132660016604 0ustar00 'authCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authCode) { $res['authCode'] = $this->authCode; } return $res; } /** * @param array $map * * @return DeleteRemoteClassCourseRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authCode'])) { $model->authCode = $map['authCode']; } return $model; } } src/edu_1_0/Models/DeleteRemoteClassCourseResponse.php000064400000002765146412132660016766 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteRemoteClassCourseResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteRemoteClassCourseResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/DeleteRemoteClassCourseResponseBody.php000064400000001557146412132660017602 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteRemoteClassCourseResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/DeleteStudentHeaders.php000064400000002325146412132660014557 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteStudentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/DeleteStudentRequest.php000064400000001536146412132660014637 0ustar00 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return DeleteStudentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/edu_1_0/Models/DeleteStudentResponse.php000064400000002715146412132660015005 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteStudentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteStudentResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/DeleteStudentResponseBody.php000064400000001477146412132660015627 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteStudentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/DeleteTeacherHeaders.php000064400000002325146412132660014504 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteTeacherHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/DeleteTeacherRequest.php000064400000002212146412132660014554 0ustar00 'adviser', 'operator' => 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->adviser) { $res['adviser'] = $this->adviser; } if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return DeleteTeacherRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['adviser'])) { $model->adviser = $map['adviser']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/edu_1_0/Models/DeleteTeacherResponse.php000064400000002715146412132660014732 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteTeacherResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteTeacherResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/DeleteTeacherResponseBody.php000064400000001477146412132660015554 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteTeacherResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/DeleteUniversityCourseGroupHeaders.php000064400000002361146412132660017510 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteUniversityCourseGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/DeleteUniversityCourseGroupRequest.php000064400000002402146412132660017561 0ustar00 'courseGroupCode', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseGroupCode) { $res['courseGroupCode'] = $this->courseGroupCode; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return DeleteUniversityCourseGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseGroupCode'])) { $model->courseGroupCode = $map['courseGroupCode']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/DeleteUniversityCourseGroupResponse.php000064400000003005146412132660017727 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteUniversityCourseGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteUniversityCourseGroupResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/DeleteUniversityCourseGroupResponseBody.php000064400000001556146412132660020556 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteUniversityCourseGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/DeleteUniversityStudentHeaders.php000064400000002351146412132660016660 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteUniversityStudentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/DeleteUniversityStudentRequest.php000064400000003035146412132660016735 0ustar00 'classId', 'opUserId' => 'opUserId', 'studentUserId' => 'studentUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->studentUserId) { $res['studentUserId'] = $this->studentUserId; } return $res; } /** * @param array $map * * @return DeleteUniversityStudentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['studentUserId'])) { $model->studentUserId = $map['studentUserId']; } return $model; } } src/edu_1_0/Models/DeleteUniversityStudentResponse.php000064400000002765146412132660017114 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteUniversityStudentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteUniversityStudentResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/DeleteUniversityStudentResponseBody.php000064400000001546146412132660017726 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteUniversityStudentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/DeleteUniversityTeacherHeaders.php000064400000002351146412132660016605 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteUniversityTeacherHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/DeleteUniversityTeacherRequest.php000064400000003552146412132660016666 0ustar00 'classId', 'opUserId' => 'opUserId', 'role' => 'role', 'teacherUserId' => 'teacherUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->teacherUserId) { $res['teacherUserId'] = $this->teacherUserId; } return $res; } /** * @param array $map * * @return DeleteUniversityTeacherRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['teacherUserId'])) { $model->teacherUserId = $map['teacherUserId']; } return $model; } } src/edu_1_0/Models/DeleteUniversityTeacherResponse.php000064400000002765146412132660017041 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteUniversityTeacherResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteUniversityTeacherResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/DeleteUniversityTeacherResponseBody.php000064400000001546146412132660017653 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteUniversityTeacherResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/DeviceHeartbeatHeaders.php000064400000002331146412132660015022 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeviceHeartbeatHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/DeviceHeartbeatRequest.php000064400000001453146412132660015103 0ustar00 'sn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sn) { $res['sn'] = $this->sn; } return $res; } /** * @param array $map * * @return DeviceHeartbeatRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sn'])) { $model->sn = $map['sn']; } return $model; } } src/edu_1_0/Models/DeviceHeartbeatResponse.php000064400000002725146412132660015254 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeviceHeartbeatResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeviceHeartbeatResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/DeviceHeartbeatResponseBody.php000064400000001627146412132660016072 0ustar00 'command', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->command) { $res['command'] = $this->command; } return $res; } /** * @param array $map * * @return DeviceHeartbeatResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['command'])) { $model->command = $map['command']; } return $model; } } src/edu_1_0/Models/EduFindUserRolesByUserIdHeaders.php000064400000002353146412132660016600 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EduFindUserRolesByUserIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/EduFindUserRolesByUserIdRequest.php000064400000003377146412132660016664 0ustar00 'classId', 'corpId' => 'corpId', 'hasOrgRole' => 'hasOrgRole', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->hasOrgRole) { $res['hasOrgRole'] = $this->hasOrgRole; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return EduFindUserRolesByUserIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['hasOrgRole'])) { $model->hasOrgRole = $map['hasOrgRole']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/EduFindUserRolesByUserIdResponse.php000064400000002771146412132660017027 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EduFindUserRolesByUserIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EduFindUserRolesByUserIdResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/EduFindUserRolesByUserIdResponseBody.php000064400000001614146412132660017640 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return EduFindUserRolesByUserIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = $map['result']; } } return $model; } } src/edu_1_0/Models/EduListUserByFromUserIdsHeaders.php000064400000002353146412132660016635 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EduListUserByFromUserIdsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/EduListUserByFromUserIdsRequest.php000064400000002775146412132660016722 0ustar00 'classId', 'corpId' => 'corpId', 'guardianUserId' => 'guardianUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->guardianUserId) { $res['guardianUserId'] = $this->guardianUserId; } return $res; } /** * @param array $map * * @return EduListUserByFromUserIdsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['guardianUserId'])) { $model->guardianUserId = $map['guardianUserId']; } return $model; } } src/edu_1_0/Models/EduListUserByFromUserIdsResponse.php000064400000002771146412132660017064 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EduListUserByFromUserIdsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EduListUserByFromUserIdsResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/EduListUserByFromUserIdsResponseBody.php000064400000002633146412132660017677 0ustar00 '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 EduListUserByFromUserIdsResponseBody */ 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/edu_1_0/Models/EduListUserByFromUserIdsResponseBody/result.php000064400000005121146412132660021210 0ustar00 'campusId', 'classId' => 'classId', 'gradeId' => 'gradeId', 'name' => 'name', 'periodId' => 'periodId', 'role' => 'role', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->campusId) { $res['campusId'] = $this->campusId; } if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->gradeId) { $res['gradeId'] = $this->gradeId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->periodId) { $res['periodId'] = $this->periodId; } if (null !== $this->role) { $res['role'] = $this->role; } 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['campusId'])) { $model->campusId = $map['campusId']; } if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['gradeId'])) { $model->gradeId = $map['gradeId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['periodId'])) { $model->periodId = $map['periodId']; } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/EduTeacherListHeaders.php000064400000002327146412132660014655 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EduTeacherListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/EduTeacherListRequest.php000064400000002243146412132660014727 0ustar00 '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 EduTeacherListRequest */ 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/edu_1_0/Models/EduTeacherListResponse.php000064400000002721146412132660015076 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EduTeacherListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EduTeacherListResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/EduTeacherListResponseBody.php000064400000001705146412132660015715 0ustar00 '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 EduTeacherListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/edu_1_0/Models/EduTeacherListResponseBody/result.php000064400000003477146412132660017243 0ustar00 'hasMore', 'teacherDetails' => 'teacherDetails', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->teacherDetails) { $res['teacherDetails'] = []; if (null !== $this->teacherDetails && \is_array($this->teacherDetails)) { $n = 0; foreach ($this->teacherDetails as $item) { $res['teacherDetails'][$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['teacherDetails'])) { if (!empty($map['teacherDetails'])) { $model->teacherDetails = []; $n = 0; foreach ($map['teacherDetails'] as $item) { $model->teacherDetails[$n++] = null !== $item ? teacherDetails::fromMap($item) : $item; } } } return $model; } } src/edu_1_0/Models/EduTeacherListResponseBody/result/teacherDetails.php000064400000003342146412132660022153 0ustar00 'name', 'role' => 'role', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return teacherDetails */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/EndCourseHeaders.php000064400000002315146412132660013674 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EndCourseHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/EndCourseRequest.php000064400000005416146412132660013756 0ustar00 'courseCode', 'ext' => 'ext', 'isvCode' => 'isvCode', 'livePlayInfoList' => 'livePlayInfoList', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseCode) { $res['courseCode'] = $this->courseCode; } if (null !== $this->ext) { $res['ext'] = $this->ext; } if (null !== $this->isvCode) { $res['isvCode'] = $this->isvCode; } if (null !== $this->livePlayInfoList) { $res['livePlayInfoList'] = []; if (null !== $this->livePlayInfoList && \is_array($this->livePlayInfoList)) { $n = 0; foreach ($this->livePlayInfoList as $item) { $res['livePlayInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return EndCourseRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseCode'])) { $model->courseCode = $map['courseCode']; } if (isset($map['ext'])) { $model->ext = $map['ext']; } if (isset($map['isvCode'])) { $model->isvCode = $map['isvCode']; } if (isset($map['livePlayInfoList'])) { if (!empty($map['livePlayInfoList'])) { $model->livePlayInfoList = []; $n = 0; foreach ($map['livePlayInfoList'] as $item) { $model->livePlayInfoList[$n++] = null !== $item ? livePlayInfoList::fromMap($item) : $item; } } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/EndCourseRequest/livePlayInfoList.php000064400000004453146412132660017213 0ustar00 'liveInputUrl', 'liveOutputFlvUrl' => 'liveOutputFlvUrl', 'liveOutputHlsUrl' => 'liveOutputHlsUrl', 'liveType' => 'liveType', 'replayUrl' => 'replayUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->liveInputUrl) { $res['liveInputUrl'] = $this->liveInputUrl; } if (null !== $this->liveOutputFlvUrl) { $res['liveOutputFlvUrl'] = $this->liveOutputFlvUrl; } if (null !== $this->liveOutputHlsUrl) { $res['liveOutputHlsUrl'] = $this->liveOutputHlsUrl; } if (null !== $this->liveType) { $res['liveType'] = $this->liveType; } if (null !== $this->replayUrl) { $res['replayUrl'] = $this->replayUrl; } return $res; } /** * @param array $map * * @return livePlayInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['liveInputUrl'])) { $model->liveInputUrl = $map['liveInputUrl']; } if (isset($map['liveOutputFlvUrl'])) { $model->liveOutputFlvUrl = $map['liveOutputFlvUrl']; } if (isset($map['liveOutputHlsUrl'])) { $model->liveOutputHlsUrl = $map['liveOutputHlsUrl']; } if (isset($map['liveType'])) { $model->liveType = $map['liveType']; } if (isset($map['replayUrl'])) { $model->replayUrl = $map['replayUrl']; } return $model; } } src/edu_1_0/Models/EndCourseResponse.php000064400000002675146412132660014130 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EndCourseResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EndCourseResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/EndCourseResponseBody.php000064400000002356146412132660014742 0ustar00 'universityCourseCommonResponse', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->universityCourseCommonResponse) { $res['universityCourseCommonResponse'] = null !== $this->universityCourseCommonResponse ? $this->universityCourseCommonResponse->toMap() : null; } return $res; } /** * @param array $map * * @return EndCourseResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['universityCourseCommonResponse'])) { $model->universityCourseCommonResponse = universityCourseCommonResponse::fromMap($map['universityCourseCommonResponse']); } return $model; } } src/edu_1_0/Models/EndCourseResponseBody/universityCourseCommonResponse.php000064400000002326146412132660023231 0ustar00 'courseCode', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseCode) { $res['courseCode'] = $this->courseCode; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return universityCourseCommonResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseCode'])) { $model->courseCode = $map['courseCode']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/GetBindChildInfoHeaders.php000064400000002333146412132660015101 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetBindChildInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/GetBindChildInfoRequest.php000064400000003160146412132660015155 0ustar00 'schoolCorpId', 'studentUserId' => 'studentUserId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->schoolCorpId) { $res['schoolCorpId'] = $this->schoolCorpId; } if (null !== $this->studentUserId) { $res['studentUserId'] = $this->studentUserId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetBindChildInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['schoolCorpId'])) { $model->schoolCorpId = $map['schoolCorpId']; } if (isset($map['studentUserId'])) { $model->studentUserId = $map['studentUserId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/edu_1_0/Models/GetBindChildInfoResponse.php000064400000002731146412132660015326 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetBindChildInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetBindChildInfoResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/GetBindChildInfoResponseBody.php000064400000003221146412132660016137 0ustar00 'childUserId', 'currentUserId' => 'currentUserId', 'familyCorpId' => 'familyCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->childUserId) { $res['childUserId'] = $this->childUserId; } if (null !== $this->currentUserId) { $res['currentUserId'] = $this->currentUserId; } if (null !== $this->familyCorpId) { $res['familyCorpId'] = $this->familyCorpId; } return $res; } /** * @param array $map * * @return GetBindChildInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['childUserId'])) { $model->childUserId = $map['childUserId']; } if (isset($map['currentUserId'])) { $model->currentUserId = $map['currentUserId']; } if (isset($map['familyCorpId'])) { $model->familyCorpId = $map['familyCorpId']; } return $model; } } src/edu_1_0/Models/GetDefaultChildHeaders.php000064400000002331146412132660014773 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDefaultChildHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/GetDefaultChildResponse.php000064400000002725146412132660015225 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDefaultChildResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDefaultChildResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/GetDefaultChildResponseBody.php000064400000006101146412132660016033 0ustar00 'avatar', 'bindStudents' => 'bindStudents', 'grade' => 'grade', 'name' => 'name', 'nick' => 'nick', 'period' => 'period', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatar) { $res['avatar'] = $this->avatar; } if (null !== $this->bindStudents) { $res['bindStudents'] = []; if (null !== $this->bindStudents && \is_array($this->bindStudents)) { $n = 0; foreach ($this->bindStudents as $item) { $res['bindStudents'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->grade) { $res['grade'] = $this->grade; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetDefaultChildResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatar'])) { $model->avatar = $map['avatar']; } if (isset($map['bindStudents'])) { if (!empty($map['bindStudents'])) { $model->bindStudents = []; $n = 0; foreach ($map['bindStudents'] as $item) { $model->bindStudents[$n++] = null !== $item ? bindStudents::fromMap($item) : $item; } } } if (isset($map['grade'])) { $model->grade = $map['grade']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/edu_1_0/Models/GetDefaultChildResponseBody/bindStudents.php000064400000003165146412132660020510 0ustar00 'classId', 'corpId' => 'corpId', 'period' => 'period', 'staffId' => 'staffId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->staffId) { $res['staffId'] = $this->staffId; } return $res; } /** * @param array $map * * @return bindStudents */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['staffId'])) { $model->staffId = $map['staffId']; } return $model; } } src/edu_1_0/Models/GetEduUserIdentityHeaders.php000064400000002337146412132660015537 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetEduUserIdentityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/GetEduUserIdentityRequest.php000064400000001545146412132660015614 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetEduUserIdentityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/edu_1_0/Models/GetEduUserIdentityResponse.php000064400000002741146412132660015761 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetEduUserIdentityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetEduUserIdentityResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/GetEduUserIdentityResponseBody.php000064400000002317146412132660016576 0ustar00 '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 GetEduUserIdentityResponseBody */ 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/edu_1_0/Models/GetEduUserIdentityResponseBody/data.php000064400000003026146412132660017505 0ustar00 'matchGuardianRule', 'matchTeacherRule' => 'matchTeacherRule', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->matchGuardianRule) { $res['matchGuardianRule'] = $this->matchGuardianRule; } if (null !== $this->matchTeacherRule) { $res['matchTeacherRule'] = $this->matchTeacherRule; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['matchGuardianRule'])) { $model->matchGuardianRule = $map['matchGuardianRule']; } if (isset($map['matchTeacherRule'])) { $model->matchTeacherRule = $map['matchTeacherRule']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/edu_1_0/Models/GetOpenCourseDetailHeaders.php000064400000002341146412132660015651 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOpenCourseDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/GetOpenCourseDetailResponse.php000064400000002745146412132660016104 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOpenCourseDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOpenCourseDetailResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/GetOpenCourseDetailResponseBody.php000064400000007257146412132660016725 0ustar00 'courseId', 'courseType' => 'courseType', 'coverUrl' => 'coverUrl', 'introduction' => 'introduction', 'pushModel' => 'pushModel', 'startTime' => 'startTime', 'teacherId' => 'teacherId', 'teacherName' => 'teacherName', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseId) { $res['courseId'] = $this->courseId; } if (null !== $this->courseType) { $res['courseType'] = $this->courseType; } if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->introduction) { $res['introduction'] = $this->introduction; } if (null !== $this->pushModel) { $res['pushModel'] = null !== $this->pushModel ? $this->pushModel->toMap() : null; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->teacherId) { $res['teacherId'] = $this->teacherId; } if (null !== $this->teacherName) { $res['teacherName'] = $this->teacherName; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return GetOpenCourseDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseId'])) { $model->courseId = $map['courseId']; } if (isset($map['courseType'])) { $model->courseType = $map['courseType']; } if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['introduction'])) { $model->introduction = $map['introduction']; } if (isset($map['pushModel'])) { $model->pushModel = pushModel::fromMap($map['pushModel']); } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['teacherId'])) { $model->teacherId = $map['teacherId']; } if (isset($map['teacherName'])) { $model->teacherName = $map['teacherName']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/edu_1_0/Models/GetOpenCourseDetailResponseBody/pushModel.php000064400000002601146412132660020651 0ustar00 'pushOrgNameList', 'pushRoleNameList' => 'pushRoleNameList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pushOrgNameList) { $res['pushOrgNameList'] = $this->pushOrgNameList; } if (null !== $this->pushRoleNameList) { $res['pushRoleNameList'] = $this->pushRoleNameList; } return $res; } /** * @param array $map * * @return pushModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pushOrgNameList'])) { if (!empty($map['pushOrgNameList'])) { $model->pushOrgNameList = $map['pushOrgNameList']; } } if (isset($map['pushRoleNameList'])) { if (!empty($map['pushRoleNameList'])) { $model->pushRoleNameList = $map['pushRoleNameList']; } } return $model; } } src/edu_1_0/Models/GetOpenCoursesHeaders.php000064400000002327146412132660014715 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOpenCoursesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/GetOpenCoursesRequest.php000064400000002243146412132660014767 0ustar00 '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 GetOpenCoursesRequest */ 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/edu_1_0/Models/GetOpenCoursesResponse.php000064400000002721146412132660015136 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOpenCoursesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOpenCoursesResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/GetOpenCoursesResponseBody.php000064400000003416146412132660015756 0ustar00 'courseList', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseList) { $res['courseList'] = []; if (null !== $this->courseList && \is_array($this->courseList)) { $n = 0; foreach ($this->courseList as $item) { $res['courseList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return GetOpenCoursesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseList'])) { if (!empty($map['courseList'])) { $model->courseList = []; $n = 0; foreach ($map['courseList'] as $item) { $model->courseList[$n++] = null !== $item ? courseList::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/edu_1_0/Models/GetOpenCoursesResponseBody/courseList.php000064400000006516146412132660020116 0ustar00 'courseId', 'coverUrl' => 'coverUrl', 'feedType' => 'feedType', 'jumpUrl' => 'jumpUrl', 'startTime' => 'startTime', 'teacherId' => 'teacherId', 'teacherName' => 'teacherName', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseId) { $res['courseId'] = $this->courseId; } if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->feedType) { $res['feedType'] = $this->feedType; } if (null !== $this->jumpUrl) { $res['jumpUrl'] = $this->jumpUrl; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->teacherId) { $res['teacherId'] = $this->teacherId; } if (null !== $this->teacherName) { $res['teacherName'] = $this->teacherName; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return courseList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseId'])) { $model->courseId = $map['courseId']; } if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['feedType'])) { $model->feedType = $map['feedType']; } if (isset($map['jumpUrl'])) { $model->jumpUrl = $map['jumpUrl']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['teacherId'])) { $model->teacherId = $map['teacherId']; } if (isset($map['teacherName'])) { $model->teacherName = $map['teacherName']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/edu_1_0/Models/GetPointActionRecordHeaders.php000064400000002343146412132660016034 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPointActionRecordHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/GetPointActionRecordRequest.php000064400000001656146412132660016117 0ustar00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPointActionRecordRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { $model->body = body::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/GetPointActionRecordRequest/body.php000064400000002547146412132660017054 0ustar00 'bizId', 'ownerId' => 'ownerId', 'pointType' => 'pointType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->ownerId) { $res['ownerId'] = $this->ownerId; } if (null !== $this->pointType) { $res['pointType'] = $this->pointType; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['ownerId'])) { $model->ownerId = $map['ownerId']; } if (isset($map['pointType'])) { $model->pointType = $map['pointType']; } return $model; } } src/edu_1_0/Models/GetPointActionRecordResponse.php000064400000002751146412132660016262 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPointActionRecordResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPointActionRecordResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/GetPointActionRecordResponseBody.php000064400000002355146412132660017100 0ustar00 '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 GetPointActionRecordResponseBody */ 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/edu_1_0/Models/GetPointActionRecordResponseBody/result.php000064400000002610146412132660020410 0ustar00 'actionTime', 'quantity' => 'quantity', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionTime) { $res['actionTime'] = $this->actionTime; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } 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['actionTime'])) { $model->actionTime = $map['actionTime']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/edu_1_0/Models/GetPointActionRecordShrinkRequest.php000064400000001524146412132660017270 0ustar00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bodyShrink) { $res['body'] = $this->bodyShrink; } return $res; } /** * @param array $map * * @return GetPointActionRecordShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { $model->bodyShrink = $map['body']; } return $model; } } src/edu_1_0/Models/GetPointInfoHeaders.php000064400000002323146412132660014351 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPointInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/GetPointInfoRequest.php000064400000001547146412132660014435 0ustar00 'pointType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pointType) { $res['pointType'] = $this->pointType; } return $res; } /** * @param array $map * * @return GetPointInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pointType'])) { $model->pointType = $map['pointType']; } return $model; } } src/edu_1_0/Models/GetPointInfoResponse.php000064400000002711146412132660014575 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPointInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPointInfoResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/GetPointInfoResponseBody.php000064400000002325146412132660015414 0ustar00 '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 GetPointInfoResponseBody */ 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/edu_1_0/Models/GetPointInfoResponseBody/result.php000064400000002674146412132660016741 0ustar00 'availableQuota', 'endTime' => 'endTime', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->availableQuota) { $res['availableQuota'] = $this->availableQuota; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['availableQuota'])) { $model->availableQuota = $map['availableQuota']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/edu_1_0/Models/GetRemoteClassCourseHeaders.php000064400000002343146412132660016050 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRemoteClassCourseHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/GetRemoteClassCourseRequest.php000064400000001561146412132660016126 0ustar00 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return GetRemoteClassCourseRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/edu_1_0/Models/GetRemoteClassCourseResponse.php000064400000002751146412132660016276 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRemoteClassCourseResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRemoteClassCourseResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/GetRemoteClassCourseResponseBody.php000064400000002411146412132660017105 0ustar00 '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 GetRemoteClassCourseResponseBody */ 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/edu_1_0/Models/GetRemoteClassCourseResponseBody/result.php000064400000013420146412132660020425 0ustar00 'attendParticipants', 'canEdit' => 'canEdit', 'courseCode' => 'courseCode', 'courseName' => 'courseName', 'endTime' => 'endTime', 'liveUrl' => 'liveUrl', 'recordInfos' => 'recordInfos', 'roomStatus' => 'roomStatus', 'startTime' => 'startTime', 'status' => 'status', 'teachingParticipant' => 'teachingParticipant', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendParticipants) { $res['attendParticipants'] = []; if (null !== $this->attendParticipants && \is_array($this->attendParticipants)) { $n = 0; foreach ($this->attendParticipants as $item) { $res['attendParticipants'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->canEdit) { $res['canEdit'] = $this->canEdit; } if (null !== $this->courseCode) { $res['courseCode'] = $this->courseCode; } if (null !== $this->courseName) { $res['courseName'] = $this->courseName; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->liveUrl) { $res['liveUrl'] = $this->liveUrl; } if (null !== $this->recordInfos) { $res['recordInfos'] = []; if (null !== $this->recordInfos && \is_array($this->recordInfos)) { $n = 0; foreach ($this->recordInfos as $item) { $res['recordInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->roomStatus) { $res['roomStatus'] = $this->roomStatus; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->teachingParticipant) { $res['teachingParticipant'] = null !== $this->teachingParticipant ? $this->teachingParticipant->toMap() : null; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendParticipants'])) { if (!empty($map['attendParticipants'])) { $model->attendParticipants = []; $n = 0; foreach ($map['attendParticipants'] as $item) { $model->attendParticipants[$n++] = null !== $item ? attendParticipants::fromMap($item) : $item; } } } if (isset($map['canEdit'])) { $model->canEdit = $map['canEdit']; } if (isset($map['courseCode'])) { $model->courseCode = $map['courseCode']; } if (isset($map['courseName'])) { $model->courseName = $map['courseName']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['liveUrl'])) { $model->liveUrl = $map['liveUrl']; } if (isset($map['recordInfos'])) { if (!empty($map['recordInfos'])) { $model->recordInfos = []; $n = 0; foreach ($map['recordInfos'] as $item) { $model->recordInfos[$n++] = null !== $item ? recordInfos::fromMap($item) : $item; } } } if (isset($map['roomStatus'])) { $model->roomStatus = $map['roomStatus']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['teachingParticipant'])) { $model->teachingParticipant = teachingParticipant::fromMap($map['teachingParticipant']); } return $model; } } src/edu_1_0/Models/GetRemoteClassCourseResponseBody/result/attendParticipants.php000064400000003655146412132660024277 0ustar00 'corpId', 'orgName' => 'orgName', 'participantId' => 'participantId', 'participantName' => 'participantName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->participantId) { $res['participantId'] = $this->participantId; } if (null !== $this->participantName) { $res['participantName'] = $this->participantName; } return $res; } /** * @param array $map * * @return attendParticipants */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['participantId'])) { $model->participantId = $map['participantId']; } if (isset($map['participantName'])) { $model->participantName = $map['participantName']; } return $model; } } src/edu_1_0/Models/GetRemoteClassCourseResponseBody/result/recordInfos.php000064400000003000146412132660022673 0ustar00 'startTime', 'stopTime' => 'stopTime', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->stopTime) { $res['stopTime'] = $this->stopTime; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return recordInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['stopTime'])) { $model->stopTime = $map['stopTime']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/edu_1_0/Models/GetRemoteClassCourseResponseBody/result/teachingParticipant.php000064400000003656146412132660024420 0ustar00 'corpId', 'orgName' => 'orgName', 'participantId' => 'participantId', 'participantName' => 'participantName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->participantId) { $res['participantId'] = $this->participantId; } if (null !== $this->participantName) { $res['participantName'] = $this->participantName; } return $res; } /** * @param array $map * * @return teachingParticipant */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['participantId'])) { $model->participantId = $map['participantId']; } if (isset($map['participantName'])) { $model->participantName = $map['participantName']; } return $model; } } src/edu_1_0/Models/GetShareRoleMembersHeaders.php000064400000002341146412132660015643 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetShareRoleMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/GetShareRoleMembersResponse.php000064400000002745146412132660016076 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetShareRoleMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetShareRoleMembersResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/GetShareRoleMembersResponseBody.php000064400000002614146412132660016707 0ustar00 '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 GetShareRoleMembersResponseBody */ 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/edu_1_0/Models/GetShareRoleMembersResponseBody/result.php000064400000002611146412132660020222 0ustar00 'corpId', 'memberUserIdListInTrunkOrg' => 'memberUserIdListInTrunkOrg', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->memberUserIdListInTrunkOrg) { $res['memberUserIdListInTrunkOrg'] = $this->memberUserIdListInTrunkOrg; } 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['memberUserIdListInTrunkOrg'])) { if (!empty($map['memberUserIdListInTrunkOrg'])) { $model->memberUserIdListInTrunkOrg = $map['memberUserIdListInTrunkOrg']; } } return $model; } } src/edu_1_0/Models/GetShareRolesHeaders.php000064400000002325146412132660014515 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetShareRolesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/GetShareRolesResponse.php000064400000002715146412132660014743 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetShareRolesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetShareRolesResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/GetShareRolesResponseBody.php000064400000002572146412132660015562 0ustar00 '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 GetShareRolesResponseBody */ 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/edu_1_0/Models/GetShareRolesResponseBody/result.php000064400000002367146412132660017102 0ustar00 'shareRoleCode', 'shareRoleName' => 'shareRoleName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->shareRoleCode) { $res['shareRoleCode'] = $this->shareRoleCode; } if (null !== $this->shareRoleName) { $res['shareRoleName'] = $this->shareRoleName; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['shareRoleCode'])) { $model->shareRoleCode = $map['shareRoleCode']; } if (isset($map['shareRoleName'])) { $model->shareRoleName = $map['shareRoleName']; } return $model; } } src/edu_1_0/Models/GetTaskListHeaders.php000064400000002321146412132660014200 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTaskListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/GetTaskListRequest.php000064400000003432146412132660014261 0ustar00 'operator', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'taskYear' => 'taskYear', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->taskYear) { $res['taskYear'] = $this->taskYear; } return $res; } /** * @param array $map * * @return GetTaskListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['taskYear'])) { $model->taskYear = $map['taskYear']; } return $model; } } src/edu_1_0/Models/GetTaskListResponse.php000064400000002705146412132660014431 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTaskListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTaskListResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/GetTaskListResponseBody.php000064400000003266146412132660015252 0ustar00 'count', 'taskList' => 'taskList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->taskList) { $res['taskList'] = []; if (null !== $this->taskList && \is_array($this->taskList)) { $n = 0; foreach ($this->taskList as $item) { $res['taskList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetTaskListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['taskList'])) { if (!empty($map['taskList'])) { $model->taskList = []; $n = 0; foreach ($map['taskList'] as $item) { $model->taskList[$n++] = null !== $item ? taskList::fromMap($item) : $item; } } } return $model; } } src/edu_1_0/Models/GetTaskListResponseBody/taskList.php000064400000002663146412132660017050 0ustar00 'name', 'taskId' => 'taskId', 'taskYear' => 'taskYear', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->taskYear) { $res['taskYear'] = $this->taskYear; } return $res; } /** * @param array $map * * @return taskList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['taskYear'])) { $model->taskYear = $map['taskYear']; } return $model; } } src/edu_1_0/Models/GetTaskStudentListHeaders.php000064400000002337146412132660015556 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTaskStudentListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/GetTaskStudentListRequest.php000064400000003433146412132660015631 0ustar00 'operator', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return GetTaskStudentListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/edu_1_0/Models/GetTaskStudentListResponse.php000064400000002741146412132660016000 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTaskStudentListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTaskStudentListResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/GetTaskStudentListResponseBody.php000064400000004066146412132660016620 0ustar00 'count', 'studentList' => 'studentList', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->studentList) { $res['studentList'] = []; if (null !== $this->studentList && \is_array($this->studentList)) { $n = 0; foreach ($this->studentList as $item) { $res['studentList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return GetTaskStudentListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['studentList'])) { if (!empty($map['studentList'])) { $model->studentList = []; $n = 0; foreach ($map['studentList'] as $item) { $model->studentList[$n++] = null !== $item ? studentList::fromMap($item) : $item; } } } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/edu_1_0/Models/GetTaskStudentListResponseBody/studentList.php000064400000002722146412132660021137 0ustar00 'name', 'sexuality' => 'sexuality', 'studentId' => 'studentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->sexuality) { $res['sexuality'] = $this->sexuality; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } return $res; } /** * @param array $map * * @return studentList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['sexuality'])) { $model->sexuality = $map['sexuality']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } return $model; } } src/edu_1_0/Models/InitCoursesOfClassHeaders.php000064400000002337146412132660015533 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InitCoursesOfClassHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/InitCoursesOfClassRequest.php000064400000004314146412132660015605 0ustar00 'courses', 'sectionConfig' => 'sectionConfig', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courses) { $res['courses'] = []; if (null !== $this->courses && \is_array($this->courses)) { $n = 0; foreach ($this->courses as $item) { $res['courses'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sectionConfig) { $res['sectionConfig'] = null !== $this->sectionConfig ? $this->sectionConfig->toMap() : null; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return InitCoursesOfClassRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courses'])) { if (!empty($map['courses'])) { $model->courses = []; $n = 0; foreach ($map['courses'] as $item) { $model->courses[$n++] = null !== $item ? courses::fromMap($item) : $item; } } } if (isset($map['sectionConfig'])) { $model->sectionConfig = sectionConfig::fromMap($map['sectionConfig']); } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/InitCoursesOfClassRequest/courses.php000064400000005604146412132660017273 0ustar00 'courseName', 'creatorName' => 'creatorName', 'dateModel' => 'dateModel', 'location' => 'location', 'sectionModel' => 'sectionModel', 'teacherStaffIds' => 'teacherStaffIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseName) { $res['courseName'] = $this->courseName; } if (null !== $this->creatorName) { $res['creatorName'] = $this->creatorName; } if (null !== $this->dateModel) { $res['dateModel'] = null !== $this->dateModel ? $this->dateModel->toMap() : null; } if (null !== $this->location) { $res['location'] = $this->location; } if (null !== $this->sectionModel) { $res['sectionModel'] = null !== $this->sectionModel ? $this->sectionModel->toMap() : null; } if (null !== $this->teacherStaffIds) { $res['teacherStaffIds'] = $this->teacherStaffIds; } return $res; } /** * @param array $map * * @return courses */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseName'])) { $model->courseName = $map['courseName']; } if (isset($map['creatorName'])) { $model->creatorName = $map['creatorName']; } if (isset($map['dateModel'])) { $model->dateModel = dateModel::fromMap($map['dateModel']); } if (isset($map['location'])) { $model->location = $map['location']; } if (isset($map['sectionModel'])) { $model->sectionModel = sectionModel::fromMap($map['sectionModel']); } if (isset($map['teacherStaffIds'])) { if (!empty($map['teacherStaffIds'])) { $model->teacherStaffIds = $map['teacherStaffIds']; } } return $model; } } src/edu_1_0/Models/InitCoursesOfClassRequest/courses/dateModel.php000064400000002660146412132660021170 0ustar00 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return dateModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/InitCoursesOfClassRequest/courses/sectionModel.php000064400000002351146412132660021714 0ustar00 'sectionIndex', 'sectionName' => 'sectionName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sectionIndex) { $res['sectionIndex'] = $this->sectionIndex; } if (null !== $this->sectionName) { $res['sectionName'] = $this->sectionName; } return $res; } /** * @param array $map * * @return sectionModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sectionIndex'])) { $model->sectionIndex = $map['sectionIndex']; } if (isset($map['sectionName'])) { $model->sectionName = $map['sectionName']; } return $model; } } src/edu_1_0/Models/InitCoursesOfClassRequest/sectionConfig.php000064400000004462146412132660020403 0ustar00 'end', 'sectionModels' => 'sectionModels', 'start' => 'start', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->sectionModels) { $res['sectionModels'] = []; if (null !== $this->sectionModels && \is_array($this->sectionModels)) { $n = 0; foreach ($this->sectionModels as $item) { $res['sectionModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } return $res; } /** * @param array $map * * @return sectionConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['sectionModels'])) { if (!empty($map['sectionModels'])) { $model->sectionModels = []; $n = 0; foreach ($map['sectionModels'] as $item) { $model->sectionModels[$n++] = null !== $item ? sectionModels::fromMap($item) : $item; } } } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } return $model; } } src/edu_1_0/Models/InitCoursesOfClassRequest/sectionConfig/end.php000064400000002652146412132660021150 0ustar00 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/InitCoursesOfClassRequest/sectionConfig/sectionModels.php000064400000004125146412132660023207 0ustar00 'end', 'sectionIndex' => 'sectionIndex', 'sectionType' => 'sectionType', 'start' => 'start', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->sectionIndex) { $res['sectionIndex'] = $this->sectionIndex; } if (null !== $this->sectionType) { $res['sectionType'] = $this->sectionType; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } return $res; } /** * @param array $map * * @return sectionModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['sectionIndex'])) { $model->sectionIndex = $map['sectionIndex']; } if (isset($map['sectionType'])) { $model->sectionType = $map['sectionType']; } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } return $model; } } src/edu_1_0/Models/InitCoursesOfClassRequest/sectionConfig/sectionModels/end.php000064400000002122146412132660023750 0ustar00 'hour', 'min' => 'min', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hour) { $res['hour'] = $this->hour; } if (null !== $this->min) { $res['min'] = $this->min; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hour'])) { $model->hour = $map['hour']; } if (isset($map['min'])) { $model->min = $map['min']; } return $model; } } src/edu_1_0/Models/InitCoursesOfClassRequest/sectionConfig/sectionModels/start.php000064400000002125146412132660024342 0ustar00 'hour', 'min' => 'min', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hour) { $res['hour'] = $this->hour; } if (null !== $this->min) { $res['min'] = $this->min; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hour'])) { $model->hour = $map['hour']; } if (isset($map['min'])) { $model->min = $map['min']; } return $model; } } src/edu_1_0/Models/InitCoursesOfClassRequest/sectionConfig/start.php000064400000002656146412132660021543 0ustar00 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/InitCoursesOfClassResponse.php000064400000002741146412132660015755 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InitCoursesOfClassResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InitCoursesOfClassResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/InitCoursesOfClassResponseBody.php000064400000001534146412132660016572 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return InitCoursesOfClassResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/InitDeviceHeaders.php000064400000002317146412132660014032 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InitDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/InitDeviceRequest.php000064400000004171146412132660014107 0ustar00 'encryptPubKey', 'signature' => 'signature', 'sn' => 'sn', 'timestamp' => 'timestamp', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->encryptPubKey) { $res['encryptPubKey'] = $this->encryptPubKey; } if (null !== $this->signature) { $res['signature'] = $this->signature; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return InitDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['encryptPubKey'])) { $model->encryptPubKey = $map['encryptPubKey']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/edu_1_0/Models/InitDeviceResponse.php000064400000002701146412132660014252 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InitDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InitDeviceResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/InitDeviceResponseBody.php000064400000001576146412132660015101 0ustar00 'successInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->successInfo) { $res['successInfo'] = $this->successInfo; } return $res; } /** * @param array $map * * @return InitDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['successInfo'])) { $model->successInfo = $map['successInfo']; } return $model; } } src/edu_1_0/Models/InitVPaasDeviceHeaders.php000064400000002331146412132660014761 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InitVPaasDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/InitVPaasDeviceRequest.php000064400000002603146412132660015040 0ustar00 'sn', 'timestamp' => 'timestamp', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return InitVPaasDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/edu_1_0/Models/InitVPaasDeviceResponse.php000064400000002725146412132660015213 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InitVPaasDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InitVPaasDeviceResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/InitVPaasDeviceResponseBody.php000064400000001520146412132660016021 0ustar00 'pspk', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pspk) { $res['pspk'] = $this->pspk; } return $res; } /** * @param array $map * * @return InitVPaasDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pspk'])) { $model->pspk = $map['pspk']; } return $model; } } src/edu_1_0/Models/InsertSectionConfigHeaders.php000064400000002341146412132660015723 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InsertSectionConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/InsertSectionConfigRequest.php000064400000005713146412132660016006 0ustar00 'end', 'scheduleName' => 'scheduleName', 'sectionModels' => 'sectionModels', 'start' => 'start', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->scheduleName) { $res['scheduleName'] = $this->scheduleName; } if (null !== $this->sectionModels) { $res['sectionModels'] = []; if (null !== $this->sectionModels && \is_array($this->sectionModels)) { $n = 0; foreach ($this->sectionModels as $item) { $res['sectionModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return InsertSectionConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['scheduleName'])) { $model->scheduleName = $map['scheduleName']; } if (isset($map['sectionModels'])) { if (!empty($map['sectionModels'])) { $model->sectionModels = []; $n = 0; foreach ($map['sectionModels'] as $item) { $model->sectionModels[$n++] = null !== $item ? sectionModels::fromMap($item) : $item; } } } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/InsertSectionConfigRequest/end.php000064400000002634146412132660016553 0ustar00 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/InsertSectionConfigRequest/sectionModels.php000064400000004552146412132660020616 0ustar00 'end', 'sectionIndex' => 'sectionIndex', 'sectionName' => 'sectionName', 'sectionType' => 'sectionType', 'start' => 'start', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->sectionIndex) { $res['sectionIndex'] = $this->sectionIndex; } if (null !== $this->sectionName) { $res['sectionName'] = $this->sectionName; } if (null !== $this->sectionType) { $res['sectionType'] = $this->sectionType; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } return $res; } /** * @param array $map * * @return sectionModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['sectionIndex'])) { $model->sectionIndex = $map['sectionIndex']; } if (isset($map['sectionName'])) { $model->sectionName = $map['sectionName']; } if (isset($map['sectionType'])) { $model->sectionType = $map['sectionType']; } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } return $model; } } src/edu_1_0/Models/InsertSectionConfigRequest/sectionModels/end.php000064400000002105146412132660021354 0ustar00 'hour', 'min' => 'min', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hour) { $res['hour'] = $this->hour; } if (null !== $this->min) { $res['min'] = $this->min; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hour'])) { $model->hour = $map['hour']; } if (isset($map['min'])) { $model->min = $map['min']; } return $model; } } src/edu_1_0/Models/InsertSectionConfigRequest/sectionModels/start.php000064400000002110146412132660021737 0ustar00 'hour', 'min' => 'min', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hour) { $res['hour'] = $this->hour; } if (null !== $this->min) { $res['min'] = $this->min; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hour'])) { $model->hour = $map['hour']; } if (isset($map['min'])) { $model->min = $map['min']; } return $model; } } src/edu_1_0/Models/InsertSectionConfigRequest/start.php000064400000002640146412132660017137 0ustar00 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/InsertSectionConfigResponse.php000064400000002745146412132660016156 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InsertSectionConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InsertSectionConfigResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/InsertSectionConfigResponseBody.php000064400000001536146412132660016771 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return InsertSectionConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/IsvDataWriteHeaders.php000064400000002323146412132660014352 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IsvDataWriteHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/IsvDataWriteRequest.php000064400000002400146412132660014423 0ustar00 'objectCode', 'rowValueList' => 'rowValueList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->objectCode) { $res['objectCode'] = $this->objectCode; } if (null !== $this->rowValueList) { $res['rowValueList'] = $this->rowValueList; } return $res; } /** * @param array $map * * @return IsvDataWriteRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['objectCode'])) { $model->objectCode = $map['objectCode']; } if (isset($map['rowValueList'])) { if (!empty($map['rowValueList'])) { $model->rowValueList = $map['rowValueList']; } } return $model; } } src/edu_1_0/Models/IsvDataWriteRequest/rowValueList.php000064400000002131146412132660017064 0ustar00 '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 rowValueList */ 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/edu_1_0/Models/IsvDataWriteResponse.php000064400000002711146412132660014576 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IsvDataWriteResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IsvDataWriteResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/IsvDataWriteResponseBody.php000064400000002325146412132660015415 0ustar00 '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 IsvDataWriteResponseBody */ 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/edu_1_0/Models/IsvDataWriteResponseBody/result.php000064400000002133146412132660016730 0ustar00 'needRetry', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->needRetry) { $res['needRetry'] = $this->needRetry; } 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['needRetry'])) { $model->needRetry = $map['needRetry']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/IsvMetadataQueryHeaders.php000064400000002333146412132660015235 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IsvMetadataQueryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/IsvMetadataQueryRequest.php000064400000001563146412132660015316 0ustar00 'objectCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->objectCode) { $res['objectCode'] = $this->objectCode; } return $res; } /** * @param array $map * * @return IsvMetadataQueryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['objectCode'])) { $model->objectCode = $map['objectCode']; } return $model; } } src/edu_1_0/Models/IsvMetadataQueryResponse.php000064400000002731146412132660015462 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IsvMetadataQueryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IsvMetadataQueryResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/IsvMetadataQueryResponseBody.php000064400000002341146412132660016275 0ustar00 '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 IsvMetadataQueryResponseBody */ 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/edu_1_0/Models/IsvMetadataQueryResponseBody/result.php000064400000003772146412132660017624 0ustar00 'fields', 'tableCode' => 'tableCode', 'tableExist' => 'tableExist', ]; public function validate() { } public function toMap() { $res = []; 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->tableCode) { $res['tableCode'] = $this->tableCode; } if (null !== $this->tableExist) { $res['tableExist'] = $this->tableExist; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); 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['tableCode'])) { $model->tableCode = $map['tableCode']; } if (isset($map['tableExist'])) { $model->tableExist = $map['tableExist']; } return $model; } } src/edu_1_0/Models/IsvMetadataQueryResponseBody/result/fields.php000064400000004663146412132660021072 0ustar00 'description', 'fieldKey' => 'fieldKey', 'fieldName' => 'fieldName', 'fieldType' => 'fieldType', 'primaryKey' => 'primaryKey', 'required' => 'required', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->fieldKey) { $res['fieldKey'] = $this->fieldKey; } if (null !== $this->fieldName) { $res['fieldName'] = $this->fieldName; } if (null !== $this->fieldType) { $res['fieldType'] = $this->fieldType; } if (null !== $this->primaryKey) { $res['primaryKey'] = $this->primaryKey; } if (null !== $this->required) { $res['required'] = $this->required; } return $res; } /** * @param array $map * * @return fields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['fieldKey'])) { $model->fieldKey = $map['fieldKey']; } if (isset($map['fieldName'])) { $model->fieldName = $map['fieldName']; } if (isset($map['fieldType'])) { $model->fieldType = $map['fieldType']; } if (isset($map['primaryKey'])) { $model->primaryKey = $map['primaryKey']; } if (isset($map['required'])) { $model->required = $map['required']; } return $model; } } src/edu_1_0/Models/ListOrderHeaders.php000064400000002315146412132660013714 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/ListOrderRequest.php000064400000007402146412132660013773 0ustar00 'createTimeEnd', 'createTimeStart' => 'createTimeStart', 'merchantId' => 'merchantId', 'orderNo' => 'orderNo', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'scene' => 'scene', 'status' => 'status', 'tradeNo' => 'tradeNo', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTimeEnd) { $res['createTimeEnd'] = $this->createTimeEnd; } if (null !== $this->createTimeStart) { $res['createTimeStart'] = $this->createTimeStart; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->tradeNo) { $res['tradeNo'] = $this->tradeNo; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ListOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTimeEnd'])) { $model->createTimeEnd = $map['createTimeEnd']; } if (isset($map['createTimeStart'])) { $model->createTimeStart = $map['createTimeStart']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['tradeNo'])) { $model->tradeNo = $map['tradeNo']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/ListOrderResponse.php000064400000002675146412132660014150 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListOrderResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/ListOrderResponseBody.php000064400000003120146412132660014750 0ustar00 'list', '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->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return ListOrderResponseBody */ 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['total'])) { $model->total = $map['total']; } return $model; } } src/edu_1_0/Models/ListOrderResponseBody/list_.php000064400000010237146412132660016071 0ustar00 'actualAmount', 'buyerId' => 'buyerId', 'corpId' => 'corpId', 'createTime' => 'createTime', 'endTime' => 'endTime', 'orderNo' => 'orderNo', 'payTime' => 'payTime', 'refundNo' => 'refundNo', 'scene' => 'scene', 'startTime' => 'startTime', 'status' => 'status', 'tradeNo' => 'tradeNo', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actualAmount) { $res['actualAmount'] = $this->actualAmount; } if (null !== $this->buyerId) { $res['buyerId'] = $this->buyerId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->payTime) { $res['payTime'] = $this->payTime; } if (null !== $this->refundNo) { $res['refundNo'] = $this->refundNo; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->tradeNo) { $res['tradeNo'] = $this->tradeNo; } 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['actualAmount'])) { $model->actualAmount = $map['actualAmount']; } if (isset($map['buyerId'])) { $model->buyerId = $map['buyerId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['payTime'])) { $model->payTime = $map['payTime']; } if (isset($map['refundNo'])) { $model->refundNo = $map['refundNo']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['tradeNo'])) { $model->tradeNo = $map['tradeNo']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/MoveStudentHeaders.php000064400000002321146412132660014257 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MoveStudentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/MoveStudentRequest.php000064400000003532146412132660014341 0ustar00 'operator', 'originClassId' => 'originClassId', 'targetClassId' => 'targetClassId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->originClassId) { $res['originClassId'] = $this->originClassId; } if (null !== $this->targetClassId) { $res['targetClassId'] = $this->targetClassId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return MoveStudentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['originClassId'])) { $model->originClassId = $map['originClassId']; } if (isset($map['targetClassId'])) { $model->targetClassId = $map['targetClassId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/MoveStudentResponse.php000064400000002705146412132660014510 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MoveStudentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = MoveStudentResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/MoveStudentResponseBody.php000064400000001473146412132660015327 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return MoveStudentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/PageQueryDevicesHeaders.php000064400000002333146412132660015212 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PageQueryDevicesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/PageQueryDevicesRequest.php000064400000002726146412132660015275 0ustar00 '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 PageQueryDevicesRequest */ 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/edu_1_0/Models/PageQueryDevicesResponse.php000064400000002731146412132660015437 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PageQueryDevicesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PageQueryDevicesResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/PageQueryDevicesResponseBody.php000064400000003766146412132660016266 0ustar00 'list', 'nextToken' => 'nextToken', 'totalCount' => 'totalCount', ]; 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; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return PageQueryDevicesResponseBody */ 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']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/edu_1_0/Models/PageQueryDevicesResponseBody/list_.php000064400000003762146412132660017374 0ustar00 'gmtExpiry', 'model' => 'model', 'name' => 'name', 'sn' => 'sn', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->gmtExpiry) { $res['gmtExpiry'] = $this->gmtExpiry; } if (null !== $this->model) { $res['model'] = $this->model; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->sn) { $res['sn'] = $this->sn; } 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['gmtExpiry'])) { $model->gmtExpiry = $map['gmtExpiry']; } if (isset($map['model'])) { $model->model = $map['model']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/edu_1_0/Models/PayOrderHeaders.php000064400000002313146412132660013530 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PayOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/PayOrderRequest.php000064400000005436146412132660013616 0ustar00 'faceId', 'orderNo' => 'orderNo', 'signature' => 'signature', 'sn' => 'sn', 'timestamp' => 'timestamp', 'userId' => 'userId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->faceId) { $res['faceId'] = $this->faceId; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->signature) { $res['signature'] = $this->signature; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return PayOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['faceId'])) { $model->faceId = $map['faceId']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/edu_1_0/Models/PayOrderResponse.php000064400000002671146412132660013762 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PayOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PayOrderResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/PayOrderResponseBody.php000064400000001521146412132660014571 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return PayOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/PollingConfirmStatusHeaders.php000064400000002343146412132660016134 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PollingConfirmStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/PollingConfirmStatusRequest.php000064400000003421146412132660016207 0ustar00 'courseCode', 'ext' => 'ext', 'isvCode' => 'isvCode', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseCode) { $res['courseCode'] = $this->courseCode; } if (null !== $this->ext) { $res['ext'] = $this->ext; } if (null !== $this->isvCode) { $res['isvCode'] = $this->isvCode; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return PollingConfirmStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseCode'])) { $model->courseCode = $map['courseCode']; } if (isset($map['ext'])) { $model->ext = $map['ext']; } if (isset($map['isvCode'])) { $model->isvCode = $map['isvCode']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/PollingConfirmStatusResponse.php000064400000002751146412132660016362 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PollingConfirmStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PollingConfirmStatusResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/PollingConfirmStatusResponseBody.php000064400000002552146412132660017177 0ustar00 'universityPollingCourseStatusResponse', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->universityPollingCourseStatusResponse) { $res['universityPollingCourseStatusResponse'] = null !== $this->universityPollingCourseStatusResponse ? $this->universityPollingCourseStatusResponse->toMap() : null; } return $res; } /** * @param array $map * * @return PollingConfirmStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['universityPollingCourseStatusResponse'])) { $model->universityPollingCourseStatusResponse = universityPollingCourseStatusResponse::fromMap($map['universityPollingCourseStatusResponse']); } return $model; } } src/edu_1_0/Models/PollingConfirmStatusResponseBody/universityPollingCourseStatusResponse.php000064400000004534146412132660027053 0ustar00 'confirmStatus', 'courseCode' => 'courseCode', 'livePlayInfoList' => 'livePlayInfoList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->confirmStatus) { $res['confirmStatus'] = $this->confirmStatus; } if (null !== $this->courseCode) { $res['courseCode'] = $this->courseCode; } if (null !== $this->livePlayInfoList) { $res['livePlayInfoList'] = []; if (null !== $this->livePlayInfoList && \is_array($this->livePlayInfoList)) { $n = 0; foreach ($this->livePlayInfoList as $item) { $res['livePlayInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return universityPollingCourseStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['confirmStatus'])) { $model->confirmStatus = $map['confirmStatus']; } if (isset($map['courseCode'])) { $model->courseCode = $map['courseCode']; } if (isset($map['livePlayInfoList'])) { if (!empty($map['livePlayInfoList'])) { $model->livePlayInfoList = []; $n = 0; foreach ($map['livePlayInfoList'] as $item) { $model->livePlayInfoList[$n++] = null !== $item ? livePlayInfoList::fromMap($item) : $item; } } } return $model; } } Models/PollingConfirmStatusResponseBody/universityPollingCourseStatusResponse/livePlayInfoList.php000064400000003666146412132660032236 0ustar00src/edu_1_0 'liveInputUrl', 'liveOutputUrl' => 'liveOutputUrl', 'liveType' => 'liveType', 'replayUrl' => 'replayUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->liveInputUrl) { $res['liveInputUrl'] = $this->liveInputUrl; } if (null !== $this->liveOutputUrl) { $res['liveOutputUrl'] = $this->liveOutputUrl; } if (null !== $this->liveType) { $res['liveType'] = $this->liveType; } if (null !== $this->replayUrl) { $res['replayUrl'] = $this->replayUrl; } return $res; } /** * @param array $map * * @return livePlayInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['liveInputUrl'])) { $model->liveInputUrl = $map['liveInputUrl']; } if (isset($map['liveOutputUrl'])) { $model->liveOutputUrl = $map['liveOutputUrl']; } if (isset($map['liveType'])) { $model->liveType = $map['liveType']; } if (isset($map['replayUrl'])) { $model->replayUrl = $map['replayUrl']; } return $model; } } src/edu_1_0/Models/PreDialHeaders.php000064400000002311146412132660013321 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PreDialHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/PreDialRequest.php000064400000003471146412132660013406 0ustar00 'callerUserId', 'receiverUserId' => 'receiverUserId', 'sn' => 'sn', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callerUserId) { $res['callerUserId'] = $this->callerUserId; } if (null !== $this->receiverUserId) { $res['receiverUserId'] = $this->receiverUserId; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return PreDialRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callerUserId'])) { $model->callerUserId = $map['callerUserId']; } if (isset($map['receiverUserId'])) { $model->receiverUserId = $map['receiverUserId']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/edu_1_0/Models/PreDialResponse.php000064400000002665146412132660013560 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PreDialResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PreDialResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/PreDialResponseBody.php000064400000001452146412132660014367 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return PreDialResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/ProvidePointHeaders.php000064400000002323146412132660014426 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ProvidePointHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/ProvidePointRequest.php000064400000002741146412132660014507 0ustar00 'actionCode', 'bizId' => 'bizId', 'pointType' => 'pointType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionCode) { $res['actionCode'] = $this->actionCode; } if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->pointType) { $res['pointType'] = $this->pointType; } return $res; } /** * @param array $map * * @return ProvidePointRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionCode'])) { $model->actionCode = $map['actionCode']; } if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['pointType'])) { $model->pointType = $map['pointType']; } return $model; } } src/edu_1_0/Models/ProvidePointResponse.php000064400000002711146412132660014652 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ProvidePointResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ProvidePointResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/ProvidePointResponseBody.php000064400000002325146412132660015471 0ustar00 '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 ProvidePointResponseBody */ 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/edu_1_0/Models/ProvidePointResponseBody/result.php000064400000002767146412132660017021 0ustar00 'availableQuota', 'provideNum' => 'provideNum', 'provideSuccess' => 'provideSuccess', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->availableQuota) { $res['availableQuota'] = $this->availableQuota; } if (null !== $this->provideNum) { $res['provideNum'] = $this->provideNum; } if (null !== $this->provideSuccess) { $res['provideSuccess'] = $this->provideSuccess; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['availableQuota'])) { $model->availableQuota = $map['availableQuota']; } if (isset($map['provideNum'])) { $model->provideNum = $map['provideNum']; } if (isset($map['provideSuccess'])) { $model->provideSuccess = $map['provideSuccess']; } return $model; } } src/edu_1_0/Models/QueryAllSubjectsFromClassScheduleHeaders.php000064400000002375146412132660020543 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAllSubjectsFromClassScheduleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryAllSubjectsFromClassScheduleRequest.php000064400000003102146412132660020605 0ustar00 'classIds', 'opUserId' => 'opUserId', 'periodCode' => 'periodCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classIds) { $res['classIds'] = $this->classIds; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->periodCode) { $res['periodCode'] = $this->periodCode; } return $res; } /** * @param array $map * * @return QueryAllSubjectsFromClassScheduleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classIds'])) { if (!empty($map['classIds'])) { $model->classIds = $map['classIds']; } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['periodCode'])) { $model->periodCode = $map['periodCode']; } return $model; } } src/edu_1_0/Models/QueryAllSubjectsFromClassScheduleResponse.php000064400000003035146412132660020760 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAllSubjectsFromClassScheduleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAllSubjectsFromClassScheduleResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryAllSubjectsFromClassScheduleResponseBody.php000064400000002666146412132660021607 0ustar00 '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 QueryAllSubjectsFromClassScheduleResponseBody */ 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/edu_1_0/Models/QueryAllSubjectsFromClassScheduleResponseBody/result.php000064400000004473146412132660023123 0ustar00 'creatorOrgId', 'ext' => 'ext', 'periodCode' => 'periodCode', 'subjectCode' => 'subjectCode', 'subjectName' => 'subjectName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorOrgId) { $res['creatorOrgId'] = $this->creatorOrgId; } if (null !== $this->ext) { $res['ext'] = null !== $this->ext ? $this->ext->toMap() : null; } if (null !== $this->periodCode) { $res['periodCode'] = $this->periodCode; } if (null !== $this->subjectCode) { $res['subjectCode'] = $this->subjectCode; } if (null !== $this->subjectName) { $res['subjectName'] = $this->subjectName; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorOrgId'])) { $model->creatorOrgId = $map['creatorOrgId']; } if (isset($map['ext'])) { $model->ext = ext::fromMap($map['ext']); } if (isset($map['periodCode'])) { $model->periodCode = $map['periodCode']; } if (isset($map['subjectCode'])) { $model->subjectCode = $map['subjectCode']; } if (isset($map['subjectName'])) { $model->subjectName = $map['subjectName']; } return $model; } } src/edu_1_0/Models/QueryAllSubjectsFromClassScheduleResponseBody/result/ext.php000064400000005004146412132660023712 0ustar00 'backgroundColor', 'classId' => 'classId', 'fontColor' => 'fontColor', 'teacherList' => 'teacherList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->backgroundColor) { $res['backgroundColor'] = $this->backgroundColor; } if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->fontColor) { $res['fontColor'] = $this->fontColor; } if (null !== $this->teacherList) { $res['teacherList'] = []; if (null !== $this->teacherList && \is_array($this->teacherList)) { $n = 0; foreach ($this->teacherList as $item) { $res['teacherList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ext */ public static function fromMap($map = []) { $model = new self(); if (isset($map['backgroundColor'])) { $model->backgroundColor = $map['backgroundColor']; } if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['fontColor'])) { $model->fontColor = $map['fontColor']; } if (isset($map['teacherList'])) { if (!empty($map['teacherList'])) { $model->teacherList = []; $n = 0; foreach ($map['teacherList'] as $item) { $model->teacherList[$n++] = null !== $item ? teacherList::fromMap($item) : $item; } } } return $model; } } src/edu_1_0/Models/QueryAllSubjectsFromClassScheduleResponseBody/result/ext/teacherList.php000064400000003321146412132660026161 0ustar00 'avator', 'name' => 'name', 'uid' => 'uid', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avator) { $res['avator'] = $this->avator; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->uid) { $res['uid'] = $this->uid; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return teacherList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avator'])) { $model->avator = $map['avator']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['uid'])) { $model->uid = $map['uid']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/QueryAllSubjectsFromClassScheduleShrinkRequest.php000064400000003065146412132660021774 0ustar00 'classIds', 'opUserId' => 'opUserId', 'periodCode' => 'periodCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classIdsShrink) { $res['classIds'] = $this->classIdsShrink; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->periodCode) { $res['periodCode'] = $this->periodCode; } return $res; } /** * @param array $map * * @return QueryAllSubjectsFromClassScheduleShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classIds'])) { $model->classIdsShrink = $map['classIds']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['periodCode'])) { $model->periodCode = $map['periodCode']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleByTimeSchoolHeaders.php000064400000002367146412132660020046 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryClassScheduleByTimeSchoolHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleByTimeSchoolRequest.php000064400000002637146412132660020123 0ustar00 'endTime', 'opUserId' => 'opUserId', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return QueryClassScheduleByTimeSchoolRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleByTimeSchoolResponse.php000064400000003021146412132660020255 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryClassScheduleByTimeSchoolResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryClassScheduleByTimeSchoolResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryClassScheduleByTimeSchoolResponseBody.php000064400000002655146412132660021107 0ustar00 '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 QueryClassScheduleByTimeSchoolResponseBody */ 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/edu_1_0/Models/QueryClassScheduleByTimeSchoolResponseBody/result.php000064400000022103146412132660022413 0ustar00 'bizKey', 'classId' => 'classId', 'classrooms' => 'classrooms', 'code' => 'code', 'courseGroupCode' => 'courseGroupCode', 'coverUrl' => 'coverUrl', 'creatorCorpId' => 'creatorCorpId', 'creatorUserId' => 'creatorUserId', 'creatorUserName' => 'creatorUserName', 'eduUserModels' => 'eduUserModels', 'endTime' => 'endTime', 'extInfo' => 'extInfo', 'introduce' => 'introduce', 'name' => 'name', 'sectionIndex' => 'sectionIndex', 'sectionName' => 'sectionName', 'startTime' => 'startTime', 'status' => 'status', 'subjectCode' => 'subjectCode', 'teacherCorpId' => 'teacherCorpId', 'teacherUserId' => 'teacherUserId', 'teacherUserName' => 'teacherUserName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizKey) { $res['bizKey'] = $this->bizKey; } if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->classrooms) { $res['classrooms'] = []; if (null !== $this->classrooms && \is_array($this->classrooms)) { $n = 0; foreach ($this->classrooms as $item) { $res['classrooms'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->courseGroupCode) { $res['courseGroupCode'] = $this->courseGroupCode; } if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->creatorCorpId) { $res['creatorCorpId'] = $this->creatorCorpId; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->creatorUserName) { $res['creatorUserName'] = $this->creatorUserName; } if (null !== $this->eduUserModels) { $res['eduUserModels'] = []; if (null !== $this->eduUserModels && \is_array($this->eduUserModels)) { $n = 0; foreach ($this->eduUserModels as $item) { $res['eduUserModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->introduce) { $res['introduce'] = $this->introduce; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->sectionIndex) { $res['sectionIndex'] = $this->sectionIndex; } if (null !== $this->sectionName) { $res['sectionName'] = $this->sectionName; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->subjectCode) { $res['subjectCode'] = $this->subjectCode; } if (null !== $this->teacherCorpId) { $res['teacherCorpId'] = $this->teacherCorpId; } if (null !== $this->teacherUserId) { $res['teacherUserId'] = $this->teacherUserId; } if (null !== $this->teacherUserName) { $res['teacherUserName'] = $this->teacherUserName; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizKey'])) { $model->bizKey = $map['bizKey']; } if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['classrooms'])) { if (!empty($map['classrooms'])) { $model->classrooms = []; $n = 0; foreach ($map['classrooms'] as $item) { $model->classrooms[$n++] = null !== $item ? classrooms::fromMap($item) : $item; } } } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['courseGroupCode'])) { $model->courseGroupCode = $map['courseGroupCode']; } if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['creatorCorpId'])) { $model->creatorCorpId = $map['creatorCorpId']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['creatorUserName'])) { $model->creatorUserName = $map['creatorUserName']; } if (isset($map['eduUserModels'])) { if (!empty($map['eduUserModels'])) { $model->eduUserModels = []; $n = 0; foreach ($map['eduUserModels'] as $item) { $model->eduUserModels[$n++] = null !== $item ? eduUserModels::fromMap($item) : $item; } } } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['introduce'])) { $model->introduce = $map['introduce']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['sectionIndex'])) { $model->sectionIndex = $map['sectionIndex']; } if (isset($map['sectionName'])) { $model->sectionName = $map['sectionName']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['subjectCode'])) { $model->subjectCode = $map['subjectCode']; } if (isset($map['teacherCorpId'])) { $model->teacherCorpId = $map['teacherCorpId']; } if (isset($map['teacherUserId'])) { $model->teacherUserId = $map['teacherUserId']; } if (isset($map['teacherUserName'])) { $model->teacherUserName = $map['teacherUserName']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleByTimeSchoolResponseBody/result/classrooms.php000064400000002246146412132660024606 0ustar00 'interactInfo', 'targetId' => 'targetId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->interactInfo) { $res['interactInfo'] = $this->interactInfo; } if (null !== $this->targetId) { $res['targetId'] = $this->targetId; } return $res; } /** * @param array $map * * @return classrooms */ public static function fromMap($map = []) { $model = new self(); if (isset($map['interactInfo'])) { $model->interactInfo = $map['interactInfo']; } if (isset($map['targetId'])) { $model->targetId = $map['targetId']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleByTimeSchoolResponseBody/result/eduUserModels.php000064400000002503146412132660025175 0ustar00 'name', 'uid' => 'uid', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->uid) { $res['uid'] = $this->uid; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return eduUserModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['uid'])) { $model->uid = $map['uid']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleConfigHeaders.php000064400000002353146412132660016705 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryClassScheduleConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleConfigRequest.php000064400000002325146412132660016761 0ustar00 'classIds', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classIds) { $res['classIds'] = $this->classIds; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return QueryClassScheduleConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classIds'])) { if (!empty($map['classIds'])) { $model->classIds = $map['classIds']; } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleConfigResponse.php000064400000002771146412132660017134 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryClassScheduleConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryClassScheduleConfigResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryClassScheduleConfigResponseBody.php000064400000002633146412132660017747 0ustar00 '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 QueryClassScheduleConfigResponseBody */ 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/edu_1_0/Models/QueryClassScheduleConfigResponseBody/result.php000064400000005161146412132660021264 0ustar00 'classId', 'end' => 'end', 'sectionModels' => 'sectionModels', 'start' => 'start', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->sectionModels) { $res['sectionModels'] = []; if (null !== $this->sectionModels && \is_array($this->sectionModels)) { $n = 0; foreach ($this->sectionModels as $item) { $res['sectionModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } 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['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['sectionModels'])) { if (!empty($map['sectionModels'])) { $model->sectionModels = []; $n = 0; foreach ($map['sectionModels'] as $item) { $model->sectionModels[$n++] = null !== $item ? sectionModels::fromMap($item) : $item; } } } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } return $model; } } src/edu_1_0/Models/QueryClassScheduleConfigResponseBody/result/end.php000064400000002656146412132660022040 0ustar00 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleConfigResponseBody/result/sectionModels.php000064400000004575146412132660024104 0ustar00 'end', 'sectionIndex' => 'sectionIndex', 'sectionName' => 'sectionName', 'sectionType' => 'sectionType', 'start' => 'start', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->sectionIndex) { $res['sectionIndex'] = $this->sectionIndex; } if (null !== $this->sectionName) { $res['sectionName'] = $this->sectionName; } if (null !== $this->sectionType) { $res['sectionType'] = $this->sectionType; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } return $res; } /** * @param array $map * * @return sectionModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['sectionIndex'])) { $model->sectionIndex = $map['sectionIndex']; } if (isset($map['sectionName'])) { $model->sectionName = $map['sectionName']; } if (isset($map['sectionType'])) { $model->sectionType = $map['sectionType']; } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } return $model; } } src/edu_1_0/Models/QueryClassScheduleConfigResponseBody/result/sectionModels/end.php000064400000002126146412132660024640 0ustar00 'hour', 'min' => 'min', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hour) { $res['hour'] = $this->hour; } if (null !== $this->min) { $res['min'] = $this->min; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hour'])) { $model->hour = $map['hour']; } if (isset($map['min'])) { $model->min = $map['min']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleConfigResponseBody/result/sectionModels/start.php000064400000002131146412132660025223 0ustar00 'hour', 'min' => 'min', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hour) { $res['hour'] = $this->hour; } if (null !== $this->min) { $res['min'] = $this->min; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hour'])) { $model->hour = $map['hour']; } if (isset($map['min'])) { $model->min = $map['min']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleConfigResponseBody/result/start.php000064400000002661146412132660022423 0ustar00 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleConfigShrinkRequest.php000064400000002310146412132660020132 0ustar00 'classIds', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classIdsShrink) { $res['classIds'] = $this->classIdsShrink; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return QueryClassScheduleConfigShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classIds'])) { $model->classIdsShrink = $map['classIds']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleHeaders.php000064400000002337146412132660015561 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryClassScheduleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleRequest.php000064400000005273146412132660015640 0ustar00 'sectionIndexList', 'subscriberIds' => 'subscriberIds', 'endTime' => 'endTime', 'opUserId' => 'opUserId', 'startTime' => 'startTime', 'subscriberType' => 'subscriberType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sectionIndexList) { $res['sectionIndexList'] = $this->sectionIndexList; } if (null !== $this->subscriberIds) { $res['subscriberIds'] = $this->subscriberIds; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->subscriberType) { $res['subscriberType'] = $this->subscriberType; } return $res; } /** * @param array $map * * @return QueryClassScheduleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sectionIndexList'])) { if (!empty($map['sectionIndexList'])) { $model->sectionIndexList = $map['sectionIndexList']; } } if (isset($map['subscriberIds'])) { if (!empty($map['subscriberIds'])) { $model->subscriberIds = $map['subscriberIds']; } } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['subscriberType'])) { $model->subscriberType = $map['subscriberType']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleResponse.php000064400000002741146412132660016003 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryClassScheduleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryClassScheduleResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryClassScheduleResponseBody.php000064400000003562146412132660016623 0ustar00 'config', 'courseDTOS' => 'courseDTOS', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->config) { $res['config'] = null !== $this->config ? $this->config->toMap() : null; } if (null !== $this->courseDTOS) { $res['courseDTOS'] = []; if (null !== $this->courseDTOS && \is_array($this->courseDTOS)) { $n = 0; foreach ($this->courseDTOS as $item) { $res['courseDTOS'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryClassScheduleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['config'])) { $model->config = config::fromMap($map['config']); } if (isset($map['courseDTOS'])) { if (!empty($map['courseDTOS'])) { $model->courseDTOS = []; $n = 0; foreach ($map['courseDTOS'] as $item) { $model->courseDTOS[$n++] = null !== $item ? courseDTOS::fromMap($item) : $item; } } } return $model; } } src/edu_1_0/Models/QueryClassScheduleResponseBody/config.php000064400000004443146412132660020067 0ustar00 'end', 'sectionModels' => 'sectionModels', 'start' => 'start', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->sectionModels) { $res['sectionModels'] = []; if (null !== $this->sectionModels && \is_array($this->sectionModels)) { $n = 0; foreach ($this->sectionModels as $item) { $res['sectionModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } return $res; } /** * @param array $map * * @return config */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['sectionModels'])) { if (!empty($map['sectionModels'])) { $model->sectionModels = []; $n = 0; foreach ($map['sectionModels'] as $item) { $model->sectionModels[$n++] = null !== $item ? sectionModels::fromMap($item) : $item; } } } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } return $model; } } src/edu_1_0/Models/QueryClassScheduleResponseBody/config/end.php000064400000002647146412132660020641 0ustar00 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleResponseBody/config/sectionModels.php000064400000004611146412132660022674 0ustar00 'end', 'sectionIndex' => 'sectionIndex', 'sectionName' => 'sectionName', 'sectionType' => 'sectionType', 'start' => 'start', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->sectionIndex) { $res['sectionIndex'] = $this->sectionIndex; } if (null !== $this->sectionName) { $res['sectionName'] = $this->sectionName; } if (null !== $this->sectionType) { $res['sectionType'] = $this->sectionType; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } return $res; } /** * @param array $map * * @return sectionModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['sectionIndex'])) { $model->sectionIndex = $map['sectionIndex']; } if (isset($map['sectionName'])) { $model->sectionName = $map['sectionName']; } if (isset($map['sectionType'])) { $model->sectionType = $map['sectionType']; } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } return $model; } } src/edu_1_0/Models/QueryClassScheduleResponseBody/config/sectionModels/end.php000064400000002120146412132660023433 0ustar00 'hour', 'min' => 'min', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hour) { $res['hour'] = $this->hour; } if (null !== $this->min) { $res['min'] = $this->min; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hour'])) { $model->hour = $map['hour']; } if (isset($map['min'])) { $model->min = $map['min']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleResponseBody/config/sectionModels/start.php000064400000002123146412132660024025 0ustar00 'hour', 'min' => 'min', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hour) { $res['hour'] = $this->hour; } if (null !== $this->min) { $res['min'] = $this->min; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hour'])) { $model->hour = $map['hour']; } if (isset($map['min'])) { $model->min = $map['min']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleResponseBody/config/start.php000064400000002653146412132660021225 0ustar00 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleResponseBody/courseDTOS.php000064400000021355146412132660020615 0ustar00 'classId', 'classrooms' => 'classrooms', 'code' => 'code', 'courseGroupCode' => 'courseGroupCode', 'coverUrl' => 'coverUrl', 'creatorCorpId' => 'creatorCorpId', 'creatorUserId' => 'creatorUserId', 'creatorUserName' => 'creatorUserName', 'eduUserModels' => 'eduUserModels', 'endTime' => 'endTime', 'extInfo' => 'extInfo', 'introduce' => 'introduce', 'name' => 'name', 'sectionIndex' => 'sectionIndex', 'sectionName' => 'sectionName', 'startTime' => 'startTime', 'status' => 'status', 'subjectCode' => 'subjectCode', 'teacherCorpId' => 'teacherCorpId', 'teacherUserId' => 'teacherUserId', 'teacherUserName' => 'teacherUserName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->classrooms) { $res['classrooms'] = []; if (null !== $this->classrooms && \is_array($this->classrooms)) { $n = 0; foreach ($this->classrooms as $item) { $res['classrooms'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->courseGroupCode) { $res['courseGroupCode'] = $this->courseGroupCode; } if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->creatorCorpId) { $res['creatorCorpId'] = $this->creatorCorpId; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->creatorUserName) { $res['creatorUserName'] = $this->creatorUserName; } if (null !== $this->eduUserModels) { $res['eduUserModels'] = []; if (null !== $this->eduUserModels && \is_array($this->eduUserModels)) { $n = 0; foreach ($this->eduUserModels as $item) { $res['eduUserModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->introduce) { $res['introduce'] = $this->introduce; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->sectionIndex) { $res['sectionIndex'] = $this->sectionIndex; } if (null !== $this->sectionName) { $res['sectionName'] = $this->sectionName; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->subjectCode) { $res['subjectCode'] = $this->subjectCode; } if (null !== $this->teacherCorpId) { $res['teacherCorpId'] = $this->teacherCorpId; } if (null !== $this->teacherUserId) { $res['teacherUserId'] = $this->teacherUserId; } if (null !== $this->teacherUserName) { $res['teacherUserName'] = $this->teacherUserName; } return $res; } /** * @param array $map * * @return courseDTOS */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['classrooms'])) { if (!empty($map['classrooms'])) { $model->classrooms = []; $n = 0; foreach ($map['classrooms'] as $item) { $model->classrooms[$n++] = null !== $item ? classrooms::fromMap($item) : $item; } } } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['courseGroupCode'])) { $model->courseGroupCode = $map['courseGroupCode']; } if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['creatorCorpId'])) { $model->creatorCorpId = $map['creatorCorpId']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['creatorUserName'])) { $model->creatorUserName = $map['creatorUserName']; } if (isset($map['eduUserModels'])) { if (!empty($map['eduUserModels'])) { $model->eduUserModels = []; $n = 0; foreach ($map['eduUserModels'] as $item) { $model->eduUserModels[$n++] = null !== $item ? eduUserModels::fromMap($item) : $item; } } } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['introduce'])) { $model->introduce = $map['introduce']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['sectionIndex'])) { $model->sectionIndex = $map['sectionIndex']; } if (isset($map['sectionName'])) { $model->sectionName = $map['sectionName']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['subjectCode'])) { $model->subjectCode = $map['subjectCode']; } if (isset($map['teacherCorpId'])) { $model->teacherCorpId = $map['teacherCorpId']; } if (isset($map['teacherUserId'])) { $model->teacherUserId = $map['teacherUserId']; } if (isset($map['teacherUserName'])) { $model->teacherUserName = $map['teacherUserName']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleResponseBody/courseDTOS/classrooms.php000064400000002236146412132660022777 0ustar00 'interactInfo', 'targetId' => 'targetId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->interactInfo) { $res['interactInfo'] = $this->interactInfo; } if (null !== $this->targetId) { $res['targetId'] = $this->targetId; } return $res; } /** * @param array $map * * @return classrooms */ public static function fromMap($map = []) { $model = new self(); if (isset($map['interactInfo'])) { $model->interactInfo = $map['interactInfo']; } if (isset($map['targetId'])) { $model->targetId = $map['targetId']; } return $model; } } src/edu_1_0/Models/QueryClassScheduleResponseBody/courseDTOS/eduUserModels.php000064400000002473146412132660023375 0ustar00 'name', 'uid' => 'uid', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->uid) { $res['uid'] = $this->uid; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return eduUserModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['uid'])) { $model->uid = $map['uid']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/QueryDeviceHeaders.php000064400000002321146412132660014227 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/edu_1_0/Models/QueryDeviceListByCorpIdHeaders.php000064400000002351146412132660016462 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDeviceListByCorpIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryDeviceListByCorpIdRequest.php000064400000002644146412132660016544 0ustar00 'operator', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryDeviceListByCorpIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/edu_1_0/Models/QueryDeviceListByCorpIdResponse.php000064400000002765146412132660016716 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDeviceListByCorpIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDeviceListByCorpIdResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryDeviceListByCorpIdResponseBody.php000064400000002366146412132660017531 0ustar00 '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 QueryDeviceListByCorpIdResponseBody */ 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/edu_1_0/Models/QueryDeviceListByCorpIdResponseBody/result.php000064400000003200146412132660021033 0ustar00 '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 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; } } } return $model; } } src/edu_1_0/Models/QueryDeviceListByCorpIdResponseBody/result/list_.php000064400000002670146412132660022157 0ustar00 'appStatus', 'deviceCode' => 'deviceCode', 'deviceName' => 'deviceName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appStatus) { $res['appStatus'] = $this->appStatus; } if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appStatus'])) { $model->appStatus = $map['appStatus']; } if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } return $model; } } src/edu_1_0/Models/QueryDeviceRequest.php000064400000001447146412132660014314 0ustar00 'sn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sn) { $res['sn'] = $this->sn; } return $res; } /** * @param array $map * * @return QueryDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sn'])) { $model->sn = $map['sn']; } return $model; } } src/edu_1_0/Models/QueryDeviceResponse.php000064400000002705146412132660014460 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/edu_1_0/Models/QueryDeviceResponseBody.php000064400000003771146412132660015302 0ustar00 'gmtExpiry', 'model' => 'model', 'name' => 'name', 'sn' => 'sn', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->gmtExpiry) { $res['gmtExpiry'] = $this->gmtExpiry; } if (null !== $this->model) { $res['model'] = $this->model; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return QueryDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['gmtExpiry'])) { $model->gmtExpiry = $map['gmtExpiry']; } if (isset($map['model'])) { $model->model = $map['model']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/edu_1_0/Models/QueryEduAssetSpacesHeaders.php000064400000002341146412132660015706 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryEduAssetSpacesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryEduAssetSpacesRequest.php000064400000002757146412132660015776 0ustar00 'bizCode', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return QueryEduAssetSpacesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/edu_1_0/Models/QueryEduAssetSpacesResponse.php000064400000002745146412132660016141 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryEduAssetSpacesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryEduAssetSpacesResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryEduAssetSpacesResponseBody.php000064400000003717146412132660016757 0ustar00 'hasMore', 'nextToken' => 'nextToken', 'spaces' => 'spaces', ]; 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->spaces) { $res['spaces'] = []; if (null !== $this->spaces && \is_array($this->spaces)) { $n = 0; foreach ($this->spaces as $item) { $res['spaces'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryEduAssetSpacesResponseBody */ 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['spaces'])) { if (!empty($map['spaces'])) { $model->spaces = []; $n = 0; foreach ($map['spaces'] as $item) { $model->spaces[$n++] = null !== $item ? spaces::fromMap($item) : $item; } } } return $model; } } src/edu_1_0/Models/QueryEduAssetSpacesResponseBody/spaces.php000064400000006000146412132660020221 0ustar00 'createTimeMillis', 'modifyTimeMillis' => 'modifyTimeMillis', 'permissionMode' => 'permissionMode', 'quota' => 'quota', 'spaceId' => 'spaceId', 'spaceName' => 'spaceName', 'spaceType' => 'spaceType', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTimeMillis) { $res['createTimeMillis'] = $this->createTimeMillis; } if (null !== $this->modifyTimeMillis) { $res['modifyTimeMillis'] = $this->modifyTimeMillis; } if (null !== $this->permissionMode) { $res['permissionMode'] = $this->permissionMode; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->spaceName) { $res['spaceName'] = $this->spaceName; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return spaces */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTimeMillis'])) { $model->createTimeMillis = $map['createTimeMillis']; } if (isset($map['modifyTimeMillis'])) { $model->modifyTimeMillis = $map['modifyTimeMillis']; } if (isset($map['permissionMode'])) { $model->permissionMode = $map['permissionMode']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['spaceName'])) { $model->spaceName = $map['spaceName']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/edu_1_0/Models/QueryGroupIdHeaders.php000064400000002323146412132660014403 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGroupIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryGroupIdRequest.php000064400000001445146412132660014464 0ustar00 'sn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sn) { $res['sn'] = $this->sn; } return $res; } /** * @param array $map * * @return QueryGroupIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sn'])) { $model->sn = $map['sn']; } return $model; } } src/edu_1_0/Models/QueryGroupIdResponse.php000064400000002711146412132660014627 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGroupIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGroupIdResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryGroupIdResponseBody.php000064400000004633146412132660015452 0ustar00 'corpId', 'groupId' => 'groupId', 'merchantId' => 'merchantId', 'merchantName' => 'merchantName', 'name' => 'name', 'pid' => 'pid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->merchantName) { $res['merchantName'] = $this->merchantName; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->pid) { $res['pid'] = $this->pid; } return $res; } /** * @param array $map * * @return QueryGroupIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['merchantName'])) { $model->merchantName = $map['merchantName']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['pid'])) { $model->pid = $map['pid']; } return $model; } } src/edu_1_0/Models/QueryOrderHeaders.php000064400000002317146412132660014110 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryOrderRequest.php000064400000003553146412132660014170 0ustar00 'alipayAppId', 'merchantId' => 'merchantId', 'orderNo' => 'orderNo', 'signature' => 'signature', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alipayAppId) { $res['alipayAppId'] = $this->alipayAppId; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->signature) { $res['signature'] = $this->signature; } return $res; } /** * @param array $map * * @return QueryOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alipayAppId'])) { $model->alipayAppId = $map['alipayAppId']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } return $model; } } src/edu_1_0/Models/QueryOrderResponse.php000064400000002701146412132660014330 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryOrderResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryOrderResponseBody.php000064400000021352146412132660015151 0ustar00 'actualAmount', 'alipayAppId' => 'alipayAppId', 'closeTime' => 'closeTime', 'closeTimestamp' => 'closeTimestamp', 'createTime' => 'createTime', 'createTimestamp' => 'createTimestamp', 'labelAmount' => 'labelAmount', 'merchantId' => 'merchantId', 'merchantMergeOrderNo' => 'merchantMergeOrderNo', 'merchantOrderNo' => 'merchantOrderNo', 'orderNo' => 'orderNo', 'orderType' => 'orderType', 'outerUserId' => 'outerUserId', 'payLogonId' => 'payLogonId', 'payStatus' => 'payStatus', 'payTime' => 'payTime', 'payTimestamp' => 'payTimestamp', 'payType' => 'payType', 'refundAmount' => 'refundAmount', 'refundStatus' => 'refundStatus', 'refundTime' => 'refundTime', 'refundTimestamp' => 'refundTimestamp', 'subject' => 'subject', 'tradeNo' => 'tradeNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actualAmount) { $res['actualAmount'] = $this->actualAmount; } if (null !== $this->alipayAppId) { $res['alipayAppId'] = $this->alipayAppId; } if (null !== $this->closeTime) { $res['closeTime'] = $this->closeTime; } if (null !== $this->closeTimestamp) { $res['closeTimestamp'] = $this->closeTimestamp; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->createTimestamp) { $res['createTimestamp'] = $this->createTimestamp; } if (null !== $this->labelAmount) { $res['labelAmount'] = $this->labelAmount; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->merchantMergeOrderNo) { $res['merchantMergeOrderNo'] = $this->merchantMergeOrderNo; } if (null !== $this->merchantOrderNo) { $res['merchantOrderNo'] = $this->merchantOrderNo; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->orderType) { $res['orderType'] = $this->orderType; } if (null !== $this->outerUserId) { $res['outerUserId'] = $this->outerUserId; } if (null !== $this->payLogonId) { $res['payLogonId'] = $this->payLogonId; } if (null !== $this->payStatus) { $res['payStatus'] = $this->payStatus; } if (null !== $this->payTime) { $res['payTime'] = $this->payTime; } if (null !== $this->payTimestamp) { $res['payTimestamp'] = $this->payTimestamp; } if (null !== $this->payType) { $res['payType'] = $this->payType; } if (null !== $this->refundAmount) { $res['refundAmount'] = $this->refundAmount; } if (null !== $this->refundStatus) { $res['refundStatus'] = $this->refundStatus; } if (null !== $this->refundTime) { $res['refundTime'] = $this->refundTime; } if (null !== $this->refundTimestamp) { $res['refundTimestamp'] = $this->refundTimestamp; } if (null !== $this->subject) { $res['subject'] = $this->subject; } if (null !== $this->tradeNo) { $res['tradeNo'] = $this->tradeNo; } return $res; } /** * @param array $map * * @return QueryOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actualAmount'])) { $model->actualAmount = $map['actualAmount']; } if (isset($map['alipayAppId'])) { $model->alipayAppId = $map['alipayAppId']; } if (isset($map['closeTime'])) { $model->closeTime = $map['closeTime']; } if (isset($map['closeTimestamp'])) { $model->closeTimestamp = $map['closeTimestamp']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['createTimestamp'])) { $model->createTimestamp = $map['createTimestamp']; } if (isset($map['labelAmount'])) { $model->labelAmount = $map['labelAmount']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['merchantMergeOrderNo'])) { $model->merchantMergeOrderNo = $map['merchantMergeOrderNo']; } if (isset($map['merchantOrderNo'])) { $model->merchantOrderNo = $map['merchantOrderNo']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['orderType'])) { $model->orderType = $map['orderType']; } if (isset($map['outerUserId'])) { $model->outerUserId = $map['outerUserId']; } if (isset($map['payLogonId'])) { $model->payLogonId = $map['payLogonId']; } if (isset($map['payStatus'])) { $model->payStatus = $map['payStatus']; } if (isset($map['payTime'])) { $model->payTime = $map['payTime']; } if (isset($map['payTimestamp'])) { $model->payTimestamp = $map['payTimestamp']; } if (isset($map['payType'])) { $model->payType = $map['payType']; } if (isset($map['refundAmount'])) { $model->refundAmount = $map['refundAmount']; } if (isset($map['refundStatus'])) { $model->refundStatus = $map['refundStatus']; } if (isset($map['refundTime'])) { $model->refundTime = $map['refundTime']; } if (isset($map['refundTimestamp'])) { $model->refundTimestamp = $map['refundTimestamp']; } if (isset($map['subject'])) { $model->subject = $map['subject']; } if (isset($map['tradeNo'])) { $model->tradeNo = $map['tradeNo']; } return $model; } } src/edu_1_0/Models/QueryOrgRelationListHeaders.php000064400000002343146412132660016115 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryOrgRelationListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryOrgRelationListRequest.php000064400000001516146412132660016173 0ustar00 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return QueryOrgRelationListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/edu_1_0/Models/QueryOrgRelationListResponse.php000064400000002751146412132660016343 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOrgRelationListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryOrgRelationListResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryOrgRelationListResponseBody.php000064400000003245146412132660017160 0ustar00 '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 QueryOrgRelationListResponseBody */ 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/edu_1_0/Models/QueryOrgRelationListResponseBody/result.php000064400000002563146412132660020500 0ustar00 'corpId', 'deviceCount' => 'deviceCount', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deviceCount) { $res['deviceCount'] = $this->deviceCount; } 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['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deviceCount'])) { $model->deviceCount = $map['deviceCount']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/edu_1_0/Models/QueryOrgSecretKeyHeaders.php000064400000002335146412132660015403 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryOrgSecretKeyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryOrgSecretKeyRequest.php000064400000002237146412132660015461 0ustar00 'isvCode', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isvCode) { $res['isvCode'] = $this->isvCode; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return QueryOrgSecretKeyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isvCode'])) { $model->isvCode = $map['isvCode']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/QueryOrgSecretKeyResponse.php000064400000002735146412132660015632 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOrgSecretKeyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryOrgSecretKeyResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryOrgSecretKeyResponseBody.php000064400000002253146412132660016443 0ustar00 'universitySecretKeyInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->universitySecretKeyInfo) { $res['universitySecretKeyInfo'] = null !== $this->universitySecretKeyInfo ? $this->universitySecretKeyInfo->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOrgSecretKeyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['universitySecretKeyInfo'])) { $model->universitySecretKeyInfo = universitySecretKeyInfo::fromMap($map['universitySecretKeyInfo']); } return $model; } } src/edu_1_0/Models/QueryOrgSecretKeyResponseBody/universitySecretKeyInfo.php000064400000001617146412132660023322 0ustar00 'secretKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->secretKey) { $res['secretKey'] = $this->secretKey; } return $res; } /** * @param array $map * * @return universitySecretKeyInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['secretKey'])) { $model->secretKey = $map['secretKey']; } return $model; } } src/edu_1_0/Models/QueryOrgTypeHeaders.php000064400000002323146412132660014423 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryOrgTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryOrgTypeResponse.php000064400000002711146412132660014647 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOrgTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryOrgTypeResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryOrgTypeResponseBody.php000064400000001663146412132660015472 0ustar00 'orgType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orgType) { $res['orgType'] = $this->orgType; } return $res; } /** * @param array $map * * @return QueryOrgTypeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orgType'])) { $model->orgType = $map['orgType']; } return $model; } } src/edu_1_0/Models/QueryPayResultHeaders.php000064400000002327146412132660014766 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryPayResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryPayResultRequest.php000064400000005474146412132660015051 0ustar00 'faceId', 'orderNo' => 'orderNo', 'signature' => 'signature', 'sn' => 'sn', 'timestamp' => 'timestamp', 'userId' => 'userId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->faceId) { $res['faceId'] = $this->faceId; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->signature) { $res['signature'] = $this->signature; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return QueryPayResultRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['faceId'])) { $model->faceId = $map['faceId']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/edu_1_0/Models/QueryPayResultResponse.php000064400000002721146412132660015207 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryPayResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryPayResultResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryPayResultResponseBody.php000064400000001621146412132660016023 0ustar00 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return QueryPayResultResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/edu_1_0/Models/QueryPhysicalClassroomHeaders.php000064400000002347146412132660016477 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryPhysicalClassroomHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryPhysicalClassroomRequest.php000064400000002215146412132660016546 0ustar00 'classroomId', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classroomId) { $res['classroomId'] = $this->classroomId; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return QueryPhysicalClassroomRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classroomId'])) { $model->classroomId = $map['classroomId']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/QueryPhysicalClassroomResponse.php000064400000002761146412132660016722 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryPhysicalClassroomResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryPhysicalClassroomResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryPhysicalClassroomResponseBody.php000064400000002417146412132660017536 0ustar00 '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 QueryPhysicalClassroomResponseBody */ 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/edu_1_0/Models/QueryPhysicalClassroomResponseBody/result.php000064400000006163146412132660021056 0ustar00 'classroomBuilding', 'classroomCampus' => 'classroomCampus', 'classroomFloor' => 'classroomFloor', 'classroomId' => 'classroomId', 'classroomName' => 'classroomName', 'classroomNumber' => 'classroomNumber', 'directBroadcast' => 'directBroadcast', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classroomBuilding) { $res['classroomBuilding'] = $this->classroomBuilding; } if (null !== $this->classroomCampus) { $res['classroomCampus'] = $this->classroomCampus; } if (null !== $this->classroomFloor) { $res['classroomFloor'] = $this->classroomFloor; } if (null !== $this->classroomId) { $res['classroomId'] = $this->classroomId; } if (null !== $this->classroomName) { $res['classroomName'] = $this->classroomName; } if (null !== $this->classroomNumber) { $res['classroomNumber'] = $this->classroomNumber; } if (null !== $this->directBroadcast) { $res['directBroadcast'] = $this->directBroadcast; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classroomBuilding'])) { $model->classroomBuilding = $map['classroomBuilding']; } if (isset($map['classroomCampus'])) { $model->classroomCampus = $map['classroomCampus']; } if (isset($map['classroomFloor'])) { $model->classroomFloor = $map['classroomFloor']; } if (isset($map['classroomId'])) { $model->classroomId = $map['classroomId']; } if (isset($map['classroomName'])) { $model->classroomName = $map['classroomName']; } if (isset($map['classroomNumber'])) { $model->classroomNumber = $map['classroomNumber']; } if (isset($map['directBroadcast'])) { $model->directBroadcast = $map['directBroadcast']; } return $model; } } src/edu_1_0/Models/QueryPurchaseInfoHeaders.php000064400000002335146412132660015423 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryPurchaseInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryPurchaseInfoRequest.php000064400000003350146412132660015476 0ustar00 'merchantId', 'scene' => 'scene', 'sn' => 'sn', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryPurchaseInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/QueryPurchaseInfoResponse.php000064400000002735146412132660015652 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryPurchaseInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryPurchaseInfoResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryPurchaseInfoResponseBody.php000064400000004634146412132660016470 0ustar00 'corpId', 'merchantId' => 'merchantId', 'name' => 'name', 'scene' => 'scene', 'status' => 'status', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryPurchaseInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/QueryRemoteClassCourseHeaders.php000064400000002347146412132660016442 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryRemoteClassCourseHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryRemoteClassCourseRequest.php000064400000002774146412132660016523 0ustar00 'endTime', 'operator' => 'operator', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return QueryRemoteClassCourseRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/edu_1_0/Models/QueryRemoteClassCourseResponse.php000064400000002761146412132660016665 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryRemoteClassCourseResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryRemoteClassCourseResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryRemoteClassCourseResponseBody.php000064400000003253146412132660017500 0ustar00 '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 QueryRemoteClassCourseResponseBody */ 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/edu_1_0/Models/QueryRemoteClassCourseResponseBody/result.php000064400000010455146412132660021020 0ustar00 'attendParticipants', 'canEdit' => 'canEdit', 'courseCode' => 'courseCode', 'courseName' => 'courseName', 'courseWays' => 'courseWays', 'endTime' => 'endTime', 'startTime' => 'startTime', 'status' => 'status', 'teachingParticipant' => 'teachingParticipant', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendParticipants) { $res['attendParticipants'] = []; if (null !== $this->attendParticipants && \is_array($this->attendParticipants)) { $n = 0; foreach ($this->attendParticipants as $item) { $res['attendParticipants'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->canEdit) { $res['canEdit'] = $this->canEdit; } if (null !== $this->courseCode) { $res['courseCode'] = $this->courseCode; } if (null !== $this->courseName) { $res['courseName'] = $this->courseName; } if (null !== $this->courseWays) { $res['courseWays'] = $this->courseWays; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->teachingParticipant) { $res['teachingParticipant'] = null !== $this->teachingParticipant ? $this->teachingParticipant->toMap() : null; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendParticipants'])) { if (!empty($map['attendParticipants'])) { $model->attendParticipants = []; $n = 0; foreach ($map['attendParticipants'] as $item) { $model->attendParticipants[$n++] = null !== $item ? attendParticipants::fromMap($item) : $item; } } } if (isset($map['canEdit'])) { $model->canEdit = $map['canEdit']; } if (isset($map['courseCode'])) { $model->courseCode = $map['courseCode']; } if (isset($map['courseName'])) { $model->courseName = $map['courseName']; } if (isset($map['courseWays'])) { if (!empty($map['courseWays'])) { $model->courseWays = $map['courseWays']; } } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['teachingParticipant'])) { $model->teachingParticipant = teachingParticipant::fromMap($map['teachingParticipant']); } return $model; } } src/edu_1_0/Models/QueryRemoteClassCourseResponseBody/result/attendParticipants.php000064400000003452146412132660024660 0ustar00 'corpId', 'orgName' => 'orgName', 'participantId' => 'participantId', 'participantName' => 'participantName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->participantId) { $res['participantId'] = $this->participantId; } if (null !== $this->participantName) { $res['participantName'] = $this->participantName; } return $res; } /** * @param array $map * * @return attendParticipants */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['participantId'])) { $model->participantId = $map['participantId']; } if (isset($map['participantName'])) { $model->participantName = $map['participantName']; } return $model; } } src/edu_1_0/Models/QueryRemoteClassCourseResponseBody/result/teachingParticipant.php000064400000003454146412132660025002 0ustar00 'corpId', 'orgName' => 'orgName', 'participantId' => 'participantId', 'participantName' => 'participantName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->participantId) { $res['participantId'] = $this->participantId; } if (null !== $this->participantName) { $res['participantName'] = $this->participantName; } return $res; } /** * @param array $map * * @return teachingParticipant */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['participantId'])) { $model->participantId = $map['participantId']; } if (isset($map['participantName'])) { $model->participantName = $map['participantName']; } return $model; } } src/edu_1_0/Models/QuerySchoolUserFaceHeaders.php000064400000002341146412132660015677 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QuerySchoolUserFaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QuerySchoolUserFaceRequest.php000064400000003407146412132660015760 0ustar00 'pageNumber', 'pageSize' => 'pageSize', 'sn' => 'sn', '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->sn) { $res['sn'] = $this->sn; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return QuerySchoolUserFaceRequest */ 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['sn'])) { $model->sn = $map['sn']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/edu_1_0/Models/QuerySchoolUserFaceResponse.php000064400000002745146412132660016132 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QuerySchoolUserFaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QuerySchoolUserFaceResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QuerySchoolUserFaceResponseBody.php000064400000004153146412132660016743 0ustar00 'corpId', 'hasMore' => 'hasMore', 'userFaceList' => 'userFaceList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->userFaceList) { $res['userFaceList'] = []; if (null !== $this->userFaceList && \is_array($this->userFaceList)) { $n = 0; foreach ($this->userFaceList as $item) { $res['userFaceList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QuerySchoolUserFaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['userFaceList'])) { if (!empty($map['userFaceList'])) { $model->userFaceList = []; $n = 0; foreach ($map['userFaceList'] as $item) { $model->userFaceList[$n++] = null !== $item ? userFaceList::fromMap($item) : $item; } } } return $model; } } src/edu_1_0/Models/QuerySchoolUserFaceResponseBody/userFaceList.php000064400000003327146412132660021336 0ustar00 'faceId', 'name' => 'name', 'status' => 'status', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->faceId) { $res['faceId'] = $this->faceId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return userFaceList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['faceId'])) { $model->faceId = $map['faceId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/QuerySnsOrderHeaders.php000064400000002325146412132660014573 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QuerySnsOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QuerySnsOrderRequest.php000064400000003561146412132660014653 0ustar00 'alipayAppId', 'merchantId' => 'merchantId', 'orderNo' => 'orderNo', 'signature' => 'signature', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alipayAppId) { $res['alipayAppId'] = $this->alipayAppId; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->signature) { $res['signature'] = $this->signature; } return $res; } /** * @param array $map * * @return QuerySnsOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alipayAppId'])) { $model->alipayAppId = $map['alipayAppId']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } return $model; } } src/edu_1_0/Models/QuerySnsOrderResponse.php000064400000002715146412132660015021 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QuerySnsOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QuerySnsOrderResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QuerySnsOrderResponseBody.php000064400000021242146412132660015633 0ustar00 'actualAmount', 'alipayAppId' => 'alipayAppId', 'closeTime' => 'closeTime', 'closeTimestamp' => 'closeTimestamp', 'createTime' => 'createTime', 'createTimestamp' => 'createTimestamp', 'labelAmount' => 'labelAmount', 'merchantId' => 'merchantId', 'merchantMergeOrderNo' => 'merchantMergeOrderNo', 'merchantOrderNo' => 'merchantOrderNo', 'orderNo' => 'orderNo', 'orderType' => 'orderType', 'outerUserId' => 'outerUserId', 'payLogonId' => 'payLogonId', 'payStatus' => 'payStatus', 'payTime' => 'payTime', 'payTimestamp' => 'payTimestamp', 'payType' => 'payType', 'refundAmount' => 'refundAmount', 'refundStatus' => 'refundStatus', 'refundTime' => 'refundTime', 'refundTimestamp' => 'refundTimestamp', 'subject' => 'subject', 'tradeNo' => 'tradeNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actualAmount) { $res['actualAmount'] = $this->actualAmount; } if (null !== $this->alipayAppId) { $res['alipayAppId'] = $this->alipayAppId; } if (null !== $this->closeTime) { $res['closeTime'] = $this->closeTime; } if (null !== $this->closeTimestamp) { $res['closeTimestamp'] = $this->closeTimestamp; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->createTimestamp) { $res['createTimestamp'] = $this->createTimestamp; } if (null !== $this->labelAmount) { $res['labelAmount'] = $this->labelAmount; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->merchantMergeOrderNo) { $res['merchantMergeOrderNo'] = $this->merchantMergeOrderNo; } if (null !== $this->merchantOrderNo) { $res['merchantOrderNo'] = $this->merchantOrderNo; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->orderType) { $res['orderType'] = $this->orderType; } if (null !== $this->outerUserId) { $res['outerUserId'] = $this->outerUserId; } if (null !== $this->payLogonId) { $res['payLogonId'] = $this->payLogonId; } if (null !== $this->payStatus) { $res['payStatus'] = $this->payStatus; } if (null !== $this->payTime) { $res['payTime'] = $this->payTime; } if (null !== $this->payTimestamp) { $res['payTimestamp'] = $this->payTimestamp; } if (null !== $this->payType) { $res['payType'] = $this->payType; } if (null !== $this->refundAmount) { $res['refundAmount'] = $this->refundAmount; } if (null !== $this->refundStatus) { $res['refundStatus'] = $this->refundStatus; } if (null !== $this->refundTime) { $res['refundTime'] = $this->refundTime; } if (null !== $this->refundTimestamp) { $res['refundTimestamp'] = $this->refundTimestamp; } if (null !== $this->subject) { $res['subject'] = $this->subject; } if (null !== $this->tradeNo) { $res['tradeNo'] = $this->tradeNo; } return $res; } /** * @param array $map * * @return QuerySnsOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actualAmount'])) { $model->actualAmount = $map['actualAmount']; } if (isset($map['alipayAppId'])) { $model->alipayAppId = $map['alipayAppId']; } if (isset($map['closeTime'])) { $model->closeTime = $map['closeTime']; } if (isset($map['closeTimestamp'])) { $model->closeTimestamp = $map['closeTimestamp']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['createTimestamp'])) { $model->createTimestamp = $map['createTimestamp']; } if (isset($map['labelAmount'])) { $model->labelAmount = $map['labelAmount']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['merchantMergeOrderNo'])) { $model->merchantMergeOrderNo = $map['merchantMergeOrderNo']; } if (isset($map['merchantOrderNo'])) { $model->merchantOrderNo = $map['merchantOrderNo']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['orderType'])) { $model->orderType = $map['orderType']; } if (isset($map['outerUserId'])) { $model->outerUserId = $map['outerUserId']; } if (isset($map['payLogonId'])) { $model->payLogonId = $map['payLogonId']; } if (isset($map['payStatus'])) { $model->payStatus = $map['payStatus']; } if (isset($map['payTime'])) { $model->payTime = $map['payTime']; } if (isset($map['payTimestamp'])) { $model->payTimestamp = $map['payTimestamp']; } if (isset($map['payType'])) { $model->payType = $map['payType']; } if (isset($map['refundAmount'])) { $model->refundAmount = $map['refundAmount']; } if (isset($map['refundStatus'])) { $model->refundStatus = $map['refundStatus']; } if (isset($map['refundTime'])) { $model->refundTime = $map['refundTime']; } if (isset($map['refundTimestamp'])) { $model->refundTimestamp = $map['refundTimestamp']; } if (isset($map['subject'])) { $model->subject = $map['subject']; } if (isset($map['tradeNo'])) { $model->tradeNo = $map['tradeNo']; } return $model; } } src/edu_1_0/Models/QueryStatisticsDataHeaders.php000064400000002341146412132660015756 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryStatisticsDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryStatisticsDataRequest.php000064400000004351146412132660016036 0ustar00 'sectionIndexList', 'teacherUserIds' => 'teacherUserIds', 'endTime' => 'endTime', 'opUserId' => 'opUserId', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sectionIndexList) { $res['sectionIndexList'] = $this->sectionIndexList; } if (null !== $this->teacherUserIds) { $res['teacherUserIds'] = $this->teacherUserIds; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return QueryStatisticsDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sectionIndexList'])) { if (!empty($map['sectionIndexList'])) { $model->sectionIndexList = $map['sectionIndexList']; } } if (isset($map['teacherUserIds'])) { if (!empty($map['teacherUserIds'])) { $model->teacherUserIds = $map['teacherUserIds']; } } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/edu_1_0/Models/QueryStatisticsDataResponse.php000064400000002745146412132660016211 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryStatisticsDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryStatisticsDataResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryStatisticsDataResponseBody.php000064400000002614146412132660017022 0ustar00 '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 QueryStatisticsDataResponseBody */ 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/edu_1_0/Models/QueryStatisticsDataResponseBody/result.php000064400000005447146412132660020347 0ustar00 'classId', 'courseCount' => 'courseCount', 'courseHours' => 'courseHours', 'subjectCode' => 'subjectCode', 'subjectName' => 'subjectName', 'userId' => 'userId', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->courseCount) { $res['courseCount'] = $this->courseCount; } if (null !== $this->courseHours) { $res['courseHours'] = $this->courseHours; } if (null !== $this->subjectCode) { $res['subjectCode'] = $this->subjectCode; } if (null !== $this->subjectName) { $res['subjectName'] = $this->subjectName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } 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['classId'])) { $model->classId = $map['classId']; } if (isset($map['courseCount'])) { $model->courseCount = $map['courseCount']; } if (isset($map['courseHours'])) { $model->courseHours = $map['courseHours']; } if (isset($map['subjectCode'])) { $model->subjectCode = $map['subjectCode']; } if (isset($map['subjectName'])) { $model->subjectName = $map['subjectName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/edu_1_0/Models/QuerySubjectTeachersHeaders.php000064400000002343146412132660016112 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QuerySubjectTeachersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QuerySubjectTeachersRequest.php000064400000003061146412132660016165 0ustar00 'classIds', 'opUserId' => 'opUserId', 'subjectCode' => 'subjectCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classIds) { $res['classIds'] = $this->classIds; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->subjectCode) { $res['subjectCode'] = $this->subjectCode; } return $res; } /** * @param array $map * * @return QuerySubjectTeachersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classIds'])) { if (!empty($map['classIds'])) { $model->classIds = $map['classIds']; } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['subjectCode'])) { $model->subjectCode = $map['subjectCode']; } return $model; } } src/edu_1_0/Models/QuerySubjectTeachersResponse.php000064400000002751146412132660016340 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QuerySubjectTeachersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QuerySubjectTeachersResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QuerySubjectTeachersResponseBody.php000064400000002617146412132660017157 0ustar00 '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 QuerySubjectTeachersResponseBody */ 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/edu_1_0/Models/QuerySubjectTeachersResponseBody/result.php000064400000005573146412132660020501 0ustar00 'classId', 'corpId' => 'corpId', 'periodCode' => 'periodCode', 'subjectCode' => 'subjectCode', 'subjectName' => 'subjectName', 'teacherName' => 'teacherName', 'teacherUserId' => 'teacherUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->periodCode) { $res['periodCode'] = $this->periodCode; } if (null !== $this->subjectCode) { $res['subjectCode'] = $this->subjectCode; } if (null !== $this->subjectName) { $res['subjectName'] = $this->subjectName; } if (null !== $this->teacherName) { $res['teacherName'] = $this->teacherName; } if (null !== $this->teacherUserId) { $res['teacherUserId'] = $this->teacherUserId; } 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['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['periodCode'])) { $model->periodCode = $map['periodCode']; } if (isset($map['subjectCode'])) { $model->subjectCode = $map['subjectCode']; } if (isset($map['subjectName'])) { $model->subjectName = $map['subjectName']; } if (isset($map['teacherName'])) { $model->teacherName = $map['teacherName']; } if (isset($map['teacherUserId'])) { $model->teacherUserId = $map['teacherUserId']; } return $model; } } src/edu_1_0/Models/QueryTeachSubjectsHeaders.php000064400000002337146412132660015566 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryTeachSubjectsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryTeachSubjectsRequest.php000064400000002320146412132660015633 0ustar00 'classIds', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classIds) { $res['classIds'] = $this->classIds; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return QueryTeachSubjectsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classIds'])) { if (!empty($map['classIds'])) { $model->classIds = $map['classIds']; } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/QueryTeachSubjectsResponse.php000064400000002741146412132660016010 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryTeachSubjectsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryTeachSubjectsResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryTeachSubjectsResponseBody.php000064400000002611146412132660016622 0ustar00 '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 QueryTeachSubjectsResponseBody */ 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/edu_1_0/Models/QueryTeachSubjectsResponseBody/result.php000064400000005570146412132660020147 0ustar00 'classId', 'corpId' => 'corpId', 'periodCode' => 'periodCode', 'subjectCode' => 'subjectCode', 'subjectName' => 'subjectName', 'teacherName' => 'teacherName', 'teacherUserId' => 'teacherUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->periodCode) { $res['periodCode'] = $this->periodCode; } if (null !== $this->subjectCode) { $res['subjectCode'] = $this->subjectCode; } if (null !== $this->subjectName) { $res['subjectName'] = $this->subjectName; } if (null !== $this->teacherName) { $res['teacherName'] = $this->teacherName; } if (null !== $this->teacherUserId) { $res['teacherUserId'] = $this->teacherUserId; } 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['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['periodCode'])) { $model->periodCode = $map['periodCode']; } if (isset($map['subjectCode'])) { $model->subjectCode = $map['subjectCode']; } if (isset($map['subjectName'])) { $model->subjectName = $map['subjectName']; } if (isset($map['teacherName'])) { $model->teacherName = $map['teacherName']; } if (isset($map['teacherUserId'])) { $model->teacherUserId = $map['teacherUserId']; } return $model; } } src/edu_1_0/Models/QueryUniversityCourseGroupHeaders.php000064400000002357146412132660017420 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUniversityCourseGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryUniversityCourseGroupRequest.php000064400000002401146412132660017463 0ustar00 'courseGroupCode', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseGroupCode) { $res['courseGroupCode'] = $this->courseGroupCode; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return QueryUniversityCourseGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseGroupCode'])) { $model->courseGroupCode = $map['courseGroupCode']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/QueryUniversityCourseGroupResponse.php000064400000003001146412132660017626 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUniversityCourseGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUniversityCourseGroupResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryUniversityCourseGroupResponseBody.php000064400000002340146412132660020451 0ustar00 'universityCourseGroupInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->universityCourseGroupInfo) { $res['universityCourseGroupInfo'] = null !== $this->universityCourseGroupInfo ? $this->universityCourseGroupInfo->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUniversityCourseGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['universityCourseGroupInfo'])) { $model->universityCourseGroupInfo = universityCourseGroupInfo::fromMap($map['universityCourseGroupInfo']); } return $model; } } src/edu_1_0/Models/QueryUniversityCourseGroupResponseBody/universityCourseGroupInfo.php000064400000011257146412132660025713 0ustar00 'courseGroupCode', 'courseGroupIntroduce' => 'courseGroupIntroduce', 'courseGroupName' => 'courseGroupName', 'courserGroupItemModels' => 'courserGroupItemModels', 'isvCourseGroupCode' => 'isvCourseGroupCode', 'periodCode' => 'periodCode', 'schoolYear' => 'schoolYear', 'semester' => 'semester', 'subjectName' => 'subjectName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseGroupCode) { $res['courseGroupCode'] = $this->courseGroupCode; } if (null !== $this->courseGroupIntroduce) { $res['courseGroupIntroduce'] = $this->courseGroupIntroduce; } if (null !== $this->courseGroupName) { $res['courseGroupName'] = $this->courseGroupName; } if (null !== $this->courserGroupItemModels) { $res['courserGroupItemModels'] = []; if (null !== $this->courserGroupItemModels && \is_array($this->courserGroupItemModels)) { $n = 0; foreach ($this->courserGroupItemModels as $item) { $res['courserGroupItemModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->isvCourseGroupCode) { $res['isvCourseGroupCode'] = $this->isvCourseGroupCode; } if (null !== $this->periodCode) { $res['periodCode'] = $this->periodCode; } if (null !== $this->schoolYear) { $res['schoolYear'] = $this->schoolYear; } if (null !== $this->semester) { $res['semester'] = $this->semester; } if (null !== $this->subjectName) { $res['subjectName'] = $this->subjectName; } return $res; } /** * @param array $map * * @return universityCourseGroupInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseGroupCode'])) { $model->courseGroupCode = $map['courseGroupCode']; } if (isset($map['courseGroupIntroduce'])) { $model->courseGroupIntroduce = $map['courseGroupIntroduce']; } if (isset($map['courseGroupName'])) { $model->courseGroupName = $map['courseGroupName']; } if (isset($map['courserGroupItemModels'])) { if (!empty($map['courserGroupItemModels'])) { $model->courserGroupItemModels = []; $n = 0; foreach ($map['courserGroupItemModels'] as $item) { $model->courserGroupItemModels[$n++] = null !== $item ? courserGroupItemModels::fromMap($item) : $item; } } } if (isset($map['isvCourseGroupCode'])) { $model->isvCourseGroupCode = $map['isvCourseGroupCode']; } if (isset($map['periodCode'])) { $model->periodCode = $map['periodCode']; } if (isset($map['schoolYear'])) { $model->schoolYear = $map['schoolYear']; } if (isset($map['semester'])) { $model->semester = $map['semester']; } if (isset($map['subjectName'])) { $model->subjectName = $map['subjectName']; } return $model; } } Models/QueryUniversityCourseGroupResponseBody/universityCourseGroupInfo/courserGroupItemModels.php000064400000007534146412132660032321 0ustar00src/edu_1_0 'classPeriodType', 'classroomId' => 'classroomId', 'courseType' => 'courseType', 'courserGroupItemEndDate' => 'courserGroupItemEndDate', 'courserGroupItemStartDate' => 'courserGroupItemStartDate', 'dayOfWeek' => 'dayOfWeek', 'sectionIndex' => 'sectionIndex', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classPeriodType) { $res['classPeriodType'] = $this->classPeriodType; } if (null !== $this->classroomId) { $res['classroomId'] = $this->classroomId; } if (null !== $this->courseType) { $res['courseType'] = $this->courseType; } if (null !== $this->courserGroupItemEndDate) { $res['courserGroupItemEndDate'] = null !== $this->courserGroupItemEndDate ? $this->courserGroupItemEndDate->toMap() : null; } if (null !== $this->courserGroupItemStartDate) { $res['courserGroupItemStartDate'] = null !== $this->courserGroupItemStartDate ? $this->courserGroupItemStartDate->toMap() : null; } if (null !== $this->dayOfWeek) { $res['dayOfWeek'] = $this->dayOfWeek; } if (null !== $this->sectionIndex) { $res['sectionIndex'] = $this->sectionIndex; } return $res; } /** * @param array $map * * @return courserGroupItemModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classPeriodType'])) { $model->classPeriodType = $map['classPeriodType']; } if (isset($map['classroomId'])) { $model->classroomId = $map['classroomId']; } if (isset($map['courseType'])) { $model->courseType = $map['courseType']; } if (isset($map['courserGroupItemEndDate'])) { $model->courserGroupItemEndDate = courserGroupItemEndDate::fromMap($map['courserGroupItemEndDate']); } if (isset($map['courserGroupItemStartDate'])) { $model->courserGroupItemStartDate = courserGroupItemStartDate::fromMap($map['courserGroupItemStartDate']); } if (isset($map['dayOfWeek'])) { $model->dayOfWeek = $map['dayOfWeek']; } if (isset($map['sectionIndex'])) { if (!empty($map['sectionIndex'])) { $model->sectionIndex = $map['sectionIndex']; } } return $model; } } universityCourseGroupInfo/courserGroupItemModels/courserGroupItemEndDate.php000064400000003003146412132660037047 0ustar00src/edu_1_0/Models/QueryUniversityCourseGroupResponseBody 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return courserGroupItemEndDate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } universityCourseGroupInfo/courserGroupItemModels/courserGroupItemStartDate.php000064400000003006146412132660037441 0ustar00src/edu_1_0/Models/QueryUniversityCourseGroupResponseBody 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return courserGroupItemStartDate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/QueryUserFaceHeaders.php000064400000002325146412132660014531 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserFaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryUserFaceRequest.php000064400000002126146412132660014605 0ustar00 'faceId', 'sn' => 'sn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->faceId) { $res['faceId'] = $this->faceId; } if (null !== $this->sn) { $res['sn'] = $this->sn; } return $res; } /** * @param array $map * * @return QueryUserFaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['faceId'])) { $model->faceId = $map['faceId']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } return $model; } } src/edu_1_0/Models/QueryUserFaceResponse.php000064400000002715146412132660014757 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserFaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserFaceResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryUserFaceResponseBody.php000064400000003315146412132660015572 0ustar00 'corpId', 'faceId' => 'faceId', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->faceId) { $res['faceId'] = $this->faceId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryUserFaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['faceId'])) { $model->faceId = $map['faceId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/QueryUserPayInfoHeaders.php000064400000002333146412132660015237 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserPayInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/QueryUserPayInfoRequest.php000064400000002601146412132660015312 0ustar00 'faceId', 'sn' => 'sn', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->faceId) { $res['faceId'] = $this->faceId; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryUserPayInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['faceId'])) { $model->faceId = $map['faceId']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/QueryUserPayInfoResponse.php000064400000002731146412132660015464 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserPayInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserPayInfoResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/QueryUserPayInfoResponseBody.php000064400000001531146412132660016277 0ustar00 'signNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->signNo) { $res['signNo'] = $this->signNo; } return $res; } /** * @param array $map * * @return QueryUserPayInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['signNo'])) { $model->signNo = $map['signNo']; } return $model; } } src/edu_1_0/Models/RemoveDeviceHeaders.php000064400000002323146412132660014361 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/RemoveDeviceRequest.php000064400000002172146412132660014440 0ustar00 'merchantId', 'sn' => 'sn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->sn) { $res['sn'] = $this->sn; } return $res; } /** * @param array $map * * @return RemoveDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } return $model; } } src/edu_1_0/Models/RemoveDeviceResponse.php000064400000002711146412132660014605 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RemoveDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RemoveDeviceResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/RemoveDeviceResponseBody.php000064400000001533146412132660015424 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return RemoveDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/ReportDeviceLogHeaders.php000064400000002331146412132660015040 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReportDeviceLogHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/ReportDeviceLogRequest.php000064400000002623146412132660015121 0ustar00 'mediaId', 'sn' => 'sn', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return ReportDeviceLogRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/edu_1_0/Models/ReportDeviceLogResponse.php000064400000002725146412132660015272 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReportDeviceLogResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReportDeviceLogResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/ReportDeviceLogResponseBody.php000064400000001566146412132660016112 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ReportDeviceLogResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/ReportDeviceUseLogHeaders.php000064400000002337146412132660015523 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReportDeviceUseLogHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/ReportDeviceUseLogRequest.php000064400000003306146412132660015575 0ustar00 'action', 'orderNo' => 'orderNo', 'sn' => 'sn', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ReportDeviceUseLogRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/ReportDeviceUseLogResponse.php000064400000002741146412132660015745 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReportDeviceUseLogResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReportDeviceUseLogResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/ReportDeviceUseLogResponseBody.php000064400000001545146412132660016564 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ReportDeviceUseLogResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/RollbackDeductPointHeaders.php000064400000002341146412132660015700 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RollbackDeductPointHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/RollbackDeductPointRequest.php000064400000002233146412132660015755 0ustar00 'bizId', 'pointType' => 'pointType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->pointType) { $res['pointType'] = $this->pointType; } return $res; } /** * @param array $map * * @return RollbackDeductPointRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['pointType'])) { $model->pointType = $map['pointType']; } return $model; } } src/edu_1_0/Models/RollbackDeductPointResponse.php000064400000002745146412132660016133 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RollbackDeductPointResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RollbackDeductPointResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/RollbackDeductPointResponseBody.php000064400000002130146412132660016735 0ustar00 '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 RollbackDeductPointResponseBody */ 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/edu_1_0/Models/SaveClassLearningDataHeaders.php000064400000002345146412132660016146 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveClassLearningDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/SaveClassLearningDataRequest.php000064400000012304146412132660016217 0ustar00 'assignNum', 'assignStudentUserIds' => 'assignStudentUserIds', 'bizId' => 'bizId', 'bizType' => 'bizType', 'corpId' => 'corpId', 'deptId' => 'deptId', 'fileSuffix' => 'fileSuffix', 'generatedTime' => 'generatedTime', 'questionNum' => 'questionNum', 'questionPictureNum' => 'questionPictureNum', 'standardAnswerPictureNum' => 'standardAnswerPictureNum', 'subjectCode' => 'subjectCode', 'teacherUserId' => 'teacherUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assignNum) { $res['assignNum'] = $this->assignNum; } if (null !== $this->assignStudentUserIds) { $res['assignStudentUserIds'] = $this->assignStudentUserIds; } if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->fileSuffix) { $res['fileSuffix'] = $this->fileSuffix; } if (null !== $this->generatedTime) { $res['generatedTime'] = $this->generatedTime; } if (null !== $this->questionNum) { $res['questionNum'] = $this->questionNum; } if (null !== $this->questionPictureNum) { $res['questionPictureNum'] = $this->questionPictureNum; } if (null !== $this->standardAnswerPictureNum) { $res['standardAnswerPictureNum'] = $this->standardAnswerPictureNum; } if (null !== $this->subjectCode) { $res['subjectCode'] = $this->subjectCode; } if (null !== $this->teacherUserId) { $res['teacherUserId'] = $this->teacherUserId; } return $res; } /** * @param array $map * * @return SaveClassLearningDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assignNum'])) { $model->assignNum = $map['assignNum']; } if (isset($map['assignStudentUserIds'])) { if (!empty($map['assignStudentUserIds'])) { $model->assignStudentUserIds = $map['assignStudentUserIds']; } } if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['fileSuffix'])) { $model->fileSuffix = $map['fileSuffix']; } if (isset($map['generatedTime'])) { $model->generatedTime = $map['generatedTime']; } if (isset($map['questionNum'])) { $model->questionNum = $map['questionNum']; } if (isset($map['questionPictureNum'])) { $model->questionPictureNum = $map['questionPictureNum']; } if (isset($map['standardAnswerPictureNum'])) { $model->standardAnswerPictureNum = $map['standardAnswerPictureNum']; } if (isset($map['subjectCode'])) { $model->subjectCode = $map['subjectCode']; } if (isset($map['teacherUserId'])) { $model->teacherUserId = $map['teacherUserId']; } return $model; } } src/edu_1_0/Models/SaveClassLearningDataResponse.php000064400000002755146412132660016376 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveClassLearningDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveClassLearningDataResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/SaveClassLearningDataResponseBody.php000064400000002360146412132660017204 0ustar00 '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 SaveClassLearningDataResponseBody */ 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/edu_1_0/Models/SaveClassLearningDataResponseBody/result.php000064400000003054146412132660020523 0ustar00 'questionUploadUrlList', 'standardAnswerUploadUrlList' => 'standardAnswerUploadUrlList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->questionUploadUrlList) { $res['questionUploadUrlList'] = $this->questionUploadUrlList; } if (null !== $this->standardAnswerUploadUrlList) { $res['standardAnswerUploadUrlList'] = $this->standardAnswerUploadUrlList; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['questionUploadUrlList'])) { if (!empty($map['questionUploadUrlList'])) { $model->questionUploadUrlList = $map['questionUploadUrlList']; } } if (isset($map['standardAnswerUploadUrlList'])) { if (!empty($map['standardAnswerUploadUrlList'])) { $model->standardAnswerUploadUrlList = $map['standardAnswerUploadUrlList']; } } return $model; } } src/edu_1_0/Models/SaveStudentLearningDataHeaders.php000064400000002351146412132660016524 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveStudentLearningDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/SaveStudentLearningDataRequest.php000064400000012645146412132660016610 0ustar00 'assignNum', 'bizId' => 'bizId', 'bizType' => 'bizType', 'corpId' => 'corpId', 'correctNum' => 'correctNum', 'deptId' => 'deptId', 'fileSuffix' => 'fileSuffix', 'generatedTime' => 'generatedTime', 'questionNum' => 'questionNum', 'studentUserId' => 'studentUserId', 'subjectCode' => 'subjectCode', 'submitNum' => 'submitNum', 'wrongQuestions' => 'wrongQuestions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assignNum) { $res['assignNum'] = $this->assignNum; } if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->correctNum) { $res['correctNum'] = $this->correctNum; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->fileSuffix) { $res['fileSuffix'] = $this->fileSuffix; } if (null !== $this->generatedTime) { $res['generatedTime'] = $this->generatedTime; } if (null !== $this->questionNum) { $res['questionNum'] = $this->questionNum; } if (null !== $this->studentUserId) { $res['studentUserId'] = $this->studentUserId; } if (null !== $this->subjectCode) { $res['subjectCode'] = $this->subjectCode; } if (null !== $this->submitNum) { $res['submitNum'] = $this->submitNum; } if (null !== $this->wrongQuestions) { $res['wrongQuestions'] = []; if (null !== $this->wrongQuestions && \is_array($this->wrongQuestions)) { $n = 0; foreach ($this->wrongQuestions as $item) { $res['wrongQuestions'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return SaveStudentLearningDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assignNum'])) { $model->assignNum = $map['assignNum']; } if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['correctNum'])) { $model->correctNum = $map['correctNum']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['fileSuffix'])) { $model->fileSuffix = $map['fileSuffix']; } if (isset($map['generatedTime'])) { $model->generatedTime = $map['generatedTime']; } if (isset($map['questionNum'])) { $model->questionNum = $map['questionNum']; } if (isset($map['studentUserId'])) { $model->studentUserId = $map['studentUserId']; } if (isset($map['subjectCode'])) { $model->subjectCode = $map['subjectCode']; } if (isset($map['submitNum'])) { $model->submitNum = $map['submitNum']; } if (isset($map['wrongQuestions'])) { if (!empty($map['wrongQuestions'])) { $model->wrongQuestions = []; $n = 0; foreach ($map['wrongQuestions'] as $item) { $model->wrongQuestions[$n++] = null !== $item ? wrongQuestions::fromMap($item) : $item; } } } return $model; } } src/edu_1_0/Models/SaveStudentLearningDataRequest/wrongQuestions.php000064400000005075146412132660021656 0ustar00 'knowledgePoints', 'questionNo' => 'questionNo', 'questionPictureNum' => 'questionPictureNum', 'standardAnswerPictureNum' => 'standardAnswerPictureNum', 'userAnswerPictureNum' => 'userAnswerPictureNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->knowledgePoints) { $res['knowledgePoints'] = $this->knowledgePoints; } if (null !== $this->questionNo) { $res['questionNo'] = $this->questionNo; } if (null !== $this->questionPictureNum) { $res['questionPictureNum'] = $this->questionPictureNum; } if (null !== $this->standardAnswerPictureNum) { $res['standardAnswerPictureNum'] = $this->standardAnswerPictureNum; } if (null !== $this->userAnswerPictureNum) { $res['userAnswerPictureNum'] = $this->userAnswerPictureNum; } return $res; } /** * @param array $map * * @return wrongQuestions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['knowledgePoints'])) { if (!empty($map['knowledgePoints'])) { $model->knowledgePoints = $map['knowledgePoints']; } } if (isset($map['questionNo'])) { $model->questionNo = $map['questionNo']; } if (isset($map['questionPictureNum'])) { $model->questionPictureNum = $map['questionPictureNum']; } if (isset($map['standardAnswerPictureNum'])) { $model->standardAnswerPictureNum = $map['standardAnswerPictureNum']; } if (isset($map['userAnswerPictureNum'])) { $model->userAnswerPictureNum = $map['userAnswerPictureNum']; } return $model; } } src/edu_1_0/Models/SaveStudentLearningDataResponse.php000064400000002765146412132660016760 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveStudentLearningDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveStudentLearningDataResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/SaveStudentLearningDataResponseBody.php000064400000002366146412132660017573 0ustar00 '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 SaveStudentLearningDataResponseBody */ 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/edu_1_0/Models/SaveStudentLearningDataResponseBody/result.php000064400000003525146412132660021107 0ustar00 'saveSuccess', 'wrongQuestions' => 'wrongQuestions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->saveSuccess) { $res['saveSuccess'] = $this->saveSuccess; } if (null !== $this->wrongQuestions) { $res['wrongQuestions'] = []; if (null !== $this->wrongQuestions && \is_array($this->wrongQuestions)) { $n = 0; foreach ($this->wrongQuestions as $item) { $res['wrongQuestions'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['saveSuccess'])) { $model->saveSuccess = $map['saveSuccess']; } if (isset($map['wrongQuestions'])) { if (!empty($map['wrongQuestions'])) { $model->wrongQuestions = []; $n = 0; foreach ($map['wrongQuestions'] as $item) { $model->wrongQuestions[$n++] = null !== $item ? wrongQuestions::fromMap($item) : $item; } } } return $model; } } src/edu_1_0/Models/SaveStudentLearningDataResponseBody/result/wrongQuestions.php000064400000004633146412132660024157 0ustar00 'questionNo', 'questionUploadUrlList' => 'questionUploadUrlList', 'standardAnswerUploadUrlList' => 'standardAnswerUploadUrlList', 'userAnswerUploadUrlList' => 'userAnswerUploadUrlList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->questionNo) { $res['questionNo'] = $this->questionNo; } if (null !== $this->questionUploadUrlList) { $res['questionUploadUrlList'] = $this->questionUploadUrlList; } if (null !== $this->standardAnswerUploadUrlList) { $res['standardAnswerUploadUrlList'] = $this->standardAnswerUploadUrlList; } if (null !== $this->userAnswerUploadUrlList) { $res['userAnswerUploadUrlList'] = $this->userAnswerUploadUrlList; } return $res; } /** * @param array $map * * @return wrongQuestions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['questionNo'])) { $model->questionNo = $map['questionNo']; } if (isset($map['questionUploadUrlList'])) { if (!empty($map['questionUploadUrlList'])) { $model->questionUploadUrlList = $map['questionUploadUrlList']; } } if (isset($map['standardAnswerUploadUrlList'])) { if (!empty($map['standardAnswerUploadUrlList'])) { $model->standardAnswerUploadUrlList = $map['standardAnswerUploadUrlList']; } } if (isset($map['userAnswerUploadUrlList'])) { if (!empty($map['userAnswerUploadUrlList'])) { $model->userAnswerUploadUrlList = $map['userAnswerUploadUrlList']; } } return $model; } } src/edu_1_0/Models/SearchTeachersHeaders.php000064400000002327146412132660014674 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchTeachersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/SearchTeachersRequest.php000064400000001570146412132660014750 0ustar00 'nameKeyword', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameKeyword) { $res['nameKeyword'] = $this->nameKeyword; } return $res; } /** * @param array $map * * @return SearchTeachersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameKeyword'])) { $model->nameKeyword = $map['nameKeyword']; } return $model; } } src/edu_1_0/Models/SearchTeachersResponse.php000064400000002721146412132660015115 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchTeachersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchTeachersResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/SearchTeachersResponseBody.php000064400000002553146412132660015736 0ustar00 'users', ]; public function validate() { } public function toMap() { $res = []; 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 SearchTeachersResponseBody */ public static function fromMap($map = []) { $model = new self(); 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/edu_1_0/Models/SearchTeachersResponseBody/users.php000064400000003413146412132660017073 0ustar00 'classId', 'deptName' => 'deptName', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->name) { $res['name'] = $this->name; } 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['classId'])) { $model->classId = $map['classId']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/edu_1_0/Models/SendMessageHeaders.php000064400000002321146412132660014200 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/SendMessageRequest.php000064400000004124146412132660014260 0ustar00 'bizId', 'fromUserId' => 'fromUserId', 'sn' => 'sn', 'toUserIdList' => 'toUserIdList', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->fromUserId) { $res['fromUserId'] = $this->fromUserId; } if (null !== $this->sn) { $res['sn'] = $this->sn; } if (null !== $this->toUserIdList) { $res['toUserIdList'] = $this->toUserIdList; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return SendMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['fromUserId'])) { $model->fromUserId = $map['fromUserId']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } if (isset($map['toUserIdList'])) { if (!empty($map['toUserIdList'])) { $model->toUserIdList = $map['toUserIdList']; } } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/edu_1_0/Models/SendMessageResponse.php000064400000002705146412132660014431 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendMessageResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/SendMessageResponseBody.php000064400000001600146412132660015240 0ustar00 'successInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->successInfo) { $res['successInfo'] = $this->successInfo; } return $res; } /** * @param array $map * * @return SendMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['successInfo'])) { $model->successInfo = $map['successInfo']; } return $model; } } src/edu_1_0/Models/StartCourseHeaders.php000064400000002321146412132660014260 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return StartCourseHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/StartCoursePrepareHeaders.php000064400000002337146412132660015606 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return StartCoursePrepareHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/StartCoursePrepareRequest.php000064400000006345146412132660015666 0ustar00 'courseDate', 'courseGroupCode' => 'courseGroupCode', 'deviceId' => 'deviceId', 'ext' => 'ext', 'isvCode' => 'isvCode', 'liveCoverImage' => 'liveCoverImage', 'sectionIndex' => 'sectionIndex', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseDate) { $res['courseDate'] = $this->courseDate; } if (null !== $this->courseGroupCode) { $res['courseGroupCode'] = $this->courseGroupCode; } if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } if (null !== $this->ext) { $res['ext'] = $this->ext; } if (null !== $this->isvCode) { $res['isvCode'] = $this->isvCode; } if (null !== $this->liveCoverImage) { $res['liveCoverImage'] = $this->liveCoverImage; } if (null !== $this->sectionIndex) { $res['sectionIndex'] = $this->sectionIndex; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return StartCoursePrepareRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseDate'])) { $model->courseDate = $map['courseDate']; } if (isset($map['courseGroupCode'])) { $model->courseGroupCode = $map['courseGroupCode']; } if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } if (isset($map['ext'])) { $model->ext = $map['ext']; } if (isset($map['isvCode'])) { $model->isvCode = $map['isvCode']; } if (isset($map['liveCoverImage'])) { $model->liveCoverImage = $map['liveCoverImage']; } if (isset($map['sectionIndex'])) { if (!empty($map['sectionIndex'])) { $model->sectionIndex = $map['sectionIndex']; } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/StartCoursePrepareResponse.php000064400000002741146412132660016030 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return StartCoursePrepareResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = StartCoursePrepareResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/StartCoursePrepareResponseBody.php000064400000002411146412132660016640 0ustar00 'universityCourseCommonResponse', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->universityCourseCommonResponse) { $res['universityCourseCommonResponse'] = null !== $this->universityCourseCommonResponse ? $this->universityCourseCommonResponse->toMap() : null; } return $res; } /** * @param array $map * * @return StartCoursePrepareResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['universityCourseCommonResponse'])) { $model->universityCourseCommonResponse = universityCourseCommonResponse::fromMap($map['universityCourseCommonResponse']); } return $model; } } src/edu_1_0/Models/StartCoursePrepareResponseBody/universityCourseCommonResponse.php000064400000002337146412132660025141 0ustar00 'courseCode', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseCode) { $res['courseCode'] = $this->courseCode; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return universityCourseCommonResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseCode'])) { $model->courseCode = $map['courseCode']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/StartCourseRequest.php000064400000005424146412132660014344 0ustar00 'courseCode', 'ext' => 'ext', 'isvCode' => 'isvCode', 'livePlayInfoList' => 'livePlayInfoList', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseCode) { $res['courseCode'] = $this->courseCode; } if (null !== $this->ext) { $res['ext'] = $this->ext; } if (null !== $this->isvCode) { $res['isvCode'] = $this->isvCode; } if (null !== $this->livePlayInfoList) { $res['livePlayInfoList'] = []; if (null !== $this->livePlayInfoList && \is_array($this->livePlayInfoList)) { $n = 0; foreach ($this->livePlayInfoList as $item) { $res['livePlayInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return StartCourseRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseCode'])) { $model->courseCode = $map['courseCode']; } if (isset($map['ext'])) { $model->ext = $map['ext']; } if (isset($map['isvCode'])) { $model->isvCode = $map['isvCode']; } if (isset($map['livePlayInfoList'])) { if (!empty($map['livePlayInfoList'])) { $model->livePlayInfoList = []; $n = 0; foreach ($map['livePlayInfoList'] as $item) { $model->livePlayInfoList[$n++] = null !== $item ? livePlayInfoList::fromMap($item) : $item; } } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/StartCourseRequest/livePlayInfoList.php000064400000004455146412132660017604 0ustar00 'liveInputUrl', 'liveOutputFlvUrl' => 'liveOutputFlvUrl', 'liveOutputHlsUrl' => 'liveOutputHlsUrl', 'liveType' => 'liveType', 'replayUrl' => 'replayUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->liveInputUrl) { $res['liveInputUrl'] = $this->liveInputUrl; } if (null !== $this->liveOutputFlvUrl) { $res['liveOutputFlvUrl'] = $this->liveOutputFlvUrl; } if (null !== $this->liveOutputHlsUrl) { $res['liveOutputHlsUrl'] = $this->liveOutputHlsUrl; } if (null !== $this->liveType) { $res['liveType'] = $this->liveType; } if (null !== $this->replayUrl) { $res['replayUrl'] = $this->replayUrl; } return $res; } /** * @param array $map * * @return livePlayInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['liveInputUrl'])) { $model->liveInputUrl = $map['liveInputUrl']; } if (isset($map['liveOutputFlvUrl'])) { $model->liveOutputFlvUrl = $map['liveOutputFlvUrl']; } if (isset($map['liveOutputHlsUrl'])) { $model->liveOutputHlsUrl = $map['liveOutputHlsUrl']; } if (isset($map['liveType'])) { $model->liveType = $map['liveType']; } if (isset($map['replayUrl'])) { $model->replayUrl = $map['replayUrl']; } return $model; } } src/edu_1_0/Models/StartCourseResponse.php000064400000002705146412132660014511 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return StartCourseResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = StartCourseResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/StartCourseResponseBody.php000064400000002364146412132660015330 0ustar00 'universityCourseCommonResponse', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->universityCourseCommonResponse) { $res['universityCourseCommonResponse'] = null !== $this->universityCourseCommonResponse ? $this->universityCourseCommonResponse->toMap() : null; } return $res; } /** * @param array $map * * @return StartCourseResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['universityCourseCommonResponse'])) { $model->universityCourseCommonResponse = universityCourseCommonResponse::fromMap($map['universityCourseCommonResponse']); } return $model; } } src/edu_1_0/Models/StartCourseResponseBody/universityCourseCommonResponse.php000064400000002330146412132660023613 0ustar00 'courseCode', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseCode) { $res['courseCode'] = $this->courseCode; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return universityCourseCommonResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseCode'])) { $model->courseCode = $map['courseCode']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/SubscribeUniversityCourseGroupHeaders.php000064400000002367146412132660020235 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SubscribeUniversityCourseGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/SubscribeUniversityCourseGroupRequest.php000064400000003247146412132660020310 0ustar00 'courseGroupCode', 'studentUserIds' => 'studentUserIds', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseGroupCode) { $res['courseGroupCode'] = $this->courseGroupCode; } if (null !== $this->studentUserIds) { $res['studentUserIds'] = $this->studentUserIds; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return SubscribeUniversityCourseGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseGroupCode'])) { $model->courseGroupCode = $map['courseGroupCode']; } if (isset($map['studentUserIds'])) { if (!empty($map['studentUserIds'])) { $model->studentUserIds = $map['studentUserIds']; } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/SubscribeUniversityCourseGroupResponse.php000064400000003021146412132660020444 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SubscribeUniversityCourseGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SubscribeUniversityCourseGroupResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/SubscribeUniversityCourseGroupResponseBody.php000064400000001564146412132660021274 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SubscribeUniversityCourseGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/UnsubscribeUniversityCourseGroupHeaders.php000064400000002373146412132660020575 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UnsubscribeUniversityCourseGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/UnsubscribeUniversityCourseGroupRequest.php000064400000003211146412132660020642 0ustar00 'courseGroupCode', 'studentUserIds' => 'studentUserIds', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseGroupCode) { $res['courseGroupCode'] = $this->courseGroupCode; } if (null !== $this->studentUserIds) { $res['studentUserIds'] = $this->studentUserIds; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return UnsubscribeUniversityCourseGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseGroupCode'])) { $model->courseGroupCode = $map['courseGroupCode']; } if (isset($map['studentUserIds'])) { if (!empty($map['studentUserIds'])) { $model->studentUserIds = $map['studentUserIds']; } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/UnsubscribeUniversityCourseGroupResponse.php000064400000003031146412132660021010 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UnsubscribeUniversityCourseGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UnsubscribeUniversityCourseGroupResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/UnsubscribeUniversityCourseGroupResponseBody.php000064400000001570146412132660021634 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UnsubscribeUniversityCourseGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/UpdateCoursesOfClassHeaders.php000064400000002343146412132660016047 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateCoursesOfClassHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/UpdateCoursesOfClassRequest.php000064400000004323146412132660016124 0ustar00 'courses', 'sectionConfig' => 'sectionConfig', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courses) { $res['courses'] = []; if (null !== $this->courses && \is_array($this->courses)) { $n = 0; foreach ($this->courses as $item) { $res['courses'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sectionConfig) { $res['sectionConfig'] = null !== $this->sectionConfig ? $this->sectionConfig->toMap() : null; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return UpdateCoursesOfClassRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courses'])) { if (!empty($map['courses'])) { $model->courses = []; $n = 0; foreach ($map['courses'] as $item) { $model->courses[$n++] = null !== $item ? courses::fromMap($item) : $item; } } } if (isset($map['sectionConfig'])) { $model->sectionConfig = sectionConfig::fromMap($map['sectionConfig']); } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/UpdateCoursesOfClassRequest/courses.php000064400000007515146412132660017615 0ustar00 'courseCode', 'courseGroupCode' => 'courseGroupCode', 'courseName' => 'courseName', 'creatorName' => 'creatorName', 'dateModel' => 'dateModel', 'deleteTag' => 'deleteTag', 'location' => 'location', 'sectionModel' => 'sectionModel', 'teacherStaffIds' => 'teacherStaffIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseCode) { $res['courseCode'] = $this->courseCode; } if (null !== $this->courseGroupCode) { $res['courseGroupCode'] = $this->courseGroupCode; } if (null !== $this->courseName) { $res['courseName'] = $this->courseName; } if (null !== $this->creatorName) { $res['creatorName'] = $this->creatorName; } if (null !== $this->dateModel) { $res['dateModel'] = null !== $this->dateModel ? $this->dateModel->toMap() : null; } if (null !== $this->deleteTag) { $res['deleteTag'] = $this->deleteTag; } if (null !== $this->location) { $res['location'] = $this->location; } if (null !== $this->sectionModel) { $res['sectionModel'] = null !== $this->sectionModel ? $this->sectionModel->toMap() : null; } if (null !== $this->teacherStaffIds) { $res['teacherStaffIds'] = $this->teacherStaffIds; } return $res; } /** * @param array $map * * @return courses */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseCode'])) { $model->courseCode = $map['courseCode']; } if (isset($map['courseGroupCode'])) { $model->courseGroupCode = $map['courseGroupCode']; } if (isset($map['courseName'])) { $model->courseName = $map['courseName']; } if (isset($map['creatorName'])) { $model->creatorName = $map['creatorName']; } if (isset($map['dateModel'])) { $model->dateModel = dateModel::fromMap($map['dateModel']); } if (isset($map['deleteTag'])) { $model->deleteTag = $map['deleteTag']; } if (isset($map['location'])) { $model->location = $map['location']; } if (isset($map['sectionModel'])) { $model->sectionModel = sectionModel::fromMap($map['sectionModel']); } if (isset($map['teacherStaffIds'])) { if (!empty($map['teacherStaffIds'])) { $model->teacherStaffIds = $map['teacherStaffIds']; } } return $model; } } src/edu_1_0/Models/UpdateCoursesOfClassRequest/courses/dateModel.php000064400000002662146412132660021511 0ustar00 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return dateModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/UpdateCoursesOfClassRequest/courses/sectionModel.php000064400000003056146412132660022236 0ustar00 'sectionIndex', 'sectionName' => 'sectionName', 'sectionType' => 'sectionType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sectionIndex) { $res['sectionIndex'] = $this->sectionIndex; } if (null !== $this->sectionName) { $res['sectionName'] = $this->sectionName; } if (null !== $this->sectionType) { $res['sectionType'] = $this->sectionType; } return $res; } /** * @param array $map * * @return sectionModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sectionIndex'])) { $model->sectionIndex = $map['sectionIndex']; } if (isset($map['sectionName'])) { $model->sectionName = $map['sectionName']; } if (isset($map['sectionType'])) { $model->sectionType = $map['sectionType']; } return $model; } } src/edu_1_0/Models/UpdateCoursesOfClassRequest/sectionConfig.php000064400000003014146412132660020712 0ustar00 'sectionModels', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sectionModels) { $res['sectionModels'] = []; if (null !== $this->sectionModels && \is_array($this->sectionModels)) { $n = 0; foreach ($this->sectionModels as $item) { $res['sectionModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return sectionConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sectionModels'])) { if (!empty($map['sectionModels'])) { $model->sectionModels = []; $n = 0; foreach ($map['sectionModels'] as $item) { $model->sectionModels[$n++] = null !== $item ? sectionModels::fromMap($item) : $item; } } } return $model; } } src/edu_1_0/Models/UpdateCoursesOfClassRequest/sectionConfig/sectionModels.php000064400000004133146412132660023525 0ustar00 'end', 'sectionIndex' => 'sectionIndex', 'sectionType' => 'sectionType', 'start' => 'start', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->sectionIndex) { $res['sectionIndex'] = $this->sectionIndex; } if (null !== $this->sectionType) { $res['sectionType'] = $this->sectionType; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } return $res; } /** * @param array $map * * @return sectionModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['sectionIndex'])) { $model->sectionIndex = $map['sectionIndex']; } if (isset($map['sectionType'])) { $model->sectionType = $map['sectionType']; } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } return $model; } } src/edu_1_0/Models/UpdateCoursesOfClassRequest/sectionConfig/sectionModels/end.php000064400000002124146412132660024271 0ustar00 'hour', 'min' => 'min', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hour) { $res['hour'] = $this->hour; } if (null !== $this->min) { $res['min'] = $this->min; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hour'])) { $model->hour = $map['hour']; } if (isset($map['min'])) { $model->min = $map['min']; } return $model; } } src/edu_1_0/Models/UpdateCoursesOfClassRequest/sectionConfig/sectionModels/start.php000064400000002127146412132660024663 0ustar00 'hour', 'min' => 'min', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hour) { $res['hour'] = $this->hour; } if (null !== $this->min) { $res['min'] = $this->min; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hour'])) { $model->hour = $map['hour']; } if (isset($map['min'])) { $model->min = $map['min']; } return $model; } } src/edu_1_0/Models/UpdateCoursesOfClassResponse.php000064400000002751146412132660016275 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateCoursesOfClassResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateCoursesOfClassResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/UpdateCoursesOfClassResponseBody.php000064400000001540146412132660017106 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateCoursesOfClassResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/UpdatePhysicalClassroomHeaders.php000064400000002351146412132660016607 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdatePhysicalClassroomHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/UpdatePhysicalClassroomRequest.php000064400000007343146412132660016672 0ustar00 'classroomBuilding', 'classroomCampus' => 'classroomCampus', 'classroomFloor' => 'classroomFloor', 'classroomId' => 'classroomId', 'classroomName' => 'classroomName', 'classroomNumber' => 'classroomNumber', 'directBroadcast' => 'directBroadcast', 'ext' => 'ext', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classroomBuilding) { $res['classroomBuilding'] = $this->classroomBuilding; } if (null !== $this->classroomCampus) { $res['classroomCampus'] = $this->classroomCampus; } if (null !== $this->classroomFloor) { $res['classroomFloor'] = $this->classroomFloor; } if (null !== $this->classroomId) { $res['classroomId'] = $this->classroomId; } if (null !== $this->classroomName) { $res['classroomName'] = $this->classroomName; } if (null !== $this->classroomNumber) { $res['classroomNumber'] = $this->classroomNumber; } if (null !== $this->directBroadcast) { $res['directBroadcast'] = $this->directBroadcast; } if (null !== $this->ext) { $res['ext'] = $this->ext; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return UpdatePhysicalClassroomRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classroomBuilding'])) { $model->classroomBuilding = $map['classroomBuilding']; } if (isset($map['classroomCampus'])) { $model->classroomCampus = $map['classroomCampus']; } if (isset($map['classroomFloor'])) { $model->classroomFloor = $map['classroomFloor']; } if (isset($map['classroomId'])) { $model->classroomId = $map['classroomId']; } if (isset($map['classroomName'])) { $model->classroomName = $map['classroomName']; } if (isset($map['classroomNumber'])) { $model->classroomNumber = $map['classroomNumber']; } if (isset($map['directBroadcast'])) { $model->directBroadcast = $map['directBroadcast']; } if (isset($map['ext'])) { $model->ext = $map['ext']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/UpdatePhysicalClassroomResponse.php000064400000002765146412132660017043 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdatePhysicalClassroomResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdatePhysicalClassroomResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/UpdatePhysicalClassroomResponseBody.php000064400000001546146412132660017655 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdatePhysicalClassroomResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/UpdateRemoteClassCourseHeaders.php000064400000002351146412132660016552 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateRemoteClassCourseHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/UpdateRemoteClassCourseRequest.php000064400000007451146412132660016635 0ustar00 'attendParticipants', 'authCode' => 'authCode', 'courseCode' => 'courseCode', 'courseName' => 'courseName', 'endTime' => 'endTime', 'startTime' => 'startTime', 'teachingParticipant' => 'teachingParticipant', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendParticipants) { $res['attendParticipants'] = []; if (null !== $this->attendParticipants && \is_array($this->attendParticipants)) { $n = 0; foreach ($this->attendParticipants as $item) { $res['attendParticipants'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->authCode) { $res['authCode'] = $this->authCode; } if (null !== $this->courseCode) { $res['courseCode'] = $this->courseCode; } if (null !== $this->courseName) { $res['courseName'] = $this->courseName; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->teachingParticipant) { $res['teachingParticipant'] = null !== $this->teachingParticipant ? $this->teachingParticipant->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateRemoteClassCourseRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendParticipants'])) { if (!empty($map['attendParticipants'])) { $model->attendParticipants = []; $n = 0; foreach ($map['attendParticipants'] as $item) { $model->attendParticipants[$n++] = null !== $item ? attendParticipants::fromMap($item) : $item; } } } if (isset($map['authCode'])) { $model->authCode = $map['authCode']; } if (isset($map['courseCode'])) { $model->courseCode = $map['courseCode']; } if (isset($map['courseName'])) { $model->courseName = $map['courseName']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['teachingParticipant'])) { $model->teachingParticipant = teachingParticipant::fromMap($map['teachingParticipant']); } return $model; } } src/edu_1_0/Models/UpdateRemoteClassCourseRequest/attendParticipants.php000064400000002335146412132660022472 0ustar00 'corpId', 'participantId' => 'participantId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->participantId) { $res['participantId'] = $this->participantId; } return $res; } /** * @param array $map * * @return attendParticipants */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['participantId'])) { $model->participantId = $map['participantId']; } return $model; } } src/edu_1_0/Models/UpdateRemoteClassCourseRequest/teachingParticipant.php000064400000002337146412132660022614 0ustar00 'corpId', 'participantId' => 'participantId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->participantId) { $res['participantId'] = $this->participantId; } return $res; } /** * @param array $map * * @return teachingParticipant */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['participantId'])) { $model->participantId = $map['participantId']; } return $model; } } src/edu_1_0/Models/UpdateRemoteClassCourseResponse.php000064400000002765146412132660017006 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateRemoteClassCourseResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateRemoteClassCourseResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/UpdateRemoteClassCourseResponseBody.php000064400000002142146412132660017611 0ustar00 '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 UpdateRemoteClassCourseResponseBody */ 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/edu_1_0/Models/UpdateRemoteClassDeviceHeaders.php000064400000002351146412132660016511 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateRemoteClassDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/UpdateRemoteClassDeviceRequest.php000064400000002672146412132660016574 0ustar00 'authCode', 'deviceCode' => 'deviceCode', 'deviceName' => 'deviceName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authCode) { $res['authCode'] = $this->authCode; } if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } return $res; } /** * @param array $map * * @return UpdateRemoteClassDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authCode'])) { $model->authCode = $map['authCode']; } if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } return $model; } } src/edu_1_0/Models/UpdateRemoteClassDeviceResponse.php000064400000002765146412132660016745 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateRemoteClassDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateRemoteClassDeviceResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/UpdateRemoteClassDeviceResponseBody.php000064400000001523146412132660017552 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateRemoteClassDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/edu_1_0/Models/UpdateUniversityCourseGroupHeaders.php000064400000002361146412132660017530 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateUniversityCourseGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/UpdateUniversityCourseGroupRequest.php000064400000006745146412132660017617 0ustar00 'courseGroupCode', 'courseGroupIntroduce' => 'courseGroupIntroduce', 'courseGroupName' => 'courseGroupName', 'courserGroupItemModels' => 'courserGroupItemModels', 'ext' => 'ext', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseGroupCode) { $res['courseGroupCode'] = $this->courseGroupCode; } if (null !== $this->courseGroupIntroduce) { $res['courseGroupIntroduce'] = $this->courseGroupIntroduce; } if (null !== $this->courseGroupName) { $res['courseGroupName'] = $this->courseGroupName; } if (null !== $this->courserGroupItemModels) { $res['courserGroupItemModels'] = []; if (null !== $this->courserGroupItemModels && \is_array($this->courserGroupItemModels)) { $n = 0; foreach ($this->courserGroupItemModels as $item) { $res['courserGroupItemModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->ext) { $res['ext'] = $this->ext; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return UpdateUniversityCourseGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseGroupCode'])) { $model->courseGroupCode = $map['courseGroupCode']; } if (isset($map['courseGroupIntroduce'])) { $model->courseGroupIntroduce = $map['courseGroupIntroduce']; } if (isset($map['courseGroupName'])) { $model->courseGroupName = $map['courseGroupName']; } if (isset($map['courserGroupItemModels'])) { if (!empty($map['courserGroupItemModels'])) { $model->courserGroupItemModels = []; $n = 0; foreach ($map['courserGroupItemModels'] as $item) { $model->courserGroupItemModels[$n++] = null !== $item ? courserGroupItemModels::fromMap($item) : $item; } } } if (isset($map['ext'])) { $model->ext = $map['ext']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/edu_1_0/Models/UpdateUniversityCourseGroupRequest/courserGroupItemModels.php000064400000007341146412132660024272 0ustar00 'classPeriodType', 'classroomId' => 'classroomId', 'courseType' => 'courseType', 'courserGroupItemEndDate' => 'courserGroupItemEndDate', 'courserGroupItemStartDate' => 'courserGroupItemStartDate', 'dayOfWeek' => 'dayOfWeek', 'sectionIndex' => 'sectionIndex', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classPeriodType) { $res['classPeriodType'] = $this->classPeriodType; } if (null !== $this->classroomId) { $res['classroomId'] = $this->classroomId; } if (null !== $this->courseType) { $res['courseType'] = $this->courseType; } if (null !== $this->courserGroupItemEndDate) { $res['courserGroupItemEndDate'] = null !== $this->courserGroupItemEndDate ? $this->courserGroupItemEndDate->toMap() : null; } if (null !== $this->courserGroupItemStartDate) { $res['courserGroupItemStartDate'] = null !== $this->courserGroupItemStartDate ? $this->courserGroupItemStartDate->toMap() : null; } if (null !== $this->dayOfWeek) { $res['dayOfWeek'] = $this->dayOfWeek; } if (null !== $this->sectionIndex) { $res['sectionIndex'] = $this->sectionIndex; } return $res; } /** * @param array $map * * @return courserGroupItemModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classPeriodType'])) { $model->classPeriodType = $map['classPeriodType']; } if (isset($map['classroomId'])) { $model->classroomId = $map['classroomId']; } if (isset($map['courseType'])) { $model->courseType = $map['courseType']; } if (isset($map['courserGroupItemEndDate'])) { $model->courserGroupItemEndDate = courserGroupItemEndDate::fromMap($map['courserGroupItemEndDate']); } if (isset($map['courserGroupItemStartDate'])) { $model->courserGroupItemStartDate = courserGroupItemStartDate::fromMap($map['courserGroupItemStartDate']); } if (isset($map['dayOfWeek'])) { $model->dayOfWeek = $map['dayOfWeek']; } if (isset($map['sectionIndex'])) { if (!empty($map['sectionIndex'])) { $model->sectionIndex = $map['sectionIndex']; } } return $model; } } edu_1_0/Models/UpdateUniversityCourseGroupRequest/courserGroupItemModels/courserGroupItemEndDate.php000064400000002745146412132660030761 0ustar00src 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return courserGroupItemEndDate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } Models/UpdateUniversityCourseGroupRequest/courserGroupItemModels/courserGroupItemStartDate.php000064400000002750146412132660031344 0ustar00src/edu_1_0 'dayOfMonth', 'month' => 'month', 'year' => 'year', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->month) { $res['month'] = $this->month; } if (null !== $this->year) { $res['year'] = $this->year; } return $res; } /** * @param array $map * * @return courserGroupItemStartDate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['month'])) { $model->month = $map['month']; } if (isset($map['year'])) { $model->year = $map['year']; } return $model; } } src/edu_1_0/Models/UpdateUniversityCourseGroupResponse.php000064400000003005146412132660017747 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateUniversityCourseGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateUniversityCourseGroupResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/UpdateUniversityCourseGroupResponseBody.php000064400000001556146412132660020576 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateUniversityCourseGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/edu_1_0/Models/UploadLearningDataCallbackHeaders.php000064400000002357146412132660017126 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UploadLearningDataCallbackHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/UploadLearningDataCallbackRequest.php000064400000005503146412132660017177 0ustar00 'bizId', 'bizType' => 'bizType', 'corpId' => 'corpId', 'deptId' => 'deptId', 'generatedTime' => 'generatedTime', 'studentUserId' => 'studentUserId', 'subjectCode' => 'subjectCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->generatedTime) { $res['generatedTime'] = $this->generatedTime; } if (null !== $this->studentUserId) { $res['studentUserId'] = $this->studentUserId; } if (null !== $this->subjectCode) { $res['subjectCode'] = $this->subjectCode; } return $res; } /** * @param array $map * * @return UploadLearningDataCallbackRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['generatedTime'])) { $model->generatedTime = $map['generatedTime']; } if (isset($map['studentUserId'])) { $model->studentUserId = $map['studentUserId']; } if (isset($map['subjectCode'])) { $model->subjectCode = $map['subjectCode']; } return $model; } } src/edu_1_0/Models/UploadLearningDataCallbackResponse.php000064400000003001146412132660017334 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UploadLearningDataCallbackResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UploadLearningDataCallbackResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/UploadLearningDataCallbackResponseBody.php000064400000002146146412132660020163 0ustar00 '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 UploadLearningDataCallbackResponseBody */ 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/edu_1_0/Models/VPaasProxyHeaders.php000064400000002317146412132660014063 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return VPaasProxyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/VPaasProxyRequest.php000064400000003305146412132660014136 0ustar00 'actionCode', 'params' => 'params', 'publicKey' => 'publicKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionCode) { $res['actionCode'] = $this->actionCode; } if (null !== $this->params) { $res['params'] = $this->params; } if (null !== $this->publicKey) { $res['publicKey'] = $this->publicKey; } return $res; } /** * @param array $map * * @return VPaasProxyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionCode'])) { $model->actionCode = $map['actionCode']; } if (isset($map['params'])) { $model->params = $map['params']; } if (isset($map['publicKey'])) { $model->publicKey = $map['publicKey']; } return $model; } } src/edu_1_0/Models/VPaasProxyResponse.php000064400000002701146412132660014303 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return VPaasProxyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = VPaasProxyResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/VPaasProxyResponseBody.php000064400000002100146412132660015112 0ustar00 'result', 'ticket' => 'ticket', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->ticket) { $res['ticket'] = $this->ticket; } return $res; } /** * @param array $map * * @return VPaasProxyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['ticket'])) { $model->ticket = $map['ticket']; } return $model; } } src/edu_1_0/Models/ValidateNewGradeManagerHeaders.php000064400000002351146412132660016446 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ValidateNewGradeManagerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/ValidateNewGradeManagerRequest.php000064400000001557146412132660016532 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ValidateNewGradeManagerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/edu_1_0/Models/ValidateNewGradeManagerResponse.php000064400000002765146412132660016702 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ValidateNewGradeManagerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ValidateNewGradeManagerResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/ValidateNewGradeManagerResponseBody.php000064400000001545146412132660017513 0ustar00 'matchRule', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->matchRule) { $res['matchRule'] = $this->matchRule; } return $res; } /** * @param array $map * * @return ValidateNewGradeManagerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['matchRule'])) { $model->matchRule = $map['matchRule']; } return $model; } } src/edu_1_0/Models/ValidateUserRoleHeaders.php000064400000002333146412132660015217 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ValidateUserRoleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/edu_1_0/Models/ValidateUserRoleRequest.php000064400000002326146412132660015276 0ustar00 'timeThreshold', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->timeThreshold) { $res['timeThreshold'] = $this->timeThreshold; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ValidateUserRoleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['timeThreshold'])) { $model->timeThreshold = $map['timeThreshold']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/edu_1_0/Models/ValidateUserRoleResponse.php000064400000002731146412132660015444 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ValidateUserRoleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ValidateUserRoleResponseBody::fromMap($map['body']); } return $model; } } src/edu_1_0/Models/ValidateUserRoleResponseBody.php000064400000002474146412132660016266 0ustar00 'matchParentIdentity', 'matchTeacherIdentity' => 'matchTeacherIdentity', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->matchParentIdentity) { $res['matchParentIdentity'] = $this->matchParentIdentity; } if (null !== $this->matchTeacherIdentity) { $res['matchTeacherIdentity'] = $this->matchTeacherIdentity; } return $res; } /** * @param array $map * * @return ValidateUserRoleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['matchParentIdentity'])) { $model->matchParentIdentity = $map['matchParentIdentity']; } if (isset($map['matchTeacherIdentity'])) { $model->matchTeacherIdentity = $map['matchTeacherIdentity']; } return $model; } } src/esign_1_0/Dingtalk.php000064400000116216146412132660011361 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AuthUrlRequest $request * @param AuthUrlHeaders $headers * @param RuntimeOptions $runtime * * @return AuthUrlResponse */ public function authUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->redirectUrl)) { $body['redirectUrl'] = $request->redirectUrl; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AuthUrl', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/auths/url', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AuthUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AuthUrlRequest $request * * @return AuthUrlResponse */ public function authUrl($request) { $runtime = new RuntimeOptions([]); $headers = new AuthUrlHeaders([]); return $this->authUrlWithOptions($request, $headers, $runtime); } /** * @param CancelCorpAuthHeaders $headers * @param RuntimeOptions $runtime * * @return CancelCorpAuthResponse */ public function cancelCorpAuthWithOptions($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' => 'CancelCorpAuth', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/corps/auth/cancel', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CancelCorpAuthResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return CancelCorpAuthResponse */ public function cancelCorpAuth() { $runtime = new RuntimeOptions([]); $headers = new CancelCorpAuthHeaders([]); return $this->cancelCorpAuthWithOptions($headers, $runtime); } /** * @param ChannelOrderRequest $request * @param ChannelOrderHeaders $headers * @param RuntimeOptions $runtime * * @return ChannelOrderResponse */ public function channelOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->itemCode)) { $body['itemCode'] = $request->itemCode; } if (!Utils::isUnset($request->itemName)) { $body['itemName'] = $request->itemName; } if (!Utils::isUnset($request->orderCreateTime)) { $body['orderCreateTime'] = $request->orderCreateTime; } if (!Utils::isUnset($request->orderId)) { $body['orderId'] = $request->orderId; } if (!Utils::isUnset($request->payFee)) { $body['payFee'] = $request->payFee; } if (!Utils::isUnset($request->quantity)) { $body['quantity'] = $request->quantity; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ChannelOrder', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/orders/channel', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ChannelOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ChannelOrderRequest $request * * @return ChannelOrderResponse */ public function channelOrder($request) { $runtime = new RuntimeOptions([]); $headers = new ChannelOrderHeaders([]); return $this->channelOrderWithOptions($request, $headers, $runtime); } /** * @param ContractMarginHeaders $headers * @param RuntimeOptions $runtime * * @return ContractMarginResponse */ public function contractMarginWithOptions($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' => 'ContractMargin', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/contracts/margin', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ContractMarginResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return ContractMarginResponse */ public function contractMargin() { $runtime = new RuntimeOptions([]); $headers = new ContractMarginHeaders([]); return $this->contractMarginWithOptions($headers, $runtime); } /** * @param CorpConsoleHeaders $headers * @param RuntimeOptions $runtime * * @return CorpConsoleResponse */ public function corpConsoleWithOptions($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' => 'CorpConsole', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/corps/console', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CorpConsoleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return CorpConsoleResponse */ public function corpConsole() { $runtime = new RuntimeOptions([]); $headers = new CorpConsoleHeaders([]); return $this->corpConsoleWithOptions($headers, $runtime); } /** * @param CorpInfoHeaders $headers * @param RuntimeOptions $runtime * * @return CorpInfoResponse */ public function corpInfoWithOptions($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' => 'CorpInfo', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/corps/info', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CorpInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return CorpInfoResponse */ public function corpInfo() { $runtime = new RuntimeOptions([]); $headers = new CorpInfoHeaders([]); return $this->corpInfoWithOptions($headers, $runtime); } /** * @param CreateDeveloperRequest $request * @param CreateDeveloperHeaders $headers * @param RuntimeOptions $runtime * * @return CreateDeveloperResponse */ public function createDeveloperWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->redirectUrl)) { $body['redirectUrl'] = $request->redirectUrl; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateDeveloper', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/developers/create', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateDeveloperResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateDeveloperRequest $request * * @return CreateDeveloperResponse */ public function createDeveloper($request) { $runtime = new RuntimeOptions([]); $headers = new CreateDeveloperHeaders([]); return $this->createDeveloperWithOptions($request, $headers, $runtime); } /** * @param GetCorpRealnameUrlRequest $request * @param GetCorpRealnameUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetCorpRealnameUrlResponse */ public function getCorpRealnameUrlWithOptions($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' => 'GetCorpRealnameUrl', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/corps/realname', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetCorpRealnameUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetCorpRealnameUrlRequest $request * * @return GetCorpRealnameUrlResponse */ public function getCorpRealnameUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetCorpRealnameUrlHeaders([]); return $this->getCorpRealnameUrlWithOptions($request, $headers, $runtime); } /** * @param GetCropStatusHeaders $headers * @param RuntimeOptions $runtime * * @return GetCropStatusResponse */ public function getCropStatusWithOptions($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' => 'GetCropStatus', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/corps/statuses', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetCropStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return GetCropStatusResponse */ public function getCropStatus() { $runtime = new RuntimeOptions([]); $headers = new GetCropStatusHeaders([]); return $this->getCropStatusWithOptions($headers, $runtime); } /** * @param string $fileId * @param GetFileHeaders $headers * @param RuntimeOptions $runtime * * @return GetFileResponse */ public function getFileWithOptions($fileId, $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' => 'GetFile', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/files/' . $fileId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetFileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $fileId * * @return GetFileResponse */ public function getFile($fileId) { $runtime = new RuntimeOptions([]); $headers = new GetFileHeaders([]); return $this->getFileWithOptions($fileId, $headers, $runtime); } /** * @param GetFlowDetailRequest $request * @param GetFlowDetailHeaders $headers * @param RuntimeOptions $runtime * * @return GetFlowDetailResponse */ public function getFlowDetailWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->taskId)) { $query['taskId'] = $request->taskId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetFlowDetail', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/flows/detail', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetFlowDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetFlowDetailRequest $request * * @return GetFlowDetailResponse */ public function getFlowDetail($request) { $runtime = new RuntimeOptions([]); $headers = new GetFlowDetailHeaders([]); return $this->getFlowDetailWithOptions($request, $headers, $runtime); } /** * @param GetFlowSignDetailRequest $request * @param GetFlowSignDetailHeaders $headers * @param RuntimeOptions $runtime * * @return GetFlowSignDetailResponse */ public function getFlowSignDetailWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->taskId)) { $query['taskId'] = $request->taskId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetFlowSignDetail', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/flows/sign/detail', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetFlowSignDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetFlowSignDetailRequest $request * * @return GetFlowSignDetailResponse */ public function getFlowSignDetail($request) { $runtime = new RuntimeOptions([]); $headers = new GetFlowSignDetailHeaders([]); return $this->getFlowSignDetailWithOptions($request, $headers, $runtime); } /** * @param GetProcessStartUrlRequest $request * @param GetProcessStartUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetProcessStartUrlResponse */ public function getProcessStartUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->ccs)) { $body['ccs'] = $request->ccs; } if (!Utils::isUnset($request->files)) { $body['files'] = $request->files; } if (!Utils::isUnset($request->initiatorUserId)) { $body['initiatorUserId'] = $request->initiatorUserId; } if (!Utils::isUnset($request->participants)) { $body['participants'] = $request->participants; } if (!Utils::isUnset($request->redirectUrl)) { $body['redirectUrl'] = $request->redirectUrl; } if (!Utils::isUnset($request->sourceInfo)) { $body['sourceInfo'] = $request->sourceInfo; } if (!Utils::isUnset($request->taskName)) { $body['taskName'] = $request->taskName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetProcessStartUrl', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/process/start', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetProcessStartUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetProcessStartUrlRequest $request * * @return GetProcessStartUrlResponse */ public function getProcessStartUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetProcessStartUrlHeaders([]); return $this->getProcessStartUrlWithOptions($request, $headers, $runtime); } /** * @param GetSignNoticeUrlRequest $request * @param GetSignNoticeUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetSignNoticeUrlResponse */ public function getSignNoticeUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->taskId)) { $body['taskId'] = $request->taskId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetSignNoticeUrl', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/signs/notice/url', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetSignNoticeUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSignNoticeUrlRequest $request * * @return GetSignNoticeUrlResponse */ public function getSignNoticeUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetSignNoticeUrlHeaders([]); return $this->getSignNoticeUrlWithOptions($request, $headers, $runtime); } /** * @param GetUploadUrlRequest $request * @param GetUploadUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetUploadUrlResponse */ public function getUploadUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->contentMd5)) { $body['contentMd5'] = $request->contentMd5; } if (!Utils::isUnset($request->contentType)) { $body['contentType'] = $request->contentType; } if (!Utils::isUnset($request->convert2Pdf)) { $body['convert2Pdf'] = $request->convert2Pdf; } if (!Utils::isUnset($request->fileName)) { $body['fileName'] = $request->fileName; } if (!Utils::isUnset($request->fileSize)) { $body['fileSize'] = $request->fileSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetUploadUrl', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/files/getUploadUrl', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetUploadUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUploadUrlRequest $request * * @return GetUploadUrlResponse */ public function getUploadUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetUploadUrlHeaders([]); return $this->getUploadUrlWithOptions($request, $headers, $runtime); } /** * @param string $userId * @param GetUserInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserInfoResponse */ public function getUserInfoWithOptions($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' => 'GetUserInfo', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/users/' . $userId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetUserInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * * @return GetUserInfoResponse */ public function getUserInfo($userId) { $runtime = new RuntimeOptions([]); $headers = new GetUserInfoHeaders([]); return $this->getUserInfoWithOptions($userId, $headers, $runtime); } /** * @param GetUserRealnameUrlRequest $request * @param GetUserRealnameUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserRealnameUrlResponse */ public function getUserRealnameUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->redirectUrl)) { $body['redirectUrl'] = $request->redirectUrl; } 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' => 'GetUserRealnameUrl', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/users/realname', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetUserRealnameUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUserRealnameUrlRequest $request * * @return GetUserRealnameUrlResponse */ public function getUserRealnameUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserRealnameUrlHeaders([]); return $this->getUserRealnameUrlWithOptions($request, $headers, $runtime); } /** * @param ListFlowDocsRequest $request * @param ListFlowDocsHeaders $headers * @param RuntimeOptions $runtime * * @return ListFlowDocsResponse */ public function listFlowDocsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->taskId)) { $query['taskId'] = $request->taskId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListFlowDocs', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/flows/docs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListFlowDocsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListFlowDocsRequest $request * * @return ListFlowDocsResponse */ public function listFlowDocs($request) { $runtime = new RuntimeOptions([]); $headers = new ListFlowDocsHeaders([]); return $this->listFlowDocsWithOptions($request, $headers, $runtime); } /** * @param ListSealApprovalRequest $request * @param ListSealApprovalHeaders $headers * @param RuntimeOptions $runtime * * @return ListSealApprovalResponse */ public function listSealApprovalWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->taskId)) { $query['taskId'] = $request->taskId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListSealApproval', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/seals/approval/list', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListSealApprovalResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListSealApprovalRequest $request * * @return ListSealApprovalResponse */ public function listSealApproval($request) { $runtime = new RuntimeOptions([]); $headers = new ListSealApprovalHeaders([]); return $this->listSealApprovalWithOptions($request, $headers, $runtime); } /** * @param OrderResaleRequest $request * @param OrderResaleHeaders $headers * @param RuntimeOptions $runtime * * @return OrderResaleResponse */ public function orderResaleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->orderCreateTime)) { $body['orderCreateTime'] = $request->orderCreateTime; } if (!Utils::isUnset($request->orderId)) { $body['orderId'] = $request->orderId; } if (!Utils::isUnset($request->quantity)) { $body['quantity'] = $request->quantity; } if (!Utils::isUnset($request->serviceStartTime)) { $body['serviceStartTime'] = $request->serviceStartTime; } if (!Utils::isUnset($request->serviceStopTime)) { $body['serviceStopTime'] = $request->serviceStopTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'OrderResale', 'version' => 'esign_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/esign/orders/resale', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return OrderResaleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param OrderResaleRequest $request * * @return OrderResaleResponse */ public function orderResale($request) { $runtime = new RuntimeOptions([]); $headers = new OrderResaleHeaders([]); return $this->orderResaleWithOptions($request, $headers, $runtime); } } src/esign_1_0/Models/AuthUrlHeaders.php000064400000002313146412132660013717 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AuthUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/AuthUrlRequest.php000064400000001521146412132660013774 0ustar00 'redirectUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->redirectUrl) { $res['redirectUrl'] = $this->redirectUrl; } return $res; } /** * @param array $map * * @return AuthUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['redirectUrl'])) { $model->redirectUrl = $map['redirectUrl']; } return $model; } } src/esign_1_0/Models/AuthUrlResponse.php000064400000002667146412132660014156 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AuthUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AuthUrlResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/AuthUrlResponseBody.php000064400000002660146412132660014765 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return AuthUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/AuthUrlResponseBody/data.php000064400000002531146412132660015673 0ustar00 'mobileUrl', 'pcUrl' => 'pcUrl', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/esign_1_0/Models/CancelCorpAuthHeaders.php000064400000002331146412132660015166 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CancelCorpAuthHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/CancelCorpAuthResponse.php000064400000002723146412132660015416 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CancelCorpAuthResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CancelCorpAuthResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/CancelCorpAuthResponseBody.php000064400000002705146412132660016234 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return CancelCorpAuthResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/CancelCorpAuthResponseBody/data.php000064400000001451146412132660017142 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/esign_1_0/Models/ChannelOrderHeaders.php000064400000002325146412132660014702 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ChannelOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/ChannelOrderRequest.php000064400000004441146412132660014760 0ustar00 'itemCode', 'itemName' => 'itemName', 'orderCreateTime' => 'orderCreateTime', 'orderId' => 'orderId', 'payFee' => 'payFee', 'quantity' => 'quantity', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->itemCode) { $res['itemCode'] = $this->itemCode; } if (null !== $this->itemName) { $res['itemName'] = $this->itemName; } if (null !== $this->orderCreateTime) { $res['orderCreateTime'] = $this->orderCreateTime; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->payFee) { $res['payFee'] = $this->payFee; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } return $res; } /** * @param array $map * * @return ChannelOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['itemCode'])) { $model->itemCode = $map['itemCode']; } if (isset($map['itemName'])) { $model->itemName = $map['itemName']; } if (isset($map['orderCreateTime'])) { $model->orderCreateTime = $map['orderCreateTime']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['payFee'])) { $model->payFee = $map['payFee']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } return $model; } } src/esign_1_0/Models/ChannelOrderResponse.php000064400000002713146412132660015126 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ChannelOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ChannelOrderResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/ChannelOrderResponseBody.php000064400000002677146412132660015755 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return ChannelOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/ChannelOrderResponseBody/data.php000064400000001537146412132660016660 0ustar00 'esignOrderId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->esignOrderId) { $res['esignOrderId'] = $this->esignOrderId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['esignOrderId'])) { $model->esignOrderId = $map['esignOrderId']; } return $model; } } src/esign_1_0/Models/ContractMarginHeaders.php000064400000002331146412132660015246 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ContractMarginHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/ContractMarginResponse.php000064400000002723146412132660015476 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ContractMarginResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ContractMarginResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/ContractMarginResponseBody.php000064400000002705146412132660016314 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return ContractMarginResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/ContractMarginResponseBody/data.php000064400000001450146412132660017221 0ustar00 'margin', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->margin) { $res['margin'] = $this->margin; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['margin'])) { $model->margin = $map['margin']; } return $model; } } src/esign_1_0/Models/CorpConsoleHeaders.php000064400000002323146412132660014562 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CorpConsoleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/CorpConsoleResponse.php000064400000002707146412132660015013 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CorpConsoleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CorpConsoleResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/CorpConsoleResponseBody.php000064400000002674146412132660015634 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return CorpConsoleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/CorpConsoleResponseBody/data.php000064400000001544146412132660016540 0ustar00 'orgConsoleUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orgConsoleUrl) { $res['orgConsoleUrl'] = $this->orgConsoleUrl; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orgConsoleUrl'])) { $model->orgConsoleUrl = $map['orgConsoleUrl']; } return $model; } } src/esign_1_0/Models/CorpInfoHeaders.php000064400000002315146412132660014054 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CorpInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/CorpInfoResponse.php000064400000002673146412132660014306 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CorpInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CorpInfoResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/CorpInfoResponseBody.php000064400000002663146412132660015123 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return CorpInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/CorpInfoResponseBody/data.php000064400000002163146412132660016027 0ustar00 'orgRealName', 'realName' => 'realName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orgRealName) { $res['orgRealName'] = $this->orgRealName; } if (null !== $this->realName) { $res['realName'] = $this->realName; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orgRealName'])) { $model->orgRealName = $map['orgRealName']; } if (isset($map['realName'])) { $model->realName = $map['realName']; } return $model; } } src/esign_1_0/Models/CreateDeveloperHeaders.php000064400000002333146412132660015406 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateDeveloperHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/CreateDeveloperRequest.php000064400000001541146412132660015463 0ustar00 'redirectUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->redirectUrl) { $res['redirectUrl'] = $this->redirectUrl; } return $res; } /** * @param array $map * * @return CreateDeveloperRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['redirectUrl'])) { $model->redirectUrl = $map['redirectUrl']; } return $model; } } src/esign_1_0/Models/CreateDeveloperResponse.php000064400000002727146412132660015640 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateDeveloperResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateDeveloperResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/CreateDeveloperResponseBody.php000064400000002500146412132660016443 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; 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; } return $res; } /** * @param array $map * * @return CreateDeveloperResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/GetCorpRealnameUrlHeaders.php000064400000002341146412132660016027 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCorpRealnameUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/GetCorpRealnameUrlRequest.php000064400000001472146412132660016110 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetCorpRealnameUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/esign_1_0/Models/GetCorpRealnameUrlResponse.php000064400000002743146412132660016260 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCorpRealnameUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCorpRealnameUrlResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/GetCorpRealnameUrlResponseBody.php000064400000002721146412132660017072 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetCorpRealnameUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/GetCorpRealnameUrlResponseBody/data.php000064400000002544146412132660020006 0ustar00 'mobileUrl', 'pcUrl' => 'pcUrl', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/esign_1_0/Models/GetCropStatusHeaders.php000064400000002327146412132660015107 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCropStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/GetCropStatusResponse.php000064400000002717146412132660015335 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCropStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCropStatusResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/GetCropStatusResponseBody.php000064400000002702146412132660016145 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetCropStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/GetCropStatusResponseBody/data.php000064400000002236146412132660017060 0ustar00 'authStatus', 'installStatus' => 'installStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authStatus) { $res['authStatus'] = $this->authStatus; } if (null !== $this->installStatus) { $res['installStatus'] = $this->installStatus; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authStatus'])) { $model->authStatus = $map['authStatus']; } if (isset($map['installStatus'])) { $model->installStatus = $map['installStatus']; } return $model; } } src/esign_1_0/Models/GetFileHeaders.php000064400000002313146412132660013652 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/GetFileResponse.php000064400000002667146412132660014111 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFileResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/GetFileResponseBody.php000064400000002660146412132660014720 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetFileResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/GetFileResponseBody/data.php000064400000004313146412132660015626 0ustar00 'downloadUrl', 'fileId' => 'fileId', 'name' => 'name', 'pdfTotalPages' => 'pdfTotalPages', 'size' => 'size', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->downloadUrl) { $res['downloadUrl'] = $this->downloadUrl; } if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->pdfTotalPages) { $res['pdfTotalPages'] = $this->pdfTotalPages; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['downloadUrl'])) { $model->downloadUrl = $map['downloadUrl']; } if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['pdfTotalPages'])) { $model->pdfTotalPages = $map['pdfTotalPages']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/esign_1_0/Models/GetFlowDetailHeaders.php000064400000002327146412132660015032 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFlowDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/GetFlowDetailRequest.php000064400000001460146412132660015104 0ustar00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return GetFlowDetailRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/esign_1_0/Models/GetFlowDetailResponse.php000064400000002717146412132660015260 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFlowDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFlowDetailResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/GetFlowDetailResponseBody.php000064400000002702146412132660016070 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetFlowDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/GetFlowDetailResponseBody/data.php000064400000005363146412132660017007 0ustar00 'businessSense', 'flowStatus' => 'flowStatus', 'initiatorAuthorizedName' => 'initiatorAuthorizedName', 'initiatorName' => 'initiatorName', 'logs' => 'logs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->businessSense) { $res['businessSense'] = $this->businessSense; } if (null !== $this->flowStatus) { $res['flowStatus'] = $this->flowStatus; } if (null !== $this->initiatorAuthorizedName) { $res['initiatorAuthorizedName'] = $this->initiatorAuthorizedName; } if (null !== $this->initiatorName) { $res['initiatorName'] = $this->initiatorName; } if (null !== $this->logs) { $res['logs'] = []; if (null !== $this->logs && \is_array($this->logs)) { $n = 0; foreach ($this->logs as $item) { $res['logs'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['businessSense'])) { $model->businessSense = $map['businessSense']; } if (isset($map['flowStatus'])) { $model->flowStatus = $map['flowStatus']; } if (isset($map['initiatorAuthorizedName'])) { $model->initiatorAuthorizedName = $map['initiatorAuthorizedName']; } if (isset($map['initiatorName'])) { $model->initiatorName = $map['initiatorName']; } if (isset($map['logs'])) { if (!empty($map['logs'])) { $model->logs = []; $n = 0; foreach ($map['logs'] as $item) { $model->logs[$n++] = null !== $item ? logs::fromMap($item) : $item; } } } return $model; } } src/esign_1_0/Models/GetFlowDetailResponseBody/data/logs.php000064400000003602146412132660017745 0ustar00 'logType', 'operateDescription' => 'operateDescription', 'operateTime' => 'operateTime', 'operatorAccountName' => 'operatorAccountName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->logType) { $res['logType'] = $this->logType; } if (null !== $this->operateDescription) { $res['operateDescription'] = $this->operateDescription; } if (null !== $this->operateTime) { $res['operateTime'] = $this->operateTime; } if (null !== $this->operatorAccountName) { $res['operatorAccountName'] = $this->operatorAccountName; } return $res; } /** * @param array $map * * @return logs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['logType'])) { $model->logType = $map['logType']; } if (isset($map['operateDescription'])) { $model->operateDescription = $map['operateDescription']; } if (isset($map['operateTime'])) { $model->operateTime = $map['operateTime']; } if (isset($map['operatorAccountName'])) { $model->operatorAccountName = $map['operatorAccountName']; } return $model; } } src/esign_1_0/Models/GetFlowSignDetailHeaders.php000064400000002337146412132660015654 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFlowSignDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/GetFlowSignDetailRequest.php000064400000001470146412132660015726 0ustar00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return GetFlowSignDetailRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/esign_1_0/Models/GetFlowSignDetailResponse.php000064400000002737146412132660016103 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFlowSignDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFlowSignDetailResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/GetFlowSignDetailResponseBody.php000064400000002716146412132660016716 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetFlowSignDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/GetFlowSignDetailResponseBody/data.php000064400000004022146412132660017617 0ustar00 'businessSense', 'flowStatus' => 'flowStatus', 'signers' => 'signers', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->businessSense) { $res['businessSense'] = $this->businessSense; } if (null !== $this->flowStatus) { $res['flowStatus'] = $this->flowStatus; } if (null !== $this->signers) { $res['signers'] = []; if (null !== $this->signers && \is_array($this->signers)) { $n = 0; foreach ($this->signers as $item) { $res['signers'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['businessSense'])) { $model->businessSense = $map['businessSense']; } if (isset($map['flowStatus'])) { $model->flowStatus = $map['flowStatus']; } if (isset($map['signers'])) { if (!empty($map['signers'])) { $model->signers = []; $n = 0; foreach ($map['signers'] as $item) { $model->signers[$n++] = null !== $item ? signers::fromMap($item) : $item; } } } return $model; } } src/esign_1_0/Models/GetFlowSignDetailResponseBody/data/signers.php000064400000002214146412132660021272 0ustar00 'signStatus', 'signerName' => 'signerName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->signStatus) { $res['signStatus'] = $this->signStatus; } if (null !== $this->signerName) { $res['signerName'] = $this->signerName; } return $res; } /** * @param array $map * * @return signers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['signStatus'])) { $model->signStatus = $map['signStatus']; } if (isset($map['signerName'])) { $model->signerName = $map['signerName']; } return $model; } } src/esign_1_0/Models/GetProcessStartUrlHeaders.php000064400000002341146412132660016113 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetProcessStartUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/GetProcessStartUrlRequest.php000064400000010767146412132660016203 0ustar00 'ccs', 'files' => 'files', 'initiatorUserId' => 'initiatorUserId', 'participants' => 'participants', 'redirectUrl' => 'redirectUrl', 'sourceInfo' => 'sourceInfo', 'taskName' => 'taskName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ccs) { $res['ccs'] = []; if (null !== $this->ccs && \is_array($this->ccs)) { $n = 0; foreach ($this->ccs as $item) { $res['ccs'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->files) { $res['files'] = []; if (null !== $this->files && \is_array($this->files)) { $n = 0; foreach ($this->files as $item) { $res['files'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->initiatorUserId) { $res['initiatorUserId'] = $this->initiatorUserId; } if (null !== $this->participants) { $res['participants'] = []; if (null !== $this->participants && \is_array($this->participants)) { $n = 0; foreach ($this->participants as $item) { $res['participants'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->redirectUrl) { $res['redirectUrl'] = $this->redirectUrl; } if (null !== $this->sourceInfo) { $res['sourceInfo'] = null !== $this->sourceInfo ? $this->sourceInfo->toMap() : null; } if (null !== $this->taskName) { $res['taskName'] = $this->taskName; } return $res; } /** * @param array $map * * @return GetProcessStartUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ccs'])) { if (!empty($map['ccs'])) { $model->ccs = []; $n = 0; foreach ($map['ccs'] as $item) { $model->ccs[$n++] = null !== $item ? ccs::fromMap($item) : $item; } } } if (isset($map['files'])) { if (!empty($map['files'])) { $model->files = []; $n = 0; foreach ($map['files'] as $item) { $model->files[$n++] = null !== $item ? files::fromMap($item) : $item; } } } if (isset($map['initiatorUserId'])) { $model->initiatorUserId = $map['initiatorUserId']; } if (isset($map['participants'])) { if (!empty($map['participants'])) { $model->participants = []; $n = 0; foreach ($map['participants'] as $item) { $model->participants[$n++] = null !== $item ? participants::fromMap($item) : $item; } } } if (isset($map['redirectUrl'])) { $model->redirectUrl = $map['redirectUrl']; } if (isset($map['sourceInfo'])) { $model->sourceInfo = sourceInfo::fromMap($map['sourceInfo']); } if (isset($map['taskName'])) { $model->taskName = $map['taskName']; } return $model; } } src/esign_1_0/Models/GetProcessStartUrlRequest/ccs.php000064400000003731146412132660016744 0ustar00 'account', 'accountName' => 'accountName', 'accountType' => 'accountType', 'orgName' => 'orgName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->account) { $res['account'] = $this->account; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ccs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['account'])) { $model->account = $map['account']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/esign_1_0/Models/GetProcessStartUrlRequest/files.php000064400000002116146412132660017272 0ustar00 'fileId', 'fileName' => 'fileName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } return $res; } /** * @param array $map * * @return files */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } return $model; } } src/esign_1_0/Models/GetProcessStartUrlRequest/participants.php000064400000004554146412132660020701 0ustar00 'account', 'accountName' => 'accountName', 'accountType' => 'accountType', 'orgName' => 'orgName', 'signRequirements' => 'signRequirements', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->account) { $res['account'] = $this->account; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->signRequirements) { $res['signRequirements'] = $this->signRequirements; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return participants */ public static function fromMap($map = []) { $model = new self(); if (isset($map['account'])) { $model->account = $map['account']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['signRequirements'])) { $model->signRequirements = $map['signRequirements']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/esign_1_0/Models/GetProcessStartUrlRequest/sourceInfo.php000064400000002573146412132660020313 0ustar00 'mobileUrl', 'pcUrl' => 'pcUrl', 'showText' => 'showText', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->showText) { $res['showText'] = $this->showText; } return $res; } /** * @param array $map * * @return sourceInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['showText'])) { $model->showText = $map['showText']; } return $model; } } src/esign_1_0/Models/GetProcessStartUrlResponse.php000064400000002743146412132660016344 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetProcessStartUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetProcessStartUrlResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/GetProcessStartUrlResponseBody.php000064400000002721146412132660017156 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetProcessStartUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/GetProcessStartUrlResponseBody/data.php000064400000002544146412132660020072 0ustar00 'mobileUrl', 'pcUrl' => 'pcUrl', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/esign_1_0/Models/GetSignNoticeUrlHeaders.php000064400000002335146412132660015524 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSignNoticeUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/GetSignNoticeUrlRequest.php000064400000001466146412132660015605 0ustar00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return GetSignNoticeUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/esign_1_0/Models/GetSignNoticeUrlResponse.php000064400000002733146412132660015751 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSignNoticeUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSignNoticeUrlResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/GetSignNoticeUrlResponseBody.php000064400000002713146412132660016565 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetSignNoticeUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/GetSignNoticeUrlResponseBody/data.php000064400000002121146412132660017467 0ustar00 'mobileUrl', 'pcUrl' => 'pcUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } return $model; } } src/esign_1_0/Models/GetUploadUrlHeaders.php000064400000002325146412132660014705 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUploadUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/GetUploadUrlRequest.php000064400000004012146412132660014755 0ustar00 'contentMd5', 'contentType' => 'contentType', 'convert2Pdf' => 'convert2Pdf', 'fileName' => 'fileName', 'fileSize' => 'fileSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentMd5) { $res['contentMd5'] = $this->contentMd5; } if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->convert2Pdf) { $res['convert2Pdf'] = $this->convert2Pdf; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } return $res; } /** * @param array $map * * @return GetUploadUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentMd5'])) { $model->contentMd5 = $map['contentMd5']; } if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['convert2Pdf'])) { $model->convert2Pdf = $map['convert2Pdf']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } return $model; } } src/esign_1_0/Models/GetUploadUrlResponse.php000064400000002713146412132660015131 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUploadUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUploadUrlResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/GetUploadUrlResponseBody.php000064400000002677146412132660015760 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetUploadUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/GetUploadUrlResponseBody/data.php000064400000002125146412132660016655 0ustar00 'fileId', 'uploadUrl' => 'uploadUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->uploadUrl) { $res['uploadUrl'] = $this->uploadUrl; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['uploadUrl'])) { $model->uploadUrl = $map['uploadUrl']; } return $model; } } src/esign_1_0/Models/GetUserInfoHeaders.php000064400000002323146412132660014526 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/GetUserInfoResponse.php000064400000002707146412132660014757 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserInfoResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/GetUserInfoResponseBody.php000064400000002674146412132660015600 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetUserInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/GetUserInfoResponseBody/data.php000064400000002200146412132660016472 0ustar00 'realName', 'userRealName' => 'userRealName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->realName) { $res['realName'] = $this->realName; } if (null !== $this->userRealName) { $res['userRealName'] = $this->userRealName; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['realName'])) { $model->realName = $map['realName']; } if (isset($map['userRealName'])) { $model->userRealName = $map['userRealName']; } return $model; } } src/esign_1_0/Models/GetUserRealnameUrlHeaders.php000064400000002341146412132660016042 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserRealnameUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/GetUserRealnameUrlRequest.php000064400000002172146412132660016121 0ustar00 'redirectUrl', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->redirectUrl) { $res['redirectUrl'] = $this->redirectUrl; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetUserRealnameUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['redirectUrl'])) { $model->redirectUrl = $map['redirectUrl']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/esign_1_0/Models/GetUserRealnameUrlResponse.php000064400000002743146412132660016273 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserRealnameUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserRealnameUrlResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/GetUserRealnameUrlResponseBody.php000064400000002721146412132660017105 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetUserRealnameUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/GetUserRealnameUrlResponseBody/data.php000064400000002544146412132660020021 0ustar00 'mobileUrl', 'pcUrl' => 'pcUrl', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/esign_1_0/Models/ListFlowDocsHeaders.php000064400000002325146412132660014712 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListFlowDocsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/ListFlowDocsRequest.php000064400000001456146412132660014773 0ustar00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return ListFlowDocsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/esign_1_0/Models/ListFlowDocsResponse.php000064400000002713146412132660015136 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListFlowDocsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListFlowDocsResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/ListFlowDocsResponseBody.php000064400000003555146412132660015761 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return ListFlowDocsResponseBody */ 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 = []; $n = 0; foreach ($map['data'] as $item) { $model->data[$n++] = null !== $item ? data::fromMap($item) : $item; } } } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/ListFlowDocsResponseBody/data.php000064400000002543146412132660016666 0ustar00 'fileId', 'fileName' => 'fileName', 'fileUrl' => 'fileUrl', ]; 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->fileUrl) { $res['fileUrl'] = $this->fileUrl; } return $res; } /** * @param array $map * * @return data */ 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['fileUrl'])) { $model->fileUrl = $map['fileUrl']; } return $model; } } src/esign_1_0/Models/ListSealApprovalHeaders.php000064400000002335146412132660015564 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListSealApprovalHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/ListSealApprovalRequest.php000064400000001466146412132660015645 0ustar00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return ListSealApprovalRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/esign_1_0/Models/ListSealApprovalResponse.php000064400000002733146412132660016011 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListSealApprovalResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListSealApprovalResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/ListSealApprovalResponseBody.php000064400000003571146412132660016630 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return ListSealApprovalResponseBody */ 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 = []; $n = 0; foreach ($map['data'] as $item) { $model->data[$n++] = null !== $item ? data::fromMap($item) : $item; } } } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/ListSealApprovalResponseBody/data.php000064400000007244146412132660017542 0ustar00 'approvalName', 'approvalNodes' => 'approvalNodes', 'endTime' => 'endTime', 'refuseReason' => 'refuseReason', 'sealIdImg' => 'sealIdImg', 'sponsorAccountName' => 'sponsorAccountName', 'startTime' => 'startTime', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approvalName) { $res['approvalName'] = $this->approvalName; } if (null !== $this->approvalNodes) { $res['approvalNodes'] = []; if (null !== $this->approvalNodes && \is_array($this->approvalNodes)) { $n = 0; foreach ($this->approvalNodes as $item) { $res['approvalNodes'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->refuseReason) { $res['refuseReason'] = $this->refuseReason; } if (null !== $this->sealIdImg) { $res['sealIdImg'] = $this->sealIdImg; } if (null !== $this->sponsorAccountName) { $res['sponsorAccountName'] = $this->sponsorAccountName; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approvalName'])) { $model->approvalName = $map['approvalName']; } if (isset($map['approvalNodes'])) { if (!empty($map['approvalNodes'])) { $model->approvalNodes = []; $n = 0; foreach ($map['approvalNodes'] as $item) { $model->approvalNodes[$n++] = null !== $item ? approvalNodes::fromMap($item) : $item; } } } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['refuseReason'])) { $model->refuseReason = $map['refuseReason']; } if (isset($map['sealIdImg'])) { $model->sealIdImg = $map['sealIdImg']; } if (isset($map['sponsorAccountName'])) { $model->sponsorAccountName = $map['sponsorAccountName']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/esign_1_0/Models/ListSealApprovalResponseBody/data/approvalNodes.php000064400000003370146412132660022353 0ustar00 'approvalTime', 'approverName' => 'approverName', 'startTime' => 'startTime', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approvalTime) { $res['approvalTime'] = $this->approvalTime; } if (null !== $this->approverName) { $res['approverName'] = $this->approverName; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return approvalNodes */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approvalTime'])) { $model->approvalTime = $map['approvalTime']; } if (isset($map['approverName'])) { $model->approverName = $map['approverName']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/esign_1_0/Models/OrderResaleHeaders.php000064400000002323146412132660014543 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return OrderResaleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_1_0/Models/OrderResaleRequest.php000064400000004202146412132660014616 0ustar00 'orderCreateTime', 'orderId' => 'orderId', 'quantity' => 'quantity', 'serviceStartTime' => 'serviceStartTime', 'serviceStopTime' => 'serviceStopTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orderCreateTime) { $res['orderCreateTime'] = $this->orderCreateTime; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->serviceStartTime) { $res['serviceStartTime'] = $this->serviceStartTime; } if (null !== $this->serviceStopTime) { $res['serviceStopTime'] = $this->serviceStopTime; } return $res; } /** * @param array $map * * @return OrderResaleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orderCreateTime'])) { $model->orderCreateTime = $map['orderCreateTime']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['serviceStartTime'])) { $model->serviceStartTime = $map['serviceStartTime']; } if (isset($map['serviceStopTime'])) { $model->serviceStopTime = $map['serviceStopTime']; } return $model; } } src/esign_1_0/Models/OrderResaleResponse.php000064400000002707146412132660014774 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return OrderResaleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = OrderResaleResponseBody::fromMap($map['body']); } return $model; } } src/esign_1_0/Models/OrderResaleResponseBody.php000064400000002674146412132660015615 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return OrderResaleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/esign_1_0/Models/OrderResaleResponseBody/data.php000064400000001536146412132660016522 0ustar00 'esignOrderId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->esignOrderId) { $res['esignOrderId'] = $this->esignOrderId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['esignOrderId'])) { $model->esignOrderId = $map['esignOrderId']; } return $model; } } src/esign_2_0/Dingtalk.php000064400000134400146412132660011355 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $taskId * @param ApprovalListHeaders $headers * @param RuntimeOptions $runtime * * @return ApprovalListResponse */ public function approvalListWithOptions($taskId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'ApprovalList', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/approvals/' . $taskId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ApprovalListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskId * * @return ApprovalListResponse */ public function approvalList($taskId) { $runtime = new RuntimeOptions([]); $headers = new ApprovalListHeaders([]); return $this->approvalListWithOptions($taskId, $headers, $runtime); } /** * @param CancelCorpAuthRequest $request * @param CancelCorpAuthHeaders $headers * @param RuntimeOptions $runtime * * @return CancelCorpAuthResponse */ public function cancelCorpAuthWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'CancelCorpAuth', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/auths/cancel', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CancelCorpAuthResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CancelCorpAuthRequest $request * * @return CancelCorpAuthResponse */ public function cancelCorpAuth($request) { $runtime = new RuntimeOptions([]); $headers = new CancelCorpAuthHeaders([]); return $this->cancelCorpAuthWithOptions($request, $headers, $runtime); } /** * @param ChannelOrdersRequest $request * @param ChannelOrdersHeaders $headers * @param RuntimeOptions $runtime * * @return ChannelOrdersResponse */ public function channelOrdersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->itemCode)) { $body['itemCode'] = $request->itemCode; } if (!Utils::isUnset($request->itemName)) { $body['itemName'] = $request->itemName; } if (!Utils::isUnset($request->orderCreateTime)) { $body['orderCreateTime'] = $request->orderCreateTime; } if (!Utils::isUnset($request->orderId)) { $body['orderId'] = $request->orderId; } if (!Utils::isUnset($request->payFee)) { $body['payFee'] = $request->payFee; } if (!Utils::isUnset($request->quantity)) { $body['quantity'] = $request->quantity; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ChannelOrders', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/orders/channel', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ChannelOrdersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ChannelOrdersRequest $request * * @return ChannelOrdersResponse */ public function channelOrders($request) { $runtime = new RuntimeOptions([]); $headers = new ChannelOrdersHeaders([]); return $this->channelOrdersWithOptions($request, $headers, $runtime); } /** * @param CorpRealnameRequest $request * @param CorpRealnameHeaders $headers * @param RuntimeOptions $runtime * * @return CorpRealnameResponse */ public function corpRealnameWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->redirectUrl)) { $body['redirectUrl'] = $request->redirectUrl; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CorpRealname', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/corps/realnames', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CorpRealnameResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CorpRealnameRequest $request * * @return CorpRealnameResponse */ public function corpRealname($request) { $runtime = new RuntimeOptions([]); $headers = new CorpRealnameHeaders([]); return $this->corpRealnameWithOptions($request, $headers, $runtime); } /** * @param CreateDevelopersRequest $request * @param CreateDevelopersHeaders $headers * @param RuntimeOptions $runtime * * @return CreateDevelopersResponse */ public function createDevelopersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->noticeUrl)) { $body['noticeUrl'] = $request->noticeUrl; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateDevelopers', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/developers', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateDevelopersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateDevelopersRequest $request * * @return CreateDevelopersResponse */ public function createDevelopers($request) { $runtime = new RuntimeOptions([]); $headers = new CreateDevelopersHeaders([]); return $this->createDevelopersWithOptions($request, $headers, $runtime); } /** * @param CreateProcessRequest $request * @param CreateProcessHeaders $headers * @param RuntimeOptions $runtime * * @return CreateProcessResponse */ public function createProcessWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->ccs)) { $body['ccs'] = $request->ccs; } if (!Utils::isUnset($request->files)) { $body['files'] = $request->files; } if (!Utils::isUnset($request->initiatorUserId)) { $body['initiatorUserId'] = $request->initiatorUserId; } if (!Utils::isUnset($request->participants)) { $body['participants'] = $request->participants; } if (!Utils::isUnset($request->redirectUrl)) { $body['redirectUrl'] = $request->redirectUrl; } if (!Utils::isUnset($request->signEndTime)) { $body['signEndTime'] = $request->signEndTime; } if (!Utils::isUnset($request->sourceInfo)) { $body['sourceInfo'] = $request->sourceInfo; } if (!Utils::isUnset($request->taskName)) { $body['taskName'] = $request->taskName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateProcess', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/process/startAtOnce', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateProcessResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateProcessRequest $request * * @return CreateProcessResponse */ public function createProcess($request) { $runtime = new RuntimeOptions([]); $headers = new CreateProcessHeaders([]); return $this->createProcessWithOptions($request, $headers, $runtime); } /** * @param string $instanceId * @param GetAttachsApprovalHeaders $headers * @param RuntimeOptions $runtime * * @return GetAttachsApprovalResponse */ public function getAttachsApprovalWithOptions($instanceId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->tsignOpenAppId)) { $realHeaders['tsignOpenAppId'] = Utils::toJSONString($headers->tsignOpenAppId); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetAttachsApproval', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/dingInstances/' . $instanceId . '/attachments', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetAttachsApprovalResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $instanceId * * @return GetAttachsApprovalResponse */ public function getAttachsApproval($instanceId) { $runtime = new RuntimeOptions([]); $headers = new GetAttachsApprovalHeaders([]); return $this->getAttachsApprovalWithOptions($instanceId, $headers, $runtime); } /** * @param GetAuthUrlRequest $request * @param GetAuthUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetAuthUrlResponse */ public function getAuthUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->redirectUrl)) { $body['redirectUrl'] = $request->redirectUrl; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetAuthUrl', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/auths/urls', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetAuthUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetAuthUrlRequest $request * * @return GetAuthUrlResponse */ public function getAuthUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetAuthUrlHeaders([]); return $this->getAuthUrlWithOptions($request, $headers, $runtime); } /** * @param GetContractMarginHeaders $headers * @param RuntimeOptions $runtime * * @return GetContractMarginResponse */ public function getContractMarginWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetContractMargin', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/margins', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetContractMarginResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return GetContractMarginResponse */ public function getContractMargin() { $runtime = new RuntimeOptions([]); $headers = new GetContractMarginHeaders([]); return $this->getContractMarginWithOptions($headers, $runtime); } /** * @param GetCorpConsoleHeaders $headers * @param RuntimeOptions $runtime * * @return GetCorpConsoleResponse */ public function getCorpConsoleWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetCorpConsole', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/corps/consoles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetCorpConsoleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return GetCorpConsoleResponse */ public function getCorpConsole() { $runtime = new RuntimeOptions([]); $headers = new GetCorpConsoleHeaders([]); return $this->getCorpConsoleWithOptions($headers, $runtime); } /** * @param GetCorpInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetCorpInfoResponse */ public function getCorpInfoWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetCorpInfo', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/corps/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetCorpInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return GetCorpInfoResponse */ public function getCorpInfo() { $runtime = new RuntimeOptions([]); $headers = new GetCorpInfoHeaders([]); return $this->getCorpInfoWithOptions($headers, $runtime); } /** * @param GetExecuteUrlRequest $request * @param GetExecuteUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetExecuteUrlResponse */ public function getExecuteUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->account)) { $body['account'] = $request->account; } if (!Utils::isUnset($request->signContainer)) { $body['signContainer'] = $request->signContainer; } if (!Utils::isUnset($request->taskId)) { $body['taskId'] = $request->taskId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetExecuteUrl', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/process/executeUrls', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetExecuteUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetExecuteUrlRequest $request * * @return GetExecuteUrlResponse */ public function getExecuteUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetExecuteUrlHeaders([]); return $this->getExecuteUrlWithOptions($request, $headers, $runtime); } /** * @param string $fileId * @param GetFileInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetFileInfoResponse */ public function getFileInfoWithOptions($fileId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetFileInfo', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/files/' . $fileId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetFileInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $fileId * * @return GetFileInfoResponse */ public function getFileInfo($fileId) { $runtime = new RuntimeOptions([]); $headers = new GetFileInfoHeaders([]); return $this->getFileInfoWithOptions($fileId, $headers, $runtime); } /** * @param GetFileUploadUrlRequest $request * @param GetFileUploadUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetFileUploadUrlResponse */ public function getFileUploadUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->contentMd5)) { $body['contentMd5'] = $request->contentMd5; } if (!Utils::isUnset($request->contentType)) { $body['contentType'] = $request->contentType; } if (!Utils::isUnset($request->convert2Pdf)) { $body['convert2Pdf'] = $request->convert2Pdf; } if (!Utils::isUnset($request->fileName)) { $body['fileName'] = $request->fileName; } if (!Utils::isUnset($request->fileSize)) { $body['fileSize'] = $request->fileSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetFileUploadUrl', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/files/uploadUrls', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetFileUploadUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetFileUploadUrlRequest $request * * @return GetFileUploadUrlResponse */ public function getFileUploadUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetFileUploadUrlHeaders([]); return $this->getFileUploadUrlWithOptions($request, $headers, $runtime); } /** * @param string $taskId * @param GetFlowDetailHeaders $headers * @param RuntimeOptions $runtime * * @return GetFlowDetailResponse */ public function getFlowDetailWithOptions($taskId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetFlowDetail', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/flowTasks/' . $taskId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetFlowDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskId * * @return GetFlowDetailResponse */ public function getFlowDetail($taskId) { $runtime = new RuntimeOptions([]); $headers = new GetFlowDetailHeaders([]); return $this->getFlowDetailWithOptions($taskId, $headers, $runtime); } /** * @param string $taskId * @param GetFlowDocsHeaders $headers * @param RuntimeOptions $runtime * * @return GetFlowDocsResponse */ public function getFlowDocsWithOptions($taskId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetFlowDocs', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/flowTasks/' . $taskId . '/docs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetFlowDocsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskId * * @return GetFlowDocsResponse */ public function getFlowDocs($taskId) { $runtime = new RuntimeOptions([]); $headers = new GetFlowDocsHeaders([]); return $this->getFlowDocsWithOptions($taskId, $headers, $runtime); } /** * @param GetIsvStatusHeaders $headers * @param RuntimeOptions $runtime * * @return GetIsvStatusResponse */ public function getIsvStatusWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetIsvStatus', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/corps/appStatus', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetIsvStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return GetIsvStatusResponse */ public function getIsvStatus() { $runtime = new RuntimeOptions([]); $headers = new GetIsvStatusHeaders([]); return $this->getIsvStatusWithOptions($headers, $runtime); } /** * @param string $taskId * @param GetSignDetailHeaders $headers * @param RuntimeOptions $runtime * * @return GetSignDetailResponse */ public function getSignDetailWithOptions($taskId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetSignDetail', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/signTasks/' . $taskId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetSignDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskId * * @return GetSignDetailResponse */ public function getSignDetail($taskId) { $runtime = new RuntimeOptions([]); $headers = new GetSignDetailHeaders([]); return $this->getSignDetailWithOptions($taskId, $headers, $runtime); } /** * @param string $userId * @param GetUserInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserInfoResponse */ public function getUserInfoWithOptions($userId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetUserInfo', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/users/' . $userId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetUserInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * * @return GetUserInfoResponse */ public function getUserInfo($userId) { $runtime = new RuntimeOptions([]); $headers = new GetUserInfoHeaders([]); return $this->getUserInfoWithOptions($userId, $headers, $runtime); } /** * @param ProcessStartRequest $request * @param ProcessStartHeaders $headers * @param RuntimeOptions $runtime * * @return ProcessStartResponse */ public function processStartWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->autoStart)) { $body['autoStart'] = $request->autoStart; } if (!Utils::isUnset($request->ccs)) { $body['ccs'] = $request->ccs; } if (!Utils::isUnset($request->files)) { $body['files'] = $request->files; } if (!Utils::isUnset($request->initiatorUserId)) { $body['initiatorUserId'] = $request->initiatorUserId; } if (!Utils::isUnset($request->participants)) { $body['participants'] = $request->participants; } if (!Utils::isUnset($request->redirectUrl)) { $body['redirectUrl'] = $request->redirectUrl; } if (!Utils::isUnset($request->sourceInfo)) { $body['sourceInfo'] = $request->sourceInfo; } if (!Utils::isUnset($request->taskName)) { $body['taskName'] = $request->taskName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ProcessStart', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/processes/startUrls', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ProcessStartResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ProcessStartRequest $request * * @return ProcessStartResponse */ public function processStart($request) { $runtime = new RuntimeOptions([]); $headers = new ProcessStartHeaders([]); return $this->processStartWithOptions($request, $headers, $runtime); } /** * @param ResaleOrderRequest $request * @param ResaleOrderHeaders $headers * @param RuntimeOptions $runtime * * @return ResaleOrderResponse */ public function resaleOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->orderCreateTime)) { $body['orderCreateTime'] = $request->orderCreateTime; } if (!Utils::isUnset($request->orderId)) { $body['orderId'] = $request->orderId; } if (!Utils::isUnset($request->quantity)) { $body['quantity'] = $request->quantity; } if (!Utils::isUnset($request->serviceStartTime)) { $body['serviceStartTime'] = $request->serviceStartTime; } if (!Utils::isUnset($request->serviceStopTime)) { $body['serviceStopTime'] = $request->serviceStopTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ResaleOrder', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/orders/resale', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ResaleOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ResaleOrderRequest $request * * @return ResaleOrderResponse */ public function resaleOrder($request) { $runtime = new RuntimeOptions([]); $headers = new ResaleOrderHeaders([]); return $this->resaleOrderWithOptions($request, $headers, $runtime); } /** * @param UsersRealnameRequest $request * @param UsersRealnameHeaders $headers * @param RuntimeOptions $runtime * * @return UsersRealnameResponse */ public function usersRealnameWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->redirectUrl)) { $body['redirectUrl'] = $request->redirectUrl; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->serviceGroup)) { $realHeaders['serviceGroup'] = Utils::toJSONString($headers->serviceGroup); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UsersRealname', 'version' => 'esign_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/esign/users/realnames', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UsersRealnameResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UsersRealnameRequest $request * * @return UsersRealnameResponse */ public function usersRealname($request) { $runtime = new RuntimeOptions([]); $headers = new UsersRealnameHeaders([]); return $this->usersRealnameWithOptions($request, $headers, $runtime); } } src/esign_2_0/Models/ApprovalListHeaders.php000064400000003044146412132660014756 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ApprovalListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/ApprovalListResponse.php000064400000002713146412132660015203 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ApprovalListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ApprovalListResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/ApprovalListResponseBody.php000064400000002527146412132660016024 0ustar00 'data', ]; 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; } } } return $res; } /** * @param array $map * * @return ApprovalListResponseBody */ 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; } } } return $model; } } src/esign_2_0/Models/ApprovalListResponseBody/data.php000064400000007240146412132660016732 0ustar00 'approvalName', 'approvalNodes' => 'approvalNodes', 'endTime' => 'endTime', 'refuseReason' => 'refuseReason', 'sealIdImg' => 'sealIdImg', 'sponsorAccountName' => 'sponsorAccountName', 'startTime' => 'startTime', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approvalName) { $res['approvalName'] = $this->approvalName; } if (null !== $this->approvalNodes) { $res['approvalNodes'] = []; if (null !== $this->approvalNodes && \is_array($this->approvalNodes)) { $n = 0; foreach ($this->approvalNodes as $item) { $res['approvalNodes'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->refuseReason) { $res['refuseReason'] = $this->refuseReason; } if (null !== $this->sealIdImg) { $res['sealIdImg'] = $this->sealIdImg; } if (null !== $this->sponsorAccountName) { $res['sponsorAccountName'] = $this->sponsorAccountName; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approvalName'])) { $model->approvalName = $map['approvalName']; } if (isset($map['approvalNodes'])) { if (!empty($map['approvalNodes'])) { $model->approvalNodes = []; $n = 0; foreach ($map['approvalNodes'] as $item) { $model->approvalNodes[$n++] = null !== $item ? approvalNodes::fromMap($item) : $item; } } } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['refuseReason'])) { $model->refuseReason = $map['refuseReason']; } if (isset($map['sealIdImg'])) { $model->sealIdImg = $map['sealIdImg']; } if (isset($map['sponsorAccountName'])) { $model->sponsorAccountName = $map['sponsorAccountName']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/esign_2_0/Models/ApprovalListResponseBody/data/approvalNodes.php000064400000003371146412132660021550 0ustar00 'approvalTime', 'approverName' => 'approverName', 'startTime' => 'startTime', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approvalTime) { $res['approvalTime'] = $this->approvalTime; } if (null !== $this->approverName) { $res['approverName'] = $this->approverName; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return approvalNodes */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approvalTime'])) { $model->approvalTime = $map['approvalTime']; } if (isset($map['approverName'])) { $model->approverName = $map['approverName']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/esign_2_0/Models/CancelCorpAuthHeaders.php000064400000003050146412132660015166 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CancelCorpAuthHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/CancelCorpAuthRequest.php000064400000000724146412132660015250 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CancelCorpAuthResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CancelCorpAuthResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/CancelCorpAuthResponseBody.php000064400000001472146412132660016235 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CancelCorpAuthResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/esign_2_0/Models/ChannelOrdersHeaders.php000064400000003046146412132660015067 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ChannelOrdersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/ChannelOrdersRequest.php000064400000004451146412132660015145 0ustar00 'itemCode', 'itemName' => 'itemName', 'orderCreateTime' => 'orderCreateTime', 'orderId' => 'orderId', 'payFee' => 'payFee', 'quantity' => 'quantity', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->itemCode) { $res['itemCode'] = $this->itemCode; } if (null !== $this->itemName) { $res['itemName'] = $this->itemName; } if (null !== $this->orderCreateTime) { $res['orderCreateTime'] = $this->orderCreateTime; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->payFee) { $res['payFee'] = $this->payFee; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } return $res; } /** * @param array $map * * @return ChannelOrdersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['itemCode'])) { $model->itemCode = $map['itemCode']; } if (isset($map['itemName'])) { $model->itemName = $map['itemName']; } if (isset($map['orderCreateTime'])) { $model->orderCreateTime = $map['orderCreateTime']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['payFee'])) { $model->payFee = $map['payFee']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } return $model; } } src/esign_2_0/Models/ChannelOrdersResponse.php000064400000002717146412132660015316 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ChannelOrdersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ChannelOrdersResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/ChannelOrdersResponseBody.php000064400000001560146412132660016127 0ustar00 'esignOrderId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->esignOrderId) { $res['esignOrderId'] = $this->esignOrderId; } return $res; } /** * @param array $map * * @return ChannelOrdersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['esignOrderId'])) { $model->esignOrderId = $map['esignOrderId']; } return $model; } } src/esign_2_0/Models/CorpRealnameHeaders.php000064400000003044146412132660014706 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CorpRealnameHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/CorpRealnameRequest.php000064400000002156146412132660014766 0ustar00 'redirectUrl', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->redirectUrl) { $res['redirectUrl'] = $this->redirectUrl; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CorpRealnameRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['redirectUrl'])) { $model->redirectUrl = $map['redirectUrl']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/esign_2_0/Models/CorpRealnameResponse.php000064400000002713146412132660015133 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CorpRealnameResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CorpRealnameResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/CorpRealnameResponseBody.php000064400000002555146412132660015755 0ustar00 'mobileUrl', 'pcUrl' => 'pcUrl', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return CorpRealnameResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/esign_2_0/Models/CreateDevelopersHeaders.php000064400000003054146412132660015573 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateDevelopersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/CreateDevelopersRequest.php000064400000001521146412132660015645 0ustar00 'noticeUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->noticeUrl) { $res['noticeUrl'] = $this->noticeUrl; } return $res; } /** * @param array $map * * @return CreateDevelopersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['noticeUrl'])) { $model->noticeUrl = $map['noticeUrl']; } return $model; } } src/esign_2_0/Models/CreateDevelopersResponse.php000064400000002733146412132660016021 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateDevelopersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateDevelopersResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/CreateDevelopersResponseBody.php000064400000001454146412132660016636 0ustar00 'data', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } return $res; } /** * @param array $map * * @return CreateDevelopersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } return $model; } } src/esign_2_0/Models/CreateProcessHeaders.php000064400000002327146412132660015103 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateProcessHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/CreateProcessRequest.php000064400000011425146412132660015157 0ustar00 'ccs', 'files' => 'files', 'initiatorUserId' => 'initiatorUserId', 'participants' => 'participants', 'redirectUrl' => 'redirectUrl', 'signEndTime' => 'signEndTime', 'sourceInfo' => 'sourceInfo', 'taskName' => 'taskName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ccs) { $res['ccs'] = []; if (null !== $this->ccs && \is_array($this->ccs)) { $n = 0; foreach ($this->ccs as $item) { $res['ccs'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->files) { $res['files'] = []; if (null !== $this->files && \is_array($this->files)) { $n = 0; foreach ($this->files as $item) { $res['files'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->initiatorUserId) { $res['initiatorUserId'] = $this->initiatorUserId; } if (null !== $this->participants) { $res['participants'] = []; if (null !== $this->participants && \is_array($this->participants)) { $n = 0; foreach ($this->participants as $item) { $res['participants'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->redirectUrl) { $res['redirectUrl'] = $this->redirectUrl; } if (null !== $this->signEndTime) { $res['signEndTime'] = $this->signEndTime; } if (null !== $this->sourceInfo) { $res['sourceInfo'] = null !== $this->sourceInfo ? $this->sourceInfo->toMap() : null; } if (null !== $this->taskName) { $res['taskName'] = $this->taskName; } return $res; } /** * @param array $map * * @return CreateProcessRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ccs'])) { if (!empty($map['ccs'])) { $model->ccs = []; $n = 0; foreach ($map['ccs'] as $item) { $model->ccs[$n++] = null !== $item ? ccs::fromMap($item) : $item; } } } if (isset($map['files'])) { if (!empty($map['files'])) { $model->files = []; $n = 0; foreach ($map['files'] as $item) { $model->files[$n++] = null !== $item ? files::fromMap($item) : $item; } } } if (isset($map['initiatorUserId'])) { $model->initiatorUserId = $map['initiatorUserId']; } if (isset($map['participants'])) { if (!empty($map['participants'])) { $model->participants = []; $n = 0; foreach ($map['participants'] as $item) { $model->participants[$n++] = null !== $item ? participants::fromMap($item) : $item; } } } if (isset($map['redirectUrl'])) { $model->redirectUrl = $map['redirectUrl']; } if (isset($map['signEndTime'])) { $model->signEndTime = $map['signEndTime']; } if (isset($map['sourceInfo'])) { $model->sourceInfo = sourceInfo::fromMap($map['sourceInfo']); } if (isset($map['taskName'])) { $model->taskName = $map['taskName']; } return $model; } } src/esign_2_0/Models/CreateProcessRequest/ccs.php000064400000003724146412132660015732 0ustar00 'account', 'accountName' => 'accountName', 'accountType' => 'accountType', 'orgName' => 'orgName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->account) { $res['account'] = $this->account; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ccs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['account'])) { $model->account = $map['account']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/esign_2_0/Models/CreateProcessRequest/files.php000064400000002546146412132660016265 0ustar00 'fileId', 'fileName' => 'fileName', 'fileType' => 'fileType', ]; 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->fileType) { $res['fileType'] = $this->fileType; } return $res; } /** * @param array $map * * @return files */ 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['fileType'])) { $model->fileType = $map['fileType']; } return $model; } } src/esign_2_0/Models/CreateProcessRequest/participants.php000064400000007115146412132660017661 0ustar00 'account', 'accountName' => 'accountName', 'accountType' => 'accountType', 'orgName' => 'orgName', 'signOrder' => 'signOrder', 'signPosList' => 'signPosList', 'signRequirements' => 'signRequirements', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->account) { $res['account'] = $this->account; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->signOrder) { $res['signOrder'] = $this->signOrder; } if (null !== $this->signPosList) { $res['signPosList'] = []; if (null !== $this->signPosList && \is_array($this->signPosList)) { $n = 0; foreach ($this->signPosList as $item) { $res['signPosList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->signRequirements) { $res['signRequirements'] = $this->signRequirements; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return participants */ public static function fromMap($map = []) { $model = new self(); if (isset($map['account'])) { $model->account = $map['account']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['signOrder'])) { $model->signOrder = $map['signOrder']; } if (isset($map['signPosList'])) { if (!empty($map['signPosList'])) { $model->signPosList = []; $n = 0; foreach ($map['signPosList'] as $item) { $model->signPosList[$n++] = null !== $item ? signPosList::fromMap($item) : $item; } } } if (isset($map['signRequirements'])) { $model->signRequirements = $map['signRequirements']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/esign_2_0/Models/CreateProcessRequest/participants/signPosList.php000064400000005734146412132660022144 0ustar00 'fileId', 'isCrossPage' => 'isCrossPage', 'needSignDate' => 'needSignDate', 'page' => 'page', 'signDate' => 'signDate', 'signRequirement' => 'signRequirement', 'x' => 'x', 'y' => 'y', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->isCrossPage) { $res['isCrossPage'] = $this->isCrossPage; } if (null !== $this->needSignDate) { $res['needSignDate'] = $this->needSignDate; } if (null !== $this->page) { $res['page'] = $this->page; } if (null !== $this->signDate) { $res['signDate'] = null !== $this->signDate ? $this->signDate->toMap() : null; } if (null !== $this->signRequirement) { $res['signRequirement'] = $this->signRequirement; } if (null !== $this->x) { $res['x'] = $this->x; } if (null !== $this->y) { $res['y'] = $this->y; } return $res; } /** * @param array $map * * @return signPosList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['isCrossPage'])) { $model->isCrossPage = $map['isCrossPage']; } if (isset($map['needSignDate'])) { $model->needSignDate = $map['needSignDate']; } if (isset($map['page'])) { $model->page = $map['page']; } if (isset($map['signDate'])) { $model->signDate = signDate::fromMap($map['signDate']); } if (isset($map['signRequirement'])) { $model->signRequirement = $map['signRequirement']; } if (isset($map['x'])) { $model->x = $map['x']; } if (isset($map['y'])) { $model->y = $map['y']; } return $model; } } src/esign_2_0/Models/CreateProcessRequest/participants/signPosList/signDate.php000064400000001506146412132660023673 0ustar00 'format', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->format) { $res['format'] = $this->format; } return $res; } /** * @param array $map * * @return signDate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['format'])) { $model->format = $map['format']; } return $model; } } src/esign_2_0/Models/CreateProcessRequest/sourceInfo.php000064400000002566146412132660017301 0ustar00 'mobileUrl', 'pcUrl' => 'pcUrl', 'showText' => 'showText', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->showText) { $res['showText'] = $this->showText; } return $res; } /** * @param array $map * * @return sourceInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['showText'])) { $model->showText = $map['showText']; } return $model; } } src/esign_2_0/Models/CreateProcessResponse.php000064400000002717146412132660015331 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateProcessResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateProcessResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/CreateProcessResponseBody.php000064400000001472146412132660016144 0ustar00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return CreateProcessResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/esign_2_0/Models/GetAttachsApprovalHeaders.php000064400000003617146412132660016100 0ustar00 'serviceGroup', 'tsignOpenAppId' => 'tsignOpenAppId', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->tsignOpenAppId) { $res['tsignOpenAppId'] = $this->tsignOpenAppId; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAttachsApprovalHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['tsignOpenAppId'])) { $model->tsignOpenAppId = $map['tsignOpenAppId']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/GetAttachsApprovalResponse.php000064400000002743146412132660016322 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAttachsApprovalResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAttachsApprovalResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/GetAttachsApprovalResponseBody.php000064400000002551146412132660017135 0ustar00 'data', ]; 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; } } } return $res; } /** * @param array $map * * @return GetAttachsApprovalResponseBody */ 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; } } } return $model; } } src/esign_2_0/Models/GetAttachsApprovalResponseBody/data.php000064400000003610146412132660020043 0ustar00 'files', 'flowId' => 'flowId', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->files) { $res['files'] = []; if (null !== $this->files && \is_array($this->files)) { $n = 0; foreach ($this->files as $item) { $res['files'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->flowId) { $res['flowId'] = $this->flowId; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['files'])) { if (!empty($map['files'])) { $model->files = []; $n = 0; foreach ($map['files'] as $item) { $model->files[$n++] = null !== $item ? files::fromMap($item) : $item; } } } if (isset($map['flowId'])) { $model->flowId = $map['flowId']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/esign_2_0/Models/GetAttachsApprovalResponseBody/data/files.php000064400000003043146412132660021145 0ustar00 'fileName', 'originalFileUrl' => 'originalFileUrl', 'signFinishFileUrl' => 'signFinishFileUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->originalFileUrl) { $res['originalFileUrl'] = $this->originalFileUrl; } if (null !== $this->signFinishFileUrl) { $res['signFinishFileUrl'] = $this->signFinishFileUrl; } return $res; } /** * @param array $map * * @return files */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['originalFileUrl'])) { $model->originalFileUrl = $map['originalFileUrl']; } if (isset($map['signFinishFileUrl'])) { $model->signFinishFileUrl = $map['signFinishFileUrl']; } return $model; } } src/esign_2_0/Models/GetAuthUrlHeaders.php000064400000003040146412132660014356 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAuthUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/GetAuthUrlRequest.php000064400000001527146412132660014443 0ustar00 'redirectUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->redirectUrl) { $res['redirectUrl'] = $this->redirectUrl; } return $res; } /** * @param array $map * * @return GetAuthUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['redirectUrl'])) { $model->redirectUrl = $map['redirectUrl']; } return $model; } } src/esign_2_0/Models/GetAuthUrlResponse.php000064400000002703146412132660014606 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAuthUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAuthUrlResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/GetAuthUrlResponseBody.php000064400000002551146412132660015425 0ustar00 'mobileUrl', 'pcUrl' => 'pcUrl', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return GetAuthUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/esign_2_0/Models/GetContractMarginHeaders.php000064400000003056146412132660015714 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetContractMarginHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/GetContractMarginResponse.php000064400000002737146412132660016144 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetContractMarginResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetContractMarginResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/GetContractMarginResponseBody.php000064400000001501146412132660016746 0ustar00 'margin', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->margin) { $res['margin'] = $this->margin; } return $res; } /** * @param array $map * * @return GetContractMarginResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['margin'])) { $model->margin = $map['margin']; } return $model; } } src/esign_2_0/Models/GetCorpConsoleHeaders.php000064400000003050146412132660015221 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCorpConsoleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/GetCorpConsoleResponse.php000064400000002723146412132660015452 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCorpConsoleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCorpConsoleResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/GetCorpConsoleResponseBody.php000064400000001573146412132660016272 0ustar00 'orgConsoleUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orgConsoleUrl) { $res['orgConsoleUrl'] = $this->orgConsoleUrl; } return $res; } /** * @param array $map * * @return GetCorpConsoleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orgConsoleUrl'])) { $model->orgConsoleUrl = $map['orgConsoleUrl']; } return $model; } } src/esign_2_0/Models/GetCorpInfoHeaders.php000064400000003042146412132660014513 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCorpInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/GetCorpInfoResponse.php000064400000002707146412132660014745 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCorpInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCorpInfoResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/GetCorpInfoResponseBody.php000064400000002226146412132660015557 0ustar00 'isRealName', 'orgRealName' => 'orgRealName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isRealName) { $res['isRealName'] = $this->isRealName; } if (null !== $this->orgRealName) { $res['orgRealName'] = $this->orgRealName; } return $res; } /** * @param array $map * * @return GetCorpInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isRealName'])) { $model->isRealName = $map['isRealName']; } if (isset($map['orgRealName'])) { $model->orgRealName = $map['orgRealName']; } return $model; } } src/esign_2_0/Models/GetExecuteUrlHeaders.php000064400000003046146412132660015065 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetExecuteUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/GetExecuteUrlRequest.php000064400000002636146412132660015146 0ustar00 'account', 'signContainer' => 'signContainer', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->account) { $res['account'] = $this->account; } if (null !== $this->signContainer) { $res['signContainer'] = $this->signContainer; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return GetExecuteUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['account'])) { $model->account = $map['account']; } if (isset($map['signContainer'])) { $model->signContainer = $map['signContainer']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/esign_2_0/Models/GetExecuteUrlResponse.php000064400000002717146412132660015314 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetExecuteUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetExecuteUrlResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/GetExecuteUrlResponseBody.php000064400000003230146412132660016121 0ustar00 'longUrl', 'mobileUrl' => 'mobileUrl', 'pcUrl' => 'pcUrl', 'shortUrl' => 'shortUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->longUrl) { $res['longUrl'] = $this->longUrl; } if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->shortUrl) { $res['shortUrl'] = $this->shortUrl; } return $res; } /** * @param array $map * * @return GetExecuteUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['longUrl'])) { $model->longUrl = $map['longUrl']; } if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['shortUrl'])) { $model->shortUrl = $map['shortUrl']; } return $model; } } src/esign_2_0/Models/GetFileInfoHeaders.php000064400000003042146412132660014467 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFileInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/GetFileInfoResponse.php000064400000002707146412132660014721 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFileInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFileInfoResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/GetFileInfoResponseBody.php000064400000004335146412132660015536 0ustar00 'downloadUrl', 'fileId' => 'fileId', 'name' => 'name', 'pdfTotalPages' => 'pdfTotalPages', 'size' => 'size', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->downloadUrl) { $res['downloadUrl'] = $this->downloadUrl; } if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->pdfTotalPages) { $res['pdfTotalPages'] = $this->pdfTotalPages; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return GetFileInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['downloadUrl'])) { $model->downloadUrl = $map['downloadUrl']; } if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['pdfTotalPages'])) { $model->pdfTotalPages = $map['pdfTotalPages']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/esign_2_0/Models/GetFileUploadUrlHeaders.php000064400000003054146412132660015506 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFileUploadUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/GetFileUploadUrlRequest.php000064400000004022146412132660015557 0ustar00 'contentMd5', 'contentType' => 'contentType', 'convert2Pdf' => 'convert2Pdf', 'fileName' => 'fileName', 'fileSize' => 'fileSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentMd5) { $res['contentMd5'] = $this->contentMd5; } if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->convert2Pdf) { $res['convert2Pdf'] = $this->convert2Pdf; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } return $res; } /** * @param array $map * * @return GetFileUploadUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentMd5'])) { $model->contentMd5 = $map['contentMd5']; } if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['convert2Pdf'])) { $model->convert2Pdf = $map['convert2Pdf']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } return $model; } } src/esign_2_0/Models/GetFileUploadUrlResponse.php000064400000002733146412132660015734 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFileUploadUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFileUploadUrlResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/GetFileUploadUrlResponseBody.php000064400000002154146412132660016547 0ustar00 'fileId', 'uploadUrl' => 'uploadUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->uploadUrl) { $res['uploadUrl'] = $this->uploadUrl; } return $res; } /** * @param array $map * * @return GetFileUploadUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['uploadUrl'])) { $model->uploadUrl = $map['uploadUrl']; } return $model; } } src/esign_2_0/Models/GetFlowDetailHeaders.php000064400000003046146412132660015032 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFlowDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/GetFlowDetailResponse.php000064400000002717146412132660015261 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFlowDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFlowDetailResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/GetFlowDetailResponseBody.php000064400000005400146412132660016067 0ustar00 'businessScene', 'flowStatus' => 'flowStatus', 'initiatorAuthorizedName' => 'initiatorAuthorizedName', 'initiatorName' => 'initiatorName', 'logs' => 'logs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->businessScene) { $res['businessScene'] = $this->businessScene; } if (null !== $this->flowStatus) { $res['flowStatus'] = $this->flowStatus; } if (null !== $this->initiatorAuthorizedName) { $res['initiatorAuthorizedName'] = $this->initiatorAuthorizedName; } if (null !== $this->initiatorName) { $res['initiatorName'] = $this->initiatorName; } if (null !== $this->logs) { $res['logs'] = []; if (null !== $this->logs && \is_array($this->logs)) { $n = 0; foreach ($this->logs as $item) { $res['logs'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetFlowDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['businessScene'])) { $model->businessScene = $map['businessScene']; } if (isset($map['flowStatus'])) { $model->flowStatus = $map['flowStatus']; } if (isset($map['initiatorAuthorizedName'])) { $model->initiatorAuthorizedName = $map['initiatorAuthorizedName']; } if (isset($map['initiatorName'])) { $model->initiatorName = $map['initiatorName']; } if (isset($map['logs'])) { if (!empty($map['logs'])) { $model->logs = []; $n = 0; foreach ($map['logs'] as $item) { $model->logs[$n++] = null !== $item ? logs::fromMap($item) : $item; } } } return $model; } } src/esign_2_0/Models/GetFlowDetailResponseBody/logs.php000064400000003577146412132660017050 0ustar00 'logType', 'operateDescription' => 'operateDescription', 'operateTime' => 'operateTime', 'operatorAccountName' => 'operatorAccountName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->logType) { $res['logType'] = $this->logType; } if (null !== $this->operateDescription) { $res['operateDescription'] = $this->operateDescription; } if (null !== $this->operateTime) { $res['operateTime'] = $this->operateTime; } if (null !== $this->operatorAccountName) { $res['operatorAccountName'] = $this->operatorAccountName; } return $res; } /** * @param array $map * * @return logs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['logType'])) { $model->logType = $map['logType']; } if (isset($map['operateDescription'])) { $model->operateDescription = $map['operateDescription']; } if (isset($map['operateTime'])) { $model->operateTime = $map['operateTime']; } if (isset($map['operatorAccountName'])) { $model->operatorAccountName = $map['operatorAccountName']; } return $model; } } src/esign_2_0/Models/GetFlowDocsHeaders.php000064400000003042146412132660014514 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFlowDocsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/GetFlowDocsResponse.php000064400000002707146412132660014746 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFlowDocsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFlowDocsResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/GetFlowDocsResponseBody.php000064400000002524146412132660015561 0ustar00 'data', ]; 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; } } } return $res; } /** * @param array $map * * @return GetFlowDocsResponseBody */ 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; } } } return $model; } } src/esign_2_0/Models/GetFlowDocsResponseBody/data.php000064400000002542146412132660016472 0ustar00 'fileId', 'fileName' => 'fileName', 'fileUrl' => 'fileUrl', ]; 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->fileUrl) { $res['fileUrl'] = $this->fileUrl; } return $res; } /** * @param array $map * * @return data */ 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['fileUrl'])) { $model->fileUrl = $map['fileUrl']; } return $model; } } src/esign_2_0/Models/GetIsvStatusHeaders.php000064400000003044146412132660014743 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetIsvStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/GetIsvStatusResponse.php000064400000002713146412132660015170 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetIsvStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetIsvStatusResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/GetIsvStatusResponseBody.php000064400000002254146412132660016006 0ustar00 'authStatus', 'installStatus' => 'installStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authStatus) { $res['authStatus'] = $this->authStatus; } if (null !== $this->installStatus) { $res['installStatus'] = $this->installStatus; } return $res; } /** * @param array $map * * @return GetIsvStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authStatus'])) { $model->authStatus = $map['authStatus']; } if (isset($map['installStatus'])) { $model->installStatus = $map['installStatus']; } return $model; } } src/esign_2_0/Models/GetSignDetailHeaders.php000064400000003046146412132660015023 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSignDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/GetSignDetailResponse.php000064400000002717146412132660015252 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSignDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSignDetailResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/GetSignDetailResponseBody.php000064400000004027146412132660016064 0ustar00 'businessScene', 'flowStatus' => 'flowStatus', 'signers' => 'signers', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->businessScene) { $res['businessScene'] = $this->businessScene; } if (null !== $this->flowStatus) { $res['flowStatus'] = $this->flowStatus; } if (null !== $this->signers) { $res['signers'] = []; if (null !== $this->signers && \is_array($this->signers)) { $n = 0; foreach ($this->signers as $item) { $res['signers'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetSignDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['businessScene'])) { $model->businessScene = $map['businessScene']; } if (isset($map['flowStatus'])) { $model->flowStatus = $map['flowStatus']; } if (isset($map['signers'])) { if (!empty($map['signers'])) { $model->signers = []; $n = 0; foreach ($map['signers'] as $item) { $model->signers[$n++] = null !== $item ? signers::fromMap($item) : $item; } } } return $model; } } src/esign_2_0/Models/GetSignDetailResponseBody/signers.php000064400000002205146412132660017532 0ustar00 'signStatus', 'signerName' => 'signerName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->signStatus) { $res['signStatus'] = $this->signStatus; } if (null !== $this->signerName) { $res['signerName'] = $this->signerName; } return $res; } /** * @param array $map * * @return signers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['signStatus'])) { $model->signStatus = $map['signStatus']; } if (isset($map['signerName'])) { $model->signerName = $map['signerName']; } return $model; } } src/esign_2_0/Models/GetUserInfoHeaders.php000064400000003042146412132660014526 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/GetUserInfoResponse.php000064400000002707146412132660014760 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserInfoResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/GetUserInfoResponseBody.php000064400000002240146412132660015566 0ustar00 'isRealName', 'userRealName' => 'userRealName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isRealName) { $res['isRealName'] = $this->isRealName; } if (null !== $this->userRealName) { $res['userRealName'] = $this->userRealName; } return $res; } /** * @param array $map * * @return GetUserInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isRealName'])) { $model->isRealName = $map['isRealName']; } if (isset($map['userRealName'])) { $model->userRealName = $map['userRealName']; } return $model; } } src/esign_2_0/Models/ProcessStartHeaders.php000064400000003044146412132660014772 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ProcessStartHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/ProcessStartRequest.php000064400000011402146412132660015044 0ustar00 'autoStart', 'ccs' => 'ccs', 'files' => 'files', 'initiatorUserId' => 'initiatorUserId', 'participants' => 'participants', 'redirectUrl' => 'redirectUrl', 'sourceInfo' => 'sourceInfo', 'taskName' => 'taskName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->autoStart) { $res['autoStart'] = $this->autoStart; } if (null !== $this->ccs) { $res['ccs'] = []; if (null !== $this->ccs && \is_array($this->ccs)) { $n = 0; foreach ($this->ccs as $item) { $res['ccs'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->files) { $res['files'] = []; if (null !== $this->files && \is_array($this->files)) { $n = 0; foreach ($this->files as $item) { $res['files'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->initiatorUserId) { $res['initiatorUserId'] = $this->initiatorUserId; } if (null !== $this->participants) { $res['participants'] = []; if (null !== $this->participants && \is_array($this->participants)) { $n = 0; foreach ($this->participants as $item) { $res['participants'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->redirectUrl) { $res['redirectUrl'] = $this->redirectUrl; } if (null !== $this->sourceInfo) { $res['sourceInfo'] = null !== $this->sourceInfo ? $this->sourceInfo->toMap() : null; } if (null !== $this->taskName) { $res['taskName'] = $this->taskName; } return $res; } /** * @param array $map * * @return ProcessStartRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['autoStart'])) { $model->autoStart = $map['autoStart']; } if (isset($map['ccs'])) { if (!empty($map['ccs'])) { $model->ccs = []; $n = 0; foreach ($map['ccs'] as $item) { $model->ccs[$n++] = null !== $item ? ccs::fromMap($item) : $item; } } } if (isset($map['files'])) { if (!empty($map['files'])) { $model->files = []; $n = 0; foreach ($map['files'] as $item) { $model->files[$n++] = null !== $item ? files::fromMap($item) : $item; } } } if (isset($map['initiatorUserId'])) { $model->initiatorUserId = $map['initiatorUserId']; } if (isset($map['participants'])) { if (!empty($map['participants'])) { $model->participants = []; $n = 0; foreach ($map['participants'] as $item) { $model->participants[$n++] = null !== $item ? participants::fromMap($item) : $item; } } } if (isset($map['redirectUrl'])) { $model->redirectUrl = $map['redirectUrl']; } if (isset($map['sourceInfo'])) { $model->sourceInfo = sourceInfo::fromMap($map['sourceInfo']); } if (isset($map['taskName'])) { $model->taskName = $map['taskName']; } return $model; } } src/esign_2_0/Models/ProcessStartRequest/ccs.php000064400000003723146412132660015623 0ustar00 'account', 'accountName' => 'accountName', 'accountType' => 'accountType', 'orgName' => 'orgName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->account) { $res['account'] = $this->account; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ccs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['account'])) { $model->account = $map['account']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/esign_2_0/Models/ProcessStartRequest/files.php000064400000002110146412132660016142 0ustar00 'fileId', 'fileName' => 'fileName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } return $res; } /** * @param array $map * * @return files */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } return $model; } } src/esign_2_0/Models/ProcessStartRequest/participants.php000064400000004546146412132660017560 0ustar00 'account', 'accountName' => 'accountName', 'accountType' => 'accountType', 'orgName' => 'orgName', 'signRequirements' => 'signRequirements', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->account) { $res['account'] = $this->account; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->signRequirements) { $res['signRequirements'] = $this->signRequirements; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return participants */ public static function fromMap($map = []) { $model = new self(); if (isset($map['account'])) { $model->account = $map['account']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['signRequirements'])) { $model->signRequirements = $map['signRequirements']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/esign_2_0/Models/ProcessStartRequest/sourceInfo.php000064400000002565146412132660017172 0ustar00 'mobileUrl', 'pcUrl' => 'pcUrl', 'showText' => 'showText', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->showText) { $res['showText'] = $this->showText; } return $res; } /** * @param array $map * * @return sourceInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['showText'])) { $model->showText = $map['showText']; } return $model; } } src/esign_2_0/Models/ProcessStartResponse.php000064400000002713146412132660015217 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ProcessStartResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ProcessStartResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/ProcessStartResponseBody.php000064400000002555146412132660016041 0ustar00 'mobileUrl', 'pcUrl' => 'pcUrl', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return ProcessStartResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/esign_2_0/Models/ResaleOrderHeaders.php000064400000003042146412132660014543 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ResaleOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/ResaleOrderRequest.php000064400000004212146412132660014620 0ustar00 'orderCreateTime', 'orderId' => 'orderId', 'quantity' => 'quantity', 'serviceStartTime' => 'serviceStartTime', 'serviceStopTime' => 'serviceStopTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orderCreateTime) { $res['orderCreateTime'] = $this->orderCreateTime; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->serviceStartTime) { $res['serviceStartTime'] = $this->serviceStartTime; } if (null !== $this->serviceStopTime) { $res['serviceStopTime'] = $this->serviceStopTime; } return $res; } /** * @param array $map * * @return ResaleOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orderCreateTime'])) { $model->orderCreateTime = $map['orderCreateTime']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['serviceStartTime'])) { $model->serviceStartTime = $map['serviceStartTime']; } if (isset($map['serviceStopTime'])) { $model->serviceStopTime = $map['serviceStopTime']; } return $model; } } src/esign_2_0/Models/ResaleOrderResponse.php000064400000002707146412132660014775 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ResaleOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ResaleOrderResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/ResaleOrderResponseBody.php000064400000001554146412132660015612 0ustar00 'esignOrderId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->esignOrderId) { $res['esignOrderId'] = $this->esignOrderId; } return $res; } /** * @param array $map * * @return ResaleOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['esignOrderId'])) { $model->esignOrderId = $map['esignOrderId']; } return $model; } } src/esign_2_0/Models/UsersRealnameHeaders.php000064400000003046146412132660015106 0ustar00 'serviceGroup', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->serviceGroup) { $res['serviceGroup'] = $this->serviceGroup; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UsersRealnameHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['serviceGroup'])) { $model->serviceGroup = $map['serviceGroup']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/esign_2_0/Models/UsersRealnameRequest.php000064400000002160146412132660015157 0ustar00 'redirectUrl', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->redirectUrl) { $res['redirectUrl'] = $this->redirectUrl; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UsersRealnameRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['redirectUrl'])) { $model->redirectUrl = $map['redirectUrl']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/esign_2_0/Models/UsersRealnameResponse.php000064400000002717146412132660015335 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UsersRealnameResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UsersRealnameResponseBody::fromMap($map['body']); } return $model; } } src/esign_2_0/Models/UsersRealnameResponseBody.php000064400000002557146412132660016155 0ustar00 'mobileUrl', 'pcUrl' => 'pcUrl', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return UsersRealnameResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/event_1_0/Dingtalk.php000064400000024445146412132660011377 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_signatureAlgorithm = 'v2'; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param GetCallBackFaileResultRequest $request * @param GetCallBackFaileResultHeaders $headers * @param RuntimeOptions $runtime * * @return GetCallBackFaileResultResponse */ public function getCallBackFaileResultWithOptions($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; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetCallBackFaileResult', 'version' => 'event_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/event/callbacks/failedResults', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCallBackFaileResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetCallBackFaileResultRequest $request * * @return GetCallBackFaileResultResponse */ public function getCallBackFaileResult($request) { $runtime = new RuntimeOptions([]); $headers = new GetCallBackFaileResultHeaders([]); return $this->getCallBackFaileResultWithOptions($request, $headers, $runtime); } /** * @param InstallAppRequest $request * @param InstallAppHeaders $headers * @param RuntimeOptions $runtime * * @return InstallAppResponse */ public function installAppWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appId)) { $query['appId'] = $request->appId; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->dingUserId)) { $query['dingUserId'] = $request->dingUserId; } if (!Utils::isUnset($request->suiteId)) { $query['suiteId'] = $request->suiteId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'InstallApp', 'version' => 'event_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/event/elm/apps/install', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InstallAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param InstallAppRequest $request * * @return InstallAppResponse */ public function installApp($request) { $runtime = new RuntimeOptions([]); $headers = new InstallAppHeaders([]); return $this->installAppWithOptions($request, $headers, $runtime); } /** * @param InstallCoolAppRequest $tmpReq * @param InstallCoolAppHeaders $headers * @param RuntimeOptions $runtime * * @return InstallCoolAppResponse */ public function installCoolAppWithOptions($tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new InstallCoolAppShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->feature)) { $request->featureShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->feature, 'feature', 'json'); } if (!Utils::isUnset($tmpReq->options)) { $request->optionsShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->options, 'options', 'json'); } $query = []; if (!Utils::isUnset($request->appId)) { $query['appId'] = $request->appId; } if (!Utils::isUnset($request->coolAppCode)) { $query['coolAppCode'] = $request->coolAppCode; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->featureShrink)) { $query['feature'] = $request->featureShrink; } if (!Utils::isUnset($request->installUid)) { $query['installUid'] = $request->installUid; } if (!Utils::isUnset($request->openConversationId)) { $query['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->optionsShrink)) { $query['options'] = $request->optionsShrink; } if (!Utils::isUnset($request->suiteId)) { $query['suiteId'] = $request->suiteId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'InstallCoolApp', 'version' => 'event_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/event/elm/coolApps/install', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InstallCoolAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param InstallCoolAppRequest $request * * @return InstallCoolAppResponse */ public function installCoolApp($request) { $runtime = new RuntimeOptions([]); $headers = new InstallCoolAppHeaders([]); return $this->installCoolAppWithOptions($request, $headers, $runtime); } /** * @param RePushSuiteTicketRequest $request * @param string[] $headers * @param RuntimeOptions $runtime * * @return RePushSuiteTicketResponse */ public function rePushSuiteTicketWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->suiteId)) { $query['suiteId'] = $request->suiteId; } if (!Utils::isUnset($request->suiteSecret)) { $query['suiteSecret'] = $request->suiteSecret; } $req = new OpenApiRequest([ 'headers' => $headers, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'RePushSuiteTicket', 'version' => 'event_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/event/suiteTicket/rePush', 'method' => 'POST', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RePushSuiteTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RePushSuiteTicketRequest $request * * @return RePushSuiteTicketResponse */ public function rePushSuiteTicket($request) { $runtime = new RuntimeOptions([]); $headers = []; return $this->rePushSuiteTicketWithOptions($request, $headers, $runtime); } } src/event_1_0/Models/GetCallBackFaileResultHeaders.php000064400000002351146412132660016605 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCallBackFaileResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/event_1_0/Models/GetCallBackFaileResultRequest.php000064400000002272146412132660016664 0ustar00 'beginTime', 'endTime' => 'endTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->beginTime) { $res['beginTime'] = $this->beginTime; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } return $res; } /** * @param array $map * * @return GetCallBackFaileResultRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['beginTime'])) { $model->beginTime = $map['beginTime']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } return $model; } } src/event_1_0/Models/GetCallBackFaileResultResponse.php000064400000002763146412132660017037 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCallBackFaileResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCallBackFaileResultResponseBody::fromMap($map['body']); } return $model; } } src/event_1_0/Models/GetCallBackFaileResultResponseBody.php000064400000003371146412132660017651 0ustar00 'failedList', 'hasMore' => 'hasMore', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failedList) { $res['failedList'] = []; if (null !== $this->failedList && \is_array($this->failedList)) { $n = 0; foreach ($this->failedList as $item) { $res['failedList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } return $res; } /** * @param array $map * * @return GetCallBackFaileResultResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failedList'])) { if (!empty($map['failedList'])) { $model->failedList = []; $n = 0; foreach ($map['failedList'] as $item) { $model->failedList[$n++] = null !== $item ? failedList::fromMap($item) : $item; } } } if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } return $model; } } src/event_1_0/Models/GetCallBackFaileResultResponseBody/failedList.php000064400000004424146412132660021731 0ustar00 'callBackData', 'callBackTag' => 'callBackTag', 'corpId' => 'corpId', 'eventTime' => 'eventTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callBackData) { $res['callBackData'] = $this->callBackData; } if (null !== $this->callBackTag) { $res['callBackTag'] = $this->callBackTag; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->eventTime) { $res['eventTime'] = $this->eventTime; } return $res; } /** * @param array $map * * @return failedList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callBackData'])) { $model->callBackData = $map['callBackData']; } if (isset($map['callBackTag'])) { $model->callBackTag = $map['callBackTag']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['eventTime'])) { $model->eventTime = $map['eventTime']; } return $model; } } src/event_1_0/Models/InstallAppHeaders.php000064400000002321146412132660014415 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InstallAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/event_1_0/Models/InstallAppRequest.php000064400000003176146412132660014503 0ustar00 'appId', 'corpId' => 'corpId', 'dingUserId' => 'dingUserId', 'suiteId' => 'suiteId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->dingUserId) { $res['dingUserId'] = $this->dingUserId; } if (null !== $this->suiteId) { $res['suiteId'] = $this->suiteId; } return $res; } /** * @param array $map * * @return InstallAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['dingUserId'])) { $model->dingUserId = $map['dingUserId']; } if (isset($map['suiteId'])) { $model->suiteId = $map['suiteId']; } return $model; } } src/event_1_0/Models/InstallAppResponse.php000064400000002703146412132660014644 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InstallAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InstallAppResponseBody::fromMap($map['body']); } return $model; } } src/event_1_0/Models/InstallAppResponseBody.php000064400000001462146412132660015463 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return InstallAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/event_1_0/Models/InstallCoolAppHeaders.php000064400000002331146412132660015233 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InstallCoolAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/event_1_0/Models/InstallCoolAppRequest.php000064400000005653146412132660015322 0ustar00 'appId', 'coolAppCode' => 'coolAppCode', 'corpId' => 'corpId', 'feature' => 'feature', 'installUid' => 'installUid', 'openConversationId' => 'openConversationId', 'options' => 'options', 'suiteId' => 'suiteId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->feature) { $res['feature'] = $this->feature; } if (null !== $this->installUid) { $res['installUid'] = $this->installUid; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->options) { $res['options'] = $this->options; } if (null !== $this->suiteId) { $res['suiteId'] = $this->suiteId; } return $res; } /** * @param array $map * * @return InstallCoolAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['feature'])) { $model->feature = $map['feature']; } if (isset($map['installUid'])) { $model->installUid = $map['installUid']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['options'])) { $model->options = $map['options']; } if (isset($map['suiteId'])) { $model->suiteId = $map['suiteId']; } return $model; } } src/event_1_0/Models/InstallCoolAppResponse.php000064400000002723146412132660015463 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InstallCoolAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InstallCoolAppResponseBody::fromMap($map['body']); } return $model; } } src/event_1_0/Models/InstallCoolAppResponseBody.php000064400000001474146412132660016303 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return InstallCoolAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/event_1_0/Models/InstallCoolAppShrinkRequest.php000064400000005745146412132660016503 0ustar00 'appId', 'coolAppCode' => 'coolAppCode', 'corpId' => 'corpId', 'featureShrink' => 'feature', 'installUid' => 'installUid', 'openConversationId' => 'openConversationId', 'optionsShrink' => 'options', 'suiteId' => 'suiteId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->featureShrink) { $res['feature'] = $this->featureShrink; } if (null !== $this->installUid) { $res['installUid'] = $this->installUid; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->optionsShrink) { $res['options'] = $this->optionsShrink; } if (null !== $this->suiteId) { $res['suiteId'] = $this->suiteId; } return $res; } /** * @param array $map * * @return InstallCoolAppShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['feature'])) { $model->featureShrink = $map['feature']; } if (isset($map['installUid'])) { $model->installUid = $map['installUid']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['options'])) { $model->optionsShrink = $map['options']; } if (isset($map['suiteId'])) { $model->suiteId = $map['suiteId']; } return $model; } } src/event_1_0/Models/RePushSuiteTicketRequest.php000064400000002175146412132660016016 0ustar00 'suiteId', 'suiteSecret' => 'suiteSecret', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->suiteId) { $res['suiteId'] = $this->suiteId; } if (null !== $this->suiteSecret) { $res['suiteSecret'] = $this->suiteSecret; } return $res; } /** * @param array $map * * @return RePushSuiteTicketRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['suiteId'])) { $model->suiteId = $map['suiteId']; } if (isset($map['suiteSecret'])) { $model->suiteSecret = $map['suiteSecret']; } return $model; } } src/event_1_0/Models/RePushSuiteTicketResponse.php000064400000002737146412132660016170 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RePushSuiteTicketResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RePushSuiteTicketResponseBody::fromMap($map['body']); } return $model; } } src/event_1_0/Models/RePushSuiteTicketResponseBody.php000064400000001502146412132660016773 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return RePushSuiteTicketResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/exclusive_1_0/Dingtalk.php000064400000622167146412132660012272 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddOrgRequest $request * @param AddOrgHeaders $headers * @param RuntimeOptions $runtime * * @return AddOrgResponse */ public function addOrgWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->mobileNum)) { $body['mobileNum'] = $request->mobileNum; } if (!Utils::isUnset($request->name)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddOrg', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/orgnizations', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddOrgResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddOrgRequest $request * * @return AddOrgResponse */ public function addOrg($request) { $runtime = new RuntimeOptions([]); $headers = new AddOrgHeaders([]); return $this->addOrgWithOptions($request, $headers, $runtime); } /** * @param ApproveProcessCallbackRequest $request * @param ApproveProcessCallbackHeaders $headers * @param RuntimeOptions $runtime * * @return ApproveProcessCallbackResponse */ public function approveProcessCallbackWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accessKeyId)) { $body['accessKeyId'] = $request->accessKeyId; } if (!Utils::isUnset($request->accessKeySecret)) { $body['accessKeySecret'] = $request->accessKeySecret; } if (!Utils::isUnset($request->request)) { $body['request'] = $request->request; } if (!Utils::isUnset($request->targetCorpId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ApproveProcessCallback', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/approvalResults/callback', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ApproveProcessCallbackResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ApproveProcessCallbackRequest $request * * @return ApproveProcessCallbackResponse */ public function approveProcessCallback($request) { $runtime = new RuntimeOptions([]); $headers = new ApproveProcessCallbackHeaders([]); return $this->approveProcessCallbackWithOptions($request, $headers, $runtime); } /** * @param BanOrOpenGroupWordsRequest $request * @param BanOrOpenGroupWordsHeaders $headers * @param RuntimeOptions $runtime * * @return BanOrOpenGroupWordsResponse */ public function banOrOpenGroupWordsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->banWordsType)) { $body['banWordsType'] = $request->banWordsType; } if (!Utils::isUnset($request->openConverationId)) { $body['openConverationId'] = $request->openConverationId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BanOrOpenGroupWords', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/enterpriseSecurities/banOrOpenGroupWords', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BanOrOpenGroupWordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BanOrOpenGroupWordsRequest $request * * @return BanOrOpenGroupWordsResponse */ public function banOrOpenGroupWords($request) { $runtime = new RuntimeOptions([]); $headers = new BanOrOpenGroupWordsHeaders([]); return $this->banOrOpenGroupWordsWithOptions($request, $headers, $runtime); } /** * @param CreateCategoryAndBindingGroupsRequest $request * @param CreateCategoryAndBindingGroupsHeaders $headers * @param RuntimeOptions $runtime * * @return CreateCategoryAndBindingGroupsResponse */ public function createCategoryAndBindingGroupsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->categoryName)) { $body['categoryName'] = $request->categoryName; } if (!Utils::isUnset($request->groupIds)) { $body['groupIds'] = $request->groupIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateCategoryAndBindingGroups', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/messageCategories/categories/createAndBind', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateCategoryAndBindingGroupsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateCategoryAndBindingGroupsRequest $request * * @return CreateCategoryAndBindingGroupsResponse */ public function createCategoryAndBindingGroups($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCategoryAndBindingGroupsHeaders([]); return $this->createCategoryAndBindingGroupsWithOptions($request, $headers, $runtime); } /** * @param CreateMessageCategoryRequest $request * @param CreateMessageCategoryHeaders $headers * @param RuntimeOptions $runtime * * @return CreateMessageCategoryResponse */ public function createMessageCategoryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->categoryName)) { $body['categoryName'] = $request->categoryName; } if (!Utils::isUnset($request->groupIds)) { $body['groupIds'] = $request->groupIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateMessageCategory', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/messageCategories/categories/create', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateMessageCategoryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateMessageCategoryRequest $request * * @return CreateMessageCategoryResponse */ public function createMessageCategory($request) { $runtime = new RuntimeOptions([]); $headers = new CreateMessageCategoryHeaders([]); return $this->createMessageCategoryWithOptions($request, $headers, $runtime); } /** * @param CreateRuleRequest $request * @param CreateRuleHeaders $headers * @param RuntimeOptions $runtime * * @return CreateRuleResponse */ public function createRuleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->customPlan)) { $body['customPlan'] = $request->customPlan; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateRule', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/messageCategories/rules', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateRuleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateRuleRequest $request * * @return CreateRuleResponse */ public function createRule($request) { $runtime = new RuntimeOptions([]); $headers = new CreateRuleHeaders([]); return $this->createRuleWithOptions($request, $headers, $runtime); } /** * @param CreateTrustedDeviceRequest $request * @param CreateTrustedDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return CreateTrustedDeviceResponse */ public function createTrustedDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->did)) { $body['did'] = $request->did; } if (!Utils::isUnset($request->macAddress)) { $body['macAddress'] = $request->macAddress; } if (!Utils::isUnset($request->platform)) { $body['platform'] = $request->platform; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } 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' => 'CreateTrustedDevice', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/trustedDevices', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateTrustedDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateTrustedDeviceRequest $request * * @return CreateTrustedDeviceResponse */ public function createTrustedDevice($request) { $runtime = new RuntimeOptions([]); $headers = new CreateTrustedDeviceHeaders([]); return $this->createTrustedDeviceWithOptions($request, $headers, $runtime); } /** * @param CreateTrustedDeviceBatchRequest $request * @param CreateTrustedDeviceBatchHeaders $headers * @param RuntimeOptions $runtime * * @return CreateTrustedDeviceBatchResponse */ public function createTrustedDeviceBatchWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->macAddressList)) { $body['macAddressList'] = $request->macAddressList; } if (!Utils::isUnset($request->platform)) { $body['platform'] = $request->platform; } 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' => 'CreateTrustedDeviceBatch', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/trusts/devices', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateTrustedDeviceBatchResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateTrustedDeviceBatchRequest $request * * @return CreateTrustedDeviceBatchResponse */ public function createTrustedDeviceBatch($request) { $runtime = new RuntimeOptions([]); $headers = new CreateTrustedDeviceBatchHeaders([]); return $this->createTrustedDeviceBatchWithOptions($request, $headers, $runtime); } /** * @param string $targetCorpId * @param DeleteAcrossCloudStroageConfigsHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteAcrossCloudStroageConfigsResponse */ public function deleteAcrossCloudStroageConfigsWithOptions($targetCorpId, $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' => 'DeleteAcrossCloudStroageConfigs', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/fileStorages/acrossClouds/configurations/' . $targetCorpId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteAcrossCloudStroageConfigsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $targetCorpId * * @return DeleteAcrossCloudStroageConfigsResponse */ public function deleteAcrossCloudStroageConfigs($targetCorpId) { $runtime = new RuntimeOptions([]); $headers = new DeleteAcrossCloudStroageConfigsHeaders([]); return $this->deleteAcrossCloudStroageConfigsWithOptions($targetCorpId, $headers, $runtime); } /** * @param string $publisherId * @param string $commentId * @param DeleteCommentHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteCommentResponse */ public function deleteCommentWithOptions($publisherId, $commentId, $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' => 'DeleteComment', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/publishers/' . $publisherId . '/comments/' . $commentId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'boolean', ]); return DeleteCommentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $publisherId * @param string $commentId * * @return DeleteCommentResponse */ public function deleteComment($publisherId, $commentId) { $runtime = new RuntimeOptions([]); $headers = new DeleteCommentHeaders([]); return $this->deleteCommentWithOptions($publisherId, $commentId, $headers, $runtime); } /** * @param DeleteTrustedDeviceRequest $request * @param DeleteTrustedDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteTrustedDeviceResponse */ public function deleteTrustedDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->kickOff)) { $body['kickOff'] = $request->kickOff; } if (!Utils::isUnset($request->macAddress)) { $body['macAddress'] = $request->macAddress; } 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' => 'DeleteTrustedDevice', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/trustedDevices/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteTrustedDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteTrustedDeviceRequest $request * * @return DeleteTrustedDeviceResponse */ public function deleteTrustedDevice($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteTrustedDeviceHeaders([]); return $this->deleteTrustedDeviceWithOptions($request, $headers, $runtime); } /** * @param DistributePartnerAppRequest $request * @param DistributePartnerAppHeaders $headers * @param RuntimeOptions $runtime * * @return DistributePartnerAppResponse */ public function distributePartnerAppWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appId)) { $body['appId'] = $request->appId; } if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } if (!Utils::isUnset($request->subCorpId)) { $body['subCorpId'] = $request->subCorpId; } 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' => 'DistributePartnerApp', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/partners/applications/distribute', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DistributePartnerAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DistributePartnerAppRequest $request * * @return DistributePartnerAppResponse */ public function distributePartnerApp($request) { $runtime = new RuntimeOptions([]); $headers = new DistributePartnerAppHeaders([]); return $this->distributePartnerAppWithOptions($request, $headers, $runtime); } /** * @param ExclusiveCreateDingPortalRequest $request * @param ExclusiveCreateDingPortalHeaders $headers * @param RuntimeOptions $runtime * * @return ExclusiveCreateDingPortalResponse */ public function exclusiveCreateDingPortalWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->dingPortalName)) { $body['dingPortalName'] = $request->dingPortalName; } if (!Utils::isUnset($request->targetCorpId)) { $body['targetCorpId'] = $request->targetCorpId; } if (!Utils::isUnset($request->templateAppUuid)) { $body['templateAppUuid'] = $request->templateAppUuid; } if (!Utils::isUnset($request->templateCorpId)) { $body['templateCorpId'] = $request->templateCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ExclusiveCreateDingPortal', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/workbenches/templates/spread', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ExclusiveCreateDingPortalResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ExclusiveCreateDingPortalRequest $request * * @return ExclusiveCreateDingPortalResponse */ public function exclusiveCreateDingPortal($request) { $runtime = new RuntimeOptions([]); $headers = new ExclusiveCreateDingPortalHeaders([]); return $this->exclusiveCreateDingPortalWithOptions($request, $headers, $runtime); } /** * @param FileStorageActiveStorageRequest $request * @param FileStorageActiveStorageHeaders $headers * @param RuntimeOptions $runtime * * @return FileStorageActiveStorageResponse */ public function fileStorageActiveStorageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accessKeyId)) { $body['accessKeyId'] = $request->accessKeyId; } if (!Utils::isUnset($request->accessKeySecret)) { $body['accessKeySecret'] = $request->accessKeySecret; } if (!Utils::isUnset($request->oss)) { $body['oss'] = $request->oss; } if (!Utils::isUnset($request->targetCorpId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'FileStorageActiveStorage', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/fileStorages/active', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return FileStorageActiveStorageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param FileStorageActiveStorageRequest $request * * @return FileStorageActiveStorageResponse */ public function fileStorageActiveStorage($request) { $runtime = new RuntimeOptions([]); $headers = new FileStorageActiveStorageHeaders([]); return $this->fileStorageActiveStorageWithOptions($request, $headers, $runtime); } /** * @param FileStorageCheckConnectionRequest $request * @param FileStorageCheckConnectionHeaders $headers * @param RuntimeOptions $runtime * * @return FileStorageCheckConnectionResponse */ public function fileStorageCheckConnectionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accessKeyId)) { $body['accessKeyId'] = $request->accessKeyId; } if (!Utils::isUnset($request->accessKeySecret)) { $body['accessKeySecret'] = $request->accessKeySecret; } if (!Utils::isUnset($request->oss)) { $body['oss'] = $request->oss; } if (!Utils::isUnset($request->targetCorpId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'FileStorageCheckConnection', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/fileStorages/connections/check', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return FileStorageCheckConnectionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param FileStorageCheckConnectionRequest $request * * @return FileStorageCheckConnectionResponse */ public function fileStorageCheckConnection($request) { $runtime = new RuntimeOptions([]); $headers = new FileStorageCheckConnectionHeaders([]); return $this->fileStorageCheckConnectionWithOptions($request, $headers, $runtime); } /** * @param FileStorageGetQuotaDataRequest $request * @param FileStorageGetQuotaDataHeaders $headers * @param RuntimeOptions $runtime * * @return FileStorageGetQuotaDataResponse */ public function fileStorageGetQuotaDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->startTime)) { $query['startTime'] = $request->startTime; } if (!Utils::isUnset($request->targetCorpId)) { $query['targetCorpId'] = $request->targetCorpId; } 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' => 'FileStorageGetQuotaData', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/fileStorages/quotaDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return FileStorageGetQuotaDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param FileStorageGetQuotaDataRequest $request * * @return FileStorageGetQuotaDataResponse */ public function fileStorageGetQuotaData($request) { $runtime = new RuntimeOptions([]); $headers = new FileStorageGetQuotaDataHeaders([]); return $this->fileStorageGetQuotaDataWithOptions($request, $headers, $runtime); } /** * @param FileStorageGetStorageStateRequest $request * @param FileStorageGetStorageStateHeaders $headers * @param RuntimeOptions $runtime * * @return FileStorageGetStorageStateResponse */ public function fileStorageGetStorageStateWithOptions($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' => 'FileStorageGetStorageState', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/fileStorages/states', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return FileStorageGetStorageStateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param FileStorageGetStorageStateRequest $request * * @return FileStorageGetStorageStateResponse */ public function fileStorageGetStorageState($request) { $runtime = new RuntimeOptions([]); $headers = new FileStorageGetStorageStateHeaders([]); return $this->fileStorageGetStorageStateWithOptions($request, $headers, $runtime); } /** * @param FileStorageUpdateStorageRequest $request * @param FileStorageUpdateStorageHeaders $headers * @param RuntimeOptions $runtime * * @return FileStorageUpdateStorageResponse */ public function fileStorageUpdateStorageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accessKeyId)) { $body['accessKeyId'] = $request->accessKeyId; } if (!Utils::isUnset($request->accessKeySecret)) { $body['accessKeySecret'] = $request->accessKeySecret; } if (!Utils::isUnset($request->targetCorpId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'FileStorageUpdateStorage', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/fileStorages/configurations', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return FileStorageUpdateStorageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param FileStorageUpdateStorageRequest $request * * @return FileStorageUpdateStorageResponse */ public function fileStorageUpdateStorage($request) { $runtime = new RuntimeOptions([]); $headers = new FileStorageUpdateStorageHeaders([]); return $this->fileStorageUpdateStorageWithOptions($request, $headers, $runtime); } /** * @param GenerateDarkWaterMarkRequest $request * @param GenerateDarkWaterMarkHeaders $headers * @param RuntimeOptions $runtime * * @return GenerateDarkWaterMarkResponse */ public function generateDarkWaterMarkWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; 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' => 'GenerateDarkWaterMark', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/enterpriseSecurities/darkWatermarks/generate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GenerateDarkWaterMarkResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GenerateDarkWaterMarkRequest $request * * @return GenerateDarkWaterMarkResponse */ public function generateDarkWaterMark($request) { $runtime = new RuntimeOptions([]); $headers = new GenerateDarkWaterMarkHeaders([]); return $this->generateDarkWaterMarkWithOptions($request, $headers, $runtime); } /** * @param GetAccountTransferListRequest $request * @param GetAccountTransferListHeaders $headers * @param RuntimeOptions $runtime * * @return GetAccountTransferListResponse */ public function getAccountTransferListWithOptions($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->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' => 'GetAccountTransferList', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/dataTransfer/accounts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAccountTransferListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetAccountTransferListRequest $request * * @return GetAccountTransferListResponse */ public function getAccountTransferList($request) { $runtime = new RuntimeOptions([]); $headers = new GetAccountTransferListHeaders([]); return $this->getAccountTransferListWithOptions($request, $headers, $runtime); } /** * @param string $dataId * @param GetActiveUserSummaryHeaders $headers * @param RuntimeOptions $runtime * * @return GetActiveUserSummaryResponse */ public function getActiveUserSummaryWithOptions($dataId, $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' => 'GetActiveUserSummary', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/data/dau/org/' . $dataId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetActiveUserSummaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dataId * * @return GetActiveUserSummaryResponse */ public function getActiveUserSummary($dataId) { $runtime = new RuntimeOptions([]); $headers = new GetActiveUserSummaryHeaders([]); return $this->getActiveUserSummaryWithOptions($dataId, $headers, $runtime); } /** * @param GetAgentIdByRelatedAppIdRequest $request * @param GetAgentIdByRelatedAppIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetAgentIdByRelatedAppIdResponse */ public function getAgentIdByRelatedAppIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appId)) { $query['appId'] = $request->appId; } 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' => 'GetAgentIdByRelatedAppId', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/exclusiveDesigns/agentId', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAgentIdByRelatedAppIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetAgentIdByRelatedAppIdRequest $request * * @return GetAgentIdByRelatedAppIdResponse */ public function getAgentIdByRelatedAppId($request) { $runtime = new RuntimeOptions([]); $headers = new GetAgentIdByRelatedAppIdHeaders([]); return $this->getAgentIdByRelatedAppIdWithOptions($request, $headers, $runtime); } /** * @param GetAllLabelableDeptsHeaders $headers * @param RuntimeOptions $runtime * * @return GetAllLabelableDeptsResponse */ public function getAllLabelableDeptsWithOptions($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' => 'GetAllLabelableDepts', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/partnerDepartments', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetAllLabelableDeptsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return GetAllLabelableDeptsResponse */ public function getAllLabelableDepts() { $runtime = new RuntimeOptions([]); $headers = new GetAllLabelableDeptsHeaders([]); return $this->getAllLabelableDeptsWithOptions($headers, $runtime); } /** * @param GetAppDispatchInfoRequest $request * @param GetAppDispatchInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetAppDispatchInfoResponse */ public function getAppDispatchInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } 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' => 'GetAppDispatchInfo', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/apps/distributionInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAppDispatchInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetAppDispatchInfoRequest $request * * @return GetAppDispatchInfoResponse */ public function getAppDispatchInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetAppDispatchInfoHeaders([]); return $this->getAppDispatchInfoWithOptions($request, $headers, $runtime); } /** * @param string $dataId * @param GetCalenderSummaryHeaders $headers * @param RuntimeOptions $runtime * * @return GetCalenderSummaryResponse */ public function getCalenderSummaryWithOptions($dataId, $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' => 'GetCalenderSummary', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/data/calendar/org/' . $dataId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCalenderSummaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dataId * * @return GetCalenderSummaryResponse */ public function getCalenderSummary($dataId) { $runtime = new RuntimeOptions([]); $headers = new GetCalenderSummaryHeaders([]); return $this->getCalenderSummaryWithOptions($dataId, $headers, $runtime); } /** * @param string $publisherId * @param GetCommentListRequest $request * @param GetCommentListHeaders $headers * @param RuntimeOptions $runtime * * @return GetCommentListResponse */ public function getCommentListWithOptions($publisherId, $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' => 'GetCommentList', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/publishers/' . $publisherId . '/comments/list', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetCommentListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $publisherId * @param GetCommentListRequest $request * * @return GetCommentListResponse */ public function getCommentList($publisherId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetCommentListHeaders([]); return $this->getCommentListWithOptions($publisherId, $request, $headers, $runtime); } /** * @param GetConfBaseInfoByLogicalIdRequest $request * @param GetConfBaseInfoByLogicalIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetConfBaseInfoByLogicalIdResponse */ public function getConfBaseInfoByLogicalIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->logicalConferenceId)) { $query['logicalConferenceId'] = $request->logicalConferenceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetConfBaseInfoByLogicalId', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/data/conferences', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetConfBaseInfoByLogicalIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetConfBaseInfoByLogicalIdRequest $request * * @return GetConfBaseInfoByLogicalIdResponse */ public function getConfBaseInfoByLogicalId($request) { $runtime = new RuntimeOptions([]); $headers = new GetConfBaseInfoByLogicalIdHeaders([]); return $this->getConfBaseInfoByLogicalIdWithOptions($request, $headers, $runtime); } /** * @param string $conferenceId * @param GetConferenceDetailHeaders $headers * @param RuntimeOptions $runtime * * @return GetConferenceDetailResponse */ public function getConferenceDetailWithOptions($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' => 'GetConferenceDetail', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/data/conferences/' . $conferenceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetConferenceDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $conferenceId * * @return GetConferenceDetailResponse */ public function getConferenceDetail($conferenceId) { $runtime = new RuntimeOptions([]); $headers = new GetConferenceDetailHeaders([]); return $this->getConferenceDetailWithOptions($conferenceId, $headers, $runtime); } /** * @param string $dataId * @param GetDingReportDeptSummaryRequest $request * @param GetDingReportDeptSummaryHeaders $headers * @param RuntimeOptions $runtime * * @return GetDingReportDeptSummaryResponse */ public function getDingReportDeptSummaryWithOptions($dataId, $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' => 'GetDingReportDeptSummary', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/data/report/dept/' . $dataId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetDingReportDeptSummaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dataId * @param GetDingReportDeptSummaryRequest $request * * @return GetDingReportDeptSummaryResponse */ public function getDingReportDeptSummary($dataId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetDingReportDeptSummaryHeaders([]); return $this->getDingReportDeptSummaryWithOptions($dataId, $request, $headers, $runtime); } /** * @param string $dataId * @param GetDingReportSummaryHeaders $headers * @param RuntimeOptions $runtime * * @return GetDingReportSummaryResponse */ public function getDingReportSummaryWithOptions($dataId, $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' => 'GetDingReportSummary', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/datas/' . $dataId . '/reports/organizations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDingReportSummaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dataId * * @return GetDingReportSummaryResponse */ public function getDingReportSummary($dataId) { $runtime = new RuntimeOptions([]); $headers = new GetDingReportSummaryHeaders([]); return $this->getDingReportSummaryWithOptions($dataId, $headers, $runtime); } /** * @param string $dataId * @param GetDocCreatedDeptSummaryRequest $request * @param GetDocCreatedDeptSummaryHeaders $headers * @param RuntimeOptions $runtime * * @return GetDocCreatedDeptSummaryResponse */ public function getDocCreatedDeptSummaryWithOptions($dataId, $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' => 'GetDocCreatedDeptSummary', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/data/doc/dept/' . $dataId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDocCreatedDeptSummaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dataId * @param GetDocCreatedDeptSummaryRequest $request * * @return GetDocCreatedDeptSummaryResponse */ public function getDocCreatedDeptSummary($dataId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetDocCreatedDeptSummaryHeaders([]); return $this->getDocCreatedDeptSummaryWithOptions($dataId, $request, $headers, $runtime); } /** * @param string $dataId * @param GetDocCreatedSummaryHeaders $headers * @param RuntimeOptions $runtime * * @return GetDocCreatedSummaryResponse */ public function getDocCreatedSummaryWithOptions($dataId, $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' => 'GetDocCreatedSummary', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/data/doc/org/' . $dataId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDocCreatedSummaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dataId * * @return GetDocCreatedSummaryResponse */ public function getDocCreatedSummary($dataId) { $runtime = new RuntimeOptions([]); $headers = new GetDocCreatedSummaryHeaders([]); return $this->getDocCreatedSummaryWithOptions($dataId, $headers, $runtime); } /** * @param GetExclusiveAccountAllOrgListRequest $request * @param GetExclusiveAccountAllOrgListHeaders $headers * @param RuntimeOptions $runtime * * @return GetExclusiveAccountAllOrgListResponse */ public function getExclusiveAccountAllOrgListWithOptions($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' => 'GetExclusiveAccountAllOrgList', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/exclusiveAccounts/organizations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetExclusiveAccountAllOrgListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetExclusiveAccountAllOrgListRequest $request * * @return GetExclusiveAccountAllOrgListResponse */ public function getExclusiveAccountAllOrgList($request) { $runtime = new RuntimeOptions([]); $headers = new GetExclusiveAccountAllOrgListHeaders([]); return $this->getExclusiveAccountAllOrgListWithOptions($request, $headers, $runtime); } /** * @param string $dataId * @param GetGeneralFormCreatedDeptSummaryRequest $request * @param GetGeneralFormCreatedDeptSummaryHeaders $headers * @param RuntimeOptions $runtime * * @return GetGeneralFormCreatedDeptSummaryResponse */ public function getGeneralFormCreatedDeptSummaryWithOptions($dataId, $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' => 'GetGeneralFormCreatedDeptSummary', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/data/generalForm/dept/' . $dataId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetGeneralFormCreatedDeptSummaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dataId * @param GetGeneralFormCreatedDeptSummaryRequest $request * * @return GetGeneralFormCreatedDeptSummaryResponse */ public function getGeneralFormCreatedDeptSummary($dataId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetGeneralFormCreatedDeptSummaryHeaders([]); return $this->getGeneralFormCreatedDeptSummaryWithOptions($dataId, $request, $headers, $runtime); } /** * @param string $dataId * @param GetGeneralFormCreatedSummaryHeaders $headers * @param RuntimeOptions $runtime * * @return GetGeneralFormCreatedSummaryResponse */ public function getGeneralFormCreatedSummaryWithOptions($dataId, $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' => 'GetGeneralFormCreatedSummary', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/data/generalForm/org/' . $dataId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetGeneralFormCreatedSummaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dataId * * @return GetGeneralFormCreatedSummaryResponse */ public function getGeneralFormCreatedSummary($dataId) { $runtime = new RuntimeOptions([]); $headers = new GetGeneralFormCreatedSummaryHeaders([]); return $this->getGeneralFormCreatedSummaryWithOptions($dataId, $headers, $runtime); } /** * @param GetGroupActiveInfoRequest $request * @param GetGroupActiveInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetGroupActiveInfoResponse */ public function getGroupActiveInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->dingGroupId)) { $query['dingGroupId'] = $request->dingGroupId; } if (!Utils::isUnset($request->groupType)) { $query['groupType'] = $request->groupType; } 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' => 'GetGroupActiveInfo', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/data/activeGroups', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetGroupActiveInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetGroupActiveInfoRequest $request * * @return GetGroupActiveInfoResponse */ public function getGroupActiveInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetGroupActiveInfoHeaders([]); return $this->getGroupActiveInfoWithOptions($request, $headers, $runtime); } /** * @param GetInActiveUserListRequest $request * @param GetInActiveUserListHeaders $headers * @param RuntimeOptions $runtime * * @return GetInActiveUserListResponse */ public function getInActiveUserListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptIds)) { $body['deptIds'] = $request->deptIds; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->statDate)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetInActiveUserList', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/inactives/users/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetInActiveUserListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetInActiveUserListRequest $request * * @return GetInActiveUserListResponse */ public function getInActiveUserList($request) { $runtime = new RuntimeOptions([]); $headers = new GetInActiveUserListHeaders([]); return $this->getInActiveUserListWithOptions($request, $headers, $runtime); } /** * @param GetLastOrgAuthDataRequest $request * @param GetLastOrgAuthDataHeaders $headers * @param RuntimeOptions $runtime * * @return GetLastOrgAuthDataResponse */ public function getLastOrgAuthDataWithOptions($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' => 'GetLastOrgAuthData', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/organizations/authInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetLastOrgAuthDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetLastOrgAuthDataRequest $request * * @return GetLastOrgAuthDataResponse */ public function getLastOrgAuthData($request) { $runtime = new RuntimeOptions([]); $headers = new GetLastOrgAuthDataHeaders([]); return $this->getLastOrgAuthDataWithOptions($request, $headers, $runtime); } /** * @param GetMsgConfigRequest $request * @param GetMsgConfigHeaders $headers * @param RuntimeOptions $runtime * * @return GetMsgConfigResponse */ public function getMsgConfigWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupTopic)) { $body['groupTopic'] = $request->groupTopic; } if (!Utils::isUnset($request->groupType)) { $body['groupType'] = $request->groupType; } if (!Utils::isUnset($request->listDynamicAttr)) { $body['listDynamicAttr'] = $request->listDynamicAttr; } if (!Utils::isUnset($request->listEmployeeCode)) { $body['listEmployeeCode'] = $request->listEmployeeCode; } if (!Utils::isUnset($request->listUnitId)) { $body['listUnitId'] = $request->listUnitId; } if (!Utils::isUnset($request->ownerJobNo)) { $body['ownerJobNo'] = $request->ownerJobNo; } if (!Utils::isUnset($request->ruleBusinessCode)) { $body['ruleBusinessCode'] = $request->ruleBusinessCode; } if (!Utils::isUnset($request->ruleCategory)) { $body['ruleCategory'] = $request->ruleCategory; } if (!Utils::isUnset($request->ruleCode)) { $body['ruleCode'] = $request->ruleCode; } if (!Utils::isUnset($request->secretKey)) { $body['secretKey'] = $request->secretKey; } if (!Utils::isUnset($request->sysCode)) { $body['sysCode'] = $request->sysCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetMsgConfig', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/portals/msgConfigs/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetMsgConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetMsgConfigRequest $request * * @return GetMsgConfigResponse */ public function getMsgConfig($request) { $runtime = new RuntimeOptions([]); $headers = new GetMsgConfigHeaders([]); return $this->getMsgConfigWithOptions($request, $headers, $runtime); } /** * @param GetOaOperatorLogListRequest $request * @param GetOaOperatorLogListHeaders $headers * @param RuntimeOptions $runtime * * @return GetOaOperatorLogListResponse */ public function getOaOperatorLogListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->categoryList)) { $body['categoryList'] = $request->categoryList; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } 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->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' => 'GetOaOperatorLogList', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/oaOperatorLogs/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetOaOperatorLogListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetOaOperatorLogListRequest $request * * @return GetOaOperatorLogListResponse */ public function getOaOperatorLogList($request) { $runtime = new RuntimeOptions([]); $headers = new GetOaOperatorLogListHeaders([]); return $this->getOaOperatorLogListWithOptions($request, $headers, $runtime); } /** * @param GetOutGroupsByPageRequest $request * @param GetOutGroupsByPageHeaders $headers * @param RuntimeOptions $runtime * * @return GetOutGroupsByPageResponse */ public function getOutGroupsByPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; 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' => 'GetOutGroupsByPage', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/audits/outsideGroups/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOutGroupsByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetOutGroupsByPageRequest $request * * @return GetOutGroupsByPageResponse */ public function getOutGroupsByPage($request) { $runtime = new RuntimeOptions([]); $headers = new GetOutGroupsByPageHeaders([]); return $this->getOutGroupsByPageWithOptions($request, $headers, $runtime); } /** * @param GetOutsideAuditGroupMessageByPageRequest $request * @param GetOutsideAuditGroupMessageByPageHeaders $headers * @param RuntimeOptions $runtime * * @return GetOutsideAuditGroupMessageByPageResponse */ public function getOutsideAuditGroupMessageByPageWithOptions($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->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' => 'GetOutsideAuditGroupMessageByPage', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/audits/outsideGroups/messages/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOutsideAuditGroupMessageByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetOutsideAuditGroupMessageByPageRequest $request * * @return GetOutsideAuditGroupMessageByPageResponse */ public function getOutsideAuditGroupMessageByPage($request) { $runtime = new RuntimeOptions([]); $headers = new GetOutsideAuditGroupMessageByPageHeaders([]); return $this->getOutsideAuditGroupMessageByPageWithOptions($request, $headers, $runtime); } /** * @param string $parentId * @param GetPartnerTypeByParentIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetPartnerTypeByParentIdResponse */ public function getPartnerTypeByParentIdWithOptions($parentId, $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' => 'GetPartnerTypeByParentId', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/partnerLabels/' . $parentId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetPartnerTypeByParentIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $parentId * * @return GetPartnerTypeByParentIdResponse */ public function getPartnerTypeByParentId($parentId) { $runtime = new RuntimeOptions([]); $headers = new GetPartnerTypeByParentIdHeaders([]); return $this->getPartnerTypeByParentIdWithOptions($parentId, $headers, $runtime); } /** * @param GetPublicDevicesRequest $request * @param GetPublicDevicesHeaders $headers * @param RuntimeOptions $runtime * * @return GetPublicDevicesResponse */ public function getPublicDevicesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->macAddress)) { $query['macAddress'] = $request->macAddress; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->platform)) { $query['platform'] = $request->platform; } 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' => 'GetPublicDevices', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/trusts/publicDevices', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetPublicDevicesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetPublicDevicesRequest $request * * @return GetPublicDevicesResponse */ public function getPublicDevices($request) { $runtime = new RuntimeOptions([]); $headers = new GetPublicDevicesHeaders([]); return $this->getPublicDevicesWithOptions($request, $headers, $runtime); } /** * @param string $dataId * @param GetPublisherSummaryRequest $request * @param GetPublisherSummaryHeaders $headers * @param RuntimeOptions $runtime * * @return GetPublisherSummaryResponse */ public function getPublisherSummaryWithOptions($dataId, $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' => 'GetPublisherSummary', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/data/publisher/' . $dataId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetPublisherSummaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dataId * @param GetPublisherSummaryRequest $request * * @return GetPublisherSummaryResponse */ public function getPublisherSummary($dataId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetPublisherSummaryHeaders([]); return $this->getPublisherSummaryWithOptions($dataId, $request, $headers, $runtime); } /** * @param GetRealPeopleRecordsRequest $request * @param GetRealPeopleRecordsHeaders $headers * @param RuntimeOptions $runtime * * @return GetRealPeopleRecordsResponse */ public function getRealPeopleRecordsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->agentId)) { $body['agentId'] = $request->agentId; } if (!Utils::isUnset($request->fromTime)) { $body['fromTime'] = $request->fromTime; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->personIdentification)) { $body['personIdentification'] = $request->personIdentification; } if (!Utils::isUnset($request->scene)) { $body['scene'] = $request->scene; } if (!Utils::isUnset($request->toTime)) { $body['toTime'] = $request->toTime; } 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' => 'GetRealPeopleRecords', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/persons/identificationRecords/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRealPeopleRecordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetRealPeopleRecordsRequest $request * * @return GetRealPeopleRecordsResponse */ public function getRealPeopleRecords($request) { $runtime = new RuntimeOptions([]); $headers = new GetRealPeopleRecordsHeaders([]); return $this->getRealPeopleRecordsWithOptions($request, $headers, $runtime); } /** * @param GetRecognizeRecordsRequest $request * @param GetRecognizeRecordsHeaders $headers * @param RuntimeOptions $runtime * * @return GetRecognizeRecordsResponse */ public function getRecognizeRecordsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->agentId)) { $body['agentId'] = $request->agentId; } if (!Utils::isUnset($request->faceCompareResult)) { $body['faceCompareResult'] = $request->faceCompareResult; } if (!Utils::isUnset($request->fromTime)) { $body['fromTime'] = $request->fromTime; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->toTime)) { $body['toTime'] = $request->toTime; } 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' => 'GetRecognizeRecords', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/faces/recognizeRecords/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRecognizeRecordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetRecognizeRecordsRequest $request * * @return GetRecognizeRecordsResponse */ public function getRecognizeRecords($request) { $runtime = new RuntimeOptions([]); $headers = new GetRecognizeRecordsHeaders([]); return $this->getRecognizeRecordsWithOptions($request, $headers, $runtime); } /** * @param GetSignedDetailByPageRequest $request * @param GetSignedDetailByPageHeaders $headers * @param RuntimeOptions $runtime * * @return GetSignedDetailByPageResponse */ public function getSignedDetailByPageWithOptions($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->signStatus)) { $query['signStatus'] = $request->signStatus; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetSignedDetailByPage', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/audits/users', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSignedDetailByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSignedDetailByPageRequest $request * * @return GetSignedDetailByPageResponse */ public function getSignedDetailByPage($request) { $runtime = new RuntimeOptions([]); $headers = new GetSignedDetailByPageHeaders([]); return $this->getSignedDetailByPageWithOptions($request, $headers, $runtime); } /** * @param GetTrustDeviceListRequest $request * @param GetTrustDeviceListHeaders $headers * @param RuntimeOptions $runtime * * @return GetTrustDeviceListResponse */ public function getTrustDeviceListWithOptions($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' => 'GetTrustDeviceList', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/trustedDevices/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTrustDeviceListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetTrustDeviceListRequest $request * * @return GetTrustDeviceListResponse */ public function getTrustDeviceList($request) { $runtime = new RuntimeOptions([]); $headers = new GetTrustDeviceListHeaders([]); return $this->getTrustDeviceListWithOptions($request, $headers, $runtime); } /** * @param string $dataId * @param GetUserAppVersionSummaryRequest $request * @param GetUserAppVersionSummaryHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserAppVersionSummaryResponse */ public function getUserAppVersionSummaryWithOptions($dataId, $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' => 'GetUserAppVersionSummary', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/data/appVersion/org/' . $dataId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetUserAppVersionSummaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dataId * @param GetUserAppVersionSummaryRequest $request * * @return GetUserAppVersionSummaryResponse */ public function getUserAppVersionSummary($dataId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetUserAppVersionSummaryHeaders([]); return $this->getUserAppVersionSummaryWithOptions($dataId, $request, $headers, $runtime); } /** * @param GetUserFaceStateRequest $request * @param GetUserFaceStateHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserFaceStateResponse */ public function getUserFaceStateWithOptions($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' => 'GetUserFaceState', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/faces/recognizeStates/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserFaceStateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUserFaceStateRequest $request * * @return GetUserFaceStateResponse */ public function getUserFaceState($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserFaceStateHeaders([]); return $this->getUserFaceStateWithOptions($request, $headers, $runtime); } /** * @param GetUserRealPeopleStateRequest $request * @param GetUserRealPeopleStateHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserRealPeopleStateResponse */ public function getUserRealPeopleStateWithOptions($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' => 'GetUserRealPeopleState', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/persons/identificationStates/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserRealPeopleStateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUserRealPeopleStateRequest $request * * @return GetUserRealPeopleStateResponse */ public function getUserRealPeopleState($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserRealPeopleStateHeaders([]); return $this->getUserRealPeopleStateWithOptions($request, $headers, $runtime); } /** * @param GetUserStayLengthRequest $request * @param GetUserStayLengthHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserStayLengthResponse */ public function getUserStayLengthWithOptions($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' => 'GetUserStayLength', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/data/users/stayTimes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserStayLengthResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUserStayLengthRequest $request * * @return GetUserStayLengthResponse */ public function getUserStayLength($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserStayLengthHeaders([]); return $this->getUserStayLengthWithOptions($request, $headers, $runtime); } /** * @param ListAuditLogRequest $request * @param ListAuditLogHeaders $headers * @param RuntimeOptions $runtime * * @return ListAuditLogResponse */ public function listAuditLogWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->endDate)) { $query['endDate'] = $request->endDate; } if (!Utils::isUnset($request->nextBizId)) { $query['nextBizId'] = $request->nextBizId; } if (!Utils::isUnset($request->nextGmtCreate)) { $query['nextGmtCreate'] = $request->nextGmtCreate; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->startDate)) { $query['startDate'] = $request->startDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListAuditLog', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/fileAuditLogs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListAuditLogResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListAuditLogRequest $request * * @return ListAuditLogResponse */ public function listAuditLog($request) { $runtime = new RuntimeOptions([]); $headers = new ListAuditLogHeaders([]); return $this->listAuditLogWithOptions($request, $headers, $runtime); } /** * @param ListCategorysRequest $tmpReq * @param ListCategorysHeaders $headers * @param RuntimeOptions $runtime * * @return ListCategorysResponse */ public function listCategorysWithOptions($tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new ListCategorysShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->body)) { $request->bodyShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->body, 'body', 'json'); } $query = []; if (!Utils::isUnset($request->bodyShrink)) { $query['body'] = $request->bodyShrink; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListCategorys', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/messageCategories/categories/listCategories', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListCategorysResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListCategorysRequest $request * * @return ListCategorysResponse */ public function listCategorys($request) { $runtime = new RuntimeOptions([]); $headers = new ListCategorysHeaders([]); return $this->listCategorysWithOptions($request, $headers, $runtime); } /** * @param ListJoinOrgInfoRequest $request * @param ListJoinOrgInfoHeaders $headers * @param RuntimeOptions $runtime * * @return ListJoinOrgInfoResponse */ public function listJoinOrgInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->mobile)) { $query['mobile'] = $request->mobile; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListJoinOrgInfo', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/exclusiveAccounts/organizations/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListJoinOrgInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListJoinOrgInfoRequest $request * * @return ListJoinOrgInfoResponse */ public function listJoinOrgInfo($request) { $runtime = new RuntimeOptions([]); $headers = new ListJoinOrgInfoHeaders([]); return $this->listJoinOrgInfoWithOptions($request, $headers, $runtime); } /** * @param ListMiniAppAvailableVersionRequest $request * @param ListMiniAppAvailableVersionHeaders $headers * @param RuntimeOptions $runtime * * @return ListMiniAppAvailableVersionResponse */ public function listMiniAppAvailableVersionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->versionTypeSet)) { $body['versionTypeSet'] = $request->versionTypeSet; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ListMiniAppAvailableVersion', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/miniApps/versions/availableLists', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListMiniAppAvailableVersionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListMiniAppAvailableVersionRequest $request * * @return ListMiniAppAvailableVersionResponse */ public function listMiniAppAvailableVersion($request) { $runtime = new RuntimeOptions([]); $headers = new ListMiniAppAvailableVersionHeaders([]); return $this->listMiniAppAvailableVersionWithOptions($request, $headers, $runtime); } /** * @param ListMiniAppHistoryVersionRequest $request * @param ListMiniAppHistoryVersionHeaders $headers * @param RuntimeOptions $runtime * * @return ListMiniAppHistoryVersionResponse */ public function listMiniAppHistoryVersionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->miniAppId)) { $query['miniAppId'] = $request->miniAppId; } 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' => 'ListMiniAppHistoryVersion', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/miniApps/versions/historyLists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListMiniAppHistoryVersionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListMiniAppHistoryVersionRequest $request * * @return ListMiniAppHistoryVersionResponse */ public function listMiniAppHistoryVersion($request) { $runtime = new RuntimeOptions([]); $headers = new ListMiniAppHistoryVersionHeaders([]); return $this->listMiniAppHistoryVersionWithOptions($request, $headers, $runtime); } /** * @param string $parentId * @param ListPartnerRolesHeaders $headers * @param RuntimeOptions $runtime * * @return ListPartnerRolesResponse */ public function listPartnerRolesWithOptions($parentId, $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' => 'ListPartnerRoles', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/partners/roles/' . $parentId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListPartnerRolesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $parentId * * @return ListPartnerRolesResponse */ public function listPartnerRoles($parentId) { $runtime = new RuntimeOptions([]); $headers = new ListPartnerRolesHeaders([]); return $this->listPartnerRolesWithOptions($parentId, $headers, $runtime); } /** * @param ListPunchScheduleByConditionWithPagingRequest $request * @param ListPunchScheduleByConditionWithPagingHeaders $headers * @param RuntimeOptions $runtime * * @return ListPunchScheduleByConditionWithPagingResponse */ public function listPunchScheduleByConditionWithPagingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizInstanceId)) { $body['bizInstanceId'] = $request->bizInstanceId; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->scheduleDateEnd)) { $body['scheduleDateEnd'] = $request->scheduleDateEnd; } if (!Utils::isUnset($request->scheduleDateStart)) { $body['scheduleDateStart'] = $request->scheduleDateStart; } 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' => 'ListPunchScheduleByConditionWithPaging', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/punchSchedules/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListPunchScheduleByConditionWithPagingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListPunchScheduleByConditionWithPagingRequest $request * * @return ListPunchScheduleByConditionWithPagingResponse */ public function listPunchScheduleByConditionWithPaging($request) { $runtime = new RuntimeOptions([]); $headers = new ListPunchScheduleByConditionWithPagingHeaders([]); return $this->listPunchScheduleByConditionWithPagingWithOptions($request, $headers, $runtime); } /** * @param ListRulesRequest $tmpReq * @param ListRulesHeaders $headers * @param RuntimeOptions $runtime * * @return ListRulesResponse */ public function listRulesWithOptions($tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new ListRulesShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->body)) { $request->bodyShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->body, 'body', 'json'); } $query = []; if (!Utils::isUnset($request->bodyShrink)) { $query['body'] = $request->bodyShrink; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListRules', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/messageCategories/rules/listRules', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListRulesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListRulesRequest $request * * @return ListRulesResponse */ public function listRules($request) { $runtime = new RuntimeOptions([]); $headers = new ListRulesHeaders([]); return $this->listRulesWithOptions($request, $headers, $runtime); } /** * @param LogoutRequest $request * @param LogoutHeaders $headers * @param RuntimeOptions $runtime * * @return LogoutResponse */ public function logoutWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deviceType)) { $body['deviceType'] = $request->deviceType; } 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' => 'Logout', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/users/logout', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return LogoutResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param LogoutRequest $request * * @return LogoutResponse */ public function logout($request) { $runtime = new RuntimeOptions([]); $headers = new LogoutHeaders([]); return $this->logoutWithOptions($request, $headers, $runtime); } /** * @param PreventCheatingCheckRiskRequest $request * @param PreventCheatingCheckRiskHeaders $headers * @param RuntimeOptions $runtime * * @return PreventCheatingCheckRiskResponse */ public function preventCheatingCheckRiskWithOptions($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' => 'PreventCheatingCheckRisk', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/preventCheats/risks/check', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PreventCheatingCheckRiskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PreventCheatingCheckRiskRequest $request * * @return PreventCheatingCheckRiskResponse */ public function preventCheatingCheckRisk($request) { $runtime = new RuntimeOptions([]); $headers = new PreventCheatingCheckRiskHeaders([]); return $this->preventCheatingCheckRiskWithOptions($request, $headers, $runtime); } /** * @param PublishFileChangeNoticeRequest $request * @param PublishFileChangeNoticeHeaders $headers * @param RuntimeOptions $runtime * * @return PublishFileChangeNoticeResponse */ public function publishFileChangeNoticeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->fileId)) { $body['fileId'] = $request->fileId; } if (!Utils::isUnset($request->operateType)) { $body['operateType'] = $request->operateType; } if (!Utils::isUnset($request->operatorUnionId)) { $body['operatorUnionId'] = $request->operatorUnionId; } 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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PublishFileChangeNotice', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/comments/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return PublishFileChangeNoticeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PublishFileChangeNoticeRequest $request * * @return PublishFileChangeNoticeResponse */ public function publishFileChangeNotice($request) { $runtime = new RuntimeOptions([]); $headers = new PublishFileChangeNoticeHeaders([]); return $this->publishFileChangeNoticeWithOptions($request, $headers, $runtime); } /** * @param PublishRuleRequest $request * @param PublishRuleHeaders $headers * @param RuntimeOptions $runtime * * @return PublishRuleResponse */ public function publishRuleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; 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' => 'PublishRule', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/messageCategories/rules/publish', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PublishRuleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PublishRuleRequest $request * * @return PublishRuleResponse */ public function publishRule($request) { $runtime = new RuntimeOptions([]); $headers = new PublishRuleHeaders([]); return $this->publishRuleWithOptions($request, $headers, $runtime); } /** * @param PushBadgeRequest $request * @param PushBadgeHeaders $headers * @param RuntimeOptions $runtime * * @return PushBadgeResponse */ public function pushBadgeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->agentId)) { $body['agentId'] = $request->agentId; } if (!Utils::isUnset($request->badgeItems)) { $body['badgeItems'] = $request->badgeItems; } if (!Utils::isUnset($request->pushType)) { $body['pushType'] = $request->pushType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PushBadge', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/exclusiveDesigns/redPoints/push', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PushBadgeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PushBadgeRequest $request * * @return PushBadgeResponse */ public function pushBadge($request) { $runtime = new RuntimeOptions([]); $headers = new PushBadgeHeaders([]); return $this->pushBadgeWithOptions($request, $headers, $runtime); } /** * @param QueryAcrossCloudStroageConfigsRequest $request * @param QueryAcrossCloudStroageConfigsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryAcrossCloudStroageConfigsResponse */ public function queryAcrossCloudStroageConfigsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->targetCloudType)) { $query['targetCloudType'] = $request->targetCloudType; } 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' => 'QueryAcrossCloudStroageConfigs', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/fileStorages/acrossClouds/configurations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAcrossCloudStroageConfigsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryAcrossCloudStroageConfigsRequest $request * * @return QueryAcrossCloudStroageConfigsResponse */ public function queryAcrossCloudStroageConfigs($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAcrossCloudStroageConfigsHeaders([]); return $this->queryAcrossCloudStroageConfigsWithOptions($request, $headers, $runtime); } /** * @param string $userId * @param QueryPartnerInfoHeaders $headers * @param RuntimeOptions $runtime * * @return QueryPartnerInfoResponse */ public function queryPartnerInfoWithOptions($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' => 'QueryPartnerInfo', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/partners/users/' . $userId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryPartnerInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * * @return QueryPartnerInfoResponse */ public function queryPartnerInfo($userId) { $runtime = new RuntimeOptions([]); $headers = new QueryPartnerInfoHeaders([]); return $this->queryPartnerInfoWithOptions($userId, $headers, $runtime); } /** * @param QueryUserBehaviorRequest $request * @param QueryUserBehaviorHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUserBehaviorResponse */ public function queryUserBehaviorWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; 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->platform)) { $body['platform'] = $request->platform; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } 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' => 'QueryUserBehavior', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/enterpriseSecurities/userBehaviors/screenshots/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUserBehaviorResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryUserBehaviorRequest $request * * @return QueryUserBehaviorResponse */ public function queryUserBehavior($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUserBehaviorHeaders([]); return $this->queryUserBehaviorWithOptions($request, $headers, $runtime); } /** * @param RollbackMiniAppVersionRequest $request * @param RollbackMiniAppVersionHeaders $headers * @param RuntimeOptions $runtime * * @return RollbackMiniAppVersionResponse */ public function rollbackMiniAppVersionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->rollbackVersion)) { $body['rollbackVersion'] = $request->rollbackVersion; } if (!Utils::isUnset($request->targetVersion)) { $body['targetVersion'] = $request->targetVersion; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RollbackMiniAppVersion', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/miniApps/versions/rollback', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return RollbackMiniAppVersionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RollbackMiniAppVersionRequest $request * * @return RollbackMiniAppVersionResponse */ public function rollbackMiniAppVersion($request) { $runtime = new RuntimeOptions([]); $headers = new RollbackMiniAppVersionHeaders([]); return $this->rollbackMiniAppVersionWithOptions($request, $headers, $runtime); } /** * @param RuleBatchReceiverRequest $request * @param RuleBatchReceiverHeaders $headers * @param RuntimeOptions $runtime * * @return RuleBatchReceiverResponse */ public function ruleBatchReceiverWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->batchNo)) { $body['batchNo'] = $request->batchNo; } if (!Utils::isUnset($request->cardOptions)) { $body['cardOptions'] = $request->cardOptions; } if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->ruleCode)) { $body['ruleCode'] = $request->ruleCode; } if (!Utils::isUnset($request->secretKey)) { $body['secretKey'] = $request->secretKey; } if (!Utils::isUnset($request->specialStrategy)) { $body['specialStrategy'] = $request->specialStrategy; } if (!Utils::isUnset($request->taskBatchNo)) { $body['taskBatchNo'] = $request->taskBatchNo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RuleBatchReceiver', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/dmc/rules/messages/batchSend', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RuleBatchReceiverResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RuleBatchReceiverRequest $request * * @return RuleBatchReceiverResponse */ public function ruleBatchReceiver($request) { $runtime = new RuntimeOptions([]); $headers = new RuleBatchReceiverHeaders([]); return $this->ruleBatchReceiverWithOptions($request, $headers, $runtime); } /** * @param SaveAcrossCloudStroageConfigsRequest $request * @param SaveAcrossCloudStroageConfigsHeaders $headers * @param RuntimeOptions $runtime * * @return SaveAcrossCloudStroageConfigsResponse */ public function saveAcrossCloudStroageConfigsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accessKeyId)) { $body['accessKeyId'] = $request->accessKeyId; } if (!Utils::isUnset($request->accessKeySecret)) { $body['accessKeySecret'] = $request->accessKeySecret; } if (!Utils::isUnset($request->bucketName)) { $body['bucketName'] = $request->bucketName; } if (!Utils::isUnset($request->cloudType)) { $body['cloudType'] = $request->cloudType; } if (!Utils::isUnset($request->endpoint)) { $body['endpoint'] = $request->endpoint; } if (!Utils::isUnset($request->targetCorpId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SaveAcrossCloudStroageConfigs', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/fileStorages/acrossClouds/configurations', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveAcrossCloudStroageConfigsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SaveAcrossCloudStroageConfigsRequest $request * * @return SaveAcrossCloudStroageConfigsResponse */ public function saveAcrossCloudStroageConfigs($request) { $runtime = new RuntimeOptions([]); $headers = new SaveAcrossCloudStroageConfigsHeaders([]); return $this->saveAcrossCloudStroageConfigsWithOptions($request, $headers, $runtime); } /** * @param SaveAndSubmitAuthInfoRequest $request * @param SaveAndSubmitAuthInfoHeaders $headers * @param RuntimeOptions $runtime * * @return SaveAndSubmitAuthInfoResponse */ public function saveAndSubmitAuthInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->applyRemark)) { $body['applyRemark'] = $request->applyRemark; } if (!Utils::isUnset($request->authorizeMediaId)) { $body['authorizeMediaId'] = $request->authorizeMediaId; } if (!Utils::isUnset($request->industry)) { $body['industry'] = $request->industry; } if (!Utils::isUnset($request->legalPerson)) { $body['legalPerson'] = $request->legalPerson; } if (!Utils::isUnset($request->legalPersonIdCard)) { $body['legalPersonIdCard'] = $request->legalPersonIdCard; } if (!Utils::isUnset($request->licenseMediaId)) { $body['licenseMediaId'] = $request->licenseMediaId; } if (!Utils::isUnset($request->locCity)) { $body['locCity'] = $request->locCity; } if (!Utils::isUnset($request->locCityName)) { $body['locCityName'] = $request->locCityName; } if (!Utils::isUnset($request->locProvince)) { $body['locProvince'] = $request->locProvince; } if (!Utils::isUnset($request->locProvinceName)) { $body['locProvinceName'] = $request->locProvinceName; } if (!Utils::isUnset($request->mobileNum)) { $body['mobileNum'] = $request->mobileNum; } if (!Utils::isUnset($request->orgName)) { $body['orgName'] = $request->orgName; } if (!Utils::isUnset($request->organizationCode)) { $body['organizationCode'] = $request->organizationCode; } if (!Utils::isUnset($request->organizationCodeMediaId)) { $body['organizationCodeMediaId'] = $request->organizationCodeMediaId; } if (!Utils::isUnset($request->registLocation)) { $body['registLocation'] = $request->registLocation; } if (!Utils::isUnset($request->registNum)) { $body['registNum'] = $request->registNum; } if (!Utils::isUnset($request->targetCorpId)) { $body['targetCorpId'] = $request->targetCorpId; } if (!Utils::isUnset($request->unifiedSocialCredit)) { $body['unifiedSocialCredit'] = $request->unifiedSocialCredit; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SaveAndSubmitAuthInfo', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/ognizations/authInfos/saveAndSubmit', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveAndSubmitAuthInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SaveAndSubmitAuthInfoRequest $request * * @return SaveAndSubmitAuthInfoResponse */ public function saveAndSubmitAuthInfo($request) { $runtime = new RuntimeOptions([]); $headers = new SaveAndSubmitAuthInfoHeaders([]); return $this->saveAndSubmitAuthInfoWithOptions($request, $headers, $runtime); } /** * @param SaveOpenTerminalInfoRequest $request * @param SaveOpenTerminalInfoHeaders $headers * @param RuntimeOptions $runtime * * @return SaveOpenTerminalInfoResponse */ public function saveOpenTerminalInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->logSource)) { $body['logSource'] = $request->logSource; } if (!Utils::isUnset($request->logType)) { $body['logType'] = $request->logType; } if (!Utils::isUnset($request->openExt)) { $body['openExt'] = $request->openExt; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SaveOpenTerminalInfo', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/externalLogs/terminalInfos/save', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveOpenTerminalInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SaveOpenTerminalInfoRequest $request * * @return SaveOpenTerminalInfoResponse */ public function saveOpenTerminalInfo($request) { $runtime = new RuntimeOptions([]); $headers = new SaveOpenTerminalInfoHeaders([]); return $this->saveOpenTerminalInfoWithOptions($request, $headers, $runtime); } /** * @param SaveWhiteAppRequest $request * @param SaveWhiteAppHeaders $headers * @param RuntimeOptions $runtime * * @return SaveWhiteAppResponse */ public function saveWhiteAppWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->agentIdList)) { $body['agentIdList'] = $request->agentIdList; } if (!Utils::isUnset($request->agentIdMap)) { $body['agentIdMap'] = $request->agentIdMap; } if (!Utils::isUnset($request->operation)) { $body['operation'] = $request->operation; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SaveWhiteApp', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/miniApps/whiteLists/save', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveWhiteAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SaveWhiteAppRequest $request * * @return SaveWhiteAppResponse */ public function saveWhiteApp($request) { $runtime = new RuntimeOptions([]); $headers = new SaveWhiteAppHeaders([]); return $this->saveWhiteAppWithOptions($request, $headers, $runtime); } /** * @param SearchOrgInnerGroupInfoRequest $request * @param SearchOrgInnerGroupInfoHeaders $headers * @param RuntimeOptions $runtime * * @return SearchOrgInnerGroupInfoResponse */ public function searchOrgInnerGroupInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->createTimeEnd)) { $query['createTimeEnd'] = $request->createTimeEnd; } if (!Utils::isUnset($request->createTimeStart)) { $query['createTimeStart'] = $request->createTimeStart; } if (!Utils::isUnset($request->groupMembersCountEnd)) { $query['groupMembersCountEnd'] = $request->groupMembersCountEnd; } if (!Utils::isUnset($request->groupMembersCountStart)) { $query['groupMembersCountStart'] = $request->groupMembersCountStart; } if (!Utils::isUnset($request->groupName)) { $query['groupName'] = $request->groupName; } if (!Utils::isUnset($request->groupOwner)) { $query['groupOwner'] = $request->groupOwner; } if (!Utils::isUnset($request->lastActiveTimeEnd)) { $query['lastActiveTimeEnd'] = $request->lastActiveTimeEnd; } if (!Utils::isUnset($request->lastActiveTimeStart)) { $query['lastActiveTimeStart'] = $request->lastActiveTimeStart; } if (!Utils::isUnset($request->operatorUserId)) { $query['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->pageStart)) { $query['pageStart'] = $request->pageStart; } if (!Utils::isUnset($request->syncToDingpan)) { $query['syncToDingpan'] = $request->syncToDingpan; } if (!Utils::isUnset($request->uuid)) { $query['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), ]); $params = new Params([ 'action' => 'SearchOrgInnerGroupInfo', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/securities/orgGroupInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchOrgInnerGroupInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchOrgInnerGroupInfoRequest $request * * @return SearchOrgInnerGroupInfoResponse */ public function searchOrgInnerGroupInfo($request) { $runtime = new RuntimeOptions([]); $headers = new SearchOrgInnerGroupInfoHeaders([]); return $this->searchOrgInnerGroupInfoWithOptions($request, $headers, $runtime); } /** * @param SendAppDingRequest $request * @param SendAppDingHeaders $headers * @param RuntimeOptions $runtime * * @return SendAppDingResponse */ public function sendAppDingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } 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' => 'SendAppDing', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/appDings/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return SendAppDingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendAppDingRequest $request * * @return SendAppDingResponse */ public function sendAppDing($request) { $runtime = new RuntimeOptions([]); $headers = new SendAppDingHeaders([]); return $this->sendAppDingWithOptions($request, $headers, $runtime); } /** * @param SendInvitationRequest $request * @param SendInvitationHeaders $headers * @param RuntimeOptions $runtime * * @return SendInvitationResponse */ public function sendInvitationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } if (!Utils::isUnset($request->orgAlias)) { $body['orgAlias'] = $request->orgAlias; } if (!Utils::isUnset($request->partnerLabelId)) { $body['partnerLabelId'] = $request->partnerLabelId; } if (!Utils::isUnset($request->partnerNum)) { $body['partnerNum'] = $request->partnerNum; } if (!Utils::isUnset($request->phone)) { $body['phone'] = $request->phone; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendInvitation', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/partnerDepartments/invitations/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return SendInvitationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendInvitationRequest $request * * @return SendInvitationResponse */ public function sendInvitation($request) { $runtime = new RuntimeOptions([]); $headers = new SendInvitationHeaders([]); return $this->sendInvitationWithOptions($request, $headers, $runtime); } /** * @param SendPhoneDingRequest $request * @param SendPhoneDingHeaders $headers * @param RuntimeOptions $runtime * * @return SendPhoneDingResponse */ public function sendPhoneDingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } 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' => 'SendPhoneDing', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/phoneDings/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendPhoneDingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendPhoneDingRequest $request * * @return SendPhoneDingResponse */ public function sendPhoneDing($request) { $runtime = new RuntimeOptions([]); $headers = new SendPhoneDingHeaders([]); return $this->sendPhoneDingWithOptions($request, $headers, $runtime); } /** * @param SetDeptPartnerTypeAndNumRequest $request * @param SetDeptPartnerTypeAndNumHeaders $headers * @param RuntimeOptions $runtime * * @return SetDeptPartnerTypeAndNumResponse */ public function setDeptPartnerTypeAndNumWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } if (!Utils::isUnset($request->labelIds)) { $body['labelIds'] = $request->labelIds; } if (!Utils::isUnset($request->partnerNum)) { $body['partnerNum'] = $request->partnerNum; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SetDeptPartnerTypeAndNum', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/partnerDepartments', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return SetDeptPartnerTypeAndNumResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SetDeptPartnerTypeAndNumRequest $request * * @return SetDeptPartnerTypeAndNumResponse */ public function setDeptPartnerTypeAndNum($request) { $runtime = new RuntimeOptions([]); $headers = new SetDeptPartnerTypeAndNumHeaders([]); return $this->setDeptPartnerTypeAndNumWithOptions($request, $headers, $runtime); } /** * @param SpecialRuleBatchReceiverRequest $request * @param SpecialRuleBatchReceiverHeaders $headers * @param RuntimeOptions $runtime * * @return SpecialRuleBatchReceiverResponse */ public function specialRuleBatchReceiverWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->batchNo)) { $body['batchNo'] = $request->batchNo; } if (!Utils::isUnset($request->cardOptions)) { $body['cardOptions'] = $request->cardOptions; } if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->ruleCode)) { $body['ruleCode'] = $request->ruleCode; } if (!Utils::isUnset($request->secretKey)) { $body['secretKey'] = $request->secretKey; } if (!Utils::isUnset($request->specialStrategy)) { $body['specialStrategy'] = $request->specialStrategy; } if (!Utils::isUnset($request->taskBatchNo)) { $body['taskBatchNo'] = $request->taskBatchNo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SpecialRuleBatchReceiver', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/dmc/rules/specialMessages/batchSend', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SpecialRuleBatchReceiverResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SpecialRuleBatchReceiverRequest $request * * @return SpecialRuleBatchReceiverResponse */ public function specialRuleBatchReceiver($request) { $runtime = new RuntimeOptions([]); $headers = new SpecialRuleBatchReceiverHeaders([]); return $this->specialRuleBatchReceiverWithOptions($request, $headers, $runtime); } /** * @param UpdateCategoryNameRequest $request * @param UpdateCategoryNameHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateCategoryNameResponse */ public function updateCategoryNameWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->currentCategoryName)) { $body['currentCategoryName'] = $request->currentCategoryName; } if (!Utils::isUnset($request->targetCategoryName)) { $body['targetCategoryName'] = $request->targetCategoryName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateCategoryName', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/messageCategories/categories/names', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateCategoryNameResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateCategoryNameRequest $request * * @return UpdateCategoryNameResponse */ public function updateCategoryName($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateCategoryNameHeaders([]); return $this->updateCategoryNameWithOptions($request, $headers, $runtime); } /** * @param UpdateFileStatusRequest $request * @param UpdateFileStatusHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateFileStatusResponse */ public function updateFileStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->requestIds)) { $body['requestIds'] = $request->requestIds; } 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' => 'UpdateFileStatus', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/sending/files/status', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateFileStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateFileStatusRequest $request * * @return UpdateFileStatusResponse */ public function updateFileStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateFileStatusHeaders([]); return $this->updateFileStatusWithOptions($request, $headers, $runtime); } /** * @param UpdateMiniAppVersionStatusRequest $request * @param UpdateMiniAppVersionStatusHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateMiniAppVersionStatusResponse */ public function updateMiniAppVersionStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->version)) { $body['version'] = $request->version; } if (!Utils::isUnset($request->versionType)) { $body['versionType'] = $request->versionType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateMiniAppVersionStatus', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/miniApps/versions/versionStatus', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateMiniAppVersionStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateMiniAppVersionStatusRequest $request * * @return UpdateMiniAppVersionStatusResponse */ public function updateMiniAppVersionStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateMiniAppVersionStatusHeaders([]); return $this->updateMiniAppVersionStatusWithOptions($request, $headers, $runtime); } /** * @param UpdatePartnerVisibilityRequest $request * @param UpdatePartnerVisibilityHeaders $headers * @param RuntimeOptions $runtime * * @return UpdatePartnerVisibilityResponse */ public function updatePartnerVisibilityWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptIds)) { $body['deptIds'] = $request->deptIds; } if (!Utils::isUnset($request->labelId)) { $body['labelId'] = $request->labelId; } 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' => 'UpdatePartnerVisibility', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/partnerDepartments/visibilityPartners', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'boolean', ]); return UpdatePartnerVisibilityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdatePartnerVisibilityRequest $request * * @return UpdatePartnerVisibilityResponse */ public function updatePartnerVisibility($request) { $runtime = new RuntimeOptions([]); $headers = new UpdatePartnerVisibilityHeaders([]); return $this->updatePartnerVisibilityWithOptions($request, $headers, $runtime); } /** * @param UpdateRoleVisibilityRequest $request * @param UpdateRoleVisibilityHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateRoleVisibilityResponse */ public function updateRoleVisibilityWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptIds)) { $body['deptIds'] = $request->deptIds; } if (!Utils::isUnset($request->labelId)) { $body['labelId'] = $request->labelId; } 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' => 'UpdateRoleVisibility', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/partnerDepartments/visibilityRoles', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'boolean', ]); return UpdateRoleVisibilityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateRoleVisibilityRequest $request * * @return UpdateRoleVisibilityResponse */ public function updateRoleVisibility($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateRoleVisibilityHeaders([]); return $this->updateRoleVisibilityWithOptions($request, $headers, $runtime); } /** * @param UpdateStorageModeRequest $request * @param UpdateStorageModeHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateStorageModeResponse */ public function updateStorageModeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->fileStorageMode)) { $body['fileStorageMode'] = $request->fileStorageMode; } if (!Utils::isUnset($request->targetCorpId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateStorageMode', 'version' => 'exclusive_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/exclusive/fileStorages/acrossClouds/storageModes', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateStorageModeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateStorageModeRequest $request * * @return UpdateStorageModeResponse */ public function updateStorageMode($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateStorageModeHeaders([]); return $this->updateStorageModeWithOptions($request, $headers, $runtime); } } src/exclusive_1_0/Models/AddOrgHeaders.php000064400000002315146412132660014377 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddOrgHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/AddOrgRequest.php000064400000002211146412132660014447 0ustar00 'mobileNum', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileNum) { $res['mobileNum'] = $this->mobileNum; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return AddOrgRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileNum'])) { $model->mobileNum = $map['mobileNum']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/exclusive_1_0/Models/AddOrgResponse.php000064400000002667146412132660014634 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddOrgResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddOrgResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/AddOrgResponseBody.php000064400000001554146412132660015444 0ustar00 'corpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } return $res; } /** * @param array $map * * @return AddOrgResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } return $model; } } src/exclusive_1_0/Models/ApproveProcessCallbackHeaders.php000064400000002355146412132660017633 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ApproveProcessCallbackHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/ApproveProcessCallbackRequest.php000064400000004115146412132660017704 0ustar00 'accessKeyId', 'accessKeySecret' => 'accessKeySecret', 'request' => 'request', 'targetCorpId' => 'targetCorpId', ]; 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->request) { $res['request'] = null !== $this->request ? $this->request->toMap() : null; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } return $res; } /** * @param array $map * * @return ApproveProcessCallbackRequest */ 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['request'])) { $model->request = request::fromMap($map['request']); } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } return $model; } } src/exclusive_1_0/Models/ApproveProcessCallbackRequest/request.php000064400000007001146412132660021371 0ustar00 'approveResult', 'approveType' => 'approveType', 'approvers' => 'approvers', 'createTime' => 'createTime', 'eventType' => 'eventType', 'finishTime' => 'finishTime', 'params' => 'params', 'processInstanceId' => 'processInstanceId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approveResult) { $res['approveResult'] = $this->approveResult; } if (null !== $this->approveType) { $res['approveType'] = $this->approveType; } if (null !== $this->approvers) { $res['approvers'] = $this->approvers; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->eventType) { $res['eventType'] = $this->eventType; } if (null !== $this->finishTime) { $res['finishTime'] = $this->finishTime; } if (null !== $this->params) { $res['params'] = $this->params; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return request */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approveResult'])) { $model->approveResult = $map['approveResult']; } if (isset($map['approveType'])) { $model->approveType = $map['approveType']; } if (isset($map['approvers'])) { if (!empty($map['approvers'])) { $model->approvers = $map['approvers']; } } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['eventType'])) { $model->eventType = $map['eventType']; } if (isset($map['finishTime'])) { $model->finishTime = $map['finishTime']; } if (isset($map['params'])) { $model->params = $map['params']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/exclusive_1_0/Models/ApproveProcessCallbackResponse.php000064400000002767146412132660020065 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ApproveProcessCallbackResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ApproveProcessCallbackResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/ApproveProcessCallbackResponseBody.php000064400000001531146412132660020667 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ApproveProcessCallbackResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/exclusive_1_0/Models/BanOrOpenGroupWordsHeaders.php000064400000002347146412132660017123 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BanOrOpenGroupWordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/BanOrOpenGroupWordsRequest.php000064400000002351146412132660017173 0ustar00 'banWordsType', 'openConverationId' => 'openConverationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->banWordsType) { $res['banWordsType'] = $this->banWordsType; } if (null !== $this->openConverationId) { $res['openConverationId'] = $this->openConverationId; } return $res; } /** * @param array $map * * @return BanOrOpenGroupWordsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['banWordsType'])) { $model->banWordsType = $map['banWordsType']; } if (isset($map['openConverationId'])) { $model->openConverationId = $map['openConverationId']; } return $model; } } src/exclusive_1_0/Models/BanOrOpenGroupWordsResponse.php000064400000002753146412132660017347 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BanOrOpenGroupWordsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BanOrOpenGroupWordsResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/BanOrOpenGroupWordsResponseBody.php000064400000002167146412132660020164 0ustar00 '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 BanOrOpenGroupWordsResponseBody */ 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/exclusive_1_0/Models/CreateCategoryAndBindingGroupsHeaders.php000064400000002375146412132660021264 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateCategoryAndBindingGroupsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/CreateCategoryAndBindingGroupsRequest.php000064400000002355146412132660021337 0ustar00 'categoryName', 'groupIds' => 'groupIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->categoryName) { $res['categoryName'] = $this->categoryName; } if (null !== $this->groupIds) { $res['groupIds'] = $this->groupIds; } return $res; } /** * @param array $map * * @return CreateCategoryAndBindingGroupsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['categoryName'])) { $model->categoryName = $map['categoryName']; } if (isset($map['groupIds'])) { if (!empty($map['groupIds'])) { $model->groupIds = $map['groupIds']; } } return $model; } } src/exclusive_1_0/Models/CreateCategoryAndBindingGroupsResponse.php000064400000003027146412132660021502 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateCategoryAndBindingGroupsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateCategoryAndBindingGroupsResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/CreateCategoryAndBindingGroupsResponseBody.php000064400000001522146412132660022316 0ustar00 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return CreateCategoryAndBindingGroupsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/exclusive_1_0/Models/CreateMessageCategoryHeaders.php000064400000002353146412132660017447 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateMessageCategoryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/CreateMessageCategoryRequest.php000064400000002336146412132660017525 0ustar00 'categoryName', 'groupIds' => 'groupIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->categoryName) { $res['categoryName'] = $this->categoryName; } if (null !== $this->groupIds) { $res['groupIds'] = $this->groupIds; } return $res; } /** * @param array $map * * @return CreateMessageCategoryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['categoryName'])) { $model->categoryName = $map['categoryName']; } if (isset($map['groupIds'])) { if (!empty($map['groupIds'])) { $model->groupIds = $map['groupIds']; } } return $model; } } src/exclusive_1_0/Models/CreateMessageCategoryResponse.php000064400000002763146412132660017677 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateMessageCategoryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateMessageCategoryResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/CreateMessageCategoryResponseBody.php000064400000001500146412132660020501 0ustar00 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return CreateMessageCategoryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/exclusive_1_0/Models/CreateRuleHeaders.php000064400000002325146412132660015273 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateRuleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/CreateRuleRequest.php000064400000001752146412132660015353 0ustar00 'customPlan', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customPlan) { $res['customPlan'] = null !== $this->customPlan ? $this->customPlan->toMap() : null; } return $res; } /** * @param array $map * * @return CreateRuleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customPlan'])) { $model->customPlan = customPlan::fromMap($map['customPlan']); } return $model; } } src/exclusive_1_0/Models/CreateRuleRequest/customPlan.php000064400000004726146412132660017504 0ustar00 'currentCategoryList', 'deptIds' => 'deptIds', 'planName' => 'planName', 'unSelectCategoryList' => 'unSelectCategoryList', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->currentCategoryList) { $res['currentCategoryList'] = $this->currentCategoryList; } if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->planName) { $res['planName'] = $this->planName; } if (null !== $this->unSelectCategoryList) { $res['unSelectCategoryList'] = $this->unSelectCategoryList; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return customPlan */ public static function fromMap($map = []) { $model = new self(); if (isset($map['currentCategoryList'])) { if (!empty($map['currentCategoryList'])) { $model->currentCategoryList = $map['currentCategoryList']; } } if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['planName'])) { $model->planName = $map['planName']; } if (isset($map['unSelectCategoryList'])) { if (!empty($map['unSelectCategoryList'])) { $model->unSelectCategoryList = $map['unSelectCategoryList']; } } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/exclusive_1_0/Models/CreateRuleResponse.php000064400000002707146412132660015522 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateRuleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateRuleResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/CreateRuleResponseBody.php000064400000001452146412132660016334 0ustar00 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return CreateRuleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/exclusive_1_0/Models/CreateTrustedDeviceBatchHeaders.php000064400000002361146412132660020100 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateTrustedDeviceBatchHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/CreateTrustedDeviceBatchRequest.php000064400000003112146412132660020150 0ustar00 'macAddressList', 'platform' => 'platform', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->macAddressList) { $res['macAddressList'] = $this->macAddressList; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CreateTrustedDeviceBatchRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['macAddressList'])) { if (!empty($map['macAddressList'])) { $model->macAddressList = $map['macAddressList']; } } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/exclusive_1_0/Models/CreateTrustedDeviceBatchResponse.php000064400000002777146412132660020336 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTrustedDeviceBatchResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateTrustedDeviceBatchResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/CreateTrustedDeviceBatchResponseBody.php000064400000001556146412132660021146 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CreateTrustedDeviceBatchResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/exclusive_1_0/Models/CreateTrustedDeviceHeaders.php000064400000002347146412132660017142 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateTrustedDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/CreateTrustedDeviceRequest.php000064400000004140146412132660017210 0ustar00 'did', 'macAddress' => 'macAddress', 'platform' => 'platform', 'status' => 'status', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->did) { $res['did'] = $this->did; } if (null !== $this->macAddress) { $res['macAddress'] = $this->macAddress; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CreateTrustedDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['did'])) { $model->did = $map['did']; } if (isset($map['macAddress'])) { $model->macAddress = $map['macAddress']; } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/exclusive_1_0/Models/CreateTrustedDeviceResponse.php000064400000002753146412132660017366 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTrustedDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateTrustedDeviceResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/CreateTrustedDeviceResponseBody.php000064400000001555146412132660020203 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateTrustedDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/exclusive_1_0/Models/DeleteAcrossCloudStroageConfigsHeaders.php000064400000002377146412132660021451 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteAcrossCloudStroageConfigsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/DeleteAcrossCloudStroageConfigsResponse.php000064400000003033146412132660021662 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteAcrossCloudStroageConfigsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteAcrossCloudStroageConfigsResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/DeleteAcrossCloudStroageConfigsResponseBody.php000064400000001574146412132660022510 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteAcrossCloudStroageConfigsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/exclusive_1_0/Models/DeleteCommentHeaders.php000064400000002333146412132660015764 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteCommentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/DeleteCommentResponse.php000064400000002563146412132660016214 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function 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 DeleteCommentResponse */ public static function fromMap($map = []) { $model = 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/exclusive_1_0/Models/DeleteTrustedDeviceHeaders.php000064400000002347146412132660017141 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteTrustedDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/DeleteTrustedDeviceRequest.php000064400000002777146412132660017225 0ustar00 'kickOff', 'macAddress' => 'macAddress', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kickOff) { $res['kickOff'] = $this->kickOff; } if (null !== $this->macAddress) { $res['macAddress'] = $this->macAddress; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DeleteTrustedDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kickOff'])) { $model->kickOff = $map['kickOff']; } if (isset($map['macAddress'])) { $model->macAddress = $map['macAddress']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/exclusive_1_0/Models/DeleteTrustedDeviceResponse.php000064400000002753146412132660017365 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteTrustedDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteTrustedDeviceResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/DeleteTrustedDeviceResponseBody.php000064400000001555146412132660020202 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteTrustedDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/exclusive_1_0/Models/DistributePartnerAppHeaders.php000064400000002351146412132660017352 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DistributePartnerAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/DistributePartnerAppRequest.php000064400000003157146412132660017434 0ustar00 'appId', 'deptId' => 'deptId', 'subCorpId' => 'subCorpId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return DistributePartnerAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/exclusive_1_0/Models/DistributePartnerAppResponse.php000064400000002757146412132660017607 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DistributePartnerAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DistributePartnerAppResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/DistributePartnerAppResponseBody.php000064400000001547146412132660020421 0ustar00 'inviteUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->inviteUrl) { $res['inviteUrl'] = $this->inviteUrl; } return $res; } /** * @param array $map * * @return DistributePartnerAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['inviteUrl'])) { $model->inviteUrl = $map['inviteUrl']; } return $model; } } src/exclusive_1_0/Models/ExclusiveCreateDingPortalHeaders.php000064400000002363146412132660020321 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ExclusiveCreateDingPortalHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/ExclusiveCreateDingPortalRequest.php000064400000004105146412132660020372 0ustar00 'dingPortalName', 'targetCorpId' => 'targetCorpId', 'templateAppUuid' => 'templateAppUuid', 'templateCorpId' => 'templateCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingPortalName) { $res['dingPortalName'] = $this->dingPortalName; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } if (null !== $this->templateAppUuid) { $res['templateAppUuid'] = $this->templateAppUuid; } if (null !== $this->templateCorpId) { $res['templateCorpId'] = $this->templateCorpId; } return $res; } /** * @param array $map * * @return ExclusiveCreateDingPortalRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingPortalName'])) { $model->dingPortalName = $map['dingPortalName']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } if (isset($map['templateAppUuid'])) { $model->templateAppUuid = $map['templateAppUuid']; } if (isset($map['templateCorpId'])) { $model->templateCorpId = $map['templateCorpId']; } return $model; } } src/exclusive_1_0/Models/ExclusiveCreateDingPortalResponse.php000064400000003003146412132660020534 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ExclusiveCreateDingPortalResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ExclusiveCreateDingPortalResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/ExclusiveCreateDingPortalResponseBody.php000064400000001573146412132660021364 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ExclusiveCreateDingPortalResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/exclusive_1_0/Models/FileStorageActiveStorageHeaders.php000064400000002361146412132660020125 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return FileStorageActiveStorageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/FileStorageActiveStorageRequest.php000064400000003726146412132660020210 0ustar00 'accessKeyId', 'accessKeySecret' => 'accessKeySecret', 'oss' => 'oss', 'targetCorpId' => 'targetCorpId', ]; 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->oss) { $res['oss'] = $this->oss; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } return $res; } /** * @param array $map * * @return FileStorageActiveStorageRequest */ 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['oss'])) { $model->oss = $map['oss']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } return $model; } } src/exclusive_1_0/Models/FileStorageActiveStorageResponse.php000064400000002777146412132660020363 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return FileStorageActiveStorageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = FileStorageActiveStorageResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/FileStorageActiveStorageResponseBody.php000064400000003631146412132660021167 0ustar00 'createDate', 'fileStorageOpenStatus' => 'fileStorageOpenStatus', 'storageStatus' => 'storageStatus', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createDate) { $res['createDate'] = $this->createDate; } if (null !== $this->fileStorageOpenStatus) { $res['fileStorageOpenStatus'] = $this->fileStorageOpenStatus; } if (null !== $this->storageStatus) { $res['storageStatus'] = $this->storageStatus; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return FileStorageActiveStorageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createDate'])) { $model->createDate = $map['createDate']; } if (isset($map['fileStorageOpenStatus'])) { $model->fileStorageOpenStatus = $map['fileStorageOpenStatus']; } if (isset($map['storageStatus'])) { $model->storageStatus = $map['storageStatus']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/exclusive_1_0/Models/FileStorageCheckConnectionHeaders.php000064400000002365146412132660020426 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return FileStorageCheckConnectionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/FileStorageCheckConnectionRequest.php000064400000003732146412132660020502 0ustar00 'accessKeyId', 'accessKeySecret' => 'accessKeySecret', 'oss' => 'oss', 'targetCorpId' => 'targetCorpId', ]; 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->oss) { $res['oss'] = $this->oss; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } return $res; } /** * @param array $map * * @return FileStorageCheckConnectionRequest */ 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['oss'])) { $model->oss = $map['oss']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } return $model; } } src/exclusive_1_0/Models/FileStorageCheckConnectionResponse.php000064400000003007146412132660020643 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return FileStorageCheckConnectionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = FileStorageCheckConnectionResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/FileStorageCheckConnectionResponseBody.php000064400000003051146412132660021460 0ustar00 'accessKeyId', 'checkState' => 'checkState', 'oss' => 'oss', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKeyId) { $res['accessKeyId'] = $this->accessKeyId; } if (null !== $this->checkState) { $res['checkState'] = $this->checkState; } if (null !== $this->oss) { $res['oss'] = $this->oss; } return $res; } /** * @param array $map * * @return FileStorageCheckConnectionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKeyId'])) { $model->accessKeyId = $map['accessKeyId']; } if (isset($map['checkState'])) { $model->checkState = $map['checkState']; } if (isset($map['oss'])) { $model->oss = $map['oss']; } return $model; } } src/exclusive_1_0/Models/FileStorageGetQuotaDataHeaders.php000064400000002357146412132660017715 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return FileStorageGetQuotaDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/FileStorageGetQuotaDataRequest.php000064400000003535146412132660017771 0ustar00 'endTime', 'startTime' => 'startTime', 'targetCorpId' => 'targetCorpId', 'type' => 'type', ]; 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->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return FileStorageGetQuotaDataRequest */ 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['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/exclusive_1_0/Models/FileStorageGetQuotaDataResponse.php000064400000002773146412132660020142 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return FileStorageGetQuotaDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = FileStorageGetQuotaDataResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/FileStorageGetQuotaDataResponseBody.php000064400000003064146412132660020752 0ustar00 'quotaModelList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->quotaModelList) { $res['quotaModelList'] = []; if (null !== $this->quotaModelList && \is_array($this->quotaModelList)) { $n = 0; foreach ($this->quotaModelList as $item) { $res['quotaModelList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return FileStorageGetQuotaDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['quotaModelList'])) { if (!empty($map['quotaModelList'])) { $model->quotaModelList = []; $n = 0; foreach ($map['quotaModelList'] as $item) { $model->quotaModelList[$n++] = null !== $item ? quotaModelList::fromMap($item) : $item; } } } return $model; } } src/exclusive_1_0/Models/FileStorageGetQuotaDataResponseBody/quotaModelList.php000064400000002401146412132660023712 0ustar00 'statisticTime', 'usedStorage' => 'usedStorage', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statisticTime) { $res['statisticTime'] = $this->statisticTime; } if (null !== $this->usedStorage) { $res['usedStorage'] = $this->usedStorage; } return $res; } /** * @param array $map * * @return quotaModelList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statisticTime'])) { $model->statisticTime = $map['statisticTime']; } if (isset($map['usedStorage'])) { $model->usedStorage = $map['usedStorage']; } return $model; } } src/exclusive_1_0/Models/FileStorageGetStorageStateHeaders.php000064400000002365146412132660020436 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return FileStorageGetStorageStateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/FileStorageGetStorageStateRequest.php000064400000001700146412132660020503 0ustar00 'targetCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } return $res; } /** * @param array $map * * @return FileStorageGetStorageStateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } return $model; } } src/exclusive_1_0/Models/FileStorageGetStorageStateResponse.php000064400000003007146412132660020653 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return FileStorageGetStorageStateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = FileStorageGetStorageStateResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/FileStorageGetStorageStateResponseBody.php000064400000004747146412132660021505 0ustar00 'accessKeyId', 'createDate' => 'createDate', 'fileStorageOpenStatus' => 'fileStorageOpenStatus', 'oss' => 'oss', 'storageStatus' => 'storageStatus', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKeyId) { $res['accessKeyId'] = $this->accessKeyId; } if (null !== $this->createDate) { $res['createDate'] = $this->createDate; } if (null !== $this->fileStorageOpenStatus) { $res['fileStorageOpenStatus'] = $this->fileStorageOpenStatus; } if (null !== $this->oss) { $res['oss'] = $this->oss; } if (null !== $this->storageStatus) { $res['storageStatus'] = $this->storageStatus; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return FileStorageGetStorageStateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKeyId'])) { $model->accessKeyId = $map['accessKeyId']; } if (isset($map['createDate'])) { $model->createDate = $map['createDate']; } if (isset($map['fileStorageOpenStatus'])) { $model->fileStorageOpenStatus = $map['fileStorageOpenStatus']; } if (isset($map['oss'])) { $model->oss = $map['oss']; } if (isset($map['storageStatus'])) { $model->storageStatus = $map['storageStatus']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/exclusive_1_0/Models/FileStorageUpdateStorageHeaders.php000064400000002361146412132660020134 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return FileStorageUpdateStorageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/FileStorageUpdateStorageRequest.php000064400000003232146412132660020207 0ustar00 'accessKeyId', 'accessKeySecret' => 'accessKeySecret', 'targetCorpId' => 'targetCorpId', ]; 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->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } return $res; } /** * @param array $map * * @return FileStorageUpdateStorageRequest */ 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['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } return $model; } } src/exclusive_1_0/Models/FileStorageUpdateStorageResponse.php000064400000002777146412132660020372 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return FileStorageUpdateStorageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = FileStorageUpdateStorageResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/FileStorageUpdateStorageResponseBody.php000064400000002334146412132660021175 0ustar00 'accessKeyId', 'oss' => 'oss', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKeyId) { $res['accessKeyId'] = $this->accessKeyId; } if (null !== $this->oss) { $res['oss'] = $this->oss; } return $res; } /** * @param array $map * * @return FileStorageUpdateStorageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKeyId'])) { $model->accessKeyId = $map['accessKeyId']; } if (isset($map['oss'])) { $model->oss = $map['oss']; } return $model; } } src/exclusive_1_0/Models/GenerateDarkWaterMarkHeaders.php000064400000002353146412132660017413 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GenerateDarkWaterMarkHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GenerateDarkWaterMarkRequest.php000064400000001652146412132660017471 0ustar00 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return GenerateDarkWaterMarkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/exclusive_1_0/Models/GenerateDarkWaterMarkResponse.php000064400000002763146412132660017643 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GenerateDarkWaterMarkResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GenerateDarkWaterMarkResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GenerateDarkWaterMarkResponseBody.php000064400000003243146412132660020453 0ustar00 'darkWatermarkVOList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->darkWatermarkVOList) { $res['darkWatermarkVOList'] = []; if (null !== $this->darkWatermarkVOList && \is_array($this->darkWatermarkVOList)) { $n = 0; foreach ($this->darkWatermarkVOList as $item) { $res['darkWatermarkVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GenerateDarkWaterMarkResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['darkWatermarkVOList'])) { if (!empty($map['darkWatermarkVOList'])) { $model->darkWatermarkVOList = []; $n = 0; foreach ($map['darkWatermarkVOList'] as $item) { $model->darkWatermarkVOList[$n++] = null !== $item ? darkWatermarkVOList::fromMap($item) : $item; } } } return $model; } } src/exclusive_1_0/Models/GenerateDarkWaterMarkResponseBody/darkWatermarkVOList.php000064400000002557146412132660024362 0ustar00 'darkWatermark', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->darkWatermark) { $res['darkWatermark'] = $this->darkWatermark; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return darkWatermarkVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['darkWatermark'])) { $model->darkWatermark = $map['darkWatermark']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/exclusive_1_0/Models/GetAccountTransferListHeaders.php000064400000002355146412132660017640 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAccountTransferListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetAccountTransferListRequest.php000064400000002741146412132660017714 0ustar00 'pageNumber', 'pageSize' => 'pageSize', 'status' => 'status', ]; 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->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return GetAccountTransferListRequest */ 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['status'])) { $model->status = $map['status']; } return $model; } } src/exclusive_1_0/Models/GetAccountTransferListResponse.php000064400000002767146412132660020072 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAccountTransferListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAccountTransferListResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetAccountTransferListResponseBody.php000064400000003422146412132660020675 0ustar00 'itemList', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->itemList) { $res['itemList'] = []; if (null !== $this->itemList && \is_array($this->itemList)) { $n = 0; foreach ($this->itemList as $item) { $res['itemList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return GetAccountTransferListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['itemList'])) { if (!empty($map['itemList'])) { $model->itemList = []; $n = 0; foreach ($map['itemList'] as $item) { $model->itemList[$n++] = null !== $item ? itemList::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/exclusive_1_0/Models/GetAccountTransferListResponseBody/itemList.php000064400000002673146412132660022476 0ustar00 'deptName', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return itemList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/exclusive_1_0/Models/GetActiveUserSummaryHeaders.php000064400000002351146412132660017327 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetActiveUserSummaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetActiveUserSummaryResponse.php000064400000002757146412132660017564 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetActiveUserSummaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetActiveUserSummaryResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetActiveUserSummaryResponseBody.php000064400000001623146412132660020371 0ustar00 'actUsrCnt1m', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actUsrCnt1m) { $res['actUsrCnt1m'] = $this->actUsrCnt1m; } return $res; } /** * @param array $map * * @return GetActiveUserSummaryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actUsrCnt1m'])) { $model->actUsrCnt1m = $map['actUsrCnt1m']; } return $model; } } src/exclusive_1_0/Models/GetAgentIdByRelatedAppIdHeaders.php000064400000002361146412132660017725 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAgentIdByRelatedAppIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetAgentIdByRelatedAppIdRequest.php000064400000002322146412132660017777 0ustar00 'appId', 'targetCorpId' => 'targetCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } return $res; } /** * @param array $map * * @return GetAgentIdByRelatedAppIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } return $model; } } src/exclusive_1_0/Models/GetAgentIdByRelatedAppIdResponse.php000064400000002777146412132660020163 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAgentIdByRelatedAppIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAgentIdByRelatedAppIdResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetAgentIdByRelatedAppIdResponseBody.php000064400000001571146412132660020770 0ustar00 'agentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } return $res; } /** * @param array $map * * @return GetAgentIdByRelatedAppIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } return $model; } } src/exclusive_1_0/Models/GetAllLabelableDeptsHeaders.php000064400000002351146412132660017173 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAllLabelableDeptsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetAllLabelableDeptsResponse.php000064400000002757146412132660017430 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAllLabelableDeptsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAllLabelableDeptsResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetAllLabelableDeptsResponseBody.php000064400000002567146412132660020245 0ustar00 'data', ]; 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; } } } return $res; } /** * @param array $map * * @return GetAllLabelableDeptsResponseBody */ 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; } } } return $model; } } src/exclusive_1_0/Models/GetAllLabelableDeptsResponseBody/data.php000064400000012237146412132660021151 0ustar00 'deptId', 'deptName' => 'deptName', 'memberCount' => 'memberCount', 'partnerLabelVOLevel1' => 'partnerLabelVOLevel1', 'partnerLabelVOLevel2' => 'partnerLabelVOLevel2', 'partnerLabelVOLevel3' => 'partnerLabelVOLevel3', 'partnerLabelVOLevel4' => 'partnerLabelVOLevel4', 'partnerLabelVOLevel5' => 'partnerLabelVOLevel5', 'partnerNum' => 'partnerNum', 'superDeptId' => 'superDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->memberCount) { $res['memberCount'] = $this->memberCount; } if (null !== $this->partnerLabelVOLevel1) { $res['partnerLabelVOLevel1'] = null !== $this->partnerLabelVOLevel1 ? $this->partnerLabelVOLevel1->toMap() : null; } if (null !== $this->partnerLabelVOLevel2) { $res['partnerLabelVOLevel2'] = null !== $this->partnerLabelVOLevel2 ? $this->partnerLabelVOLevel2->toMap() : null; } if (null !== $this->partnerLabelVOLevel3) { $res['partnerLabelVOLevel3'] = null !== $this->partnerLabelVOLevel3 ? $this->partnerLabelVOLevel3->toMap() : null; } if (null !== $this->partnerLabelVOLevel4) { $res['partnerLabelVOLevel4'] = null !== $this->partnerLabelVOLevel4 ? $this->partnerLabelVOLevel4->toMap() : null; } if (null !== $this->partnerLabelVOLevel5) { $res['partnerLabelVOLevel5'] = null !== $this->partnerLabelVOLevel5 ? $this->partnerLabelVOLevel5->toMap() : null; } if (null !== $this->partnerNum) { $res['partnerNum'] = $this->partnerNum; } if (null !== $this->superDeptId) { $res['superDeptId'] = $this->superDeptId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['memberCount'])) { $model->memberCount = $map['memberCount']; } if (isset($map['partnerLabelVOLevel1'])) { $model->partnerLabelVOLevel1 = partnerLabelVOLevel1::fromMap($map['partnerLabelVOLevel1']); } if (isset($map['partnerLabelVOLevel2'])) { $model->partnerLabelVOLevel2 = partnerLabelVOLevel2::fromMap($map['partnerLabelVOLevel2']); } if (isset($map['partnerLabelVOLevel3'])) { $model->partnerLabelVOLevel3 = partnerLabelVOLevel3::fromMap($map['partnerLabelVOLevel3']); } if (isset($map['partnerLabelVOLevel4'])) { $model->partnerLabelVOLevel4 = partnerLabelVOLevel4::fromMap($map['partnerLabelVOLevel4']); } if (isset($map['partnerLabelVOLevel5'])) { $model->partnerLabelVOLevel5 = partnerLabelVOLevel5::fromMap($map['partnerLabelVOLevel5']); } if (isset($map['partnerNum'])) { $model->partnerNum = $map['partnerNum']; } if (isset($map['superDeptId'])) { $model->superDeptId = $map['superDeptId']; } return $model; } } src/exclusive_1_0/Models/GetAllLabelableDeptsResponseBody/data/partnerLabelVOLevel1.php000064400000003005146412132660025073 0ustar00 'labelId', 'labelName' => 'labelName', 'levelNum' => 'levelNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } if (null !== $this->labelName) { $res['labelName'] = $this->labelName; } if (null !== $this->levelNum) { $res['levelNum'] = $this->levelNum; } return $res; } /** * @param array $map * * @return partnerLabelVOLevel1 */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } if (isset($map['labelName'])) { $model->labelName = $map['labelName']; } if (isset($map['levelNum'])) { $model->levelNum = $map['levelNum']; } return $model; } } src/exclusive_1_0/Models/GetAllLabelableDeptsResponseBody/data/partnerLabelVOLevel2.php000064400000003005146412132660025074 0ustar00 'labelId', 'labelName' => 'labelName', 'levelNum' => 'levelNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } if (null !== $this->labelName) { $res['labelName'] = $this->labelName; } if (null !== $this->levelNum) { $res['levelNum'] = $this->levelNum; } return $res; } /** * @param array $map * * @return partnerLabelVOLevel2 */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } if (isset($map['labelName'])) { $model->labelName = $map['labelName']; } if (isset($map['levelNum'])) { $model->levelNum = $map['levelNum']; } return $model; } } src/exclusive_1_0/Models/GetAllLabelableDeptsResponseBody/data/partnerLabelVOLevel3.php000064400000003005146412132660025075 0ustar00 'labelId', 'labelName' => 'labelName', 'levelNum' => 'levelNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } if (null !== $this->labelName) { $res['labelName'] = $this->labelName; } if (null !== $this->levelNum) { $res['levelNum'] = $this->levelNum; } return $res; } /** * @param array $map * * @return partnerLabelVOLevel3 */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } if (isset($map['labelName'])) { $model->labelName = $map['labelName']; } if (isset($map['levelNum'])) { $model->levelNum = $map['levelNum']; } return $model; } } src/exclusive_1_0/Models/GetAllLabelableDeptsResponseBody/data/partnerLabelVOLevel4.php000064400000003005146412132660025076 0ustar00 'labelId', 'labelName' => 'labelName', 'levelNum' => 'levelNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } if (null !== $this->labelName) { $res['labelName'] = $this->labelName; } if (null !== $this->levelNum) { $res['levelNum'] = $this->levelNum; } return $res; } /** * @param array $map * * @return partnerLabelVOLevel4 */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } if (isset($map['labelName'])) { $model->labelName = $map['labelName']; } if (isset($map['levelNum'])) { $model->levelNum = $map['levelNum']; } return $model; } } src/exclusive_1_0/Models/GetAllLabelableDeptsResponseBody/data/partnerLabelVOLevel5.php000064400000003005146412132660025077 0ustar00 'labelId', 'labelName' => 'labelName', 'levelNum' => 'levelNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } if (null !== $this->labelName) { $res['labelName'] = $this->labelName; } if (null !== $this->levelNum) { $res['levelNum'] = $this->levelNum; } return $res; } /** * @param array $map * * @return partnerLabelVOLevel5 */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } if (isset($map['labelName'])) { $model->labelName = $map['labelName']; } if (isset($map['levelNum'])) { $model->levelNum = $map['levelNum']; } return $model; } } src/exclusive_1_0/Models/GetAppDispatchInfoHeaders.php000064400000002345146412132660016716 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAppDispatchInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetAppDispatchInfoRequest.php000064400000002266146412132660016775 0ustar00 '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 GetAppDispatchInfoRequest */ 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/exclusive_1_0/Models/GetAppDispatchInfoResponse.php000064400000002747146412132660017147 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAppDispatchInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAppDispatchInfoResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetAppDispatchInfoResponseBody.php000064400000007546146412132660017767 0ustar00 'android', 'iOS' => 'iOS', 'mac' => 'mac', 'windows' => 'windows', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->android) { $res['android'] = []; if (null !== $this->android && \is_array($this->android)) { $n = 0; foreach ($this->android as $item) { $res['android'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->iOS) { $res['iOS'] = []; if (null !== $this->iOS && \is_array($this->iOS)) { $n = 0; foreach ($this->iOS as $item) { $res['iOS'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->mac) { $res['mac'] = []; if (null !== $this->mac && \is_array($this->mac)) { $n = 0; foreach ($this->mac as $item) { $res['mac'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->windows) { $res['windows'] = []; if (null !== $this->windows && \is_array($this->windows)) { $n = 0; foreach ($this->windows as $item) { $res['windows'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetAppDispatchInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['android'])) { if (!empty($map['android'])) { $model->android = []; $n = 0; foreach ($map['android'] as $item) { $model->android[$n++] = null !== $item ? android::fromMap($item) : $item; } } } if (isset($map['iOS'])) { if (!empty($map['iOS'])) { $model->iOS = []; $n = 0; foreach ($map['iOS'] as $item) { $model->iOS[$n++] = null !== $item ? iOS::fromMap($item) : $item; } } } if (isset($map['mac'])) { if (!empty($map['mac'])) { $model->mac = []; $n = 0; foreach ($map['mac'] as $item) { $model->mac[$n++] = null !== $item ? mac::fromMap($item) : $item; } } } if (isset($map['windows'])) { if (!empty($map['windows'])) { $model->windows = []; $n = 0; foreach ($map['windows'] as $item) { $model->windows[$n++] = null !== $item ? windows::fromMap($item) : $item; } } } return $model; } } src/exclusive_1_0/Models/GetAppDispatchInfoResponseBody/android.php000064400000004510146412132660021373 0ustar00 'baseLineVersion', 'downloadUrl' => 'downloadUrl', 'inGray' => 'inGray', 'packTime' => 'packTime', 'platform' => 'platform', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->baseLineVersion) { $res['baseLineVersion'] = $this->baseLineVersion; } if (null !== $this->downloadUrl) { $res['downloadUrl'] = $this->downloadUrl; } if (null !== $this->inGray) { $res['inGray'] = $this->inGray; } if (null !== $this->packTime) { $res['packTime'] = $this->packTime; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return android */ public static function fromMap($map = []) { $model = new self(); if (isset($map['baseLineVersion'])) { $model->baseLineVersion = $map['baseLineVersion']; } if (isset($map['downloadUrl'])) { $model->downloadUrl = $map['downloadUrl']; } if (isset($map['inGray'])) { $model->inGray = $map['inGray']; } if (isset($map['packTime'])) { $model->packTime = $map['packTime']; } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/exclusive_1_0/Models/GetAppDispatchInfoResponseBody/iOS.php000064400000005314146412132660020450 0ustar00 'baseLineVersion', 'downloadUrl' => 'downloadUrl', 'ext' => 'ext', 'inGray' => 'inGray', 'packTime' => 'packTime', 'platform' => 'platform', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->baseLineVersion) { $res['baseLineVersion'] = $this->baseLineVersion; } if (null !== $this->downloadUrl) { $res['downloadUrl'] = $this->downloadUrl; } if (null !== $this->ext) { $res['ext'] = null !== $this->ext ? $this->ext->toMap() : null; } if (null !== $this->inGray) { $res['inGray'] = $this->inGray; } if (null !== $this->packTime) { $res['packTime'] = $this->packTime; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return iOS */ public static function fromMap($map = []) { $model = new self(); if (isset($map['baseLineVersion'])) { $model->baseLineVersion = $map['baseLineVersion']; } if (isset($map['downloadUrl'])) { $model->downloadUrl = $map['downloadUrl']; } if (isset($map['ext'])) { $model->ext = ext::fromMap($map['ext']); } if (isset($map['inGray'])) { $model->inGray = $map['inGray']; } if (isset($map['packTime'])) { $model->packTime = $map['packTime']; } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/exclusive_1_0/Models/GetAppDispatchInfoResponseBody/iOS/ext.php000064400000001454146412132660021251 0ustar00 'plist', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->plist) { $res['plist'] = $this->plist; } return $res; } /** * @param array $map * * @return ext */ public static function fromMap($map = []) { $model = new self(); if (isset($map['plist'])) { $model->plist = $map['plist']; } return $model; } } src/exclusive_1_0/Models/GetAppDispatchInfoResponseBody/mac.php000064400000004500146412132660020512 0ustar00 'baseLineVersion', 'downloadUrl' => 'downloadUrl', 'inGray' => 'inGray', 'packTime' => 'packTime', 'platform' => 'platform', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->baseLineVersion) { $res['baseLineVersion'] = $this->baseLineVersion; } if (null !== $this->downloadUrl) { $res['downloadUrl'] = $this->downloadUrl; } if (null !== $this->inGray) { $res['inGray'] = $this->inGray; } if (null !== $this->packTime) { $res['packTime'] = $this->packTime; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return mac */ public static function fromMap($map = []) { $model = new self(); if (isset($map['baseLineVersion'])) { $model->baseLineVersion = $map['baseLineVersion']; } if (isset($map['downloadUrl'])) { $model->downloadUrl = $map['downloadUrl']; } if (isset($map['inGray'])) { $model->inGray = $map['inGray']; } if (isset($map['packTime'])) { $model->packTime = $map['packTime']; } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/exclusive_1_0/Models/GetAppDispatchInfoResponseBody/windows.php000064400000004510146412132660021445 0ustar00 'baseLineVersion', 'downloadUrl' => 'downloadUrl', 'inGray' => 'inGray', 'packTime' => 'packTime', 'platform' => 'platform', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->baseLineVersion) { $res['baseLineVersion'] = $this->baseLineVersion; } if (null !== $this->downloadUrl) { $res['downloadUrl'] = $this->downloadUrl; } if (null !== $this->inGray) { $res['inGray'] = $this->inGray; } if (null !== $this->packTime) { $res['packTime'] = $this->packTime; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return windows */ public static function fromMap($map = []) { $model = new self(); if (isset($map['baseLineVersion'])) { $model->baseLineVersion = $map['baseLineVersion']; } if (isset($map['downloadUrl'])) { $model->downloadUrl = $map['downloadUrl']; } if (isset($map['inGray'])) { $model->inGray = $map['inGray']; } if (isset($map['packTime'])) { $model->packTime = $map['packTime']; } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/exclusive_1_0/Models/GetCalenderSummaryHeaders.php000064400000002345146412132660016775 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCalenderSummaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetCalenderSummaryResponse.php000064400000002747146412132660017226 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCalenderSummaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCalenderSummaryResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetCalenderSummaryResponseBody.php000064400000003477146412132660020045 0ustar00 'calendarCreateUserCnt', 'recvCalendarUserCnt1d' => 'recvCalendarUserCnt1d', 'useCalendarUserCnt1d' => 'useCalendarUserCnt1d', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->calendarCreateUserCnt) { $res['calendarCreateUserCnt'] = $this->calendarCreateUserCnt; } if (null !== $this->recvCalendarUserCnt1d) { $res['recvCalendarUserCnt1d'] = $this->recvCalendarUserCnt1d; } if (null !== $this->useCalendarUserCnt1d) { $res['useCalendarUserCnt1d'] = $this->useCalendarUserCnt1d; } return $res; } /** * @param array $map * * @return GetCalenderSummaryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['calendarCreateUserCnt'])) { $model->calendarCreateUserCnt = $map['calendarCreateUserCnt']; } if (isset($map['recvCalendarUserCnt1d'])) { $model->recvCalendarUserCnt1d = $map['recvCalendarUserCnt1d']; } if (isset($map['useCalendarUserCnt1d'])) { $model->useCalendarUserCnt1d = $map['useCalendarUserCnt1d']; } return $model; } } src/exclusive_1_0/Models/GetCommentListHeaders.php000064400000002335146412132660016137 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCommentListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetCommentListRequest.php000064400000002251146412132660016211 0ustar00 '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 GetCommentListRequest */ 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/exclusive_1_0/Models/GetCommentListResponse.php000064400000002727146412132660016367 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCommentListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCommentListResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetCommentListResponseBody.php000064400000003232146412132660017175 0ustar00 'data', '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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return GetCommentListResponseBody */ 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['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/exclusive_1_0/Models/GetCommentListResponseBody/data.php000064400000003414146412132660020110 0ustar00 'commentId', 'commentTime' => 'commentTime', 'commentUserName' => 'commentUserName', 'content' => 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commentId) { $res['commentId'] = $this->commentId; } if (null !== $this->commentTime) { $res['commentTime'] = $this->commentTime; } if (null !== $this->commentUserName) { $res['commentUserName'] = $this->commentUserName; } if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commentId'])) { $model->commentId = $map['commentId']; } if (isset($map['commentTime'])) { $model->commentTime = $map['commentTime']; } if (isset($map['commentUserName'])) { $model->commentUserName = $map['commentUserName']; } if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/exclusive_1_0/Models/GetConfBaseInfoByLogicalIdHeaders.php000064400000002365146412132660020243 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetConfBaseInfoByLogicalIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetConfBaseInfoByLogicalIdRequest.php000064400000001703146412132660020313 0ustar00 'logicalConferenceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->logicalConferenceId) { $res['logicalConferenceId'] = $this->logicalConferenceId; } return $res; } /** * @param array $map * * @return GetConfBaseInfoByLogicalIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['logicalConferenceId'])) { $model->logicalConferenceId = $map['logicalConferenceId']; } return $model; } } src/exclusive_1_0/Models/GetConfBaseInfoByLogicalIdResponse.php000064400000003007146412132660020460 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetConfBaseInfoByLogicalIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetConfBaseInfoByLogicalIdResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetConfBaseInfoByLogicalIdResponseBody.php000064400000004651146412132660021304 0ustar00 'conferenceId', 'logicalConferenceId' => 'logicalConferenceId', 'nickname' => 'nickname', 'startTime' => 'startTime', 'title' => 'title', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->logicalConferenceId) { $res['logicalConferenceId'] = $this->logicalConferenceId; } if (null !== $this->nickname) { $res['nickname'] = $this->nickname; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetConfBaseInfoByLogicalIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['logicalConferenceId'])) { $model->logicalConferenceId = $map['logicalConferenceId']; } if (isset($map['nickname'])) { $model->nickname = $map['nickname']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/exclusive_1_0/Models/GetConferenceDetailHeaders.php000064400000002347146412132660017076 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetConferenceDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetConferenceDetailResponse.php000064400000002753146412132660017322 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetConferenceDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetConferenceDetailResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetConferenceDetailResponseBody.php000064400000010402146412132660020126 0ustar00 'attendeeNum', 'attendeePercentage' => 'attendeePercentage', 'callerId' => 'callerId', 'callerName' => 'callerName', 'confStartTime' => 'confStartTime', 'conferenceId' => 'conferenceId', 'duration' => 'duration', 'memberList' => 'memberList', 'title' => 'title', 'totalNum' => 'totalNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendeeNum) { $res['attendeeNum'] = $this->attendeeNum; } if (null !== $this->attendeePercentage) { $res['attendeePercentage'] = $this->attendeePercentage; } if (null !== $this->callerId) { $res['callerId'] = $this->callerId; } if (null !== $this->callerName) { $res['callerName'] = $this->callerName; } if (null !== $this->confStartTime) { $res['confStartTime'] = $this->confStartTime; } if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->duration) { $res['duration'] = $this->duration; } 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->title) { $res['title'] = $this->title; } if (null !== $this->totalNum) { $res['totalNum'] = $this->totalNum; } return $res; } /** * @param array $map * * @return GetConferenceDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendeeNum'])) { $model->attendeeNum = $map['attendeeNum']; } if (isset($map['attendeePercentage'])) { $model->attendeePercentage = $map['attendeePercentage']; } if (isset($map['callerId'])) { $model->callerId = $map['callerId']; } if (isset($map['callerName'])) { $model->callerName = $map['callerName']; } if (isset($map['confStartTime'])) { $model->confStartTime = $map['confStartTime']; } if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } 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['title'])) { $model->title = $map['title']; } if (isset($map['totalNum'])) { $model->totalNum = $map['totalNum']; } return $model; } } src/exclusive_1_0/Models/GetConferenceDetailResponseBody/memberList.php000064400000003311146412132660022232 0ustar00 'attendDuration', 'name' => 'name', 'staffId' => 'staffId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendDuration) { $res['attendDuration'] = $this->attendDuration; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->staffId) { $res['staffId'] = $this->staffId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return memberList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendDuration'])) { $model->attendDuration = $map['attendDuration']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['staffId'])) { $model->staffId = $map['staffId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/exclusive_1_0/Models/GetDingReportDeptSummaryHeaders.php000064400000002361146412132660020150 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDingReportDeptSummaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetDingReportDeptSummaryRequest.php000064400000002305146412132660020223 0ustar00 '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 GetDingReportDeptSummaryRequest */ 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/exclusive_1_0/Models/GetDingReportDeptSummaryResponse.php000064400000002777146412132660020406 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDingReportDeptSummaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDingReportDeptSummaryResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetDingReportDeptSummaryResponseBody.php000064400000003773146412132660021221 0ustar00 'data', 'hasMore' => 'hasMore', 'nextToken' => 'nextToken', ]; 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->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetDingReportDeptSummaryResponseBody */ 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['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/exclusive_1_0/Models/GetDingReportDeptSummaryResponseBody/data.php000064400000003743146412132660022127 0ustar00 'deptId', 'deptName' => 'deptName', 'dingReportSendCnt' => 'dingReportSendCnt', 'dingReportSendUsrCnt' => 'dingReportSendUsrCnt', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->dingReportSendCnt) { $res['dingReportSendCnt'] = $this->dingReportSendCnt; } if (null !== $this->dingReportSendUsrCnt) { $res['dingReportSendUsrCnt'] = $this->dingReportSendUsrCnt; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['dingReportSendCnt'])) { $model->dingReportSendCnt = $map['dingReportSendCnt']; } if (isset($map['dingReportSendUsrCnt'])) { $model->dingReportSendUsrCnt = $map['dingReportSendUsrCnt']; } return $model; } } src/exclusive_1_0/Models/GetDingReportSummaryHeaders.php000064400000002351146412132660017332 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDingReportSummaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetDingReportSummaryResponse.php000064400000002757146412132660017567 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDingReportSummaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDingReportSummaryResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetDingReportSummaryResponseBody.php000064400000001767146412132660020405 0ustar00 'reportCommentUserCnt1d', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->reportCommentUserCnt1d) { $res['reportCommentUserCnt1d'] = $this->reportCommentUserCnt1d; } return $res; } /** * @param array $map * * @return GetDingReportSummaryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['reportCommentUserCnt1d'])) { $model->reportCommentUserCnt1d = $map['reportCommentUserCnt1d']; } return $model; } } src/exclusive_1_0/Models/GetDocCreatedDeptSummaryHeaders.php000064400000002361146412132660020070 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDocCreatedDeptSummaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetDocCreatedDeptSummaryRequest.php000064400000002305146412132660020143 0ustar00 '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 GetDocCreatedDeptSummaryRequest */ 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/exclusive_1_0/Models/GetDocCreatedDeptSummaryResponse.php000064400000002777146412132660020326 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDocCreatedDeptSummaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDocCreatedDeptSummaryResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetDocCreatedDeptSummaryResponseBody.php000064400000003773146412132660021141 0ustar00 'data', 'hasMore' => 'hasMore', 'nextToken' => 'nextToken', ]; 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->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetDocCreatedDeptSummaryResponseBody */ 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['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/exclusive_1_0/Models/GetDocCreatedDeptSummaryResponseBody/data.php000064400000003653146412132660022047 0ustar00 'createDocUserCnt1d', 'deptId' => 'deptId', 'deptName' => 'deptName', 'docCreatedCnt' => 'docCreatedCnt', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createDocUserCnt1d) { $res['createDocUserCnt1d'] = $this->createDocUserCnt1d; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->docCreatedCnt) { $res['docCreatedCnt'] = $this->docCreatedCnt; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createDocUserCnt1d'])) { $model->createDocUserCnt1d = $map['createDocUserCnt1d']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['docCreatedCnt'])) { $model->docCreatedCnt = $map['docCreatedCnt']; } return $model; } } src/exclusive_1_0/Models/GetDocCreatedSummaryHeaders.php000064400000002351146412132660017252 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDocCreatedSummaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetDocCreatedSummaryResponse.php000064400000002757146412132660017507 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDocCreatedSummaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDocCreatedSummaryResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetDocCreatedSummaryResponseBody.php000064400000002500146412132660020307 0ustar00 'docCreateUserCnt1d', 'docCreatedCnt' => 'docCreatedCnt', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->docCreateUserCnt1d) { $res['docCreateUserCnt1d'] = $this->docCreateUserCnt1d; } if (null !== $this->docCreatedCnt) { $res['docCreatedCnt'] = $this->docCreatedCnt; } return $res; } /** * @param array $map * * @return GetDocCreatedSummaryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['docCreateUserCnt1d'])) { $model->docCreateUserCnt1d = $map['docCreateUserCnt1d']; } if (isset($map['docCreatedCnt'])) { $model->docCreatedCnt = $map['docCreatedCnt']; } return $model; } } src/exclusive_1_0/Models/GetExclusiveAccountAllOrgListHeaders.php000064400000002373146412132660021124 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetExclusiveAccountAllOrgListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetExclusiveAccountAllOrgListRequest.php000064400000001622146412132660021175 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetExclusiveAccountAllOrgListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/exclusive_1_0/Models/GetExclusiveAccountAllOrgListResponse.php000064400000003023146412132660021340 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetExclusiveAccountAllOrgListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetExclusiveAccountAllOrgListResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetExclusiveAccountAllOrgListResponseBody.php000064400000003020146412132660022153 0ustar00 'orgInfoList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orgInfoList) { $res['orgInfoList'] = []; if (null !== $this->orgInfoList && \is_array($this->orgInfoList)) { $n = 0; foreach ($this->orgInfoList as $item) { $res['orgInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetExclusiveAccountAllOrgListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orgInfoList'])) { if (!empty($map['orgInfoList'])) { $model->orgInfoList = []; $n = 0; foreach ($map['orgInfoList'] as $item) { $model->orgInfoList[$n++] = null !== $item ? orgInfoList::fromMap($item) : $item; } } } return $model; } } src/exclusive_1_0/Models/GetExclusiveAccountAllOrgListResponseBody/orgInfoList.php000064400000004306146412132660024422 0ustar00 'corpId', 'isMainOrg' => 'isMainOrg', 'logoUrl' => 'logoUrl', 'orgFullName' => 'orgFullName', 'orgName' => 'orgName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->isMainOrg) { $res['isMainOrg'] = $this->isMainOrg; } if (null !== $this->logoUrl) { $res['logoUrl'] = $this->logoUrl; } if (null !== $this->orgFullName) { $res['orgFullName'] = $this->orgFullName; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } return $res; } /** * @param array $map * * @return orgInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['isMainOrg'])) { $model->isMainOrg = $map['isMainOrg']; } if (isset($map['logoUrl'])) { $model->logoUrl = $map['logoUrl']; } if (isset($map['orgFullName'])) { $model->orgFullName = $map['orgFullName']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } return $model; } } src/exclusive_1_0/Models/GetGeneralFormCreatedDeptSummaryHeaders.php000064400000002401146412132660021557 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetGeneralFormCreatedDeptSummaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetGeneralFormCreatedDeptSummaryRequest.php000064400000002325146412132660021641 0ustar00 '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 GetGeneralFormCreatedDeptSummaryRequest */ 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/exclusive_1_0/Models/GetGeneralFormCreatedDeptSummaryResponse.php000064400000003037146412132660022010 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetGeneralFormCreatedDeptSummaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetGeneralFormCreatedDeptSummaryResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetGeneralFormCreatedDeptSummaryResponseBody.php000064400000004023146412132660022622 0ustar00 'data', 'hasMore' => 'hasMore', 'nextToken' => 'nextToken', ]; 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->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetGeneralFormCreatedDeptSummaryResponseBody */ 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['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/exclusive_1_0/Models/GetGeneralFormCreatedDeptSummaryResponseBody/data.php000064400000004067146412132660023543 0ustar00 'deptId', 'deptName' => 'deptName', 'generalFormCreateCnt1d' => 'generalFormCreateCnt1d', 'useGeneralFormUserCnt1d' => 'useGeneralFormUserCnt1d', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->generalFormCreateCnt1d) { $res['generalFormCreateCnt1d'] = $this->generalFormCreateCnt1d; } if (null !== $this->useGeneralFormUserCnt1d) { $res['useGeneralFormUserCnt1d'] = $this->useGeneralFormUserCnt1d; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['generalFormCreateCnt1d'])) { $model->generalFormCreateCnt1d = $map['generalFormCreateCnt1d']; } if (isset($map['useGeneralFormUserCnt1d'])) { $model->useGeneralFormUserCnt1d = $map['useGeneralFormUserCnt1d']; } return $model; } } src/exclusive_1_0/Models/GetGeneralFormCreatedSummaryHeaders.php000064400000002371146412132660020750 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetGeneralFormCreatedSummaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetGeneralFormCreatedSummaryResponse.php000064400000003017146412132660021171 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetGeneralFormCreatedSummaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetGeneralFormCreatedSummaryResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetGeneralFormCreatedSummaryResponseBody.php000064400000002702146412132660022007 0ustar00 'generalFormCreatedCnt', 'useGeneralFormUserCnt1d' => 'useGeneralFormUserCnt1d', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->generalFormCreatedCnt) { $res['generalFormCreatedCnt'] = $this->generalFormCreatedCnt; } if (null !== $this->useGeneralFormUserCnt1d) { $res['useGeneralFormUserCnt1d'] = $this->useGeneralFormUserCnt1d; } return $res; } /** * @param array $map * * @return GetGeneralFormCreatedSummaryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['generalFormCreatedCnt'])) { $model->generalFormCreatedCnt = $map['generalFormCreatedCnt']; } if (isset($map['useGeneralFormUserCnt1d'])) { $model->useGeneralFormUserCnt1d = $map['useGeneralFormUserCnt1d']; } return $model; } } src/exclusive_1_0/Models/GetGroupActiveInfoHeaders.php000064400000002345146412132660016746 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetGroupActiveInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetGroupActiveInfoRequest.php000064400000004245146412132660017024 0ustar00 'dingGroupId', 'groupType' => 'groupType', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'statDate' => 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingGroupId) { $res['dingGroupId'] = $this->dingGroupId; } if (null !== $this->groupType) { $res['groupType'] = $this->groupType; } 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 GetGroupActiveInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingGroupId'])) { $model->dingGroupId = $map['dingGroupId']; } if (isset($map['groupType'])) { $model->groupType = $map['groupType']; } 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/exclusive_1_0/Models/GetGroupActiveInfoResponse.php000064400000002747146412132660017177 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetGroupActiveInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetGroupActiveInfoResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetGroupActiveInfoResponseBody.php000064400000003246146412132660020010 0ustar00 'data', '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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return GetGroupActiveInfoResponseBody */ 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['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/exclusive_1_0/Models/GetGroupActiveInfoResponseBody/data.php000064400000010352146412132660020715 0ustar00 'dingGroupId', 'groupCreateTime' => 'groupCreateTime', 'groupCreateUserId' => 'groupCreateUserId', 'groupCreateUserName' => 'groupCreateUserName', 'groupName' => 'groupName', 'groupType' => 'groupType', 'groupUserCnt1d' => 'groupUserCnt1d', 'openConvUv1d' => 'openConvUv1d', 'sendMessageCnt1d' => 'sendMessageCnt1d', 'sendMessageUserCnt1d' => 'sendMessageUserCnt1d', 'statDate' => 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingGroupId) { $res['dingGroupId'] = $this->dingGroupId; } if (null !== $this->groupCreateTime) { $res['groupCreateTime'] = $this->groupCreateTime; } if (null !== $this->groupCreateUserId) { $res['groupCreateUserId'] = $this->groupCreateUserId; } if (null !== $this->groupCreateUserName) { $res['groupCreateUserName'] = $this->groupCreateUserName; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->groupType) { $res['groupType'] = $this->groupType; } if (null !== $this->groupUserCnt1d) { $res['groupUserCnt1d'] = $this->groupUserCnt1d; } if (null !== $this->openConvUv1d) { $res['openConvUv1d'] = $this->openConvUv1d; } if (null !== $this->sendMessageCnt1d) { $res['sendMessageCnt1d'] = $this->sendMessageCnt1d; } if (null !== $this->sendMessageUserCnt1d) { $res['sendMessageUserCnt1d'] = $this->sendMessageUserCnt1d; } if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingGroupId'])) { $model->dingGroupId = $map['dingGroupId']; } if (isset($map['groupCreateTime'])) { $model->groupCreateTime = $map['groupCreateTime']; } if (isset($map['groupCreateUserId'])) { $model->groupCreateUserId = $map['groupCreateUserId']; } if (isset($map['groupCreateUserName'])) { $model->groupCreateUserName = $map['groupCreateUserName']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['groupType'])) { $model->groupType = $map['groupType']; } if (isset($map['groupUserCnt1d'])) { $model->groupUserCnt1d = $map['groupUserCnt1d']; } if (isset($map['openConvUv1d'])) { $model->openConvUv1d = $map['openConvUv1d']; } if (isset($map['sendMessageCnt1d'])) { $model->sendMessageCnt1d = $map['sendMessageCnt1d']; } if (isset($map['sendMessageUserCnt1d'])) { $model->sendMessageUserCnt1d = $map['sendMessageUserCnt1d']; } if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/exclusive_1_0/Models/GetInActiveUserListHeaders.php000064400000002347146412132660017101 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetInActiveUserListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetInActiveUserListRequest.php000064400000003373146412132660017156 0ustar00 'deptIds', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'statDate' => 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } 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 GetInActiveUserListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } 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/exclusive_1_0/Models/GetInActiveUserListResponse.php000064400000002753146412132660017325 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetInActiveUserListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetInActiveUserListResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetInActiveUserListResponseBody.php000064400000003435146412132660020141 0ustar00 '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 GetInActiveUserListResponseBody */ 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/exclusive_1_0/Models/GetInActiveUserListResponseBody/metaList.php000064400000003630146412132660021720 0ustar00 '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/exclusive_1_0/Models/GetLastOrgAuthDataHeaders.php000064400000002345146412132660016671 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetLastOrgAuthDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetLastOrgAuthDataRequest.php000064400000001660146412132660016745 0ustar00 'targetCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } return $res; } /** * @param array $map * * @return GetLastOrgAuthDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } return $model; } } src/exclusive_1_0/Models/GetLastOrgAuthDataResponse.php000064400000002747146412132660017122 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetLastOrgAuthDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetLastOrgAuthDataResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetLastOrgAuthDataResponseBody.php000064400000002347146412132660017734 0ustar00 'authRemark', 'authStatus' => 'authStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authRemark) { $res['authRemark'] = $this->authRemark; } if (null !== $this->authStatus) { $res['authStatus'] = $this->authStatus; } return $res; } /** * @param array $map * * @return GetLastOrgAuthDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authRemark'])) { $model->authRemark = $map['authRemark']; } if (isset($map['authStatus'])) { $model->authStatus = $map['authStatus']; } return $model; } } src/exclusive_1_0/Models/GetMsgConfigHeaders.php000064400000002331146412132660015551 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMsgConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetMsgConfigRequest.php000064400000011403146412132660015626 0ustar00 'groupTopic', 'groupType' => 'groupType', 'listDynamicAttr' => 'listDynamicAttr', 'listEmployeeCode' => 'listEmployeeCode', 'listUnitId' => 'listUnitId', 'ownerJobNo' => 'ownerJobNo', 'ruleBusinessCode' => 'ruleBusinessCode', 'ruleCategory' => 'ruleCategory', 'ruleCode' => 'ruleCode', 'secretKey' => 'secretKey', 'sysCode' => 'sysCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupTopic) { $res['groupTopic'] = $this->groupTopic; } if (null !== $this->groupType) { $res['groupType'] = $this->groupType; } if (null !== $this->listDynamicAttr) { $res['listDynamicAttr'] = []; if (null !== $this->listDynamicAttr && \is_array($this->listDynamicAttr)) { $n = 0; foreach ($this->listDynamicAttr as $item) { $res['listDynamicAttr'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->listEmployeeCode) { $res['listEmployeeCode'] = $this->listEmployeeCode; } if (null !== $this->listUnitId) { $res['listUnitId'] = $this->listUnitId; } if (null !== $this->ownerJobNo) { $res['ownerJobNo'] = $this->ownerJobNo; } if (null !== $this->ruleBusinessCode) { $res['ruleBusinessCode'] = $this->ruleBusinessCode; } if (null !== $this->ruleCategory) { $res['ruleCategory'] = $this->ruleCategory; } if (null !== $this->ruleCode) { $res['ruleCode'] = $this->ruleCode; } if (null !== $this->secretKey) { $res['secretKey'] = $this->secretKey; } if (null !== $this->sysCode) { $res['sysCode'] = $this->sysCode; } return $res; } /** * @param array $map * * @return GetMsgConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupTopic'])) { $model->groupTopic = $map['groupTopic']; } if (isset($map['groupType'])) { $model->groupType = $map['groupType']; } if (isset($map['listDynamicAttr'])) { if (!empty($map['listDynamicAttr'])) { $model->listDynamicAttr = []; $n = 0; foreach ($map['listDynamicAttr'] as $item) { $model->listDynamicAttr[$n++] = null !== $item ? listDynamicAttr::fromMap($item) : $item; } } } if (isset($map['listEmployeeCode'])) { if (!empty($map['listEmployeeCode'])) { $model->listEmployeeCode = $map['listEmployeeCode']; } } if (isset($map['listUnitId'])) { if (!empty($map['listUnitId'])) { $model->listUnitId = $map['listUnitId']; } } if (isset($map['ownerJobNo'])) { $model->ownerJobNo = $map['ownerJobNo']; } if (isset($map['ruleBusinessCode'])) { $model->ruleBusinessCode = $map['ruleBusinessCode']; } if (isset($map['ruleCategory'])) { $model->ruleCategory = $map['ruleCategory']; } if (isset($map['ruleCode'])) { $model->ruleCode = $map['ruleCode']; } if (isset($map['secretKey'])) { $model->secretKey = $map['secretKey']; } if (isset($map['sysCode'])) { $model->sysCode = $map['sysCode']; } return $model; } } src/exclusive_1_0/Models/GetMsgConfigRequest/listDynamicAttr.php000064400000002451146412132660020744 0ustar00 'attrCode', 'listAttrOptionsCode' => 'listAttrOptionsCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attrCode) { $res['attrCode'] = $this->attrCode; } if (null !== $this->listAttrOptionsCode) { $res['listAttrOptionsCode'] = $this->listAttrOptionsCode; } return $res; } /** * @param array $map * * @return listDynamicAttr */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attrCode'])) { $model->attrCode = $map['attrCode']; } if (isset($map['listAttrOptionsCode'])) { if (!empty($map['listAttrOptionsCode'])) { $model->listAttrOptionsCode = $map['listAttrOptionsCode']; } } return $model; } } src/exclusive_1_0/Models/GetMsgConfigResponse.php000064400000002717146412132660016004 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMsgConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMsgConfigResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetMsgConfigResponseBody.php000064400000002707146412132660016621 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetMsgConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/exclusive_1_0/Models/GetMsgConfigResponseBody/data.php000064400000010034146412132660017522 0ustar00 'groupAttributes', 'msgConfigs' => 'msgConfigs', 'receiverAttributes' => 'receiverAttributes', 'unitAttributes' => 'unitAttributes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupAttributes) { $res['groupAttributes'] = []; if (null !== $this->groupAttributes && \is_array($this->groupAttributes)) { $n = 0; foreach ($this->groupAttributes as $item) { $res['groupAttributes'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->msgConfigs) { $res['msgConfigs'] = null !== $this->msgConfigs ? $this->msgConfigs->toMap() : null; } if (null !== $this->receiverAttributes) { $res['receiverAttributes'] = []; if (null !== $this->receiverAttributes && \is_array($this->receiverAttributes)) { $n = 0; foreach ($this->receiverAttributes as $item) { $res['receiverAttributes'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->unitAttributes) { $res['unitAttributes'] = []; if (null !== $this->unitAttributes && \is_array($this->unitAttributes)) { $n = 0; foreach ($this->unitAttributes as $item) { $res['unitAttributes'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupAttributes'])) { if (!empty($map['groupAttributes'])) { $model->groupAttributes = []; $n = 0; foreach ($map['groupAttributes'] as $item) { $model->groupAttributes[$n++] = null !== $item ? groupAttributes::fromMap($item) : $item; } } } if (isset($map['msgConfigs'])) { $model->msgConfigs = msgConfigs::fromMap($map['msgConfigs']); } if (isset($map['receiverAttributes'])) { if (!empty($map['receiverAttributes'])) { $model->receiverAttributes = []; $n = 0; foreach ($map['receiverAttributes'] as $item) { $model->receiverAttributes[$n++] = null !== $item ? receiverAttributes::fromMap($item) : $item; } } } if (isset($map['unitAttributes'])) { if (!empty($map['unitAttributes'])) { $model->unitAttributes = []; $n = 0; foreach ($map['unitAttributes'] as $item) { $model->unitAttributes[$n++] = null !== $item ? unitAttributes::fromMap($item) : $item; } } } return $model; } } src/exclusive_1_0/Models/GetMsgConfigResponseBody/data/groupAttributes.php000064400000011360146412132660022730 0ustar00 'configGroupId', 'corpId' => 'corpId', 'groupTopic' => 'groupTopic', 'groupType' => 'groupType', 'listDynamicAttr' => 'listDynamicAttr', 'listReceiver' => 'listReceiver', 'openConversationId' => 'openConversationId', 'ownerJobNo' => 'ownerJobNo', 'subRuleCode' => 'subRuleCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->configGroupId) { $res['configGroupId'] = $this->configGroupId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->groupTopic) { $res['groupTopic'] = $this->groupTopic; } if (null !== $this->groupType) { $res['groupType'] = $this->groupType; } if (null !== $this->listDynamicAttr) { $res['listDynamicAttr'] = []; if (null !== $this->listDynamicAttr && \is_array($this->listDynamicAttr)) { $n = 0; foreach ($this->listDynamicAttr as $item) { $res['listDynamicAttr'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->listReceiver) { $res['listReceiver'] = []; if (null !== $this->listReceiver && \is_array($this->listReceiver)) { $n = 0; foreach ($this->listReceiver as $item) { $res['listReceiver'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->ownerJobNo) { $res['ownerJobNo'] = $this->ownerJobNo; } if (null !== $this->subRuleCode) { $res['subRuleCode'] = $this->subRuleCode; } return $res; } /** * @param array $map * * @return groupAttributes */ public static function fromMap($map = []) { $model = new self(); if (isset($map['configGroupId'])) { $model->configGroupId = $map['configGroupId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['groupTopic'])) { $model->groupTopic = $map['groupTopic']; } if (isset($map['groupType'])) { $model->groupType = $map['groupType']; } if (isset($map['listDynamicAttr'])) { if (!empty($map['listDynamicAttr'])) { $model->listDynamicAttr = []; $n = 0; foreach ($map['listDynamicAttr'] as $item) { $model->listDynamicAttr[$n++] = null !== $item ? listDynamicAttr::fromMap($item) : $item; } } } if (isset($map['listReceiver'])) { if (!empty($map['listReceiver'])) { $model->listReceiver = []; $n = 0; foreach ($map['listReceiver'] as $item) { $model->listReceiver[$n++] = null !== $item ? listReceiver::fromMap($item) : $item; } } } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['ownerJobNo'])) { $model->ownerJobNo = $map['ownerJobNo']; } if (isset($map['subRuleCode'])) { $model->subRuleCode = $map['subRuleCode']; } return $model; } } src/exclusive_1_0/Models/GetMsgConfigResponseBody/data/groupAttributes/listDynamicAttr.php000064400000002503146412132660026042 0ustar00 'attrCode', 'listAttrOptionsCode' => 'listAttrOptionsCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attrCode) { $res['attrCode'] = $this->attrCode; } if (null !== $this->listAttrOptionsCode) { $res['listAttrOptionsCode'] = $this->listAttrOptionsCode; } return $res; } /** * @param array $map * * @return listDynamicAttr */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attrCode'])) { $model->attrCode = $map['attrCode']; } if (isset($map['listAttrOptionsCode'])) { if (!empty($map['listAttrOptionsCode'])) { $model->listAttrOptionsCode = $map['listAttrOptionsCode']; } } return $model; } } src/exclusive_1_0/Models/GetMsgConfigResponseBody/data/groupAttributes/listReceiver.php000064400000002314146412132660025367 0ustar00 'employeeCode', 'employeeName' => 'employeeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->employeeCode) { $res['employeeCode'] = $this->employeeCode; } if (null !== $this->employeeName) { $res['employeeName'] = $this->employeeName; } return $res; } /** * @param array $map * * @return listReceiver */ public static function fromMap($map = []) { $model = new self(); if (isset($map['employeeCode'])) { $model->employeeCode = $map['employeeCode']; } if (isset($map['employeeName'])) { $model->employeeName = $map['employeeName']; } return $model; } } src/exclusive_1_0/Models/GetMsgConfigResponseBody/data/msgConfigs.php000064400000011166146412132660021630 0ustar00 'cardId', 'corpId' => 'corpId', 'customParameters' => 'customParameters', 'msgContentConsisFlag' => 'msgContentConsisFlag', 'msgId' => 'msgId', 'robotCode' => 'robotCode', 'ruleBusinessCode' => 'ruleBusinessCode', 'ruleCategory' => 'ruleCategory', 'ruleCode' => 'ruleCode', 'ruleName' => 'ruleName', 'subRuleCode' => 'subRuleCode', 'systemCode' => 'systemCode', 'taskBatchNo' => 'taskBatchNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardId) { $res['cardId'] = $this->cardId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->customParameters) { $res['customParameters'] = $this->customParameters; } if (null !== $this->msgContentConsisFlag) { $res['msgContentConsisFlag'] = $this->msgContentConsisFlag; } if (null !== $this->msgId) { $res['msgId'] = $this->msgId; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->ruleBusinessCode) { $res['ruleBusinessCode'] = $this->ruleBusinessCode; } if (null !== $this->ruleCategory) { $res['ruleCategory'] = $this->ruleCategory; } if (null !== $this->ruleCode) { $res['ruleCode'] = $this->ruleCode; } if (null !== $this->ruleName) { $res['ruleName'] = $this->ruleName; } if (null !== $this->subRuleCode) { $res['subRuleCode'] = $this->subRuleCode; } if (null !== $this->systemCode) { $res['systemCode'] = $this->systemCode; } if (null !== $this->taskBatchNo) { $res['taskBatchNo'] = $this->taskBatchNo; } return $res; } /** * @param array $map * * @return msgConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardId'])) { $model->cardId = $map['cardId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['customParameters'])) { $model->customParameters = $map['customParameters']; } if (isset($map['msgContentConsisFlag'])) { $model->msgContentConsisFlag = $map['msgContentConsisFlag']; } if (isset($map['msgId'])) { $model->msgId = $map['msgId']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['ruleBusinessCode'])) { $model->ruleBusinessCode = $map['ruleBusinessCode']; } if (isset($map['ruleCategory'])) { $model->ruleCategory = $map['ruleCategory']; } if (isset($map['ruleCode'])) { $model->ruleCode = $map['ruleCode']; } if (isset($map['ruleName'])) { $model->ruleName = $map['ruleName']; } if (isset($map['subRuleCode'])) { $model->subRuleCode = $map['subRuleCode']; } if (isset($map['systemCode'])) { $model->systemCode = $map['systemCode']; } if (isset($map['taskBatchNo'])) { $model->taskBatchNo = $map['taskBatchNo']; } return $model; } } src/exclusive_1_0/Models/GetMsgConfigResponseBody/data/receiverAttributes.php000064400000001604146412132660023400 0ustar00 'employeeCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->employeeCode) { $res['employeeCode'] = $this->employeeCode; } return $res; } /** * @param array $map * * @return receiverAttributes */ public static function fromMap($map = []) { $model = new self(); if (isset($map['employeeCode'])) { $model->employeeCode = $map['employeeCode']; } return $model; } } src/exclusive_1_0/Models/GetMsgConfigResponseBody/data/unitAttributes.php000064400000001503146412132660022551 0ustar00 'unitId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unitId) { $res['unitId'] = $this->unitId; } return $res; } /** * @param array $map * * @return unitAttributes */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unitId'])) { $model->unitId = $map['unitId']; } return $model; } } src/exclusive_1_0/Models/GetOaOperatorLogListHeaders.php000064400000002351146412132660017250 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOaOperatorLogListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetOaOperatorLogListRequest.php000064400000004647146412132660017337 0ustar00 'categoryList', 'endTime' => 'endTime', 'opUserId' => 'opUserId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->categoryList) { $res['categoryList'] = $this->categoryList; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } 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->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return GetOaOperatorLogListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['categoryList'])) { if (!empty($map['categoryList'])) { $model->categoryList = $map['categoryList']; } } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } 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['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/exclusive_1_0/Models/GetOaOperatorLogListResponse.php000064400000002757146412132660017505 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOaOperatorLogListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOaOperatorLogListResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetOaOperatorLogListResponseBody.php000064400000003242146412132660020311 0ustar00 'data', 'itemCount' => 'itemCount', ]; 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->itemCount) { $res['itemCount'] = $this->itemCount; } return $res; } /** * @param array $map * * @return GetOaOperatorLogListResponseBody */ 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['itemCount'])) { $model->itemCount = $map['itemCount']; } return $model; } } src/exclusive_1_0/Models/GetOaOperatorLogListResponseBody/data.php000064400000004452146412132660021226 0ustar00 'category1Name', 'category2Name' => 'category2Name', 'content' => 'content', 'opName' => 'opName', 'opTime' => 'opTime', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category1Name) { $res['category1Name'] = $this->category1Name; } if (null !== $this->category2Name) { $res['category2Name'] = $this->category2Name; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->opName) { $res['opName'] = $this->opName; } if (null !== $this->opTime) { $res['opTime'] = $this->opTime; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category1Name'])) { $model->category1Name = $map['category1Name']; } if (isset($map['category2Name'])) { $model->category2Name = $map['category2Name']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['opName'])) { $model->opName = $map['opName']; } if (isset($map['opTime'])) { $model->opTime = $map['opTime']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/exclusive_1_0/Models/GetOutGroupsByPageHeaders.php000064400000002345146412132660016741 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOutGroupsByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetOutGroupsByPageRequest.php000064400000002261146412132660017013 0ustar00 '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 GetOutGroupsByPageRequest */ 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/exclusive_1_0/Models/GetOutGroupsByPageResponse.php000064400000002747146412132660017172 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOutGroupsByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOutGroupsByPageResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetOutGroupsByPageResponseBody.php000064400000002053146412132660017776 0ustar00 'responseBody', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->responseBody) { $res['responseBody'] = null !== $this->responseBody ? $this->responseBody->toMap() : null; } return $res; } /** * @param array $map * * @return GetOutGroupsByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['responseBody'])) { $model->responseBody = responseBody::fromMap($map['responseBody']); } return $model; } } src/exclusive_1_0/Models/GetOutGroupsByPageResponseBody/responseBody.php000064400000003363146412132660022457 0ustar00 'groupList', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupList) { $res['groupList'] = []; if (null !== $this->groupList && \is_array($this->groupList)) { $n = 0; foreach ($this->groupList as $item) { $res['groupList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return responseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupList'])) { if (!empty($map['groupList'])) { $model->groupList = []; $n = 0; foreach ($map['groupList'] as $item) { $model->groupList[$n++] = null !== $item ? groupList::fromMap($item) : $item; } } } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/exclusive_1_0/Models/GetOutGroupsByPageResponseBody/responseBody/groupList.php000064400000002005146412132660024437 0ustar00 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return groupList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/exclusive_1_0/Models/GetOutsideAuditGroupMessageByPageHeaders.php000064400000002403146412132660021712 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOutsideAuditGroupMessageByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetOutsideAuditGroupMessageByPageRequest.php000064400000003155146412132660021774 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'openConversationId' => 'openConversationId', ]; 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->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return GetOutsideAuditGroupMessageByPageRequest */ 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['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/exclusive_1_0/Models/GetOutsideAuditGroupMessageByPageResponse.php000064400000003043146412132660022136 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOutsideAuditGroupMessageByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOutsideAuditGroupMessageByPageResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetOutsideAuditGroupMessageByPageResponseBody.php000064400000002130146412132660022750 0ustar00 'responseBody', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->responseBody) { $res['responseBody'] = null !== $this->responseBody ? $this->responseBody->toMap() : null; } return $res; } /** * @param array $map * * @return GetOutsideAuditGroupMessageByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['responseBody'])) { $model->responseBody = responseBody::fromMap($map['responseBody']); } return $model; } } src/exclusive_1_0/Models/GetOutsideAuditGroupMessageByPageResponseBody/responseBody.php000064400000003545146412132660025437 0ustar00 'messageList', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messageList) { $res['messageList'] = []; if (null !== $this->messageList && \is_array($this->messageList)) { $n = 0; foreach ($this->messageList as $item) { $res['messageList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return responseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messageList'])) { if (!empty($map['messageList'])) { $model->messageList = []; $n = 0; foreach ($map['messageList'] as $item) { $model->messageList[$n++] = null !== $item ? messageList::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/exclusive_1_0/Models/GetOutsideAuditGroupMessageByPageResponseBody/responseBody/messageList.php000064400000004761146412132660027720 0ustar00 'content', 'contentType' => 'contentType', 'createAt' => 'createAt', 'openConversationId' => 'openConversationId', 'sender' => 'sender', ]; 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->createAt) { $res['createAt'] = $this->createAt; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->sender) { $res['sender'] = null !== $this->sender ? $this->sender->toMap() : null; } return $res; } /** * @param array $map * * @return messageList */ 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['createAt'])) { $model->createAt = $map['createAt']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['sender'])) { $model->sender = sender::fromMap($map['sender']); } return $model; } } Models/GetOutsideAuditGroupMessageByPageResponseBody/responseBody/messageList/sender.php000064400000002645146412132660031120 0ustar00src/exclusive_1_0 'id', 'idType' => 'idType', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->idType) { $res['idType'] = $this->idType; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return sender */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['idType'])) { $model->idType = $map['idType']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/exclusive_1_0/Models/GetPartnerTypeByParentIdHeaders.php000064400000002361146412132660020077 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPartnerTypeByParentIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetPartnerTypeByParentIdResponse.php000064400000002777146412132660020335 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPartnerTypeByParentIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPartnerTypeByParentIdResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetPartnerTypeByParentIdResponseBody.php000064400000002603146412132660021137 0ustar00 'data', ]; 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; } } } return $res; } /** * @param array $map * * @return GetPartnerTypeByParentIdResponseBody */ 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; } } } return $model; } } src/exclusive_1_0/Models/GetPartnerTypeByParentIdResponseBody/data.php000064400000002726146412132660022056 0ustar00 'labelId', 'typeId' => 'typeId', 'typeName' => 'typeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } if (null !== $this->typeId) { $res['typeId'] = $this->typeId; } if (null !== $this->typeName) { $res['typeName'] = $this->typeName; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } if (isset($map['typeId'])) { $model->typeId = $map['typeId']; } if (isset($map['typeName'])) { $model->typeName = $map['typeName']; } return $model; } } src/exclusive_1_0/Models/GetPublicDevicesHeaders.php000064400000002341146412132660016417 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPublicDevicesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetPublicDevicesRequest.php000064400000005374146412132660016505 0ustar00 'endTime', 'macAddress' => 'macAddress', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'platform' => 'platform', 'startTime' => 'startTime', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->macAddress) { $res['macAddress'] = $this->macAddress; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return GetPublicDevicesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['macAddress'])) { $model->macAddress = $map['macAddress']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/exclusive_1_0/Models/GetPublicDevicesResponse.php000064400000002737146412132660016653 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPublicDevicesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPublicDevicesResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetPublicDevicesResponseBody.php000064400000003727146412132660017471 0ustar00 'data', 'dataCnt' => 'dataCnt', 'totalCnt' => 'totalCnt', ]; 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->dataCnt) { $res['dataCnt'] = $this->dataCnt; } if (null !== $this->totalCnt) { $res['totalCnt'] = $this->totalCnt; } return $res; } /** * @param array $map * * @return GetPublicDevicesResponseBody */ 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['dataCnt'])) { $model->dataCnt = $map['dataCnt']; } if (isset($map['totalCnt'])) { $model->totalCnt = $map['totalCnt']; } return $model; } } src/exclusive_1_0/Models/GetPublicDevicesResponseBody/data.php000064400000012544146412132660020377 0ustar00 'deviceDepts', 'deviceRoles' => 'deviceRoles', 'deviceScopeType' => 'deviceScopeType', 'deviceStaffs' => 'deviceStaffs', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'macAddress' => 'macAddress', 'platform' => 'platform', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceDepts) { $res['deviceDepts'] = []; if (null !== $this->deviceDepts && \is_array($this->deviceDepts)) { $n = 0; foreach ($this->deviceDepts as $item) { $res['deviceDepts'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->deviceRoles) { $res['deviceRoles'] = []; if (null !== $this->deviceRoles && \is_array($this->deviceRoles)) { $n = 0; foreach ($this->deviceRoles as $item) { $res['deviceRoles'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->deviceScopeType) { $res['deviceScopeType'] = $this->deviceScopeType; } if (null !== $this->deviceStaffs) { $res['deviceStaffs'] = []; if (null !== $this->deviceStaffs && \is_array($this->deviceStaffs)) { $n = 0; foreach ($this->deviceStaffs as $item) { $res['deviceStaffs'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->macAddress) { $res['macAddress'] = $this->macAddress; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceDepts'])) { if (!empty($map['deviceDepts'])) { $model->deviceDepts = []; $n = 0; foreach ($map['deviceDepts'] as $item) { $model->deviceDepts[$n++] = null !== $item ? deviceDepts::fromMap($item) : $item; } } } if (isset($map['deviceRoles'])) { if (!empty($map['deviceRoles'])) { $model->deviceRoles = []; $n = 0; foreach ($map['deviceRoles'] as $item) { $model->deviceRoles[$n++] = null !== $item ? deviceRoles::fromMap($item) : $item; } } } if (isset($map['deviceScopeType'])) { $model->deviceScopeType = $map['deviceScopeType']; } if (isset($map['deviceStaffs'])) { if (!empty($map['deviceStaffs'])) { $model->deviceStaffs = []; $n = 0; foreach ($map['deviceStaffs'] as $item) { $model->deviceStaffs[$n++] = null !== $item ? deviceStaffs::fromMap($item) : $item; } } } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['macAddress'])) { $model->macAddress = $map['macAddress']; } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/exclusive_1_0/Models/GetPublicDevicesResponseBody/data/deviceDepts.php000064400000002132146412132660022626 0ustar00 '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 deviceDepts */ 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/exclusive_1_0/Models/GetPublicDevicesResponseBody/data/deviceRoles.php000064400000002213146412132660022633 0ustar00 'name', 'tagCode' => 'tagCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->tagCode) { $res['tagCode'] = $this->tagCode; } return $res; } /** * @param array $map * * @return deviceRoles */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['tagCode'])) { $model->tagCode = $map['tagCode']; } return $model; } } src/exclusive_1_0/Models/GetPublicDevicesResponseBody/data/deviceStaffs.php000064400000002175146412132660023004 0ustar00 '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 deviceStaffs */ 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/exclusive_1_0/Models/GetPublisherSummaryHeaders.php000064400000002347146412132660017217 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPublisherSummaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetPublisherSummaryRequest.php000064400000002273146412132660017272 0ustar00 '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 GetPublisherSummaryRequest */ 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/exclusive_1_0/Models/GetPublisherSummaryResponse.php000064400000002753146412132660017443 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPublisherSummaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPublisherSummaryResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetPublisherSummaryResponseBody.php000064400000010750146412132660020255 0ustar00 'data', 'hasMore' => 'hasMore', 'nextToken' => 'nextToken', 'publisherArticleCntStd' => 'publisherArticleCntStd', 'publisherArticlePvCntStd' => 'publisherArticlePvCntStd', 'publisherArticlePvTop5' => 'publisherArticlePvTop5', 'publisherCntStd' => 'publisherCntStd', ]; 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->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->publisherArticleCntStd) { $res['publisherArticleCntStd'] = $this->publisherArticleCntStd; } if (null !== $this->publisherArticlePvCntStd) { $res['publisherArticlePvCntStd'] = $this->publisherArticlePvCntStd; } if (null !== $this->publisherArticlePvTop5) { $res['publisherArticlePvTop5'] = []; if (null !== $this->publisherArticlePvTop5 && \is_array($this->publisherArticlePvTop5)) { $n = 0; foreach ($this->publisherArticlePvTop5 as $item) { $res['publisherArticlePvTop5'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->publisherCntStd) { $res['publisherCntStd'] = $this->publisherCntStd; } return $res; } /** * @param array $map * * @return GetPublisherSummaryResponseBody */ 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['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['publisherArticleCntStd'])) { $model->publisherArticleCntStd = $map['publisherArticleCntStd']; } if (isset($map['publisherArticlePvCntStd'])) { $model->publisherArticlePvCntStd = $map['publisherArticlePvCntStd']; } if (isset($map['publisherArticlePvTop5'])) { if (!empty($map['publisherArticlePvTop5'])) { $model->publisherArticlePvTop5 = []; $n = 0; foreach ($map['publisherArticlePvTop5'] as $item) { $model->publisherArticlePvTop5[$n++] = null !== $item ? publisherArticlePvTop5::fromMap($item) : $item; } } } if (isset($map['publisherCntStd'])) { $model->publisherCntStd = $map['publisherCntStd']; } return $model; } } src/exclusive_1_0/Models/GetPublisherSummaryResponseBody/data.php000064400000004151146412132660021164 0ustar00 'publisherArticleCntStd', 'publisherArticlePvCntStd' => 'publisherArticlePvCntStd', 'publisherName' => 'publisherName', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->publisherArticleCntStd) { $res['publisherArticleCntStd'] = $this->publisherArticleCntStd; } if (null !== $this->publisherArticlePvCntStd) { $res['publisherArticlePvCntStd'] = $this->publisherArticlePvCntStd; } if (null !== $this->publisherName) { $res['publisherName'] = $this->publisherName; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['publisherArticleCntStd'])) { $model->publisherArticleCntStd = $map['publisherArticleCntStd']; } if (isset($map['publisherArticlePvCntStd'])) { $model->publisherArticlePvCntStd = $map['publisherArticlePvCntStd']; } if (isset($map['publisherName'])) { $model->publisherName = $map['publisherName']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/exclusive_1_0/Models/GetPublisherSummaryResponseBody/publisherArticlePvTop5.php000064400000001545146412132660024636 0ustar00 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return publisherArticlePvTop5 */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/exclusive_1_0/Models/GetRealPeopleRecordsHeaders.php000064400000002351146412132660017251 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRealPeopleRecordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetRealPeopleRecordsRequest.php000064400000006305146412132660017331 0ustar00 'agentId', 'fromTime' => 'fromTime', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'personIdentification' => 'personIdentification', 'scene' => 'scene', 'toTime' => 'toTime', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->fromTime) { $res['fromTime'] = $this->fromTime; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->personIdentification) { $res['personIdentification'] = $this->personIdentification; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->toTime) { $res['toTime'] = $this->toTime; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return GetRealPeopleRecordsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['fromTime'])) { $model->fromTime = $map['fromTime']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['personIdentification'])) { $model->personIdentification = $map['personIdentification']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['toTime'])) { $model->toTime = $map['toTime']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/exclusive_1_0/Models/GetRealPeopleRecordsResponse.php000064400000002757146412132660017506 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRealPeopleRecordsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRealPeopleRecordsResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetRealPeopleRecordsResponseBody.php000064400000003733146412132660020317 0ustar00 'data', 'nextToken' => 'nextToken', 'total' => 'total', ]; 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->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetRealPeopleRecordsResponseBody */ 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['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/exclusive_1_0/Models/GetRealPeopleRecordsResponseBody/data.php000064400000005007146412132660021224 0ustar00 'agentId', 'invokeTime' => 'invokeTime', 'personIdentification' => 'personIdentification', 'platform' => 'platform', 'scene' => 'scene', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->invokeTime) { $res['invokeTime'] = $this->invokeTime; } if (null !== $this->personIdentification) { $res['personIdentification'] = $this->personIdentification; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['invokeTime'])) { $model->invokeTime = $map['invokeTime']; } if (isset($map['personIdentification'])) { $model->personIdentification = $map['personIdentification']; } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/exclusive_1_0/Models/GetRecognizeRecordsHeaders.php000064400000002347146412132660017153 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRecognizeRecordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetRecognizeRecordsRequest.php000064400000005554146412132660017233 0ustar00 'agentId', 'faceCompareResult' => 'faceCompareResult', 'fromTime' => 'fromTime', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'toTime' => 'toTime', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->faceCompareResult) { $res['faceCompareResult'] = $this->faceCompareResult; } if (null !== $this->fromTime) { $res['fromTime'] = $this->fromTime; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->toTime) { $res['toTime'] = $this->toTime; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return GetRecognizeRecordsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['faceCompareResult'])) { $model->faceCompareResult = $map['faceCompareResult']; } if (isset($map['fromTime'])) { $model->fromTime = $map['fromTime']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['toTime'])) { $model->toTime = $map['toTime']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/exclusive_1_0/Models/GetRecognizeRecordsResponse.php000064400000002753146412132660017377 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRecognizeRecordsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRecognizeRecordsResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetRecognizeRecordsResponseBody.php000064400000003730146412132660020211 0ustar00 'data', 'nextToken' => 'nextToken', 'total' => 'total', ]; 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->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetRecognizeRecordsResponseBody */ 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['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/exclusive_1_0/Models/GetRecognizeRecordsResponseBody/data.php000064400000004265146412132660021126 0ustar00 'agentId', 'faceCompareResult' => 'faceCompareResult', 'invokeTime' => 'invokeTime', 'platform' => 'platform', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->faceCompareResult) { $res['faceCompareResult'] = $this->faceCompareResult; } if (null !== $this->invokeTime) { $res['invokeTime'] = $this->invokeTime; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['faceCompareResult'])) { $model->faceCompareResult = $map['faceCompareResult']; } if (isset($map['invokeTime'])) { $model->invokeTime = $map['invokeTime']; } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/exclusive_1_0/Models/GetSignedDetailByPageHeaders.php000064400000002353146412132660017325 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSignedDetailByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetSignedDetailByPageRequest.php000064400000002776146412132660017413 0ustar00 'pageNumber', 'pageSize' => 'pageSize', 'signStatus' => 'signStatus', ]; 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->signStatus) { $res['signStatus'] = $this->signStatus; } return $res; } /** * @param array $map * * @return GetSignedDetailByPageRequest */ 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['signStatus'])) { $model->signStatus = $map['signStatus']; } return $model; } } src/exclusive_1_0/Models/GetSignedDetailByPageResponse.php000064400000002763146412132660017555 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSignedDetailByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSignedDetailByPageResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetSignedDetailByPageResponseBody.php000064400000005270146412132660020367 0ustar00 'auditSignedDetailDTOList', 'currentPage' => 'currentPage', 'pageSize' => 'pageSize', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->auditSignedDetailDTOList) { $res['auditSignedDetailDTOList'] = []; if (null !== $this->auditSignedDetailDTOList && \is_array($this->auditSignedDetailDTOList)) { $n = 0; foreach ($this->auditSignedDetailDTOList as $item) { $res['auditSignedDetailDTOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->currentPage) { $res['currentPage'] = $this->currentPage; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetSignedDetailByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['auditSignedDetailDTOList'])) { if (!empty($map['auditSignedDetailDTOList'])) { $model->auditSignedDetailDTOList = []; $n = 0; foreach ($map['auditSignedDetailDTOList'] as $item) { $model->auditSignedDetailDTOList[$n++] = null !== $item ? auditSignedDetailDTOList::fromMap($item) : $item; } } } if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/exclusive_1_0/Models/GetSignedDetailByPageResponseBody/auditSignedDetailDTOList.php000064400000005201146412132660025147 0ustar00 'deptName', 'email' => 'email', 'name' => 'name', 'phone' => 'phone', 'roles' => 'roles', 'staffId' => 'staffId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->phone) { $res['phone'] = $this->phone; } if (null !== $this->roles) { $res['roles'] = $this->roles; } if (null !== $this->staffId) { $res['staffId'] = $this->staffId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return auditSignedDetailDTOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['phone'])) { $model->phone = $map['phone']; } if (isset($map['roles'])) { $model->roles = $map['roles']; } if (isset($map['staffId'])) { $model->staffId = $map['staffId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/exclusive_1_0/Models/GetTrustDeviceListHeaders.php000064400000002345146412132660016777 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTrustDeviceListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetTrustDeviceListRequest.php000064400000001606146412132660017053 0ustar00 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return GetTrustDeviceListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/exclusive_1_0/Models/GetTrustDeviceListResponse.php000064400000002747146412132660017230 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTrustDeviceListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTrustDeviceListResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetTrustDeviceListResponseBody.php000064400000002561146412132660020040 0ustar00 'data', ]; 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; } } } return $res; } /** * @param array $map * * @return GetTrustDeviceListResponseBody */ 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; } } } return $model; } } src/exclusive_1_0/Models/GetTrustDeviceListResponseBody/data.php000064400000005205146412132660020747 0ustar00 'createTime', 'macAddress' => 'macAddress', 'model' => 'model', 'platform' => 'platform', 'status' => 'status', 'title' => 'title', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->macAddress) { $res['macAddress'] = $this->macAddress; } if (null !== $this->model) { $res['model'] = $this->model; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['macAddress'])) { $model->macAddress = $map['macAddress']; } if (isset($map['model'])) { $model->model = $map['model']; } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/exclusive_1_0/Models/GetUserAppVersionSummaryHeaders.php000064400000002361146412132660020203 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserAppVersionSummaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetUserAppVersionSummaryRequest.php000064400000002305146412132660020256 0ustar00 '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 GetUserAppVersionSummaryRequest */ 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/exclusive_1_0/Models/GetUserAppVersionSummaryResponse.php000064400000002777146412132660020441 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserAppVersionSummaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserAppVersionSummaryResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetUserAppVersionSummaryResponseBody.php000064400000003774146412132660021255 0ustar00 'data', 'hasMore' => 'hasMore', 'nextToken' => 'nextToken', ]; 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->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetUserAppVersionSummaryResponseBody */ 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['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/exclusive_1_0/Models/GetUserAppVersionSummaryResponseBody/data.php000064400000004123146412132660022153 0ustar00 'appVersion', 'client' => 'client', 'orgName' => 'orgName', 'statDate' => 'statDate', 'userCnt' => 'userCnt', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appVersion) { $res['appVersion'] = $this->appVersion; } if (null !== $this->client) { $res['client'] = $this->client; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } if (null !== $this->userCnt) { $res['userCnt'] = $this->userCnt; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appVersion'])) { $model->appVersion = $map['appVersion']; } if (isset($map['client'])) { $model->client = $map['client']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } if (isset($map['userCnt'])) { $model->userCnt = $map['userCnt']; } return $model; } } src/exclusive_1_0/Models/GetUserFaceStateHeaders.php000064400000002341146412132660016374 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserFaceStateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetUserFaceStateRequest.php000064400000001602146412132660016450 0ustar00 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return GetUserFaceStateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/exclusive_1_0/Models/GetUserFaceStateResponse.php000064400000002737146412132660016630 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserFaceStateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserFaceStateResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetUserFaceStateResponseBody.php000064400000002553146412132660017442 0ustar00 'data', ]; 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; } } } return $res; } /** * @param array $map * * @return GetUserFaceStateResponseBody */ 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; } } } return $model; } } src/exclusive_1_0/Models/GetUserFaceStateResponseBody/data.php000064400000002153146412132660020347 0ustar00 'state', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->state) { $res['state'] = $this->state; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['state'])) { $model->state = $map['state']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/exclusive_1_0/Models/GetUserRealPeopleStateHeaders.php000064400000002355146412132660017573 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserRealPeopleStateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetUserRealPeopleStateRequest.php000064400000001616146412132660017647 0ustar00 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return GetUserRealPeopleStateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/exclusive_1_0/Models/GetUserRealPeopleStateResponse.php000064400000002767146412132660020025 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserRealPeopleStateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserRealPeopleStateResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetUserRealPeopleStateResponseBody.php000064400000002575146412132660020640 0ustar00 'data', ]; 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; } } } return $res; } /** * @param array $map * * @return GetUserRealPeopleStateResponseBody */ 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; } } } return $model; } } src/exclusive_1_0/Models/GetUserRealPeopleStateResponseBody/data.php000064400000002161146412132660021540 0ustar00 'state', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->state) { $res['state'] = $this->state; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['state'])) { $model->state = $map['state']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/exclusive_1_0/Models/GetUserStayLengthHeaders.php000064400000002343146412132660016621 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserStayLengthHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/GetUserStayLengthRequest.php000064400000002761146412132660016702 0ustar00 '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 GetUserStayLengthRequest */ 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/exclusive_1_0/Models/GetUserStayLengthResponse.php000064400000002743146412132660017050 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserStayLengthResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserStayLengthResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/GetUserStayLengthResponseBody.php000064400000003403146412132660017660 0ustar00 'itemList', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->itemList) { $res['itemList'] = []; if (null !== $this->itemList && \is_array($this->itemList)) { $n = 0; foreach ($this->itemList as $item) { $res['itemList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return GetUserStayLengthResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['itemList'])) { if (!empty($map['itemList'])) { $model->itemList = []; $n = 0; foreach ($map['itemList'] as $item) { $model->itemList[$n++] = null !== $item ? itemList::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/exclusive_1_0/Models/GetUserStayLengthResponseBody/itemList.php000064400000004312146412132660021452 0ustar00 'name', 'statDate' => 'statDate', 'stayTimeLenApp1d' => 'stayTimeLenApp1d', 'stayTimeLenPc1d' => 'stayTimeLenPc1d', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } if (null !== $this->stayTimeLenApp1d) { $res['stayTimeLenApp1d'] = $this->stayTimeLenApp1d; } if (null !== $this->stayTimeLenPc1d) { $res['stayTimeLenPc1d'] = $this->stayTimeLenPc1d; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return itemList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } if (isset($map['stayTimeLenApp1d'])) { $model->stayTimeLenApp1d = $map['stayTimeLenApp1d']; } if (isset($map['stayTimeLenPc1d'])) { $model->stayTimeLenPc1d = $map['stayTimeLenPc1d']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/exclusive_1_0/Models/ListAuditLogHeaders.php000064400000002331146412132660015601 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAuditLogHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/ListAuditLogRequest.php000064400000004252146412132660015662 0ustar00 'endDate', 'nextBizId' => 'nextBizId', 'nextGmtCreate' => 'nextGmtCreate', 'pageSize' => 'pageSize', 'startDate' => 'startDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->nextBizId) { $res['nextBizId'] = $this->nextBizId; } if (null !== $this->nextGmtCreate) { $res['nextGmtCreate'] = $this->nextGmtCreate; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } return $res; } /** * @param array $map * * @return ListAuditLogRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['nextBizId'])) { $model->nextBizId = $map['nextBizId']; } if (isset($map['nextGmtCreate'])) { $model->nextGmtCreate = $map['nextGmtCreate']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } return $model; } } src/exclusive_1_0/Models/ListAuditLogResponse.php000064400000002717146412132660016034 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAuditLogResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAuditLogResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/ListAuditLogResponseBody.php000064400000002542146412132660016646 0ustar00 '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 ListAuditLogResponseBody */ 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/exclusive_1_0/Models/ListAuditLogResponseBody/list_.php000064400000033020146412132660017753 0ustar00 'action', 'actionView' => 'actionView', 'bizId' => 'bizId', 'docMemberList' => 'docMemberList', 'docMobileUrl' => 'docMobileUrl', 'docPcUrl' => 'docPcUrl', 'docReceiverList' => 'docReceiverList', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'ipAddress' => 'ipAddress', 'operateModule' => 'operateModule', 'operateModuleView' => 'operateModuleView', 'operatorName' => 'operatorName', 'orgName' => 'orgName', 'platform' => 'platform', 'platformView' => 'platformView', 'prevWorkSpaceId' => 'prevWorkSpaceId', 'prevWorkSpaceMobileUrl' => 'prevWorkSpaceMobileUrl', 'prevWorkSpaceName' => 'prevWorkSpaceName', 'prevWorkSpacePcUrl' => 'prevWorkSpacePcUrl', 'realName' => 'realName', 'receiverName' => 'receiverName', 'receiverType' => 'receiverType', 'receiverTypeView' => 'receiverTypeView', 'resource' => 'resource', 'resourceExtension' => 'resourceExtension', 'resourceSize' => 'resourceSize', 'status' => 'status', 'targetSpaceId' => 'targetSpaceId', 'userId' => 'userId', 'workSpaceId' => 'workSpaceId', 'workSpaceMobileUrl' => 'workSpaceMobileUrl', 'workSpaceName' => 'workSpaceName', 'workSpacePcUrl' => 'workSpacePcUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->actionView) { $res['actionView'] = $this->actionView; } if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->docMemberList) { $res['docMemberList'] = []; if (null !== $this->docMemberList && \is_array($this->docMemberList)) { $n = 0; foreach ($this->docMemberList as $item) { $res['docMemberList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->docMobileUrl) { $res['docMobileUrl'] = $this->docMobileUrl; } if (null !== $this->docPcUrl) { $res['docPcUrl'] = $this->docPcUrl; } if (null !== $this->docReceiverList) { $res['docReceiverList'] = []; if (null !== $this->docReceiverList && \is_array($this->docReceiverList)) { $n = 0; foreach ($this->docReceiverList as $item) { $res['docReceiverList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->ipAddress) { $res['ipAddress'] = $this->ipAddress; } if (null !== $this->operateModule) { $res['operateModule'] = $this->operateModule; } if (null !== $this->operateModuleView) { $res['operateModuleView'] = $this->operateModuleView; } if (null !== $this->operatorName) { $res['operatorName'] = $this->operatorName; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->platformView) { $res['platformView'] = $this->platformView; } if (null !== $this->prevWorkSpaceId) { $res['prevWorkSpaceId'] = $this->prevWorkSpaceId; } if (null !== $this->prevWorkSpaceMobileUrl) { $res['prevWorkSpaceMobileUrl'] = $this->prevWorkSpaceMobileUrl; } if (null !== $this->prevWorkSpaceName) { $res['prevWorkSpaceName'] = $this->prevWorkSpaceName; } if (null !== $this->prevWorkSpacePcUrl) { $res['prevWorkSpacePcUrl'] = $this->prevWorkSpacePcUrl; } if (null !== $this->realName) { $res['realName'] = $this->realName; } if (null !== $this->receiverName) { $res['receiverName'] = $this->receiverName; } if (null !== $this->receiverType) { $res['receiverType'] = $this->receiverType; } if (null !== $this->receiverTypeView) { $res['receiverTypeView'] = $this->receiverTypeView; } if (null !== $this->resource) { $res['resource'] = $this->resource; } if (null !== $this->resourceExtension) { $res['resourceExtension'] = $this->resourceExtension; } if (null !== $this->resourceSize) { $res['resourceSize'] = $this->resourceSize; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->targetSpaceId) { $res['targetSpaceId'] = $this->targetSpaceId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->workSpaceId) { $res['workSpaceId'] = $this->workSpaceId; } if (null !== $this->workSpaceMobileUrl) { $res['workSpaceMobileUrl'] = $this->workSpaceMobileUrl; } if (null !== $this->workSpaceName) { $res['workSpaceName'] = $this->workSpaceName; } if (null !== $this->workSpacePcUrl) { $res['workSpacePcUrl'] = $this->workSpacePcUrl; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['actionView'])) { $model->actionView = $map['actionView']; } if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['docMemberList'])) { if (!empty($map['docMemberList'])) { $model->docMemberList = []; $n = 0; foreach ($map['docMemberList'] as $item) { $model->docMemberList[$n++] = null !== $item ? docMemberList::fromMap($item) : $item; } } } if (isset($map['docMobileUrl'])) { $model->docMobileUrl = $map['docMobileUrl']; } if (isset($map['docPcUrl'])) { $model->docPcUrl = $map['docPcUrl']; } if (isset($map['docReceiverList'])) { if (!empty($map['docReceiverList'])) { $model->docReceiverList = []; $n = 0; foreach ($map['docReceiverList'] as $item) { $model->docReceiverList[$n++] = null !== $item ? docReceiverList::fromMap($item) : $item; } } } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['ipAddress'])) { $model->ipAddress = $map['ipAddress']; } if (isset($map['operateModule'])) { $model->operateModule = $map['operateModule']; } if (isset($map['operateModuleView'])) { $model->operateModuleView = $map['operateModuleView']; } if (isset($map['operatorName'])) { $model->operatorName = $map['operatorName']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['platformView'])) { $model->platformView = $map['platformView']; } if (isset($map['prevWorkSpaceId'])) { $model->prevWorkSpaceId = $map['prevWorkSpaceId']; } if (isset($map['prevWorkSpaceMobileUrl'])) { $model->prevWorkSpaceMobileUrl = $map['prevWorkSpaceMobileUrl']; } if (isset($map['prevWorkSpaceName'])) { $model->prevWorkSpaceName = $map['prevWorkSpaceName']; } if (isset($map['prevWorkSpacePcUrl'])) { $model->prevWorkSpacePcUrl = $map['prevWorkSpacePcUrl']; } if (isset($map['realName'])) { $model->realName = $map['realName']; } if (isset($map['receiverName'])) { $model->receiverName = $map['receiverName']; } if (isset($map['receiverType'])) { $model->receiverType = $map['receiverType']; } if (isset($map['receiverTypeView'])) { $model->receiverTypeView = $map['receiverTypeView']; } if (isset($map['resource'])) { $model->resource = $map['resource']; } if (isset($map['resourceExtension'])) { $model->resourceExtension = $map['resourceExtension']; } if (isset($map['resourceSize'])) { $model->resourceSize = $map['resourceSize']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['targetSpaceId'])) { $model->targetSpaceId = $map['targetSpaceId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['workSpaceId'])) { $model->workSpaceId = $map['workSpaceId']; } if (isset($map['workSpaceMobileUrl'])) { $model->workSpaceMobileUrl = $map['workSpaceMobileUrl']; } if (isset($map['workSpaceName'])) { $model->workSpaceName = $map['workSpaceName']; } if (isset($map['workSpacePcUrl'])) { $model->workSpacePcUrl = $map['workSpacePcUrl']; } return $model; } } src/exclusive_1_0/Models/ListAuditLogResponseBody/list_/docMemberList.php000064400000004570146412132660022514 0ustar00 'memberName', 'memberType' => 'memberType', 'memberTypeView' => 'memberTypeView', 'permissionRole' => 'permissionRole', 'permissionRoleView' => 'permissionRoleView', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberName) { $res['memberName'] = $this->memberName; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->memberTypeView) { $res['memberTypeView'] = $this->memberTypeView; } if (null !== $this->permissionRole) { $res['permissionRole'] = $this->permissionRole; } if (null !== $this->permissionRoleView) { $res['permissionRoleView'] = $this->permissionRoleView; } return $res; } /** * @param array $map * * @return docMemberList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberName'])) { $model->memberName = $map['memberName']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } if (isset($map['memberTypeView'])) { $model->memberTypeView = $map['memberTypeView']; } if (isset($map['permissionRole'])) { $model->permissionRole = $map['permissionRole']; } if (isset($map['permissionRoleView'])) { $model->permissionRoleView = $map['permissionRoleView']; } return $model; } } src/exclusive_1_0/Models/ListAuditLogResponseBody/list_/docReceiverList.php000064400000003205146412132660023043 0ustar00 'receiverName', 'receiverType' => 'receiverType', 'receiverTypeView' => 'receiverTypeView', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->receiverName) { $res['receiverName'] = $this->receiverName; } if (null !== $this->receiverType) { $res['receiverType'] = $this->receiverType; } if (null !== $this->receiverTypeView) { $res['receiverTypeView'] = $this->receiverTypeView; } return $res; } /** * @param array $map * * @return docReceiverList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['receiverName'])) { $model->receiverName = $map['receiverName']; } if (isset($map['receiverType'])) { $model->receiverType = $map['receiverType']; } if (isset($map['receiverTypeView'])) { $model->receiverTypeView = $map['receiverTypeView']; } return $model; } } src/exclusive_1_0/Models/ListCategorysHeaders.php000064400000002333146412132660016033 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListCategorysHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/ListCategorysRequest.php000064400000001645146412132660016115 0ustar00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListCategorysRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { $model->body = body::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/ListCategorysRequest/body.php000064400000001477146412132660017055 0ustar00 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/exclusive_1_0/Models/ListCategorysResponse.php000064400000002723146412132660016261 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListCategorysResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListCategorysResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/ListCategorysResponseBody.php000064400000001730146412132660017074 0ustar00 'detailModelList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->detailModelList) { $res['detailModelList'] = $this->detailModelList; } return $res; } /** * @param array $map * * @return ListCategorysResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['detailModelList'])) { if (!empty($map['detailModelList'])) { $model->detailModelList = $map['detailModelList']; } } return $model; } } src/exclusive_1_0/Models/ListCategorysShrinkRequest.php000064400000001514146412132660017267 0ustar00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bodyShrink) { $res['body'] = $this->bodyShrink; } return $res; } /** * @param array $map * * @return ListCategorysShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { $model->bodyShrink = $map['body']; } return $model; } } src/exclusive_1_0/Models/ListJoinOrgInfoHeaders.php000064400000002337146412132660016262 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListJoinOrgInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/ListJoinOrgInfoRequest.php000064400000001533146412132660016334 0ustar00 'mobile', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } return $res; } /** * @param array $map * * @return ListJoinOrgInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } return $model; } } src/exclusive_1_0/Models/ListJoinOrgInfoResponse.php000064400000002733146412132660016505 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListJoinOrgInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListJoinOrgInfoResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/ListJoinOrgInfoResponseBody.php000064400000002746146412132660017327 0ustar00 'orgInfoList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orgInfoList) { $res['orgInfoList'] = []; if (null !== $this->orgInfoList && \is_array($this->orgInfoList)) { $n = 0; foreach ($this->orgInfoList as $item) { $res['orgInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListJoinOrgInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orgInfoList'])) { if (!empty($map['orgInfoList'])) { $model->orgInfoList = []; $n = 0; foreach ($map['orgInfoList'] as $item) { $model->orgInfoList[$n++] = null !== $item ? orgInfoList::fromMap($item) : $item; } } } return $model; } } src/exclusive_1_0/Models/ListJoinOrgInfoResponseBody/orgInfoList.php000064400000003521146412132660021556 0ustar00 'corpId', 'domain' => 'domain', 'orgFullName' => 'orgFullName', 'orgName' => 'orgName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->domain) { $res['domain'] = $this->domain; } if (null !== $this->orgFullName) { $res['orgFullName'] = $this->orgFullName; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } return $res; } /** * @param array $map * * @return orgInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['domain'])) { $model->domain = $map['domain']; } if (isset($map['orgFullName'])) { $model->orgFullName = $map['orgFullName']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } return $model; } } src/exclusive_1_0/Models/ListMiniAppAvailableVersionHeaders.php000064400000002367146412132660020606 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListMiniAppAvailableVersionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/ListMiniAppAvailableVersionRequest.php000064400000003630146412132660020655 0ustar00 'miniAppId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'versionTypeSet' => 'versionTypeSet', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->versionTypeSet) { $res['versionTypeSet'] = $this->versionTypeSet; } return $res; } /** * @param array $map * * @return ListMiniAppAvailableVersionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['versionTypeSet'])) { if (!empty($map['versionTypeSet'])) { $model->versionTypeSet = $map['versionTypeSet']; } } return $model; } } src/exclusive_1_0/Models/ListMiniAppAvailableVersionResponse.php000064400000003013146412132660021016 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListMiniAppAvailableVersionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListMiniAppAvailableVersionResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/ListMiniAppAvailableVersionResponseBody.php000064400000002617146412132660021645 0ustar00 '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 ListMiniAppAvailableVersionResponseBody */ 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/exclusive_1_0/Models/ListMiniAppAvailableVersionResponseBody/list_.php000064400000002271146412132660022753 0ustar00 'buildStatus', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->buildStatus) { $res['buildStatus'] = $this->buildStatus; } 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['buildStatus'])) { $model->buildStatus = $map['buildStatus']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/exclusive_1_0/Models/ListMiniAppHistoryVersionHeaders.php000064400000002363146412132660020363 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListMiniAppHistoryVersionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/ListMiniAppHistoryVersionRequest.php000064400000003012146412132660020430 0ustar00 'miniAppId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return ListMiniAppHistoryVersionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/exclusive_1_0/Models/ListMiniAppHistoryVersionResponse.php000064400000003003146412132660020576 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListMiniAppHistoryVersionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListMiniAppHistoryVersionResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/ListMiniAppHistoryVersionResponseBody.php000064400000002611146412132660021420 0ustar00 '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 ListMiniAppHistoryVersionResponseBody */ 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/exclusive_1_0/Models/ListMiniAppHistoryVersionResponseBody/list_.php000064400000004353146412132660022537 0ustar00 'buildStatus', 'h5Bundle' => 'h5Bundle', 'packageSize' => 'packageSize', 'packageUrl' => 'packageUrl', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->buildStatus) { $res['buildStatus'] = $this->buildStatus; } if (null !== $this->h5Bundle) { $res['h5Bundle'] = $this->h5Bundle; } if (null !== $this->packageSize) { $res['packageSize'] = $this->packageSize; } if (null !== $this->packageUrl) { $res['packageUrl'] = $this->packageUrl; } 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['buildStatus'])) { $model->buildStatus = $map['buildStatus']; } if (isset($map['h5Bundle'])) { $model->h5Bundle = $map['h5Bundle']; } if (isset($map['packageSize'])) { $model->packageSize = $map['packageSize']; } if (isset($map['packageUrl'])) { $model->packageUrl = $map['packageUrl']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/exclusive_1_0/Models/ListPartnerRolesHeaders.php000064400000002341146412132660016512 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListPartnerRolesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/ListPartnerRolesResponse.php000064400000002737146412132660016746 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListPartnerRolesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListPartnerRolesResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/ListPartnerRolesResponseBody.php000064400000002556146412132660017563 0ustar00 '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 ListPartnerRolesResponseBody */ 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/exclusive_1_0/Models/ListPartnerRolesResponseBody/list_.php000064400000012324146412132660020667 0ustar00 'id', 'isNecessary' => 'isNecessary', 'name' => 'name', 'visibleDepts' => 'visibleDepts', 'visibleUsers' => 'visibleUsers', 'warningDepts' => 'warningDepts', 'warningUsers' => 'warningUsers', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isNecessary) { $res['isNecessary'] = $this->isNecessary; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->visibleDepts) { $res['visibleDepts'] = []; if (null !== $this->visibleDepts && \is_array($this->visibleDepts)) { $n = 0; foreach ($this->visibleDepts as $item) { $res['visibleDepts'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->visibleUsers) { $res['visibleUsers'] = []; if (null !== $this->visibleUsers && \is_array($this->visibleUsers)) { $n = 0; foreach ($this->visibleUsers as $item) { $res['visibleUsers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->warningDepts) { $res['warningDepts'] = []; if (null !== $this->warningDepts && \is_array($this->warningDepts)) { $n = 0; foreach ($this->warningDepts as $item) { $res['warningDepts'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->warningUsers) { $res['warningUsers'] = []; if (null !== $this->warningUsers && \is_array($this->warningUsers)) { $n = 0; foreach ($this->warningUsers as $item) { $res['warningUsers'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isNecessary'])) { $model->isNecessary = $map['isNecessary']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['visibleDepts'])) { if (!empty($map['visibleDepts'])) { $model->visibleDepts = []; $n = 0; foreach ($map['visibleDepts'] as $item) { $model->visibleDepts[$n++] = null !== $item ? visibleDepts::fromMap($item) : $item; } } } if (isset($map['visibleUsers'])) { if (!empty($map['visibleUsers'])) { $model->visibleUsers = []; $n = 0; foreach ($map['visibleUsers'] as $item) { $model->visibleUsers[$n++] = null !== $item ? visibleUsers::fromMap($item) : $item; } } } if (isset($map['warningDepts'])) { if (!empty($map['warningDepts'])) { $model->warningDepts = []; $n = 0; foreach ($map['warningDepts'] as $item) { $model->warningDepts[$n++] = null !== $item ? warningDepts::fromMap($item) : $item; } } } if (isset($map['warningUsers'])) { if (!empty($map['warningUsers'])) { $model->warningUsers = []; $n = 0; foreach ($map['warningUsers'] as $item) { $model->warningUsers[$n++] = null !== $item ? warningUsers::fromMap($item) : $item; } } } return $model; } } src/exclusive_1_0/Models/ListPartnerRolesResponseBody/list_/visibleDepts.php000064400000002102146412132660023315 0ustar00 'deptId', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return visibleDepts */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/exclusive_1_0/Models/ListPartnerRolesResponseBody/list_/visibleUsers.php000064400000002105146412132660023342 0ustar00 '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 visibleUsers */ 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/exclusive_1_0/Models/ListPartnerRolesResponseBody/list_/warningDepts.php000064400000002102146412132660023325 0ustar00 'deptId', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return warningDepts */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/exclusive_1_0/Models/ListPartnerRolesResponseBody/list_/warningUsers.php000064400000002105146412132660023352 0ustar00 '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 warningUsers */ 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/exclusive_1_0/Models/ListPunchScheduleByConditionWithPagingHeaders.php000064400000002415146412132660022752 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListPunchScheduleByConditionWithPagingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/ListPunchScheduleByConditionWithPagingRequest.php000064400000005360146412132660023031 0ustar00 'bizInstanceId', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'scheduleDateEnd' => 'scheduleDateEnd', 'scheduleDateStart' => 'scheduleDateStart', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizInstanceId) { $res['bizInstanceId'] = $this->bizInstanceId; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->scheduleDateEnd) { $res['scheduleDateEnd'] = $this->scheduleDateEnd; } if (null !== $this->scheduleDateStart) { $res['scheduleDateStart'] = $this->scheduleDateStart; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return ListPunchScheduleByConditionWithPagingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizInstanceId'])) { $model->bizInstanceId = $map['bizInstanceId']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['scheduleDateEnd'])) { $model->scheduleDateEnd = $map['scheduleDateEnd']; } if (isset($map['scheduleDateStart'])) { $model->scheduleDateStart = $map['scheduleDateStart']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/exclusive_1_0/Models/ListPunchScheduleByConditionWithPagingResponse.php000064400000003067146412132660023201 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListPunchScheduleByConditionWithPagingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListPunchScheduleByConditionWithPagingResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/ListPunchScheduleByConditionWithPagingResponseBody.php000064400000004054146412132660024014 0ustar00 '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 ListPunchScheduleByConditionWithPagingResponseBody */ 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/exclusive_1_0/Models/ListPunchScheduleByConditionWithPagingResponseBody/list_.php000064400000004422146412132660025125 0ustar00 'bizOuterId', 'positionName' => 'positionName', 'punchSymbol' => 'punchSymbol', 'userId' => 'userId', 'userPunchTime' => 'userPunchTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizOuterId) { $res['bizOuterId'] = $this->bizOuterId; } if (null !== $this->positionName) { $res['positionName'] = $this->positionName; } if (null !== $this->punchSymbol) { $res['punchSymbol'] = $this->punchSymbol; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userPunchTime) { $res['userPunchTime'] = $this->userPunchTime; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizOuterId'])) { $model->bizOuterId = $map['bizOuterId']; } if (isset($map['positionName'])) { $model->positionName = $map['positionName']; } if (isset($map['punchSymbol'])) { $model->punchSymbol = $map['punchSymbol']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userPunchTime'])) { $model->userPunchTime = $map['userPunchTime']; } return $model; } } src/exclusive_1_0/Models/ListRulesHeaders.php000064400000002323146412132660015164 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListRulesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/ListRulesRequest.php000064400000001631146412132660015242 0ustar00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListRulesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { $model->body = body::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/ListRulesRequest/body.php000064400000001473146412132660016203 0ustar00 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/exclusive_1_0/Models/ListRulesResponse.php000064400000002703146412132660015411 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListRulesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListRulesResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/ListRulesResponseBody.php000064400000001720146412132660016225 0ustar00 'detailModelList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->detailModelList) { $res['detailModelList'] = $this->detailModelList; } return $res; } /** * @param array $map * * @return ListRulesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['detailModelList'])) { if (!empty($map['detailModelList'])) { $model->detailModelList = $map['detailModelList']; } } return $model; } } src/exclusive_1_0/Models/ListRulesShrinkRequest.php000064400000001504146412132660016420 0ustar00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bodyShrink) { $res['body'] = $this->bodyShrink; } return $res; } /** * @param array $map * * @return ListRulesShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { $model->bodyShrink = $map['body']; } return $model; } } src/exclusive_1_0/Models/LogoutHeaders.php000064400000002315146412132660014510 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return LogoutHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/LogoutRequest.php000064400000002224146412132660014564 0ustar00 'deviceType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceType) { $res['deviceType'] = $this->deviceType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return LogoutRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceType'])) { $model->deviceType = $map['deviceType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/exclusive_1_0/Models/LogoutResponse.php000064400000002667146412132660014745 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return LogoutResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = LogoutResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/LogoutResponseBody.php000064400000001467146412132660015560 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return LogoutResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/exclusive_1_0/Models/PreventCheatingCheckRiskHeaders.php000064400000002361146412132660020115 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PreventCheatingCheckRiskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/PreventCheatingCheckRiskRequest.php000064400000004204146412132660020170 0ustar00 '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 PreventCheatingCheckRiskRequest */ 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/exclusive_1_0/Models/PreventCheatingCheckRiskResponse.php000064400000002777146412132660020353 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PreventCheatingCheckRiskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PreventCheatingCheckRiskResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/PreventCheatingCheckRiskResponseBody.php000064400000001757146412132660021166 0ustar00 '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 PreventCheatingCheckRiskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/exclusive_1_0/Models/PreventCheatingCheckRiskResponseBody/result.php000064400000002147146412132660022476 0ustar00 '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/exclusive_1_0/Models/PublishFileChangeNoticeHeaders.php000064400000002357146412132660017723 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PublishFileChangeNoticeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/PublishFileChangeNoticeRequest.php000064400000003573146412132660020001 0ustar00 'fileId', 'operateType' => 'operateType', 'operatorUnionId' => 'operatorUnionId', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->operateType) { $res['operateType'] = $this->operateType; } if (null !== $this->operatorUnionId) { $res['operatorUnionId'] = $this->operatorUnionId; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return PublishFileChangeNoticeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['operateType'])) { $model->operateType = $map['operateType']; } if (isset($map['operatorUnionId'])) { $model->operatorUnionId = $map['operatorUnionId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/exclusive_1_0/Models/PublishFileChangeNoticeResponse.php000064400000002207146412132660020140 0ustar00 '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 PublishFileChangeNoticeResponse */ 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/exclusive_1_0/Models/PublishRuleHeaders.php000064400000002327146412132660015500 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PublishRuleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/PublishRuleRequest.php000064400000001506146412132660015553 0ustar00 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return PublishRuleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/exclusive_1_0/Models/PublishRuleResponse.php000064400000002713146412132660015722 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PublishRuleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PublishRuleResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/PublishRuleResponseBody.php000064400000001557146412132660016545 0ustar00 'isPublish', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isPublish) { $res['isPublish'] = $this->isPublish; } return $res; } /** * @param array $map * * @return PublishRuleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isPublish'])) { $model->isPublish = $map['isPublish']; } return $model; } } src/exclusive_1_0/Models/PushBadgeHeaders.php000064400000002323146412132660015100 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PushBadgeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/PushBadgeRequest.php000064400000004051146412132660015155 0ustar00 'agentId', 'badgeItems' => 'badgeItems', 'pushType' => 'pushType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->badgeItems) { $res['badgeItems'] = []; if (null !== $this->badgeItems && \is_array($this->badgeItems)) { $n = 0; foreach ($this->badgeItems as $item) { $res['badgeItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->pushType) { $res['pushType'] = $this->pushType; } return $res; } /** * @param array $map * * @return PushBadgeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['badgeItems'])) { if (!empty($map['badgeItems'])) { $model->badgeItems = []; $n = 0; foreach ($map['badgeItems'] as $item) { $model->badgeItems[$n++] = null !== $item ? badgeItems::fromMap($item) : $item; } } } if (isset($map['pushType'])) { $model->pushType = $map['pushType']; } return $model; } } src/exclusive_1_0/Models/PushBadgeRequest/badgeItems.php000064400000002223146412132660017220 0ustar00 'pushValue', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pushValue) { $res['pushValue'] = $this->pushValue; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return badgeItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pushValue'])) { $model->pushValue = $map['pushValue']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/exclusive_1_0/Models/PushBadgeResponse.php000064400000002703146412132660015325 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PushBadgeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PushBadgeResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/PushBadgeResponseBody.php000064400000001531146412132660016141 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return PushBadgeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/exclusive_1_0/Models/QueryAcrossCloudStroageConfigsHeaders.php000064400000002375146412132660021352 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAcrossCloudStroageConfigsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/QueryAcrossCloudStroageConfigsRequest.php000064400000002500146412132660021415 0ustar00 'targetCloudType', 'targetCorpId' => 'targetCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->targetCloudType) { $res['targetCloudType'] = $this->targetCloudType; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } return $res; } /** * @param array $map * * @return QueryAcrossCloudStroageConfigsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['targetCloudType'])) { $model->targetCloudType = $map['targetCloudType']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } return $model; } } src/exclusive_1_0/Models/QueryAcrossCloudStroageConfigsResponse.php000064400000003027146412132660021570 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAcrossCloudStroageConfigsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAcrossCloudStroageConfigsResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/QueryAcrossCloudStroageConfigsResponseBody.php000064400000004476146412132660022417 0ustar00 'accessKeyId', 'accessKeySecret' => 'accessKeySecret', 'bucketName' => 'bucketName', 'cloudType' => 'cloudType', 'endpoint' => 'endpoint', ]; 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->bucketName) { $res['bucketName'] = $this->bucketName; } if (null !== $this->cloudType) { $res['cloudType'] = $this->cloudType; } if (null !== $this->endpoint) { $res['endpoint'] = $this->endpoint; } return $res; } /** * @param array $map * * @return QueryAcrossCloudStroageConfigsResponseBody */ 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['bucketName'])) { $model->bucketName = $map['bucketName']; } if (isset($map['cloudType'])) { $model->cloudType = $map['cloudType']; } if (isset($map['endpoint'])) { $model->endpoint = $map['endpoint']; } return $model; } } src/exclusive_1_0/Models/QueryPartnerInfoHeaders.php000064400000002341146412132660016513 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryPartnerInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/QueryPartnerInfoResponse.php000064400000002737146412132660016747 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryPartnerInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryPartnerInfoResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/QueryPartnerInfoResponseBody.php000064400000005527146412132660017565 0ustar00 'partnerDeptList', 'partnerLabelList' => 'partnerLabelList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->partnerDeptList) { $res['partnerDeptList'] = []; if (null !== $this->partnerDeptList && \is_array($this->partnerDeptList)) { $n = 0; foreach ($this->partnerDeptList as $item) { $res['partnerDeptList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->partnerLabelList) { $res['partnerLabelList'] = []; if (null !== $this->partnerLabelList && \is_array($this->partnerLabelList)) { $n = 0; foreach ($this->partnerLabelList as $item) { $res['partnerLabelList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryPartnerInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['partnerDeptList'])) { if (!empty($map['partnerDeptList'])) { $model->partnerDeptList = []; $n = 0; foreach ($map['partnerDeptList'] as $item) { $model->partnerDeptList[$n++] = null !== $item ? partnerDeptList::fromMap($item) : $item; } } } if (isset($map['partnerLabelList'])) { if (!empty($map['partnerLabelList'])) { $model->partnerLabelList = []; $n = 0; foreach ($map['partnerLabelList'] as $item) { $model->partnerLabelList[$n++] = null !== $item ? partnerLabelList::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/exclusive_1_0/Models/QueryPartnerInfoResponseBody/partnerDeptList.php000064400000004570146412132660022706 0ustar00 'memberCount', 'partnerLabelModelLevel1' => 'partnerLabelModelLevel1', 'partnerNum' => 'partnerNum', 'title' => 'title', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberCount) { $res['memberCount'] = $this->memberCount; } if (null !== $this->partnerLabelModelLevel1) { $res['partnerLabelModelLevel1'] = null !== $this->partnerLabelModelLevel1 ? $this->partnerLabelModelLevel1->toMap() : null; } if (null !== $this->partnerNum) { $res['partnerNum'] = $this->partnerNum; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return partnerDeptList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberCount'])) { $model->memberCount = $map['memberCount']; } if (isset($map['partnerLabelModelLevel1'])) { $model->partnerLabelModelLevel1 = partnerLabelModelLevel1::fromMap($map['partnerLabelModelLevel1']); } if (isset($map['partnerNum'])) { $model->partnerNum = $map['partnerNum']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/exclusive_1_0/Models/QueryPartnerInfoResponseBody/partnerDeptList/partnerLabelModelLevel1.php000064400000002230146412132660027342 0ustar00 'labelId', 'labelname' => 'labelname', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } if (null !== $this->labelname) { $res['labelname'] = $this->labelname; } return $res; } /** * @param array $map * * @return partnerLabelModelLevel1 */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } if (isset($map['labelname'])) { $model->labelname = $map['labelname']; } return $model; } } src/exclusive_1_0/Models/QueryPartnerInfoResponseBody/partnerLabelList.php000064400000002040146412132660023017 0ustar00 '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 partnerLabelList */ 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/exclusive_1_0/Models/QueryUserBehaviorHeaders.php000064400000002343146412132660016664 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserBehaviorHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/QueryUserBehaviorRequest.php000064400000005014146412132660016737 0ustar00 'endTime', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'platform' => 'platform', 'startTime' => 'startTime', 'type' => 'type', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; 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->platform) { $res['platform'] = $this->platform; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryUserBehaviorRequest */ public static function fromMap($map = []) { $model = new self(); 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['platform'])) { $model->platform = $map['platform']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/exclusive_1_0/Models/QueryUserBehaviorResponse.php000064400000002743146412132660017113 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserBehaviorResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserBehaviorResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/QueryUserBehaviorResponseBody.php000064400000003644146412132660017732 0ustar00 'data', 'dataCnt' => 'dataCnt', 'totalCnt' => 'totalCnt', ]; 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->dataCnt) { $res['dataCnt'] = $this->dataCnt; } if (null !== $this->totalCnt) { $res['totalCnt'] = $this->totalCnt; } return $res; } /** * @param array $map * * @return QueryUserBehaviorResponseBody */ 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['dataCnt'])) { $model->dataCnt = $map['dataCnt']; } if (isset($map['totalCnt'])) { $model->totalCnt = $map['totalCnt']; } return $model; } } src/exclusive_1_0/Models/QueryUserBehaviorResponseBody/data.php000064400000004661146412132660020643 0ustar00 'pictureUrl', 'platform' => 'platform', 'scene' => 'scene', 'time' => 'time', 'type' => 'type', 'userId' => 'userId', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pictureUrl) { $res['pictureUrl'] = $this->pictureUrl; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->time) { $res['time'] = $this->time; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pictureUrl'])) { $model->pictureUrl = $map['pictureUrl']; } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['time'])) { $model->time = $map['time']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/exclusive_1_0/Models/RollbackMiniAppVersionHeaders.php000064400000002355146412132660017620 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RollbackMiniAppVersionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/RollbackMiniAppVersionRequest.php000064400000003161146412132660017671 0ustar00 'miniAppId', 'rollbackVersion' => 'rollbackVersion', 'targetVersion' => 'targetVersion', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->rollbackVersion) { $res['rollbackVersion'] = $this->rollbackVersion; } if (null !== $this->targetVersion) { $res['targetVersion'] = $this->targetVersion; } return $res; } /** * @param array $map * * @return RollbackMiniAppVersionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['rollbackVersion'])) { $model->rollbackVersion = $map['rollbackVersion']; } if (isset($map['targetVersion'])) { $model->targetVersion = $map['targetVersion']; } return $model; } } src/exclusive_1_0/Models/RollbackMiniAppVersionResponse.php000064400000002767146412132660020052 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RollbackMiniAppVersionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RollbackMiniAppVersionResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/RollbackMiniAppVersionResponseBody.php000064400000002172146412132660020656 0ustar00 '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 RollbackMiniAppVersionResponseBody */ 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/exclusive_1_0/Models/RuleBatchReceiverHeaders.php000064400000002343146412132660016576 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RuleBatchReceiverHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/RuleBatchReceiverRequest.php000064400000006272146412132660016660 0ustar00 'batchNo', 'cardOptions' => 'cardOptions', 'data' => 'data', 'ruleCode' => 'ruleCode', 'secretKey' => 'secretKey', 'specialStrategy' => 'specialStrategy', 'taskBatchNo' => 'taskBatchNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->batchNo) { $res['batchNo'] = $this->batchNo; } if (null !== $this->cardOptions) { $res['cardOptions'] = $this->cardOptions; } 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->ruleCode) { $res['ruleCode'] = $this->ruleCode; } if (null !== $this->secretKey) { $res['secretKey'] = $this->secretKey; } if (null !== $this->specialStrategy) { $res['specialStrategy'] = $this->specialStrategy; } if (null !== $this->taskBatchNo) { $res['taskBatchNo'] = $this->taskBatchNo; } return $res; } /** * @param array $map * * @return RuleBatchReceiverRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['batchNo'])) { $model->batchNo = $map['batchNo']; } if (isset($map['cardOptions'])) { $model->cardOptions = $map['cardOptions']; } 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['ruleCode'])) { $model->ruleCode = $map['ruleCode']; } if (isset($map['secretKey'])) { $model->secretKey = $map['secretKey']; } if (isset($map['specialStrategy'])) { $model->specialStrategy = $map['specialStrategy']; } if (isset($map['taskBatchNo'])) { $model->taskBatchNo = $map['taskBatchNo']; } return $model; } } src/exclusive_1_0/Models/RuleBatchReceiverRequest/data.php000064400000006664146412132660017576 0ustar00 'atAccount', 'attrs' => 'attrs', 'callbackUrl' => 'callbackUrl', 'cardCallbackUrl' => 'cardCallbackUrl', 'content' => 'content', 'isAtAll' => 'isAtAll', 'receiverAccount' => 'receiverAccount', 'receiverType' => 'receiverType', 'serialNumber' => 'serialNumber', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atAccount) { $res['atAccount'] = $this->atAccount; } if (null !== $this->attrs) { $res['attrs'] = null !== $this->attrs ? $this->attrs->toMap() : null; } if (null !== $this->callbackUrl) { $res['callbackUrl'] = $this->callbackUrl; } if (null !== $this->cardCallbackUrl) { $res['cardCallbackUrl'] = $this->cardCallbackUrl; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->isAtAll) { $res['isAtAll'] = $this->isAtAll; } if (null !== $this->receiverAccount) { $res['receiverAccount'] = $this->receiverAccount; } if (null !== $this->receiverType) { $res['receiverType'] = $this->receiverType; } if (null !== $this->serialNumber) { $res['serialNumber'] = $this->serialNumber; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atAccount'])) { $model->atAccount = $map['atAccount']; } if (isset($map['attrs'])) { $model->attrs = attrs::fromMap($map['attrs']); } if (isset($map['callbackUrl'])) { $model->callbackUrl = $map['callbackUrl']; } if (isset($map['cardCallbackUrl'])) { $model->cardCallbackUrl = $map['cardCallbackUrl']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['isAtAll'])) { $model->isAtAll = $map['isAtAll']; } if (isset($map['receiverAccount'])) { $model->receiverAccount = $map['receiverAccount']; } if (isset($map['receiverType'])) { $model->receiverType = $map['receiverType']; } if (isset($map['serialNumber'])) { $model->serialNumber = $map['serialNumber']; } return $model; } } src/exclusive_1_0/Models/RuleBatchReceiverRequest/data/attrs.php000064400000001627146412132660020725 0ustar00 'listUnitId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->listUnitId) { $res['listUnitId'] = $this->listUnitId; } return $res; } /** * @param array $map * * @return attrs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['listUnitId'])) { if (!empty($map['listUnitId'])) { $model->listUnitId = $map['listUnitId']; } } return $model; } } src/exclusive_1_0/Models/RuleBatchReceiverResponse.php000064400000002743146412132660017025 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RuleBatchReceiverResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RuleBatchReceiverResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/RuleBatchReceiverResponseBody.php000064400000004641146412132660017642 0ustar00 'code', 'data' => 'data', 'msg' => 'msg', 'msgId' => 'msgId', 'rows' => 'rows', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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->msg) { $res['msg'] = $this->msg; } if (null !== $this->msgId) { $res['msgId'] = $this->msgId; } if (null !== $this->rows) { $res['rows'] = $this->rows; } return $res; } /** * @param array $map * * @return RuleBatchReceiverResponseBody */ 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 = []; $n = 0; foreach ($map['data'] as $item) { $model->data[$n++] = null !== $item ? data::fromMap($item) : $item; } } } if (isset($map['msg'])) { $model->msg = $map['msg']; } if (isset($map['msgId'])) { $model->msgId = $map['msgId']; } if (isset($map['rows'])) { if (!empty($map['rows'])) { $model->rows = $map['rows']; } } return $model; } } src/exclusive_1_0/Models/RuleBatchReceiverResponseBody/data.php000064400000002164146412132660020551 0ustar00 'msgId', 'serialNumber' => 'serialNumber', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgId) { $res['msgId'] = $this->msgId; } if (null !== $this->serialNumber) { $res['serialNumber'] = $this->serialNumber; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgId'])) { $model->msgId = $map['msgId']; } if (isset($map['serialNumber'])) { $model->serialNumber = $map['serialNumber']; } return $model; } } src/exclusive_1_0/Models/RuleBatchReceiverResponseBody/rows.php000064400000002164146412132660020632 0ustar00 'serialNumber', 'msgId' => 'msgId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->serialNumber) { $res['serialNumber'] = $this->serialNumber; } if (null !== $this->msgId) { $res['msgId'] = $this->msgId; } return $res; } /** * @param array $map * * @return rows */ public static function fromMap($map = []) { $model = new self(); if (isset($map['serialNumber'])) { $model->serialNumber = $map['serialNumber']; } if (isset($map['msgId'])) { $model->msgId = $map['msgId']; } return $model; } } src/exclusive_1_0/Models/SaveAcrossCloudStroageConfigsHeaders.php000064400000002373146412132660021141 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveAcrossCloudStroageConfigsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/SaveAcrossCloudStroageConfigsRequest.php000064400000005241146412132660021213 0ustar00 'accessKeyId', 'accessKeySecret' => 'accessKeySecret', 'bucketName' => 'bucketName', 'cloudType' => 'cloudType', 'endpoint' => 'endpoint', 'targetCorpId' => 'targetCorpId', ]; 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->bucketName) { $res['bucketName'] = $this->bucketName; } if (null !== $this->cloudType) { $res['cloudType'] = $this->cloudType; } if (null !== $this->endpoint) { $res['endpoint'] = $this->endpoint; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } return $res; } /** * @param array $map * * @return SaveAcrossCloudStroageConfigsRequest */ 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['bucketName'])) { $model->bucketName = $map['bucketName']; } if (isset($map['cloudType'])) { $model->cloudType = $map['cloudType']; } if (isset($map['endpoint'])) { $model->endpoint = $map['endpoint']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } return $model; } } src/exclusive_1_0/Models/SaveAcrossCloudStroageConfigsResponse.php000064400000003023146412132660021355 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveAcrossCloudStroageConfigsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveAcrossCloudStroageConfigsResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/SaveAcrossCloudStroageConfigsResponseBody.php000064400000003056146412132660022201 0ustar00 'accessKeyId', 'endpoint' => 'endpoint', 'state' => 'state', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKeyId) { $res['accessKeyId'] = $this->accessKeyId; } if (null !== $this->endpoint) { $res['endpoint'] = $this->endpoint; } if (null !== $this->state) { $res['state'] = $this->state; } return $res; } /** * @param array $map * * @return SaveAcrossCloudStroageConfigsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKeyId'])) { $model->accessKeyId = $map['accessKeyId']; } if (isset($map['endpoint'])) { $model->endpoint = $map['endpoint']; } if (isset($map['state'])) { $model->state = $map['state']; } return $model; } } src/exclusive_1_0/Models/SaveAndSubmitAuthInfoHeaders.php000064400000002353146412132660017404 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveAndSubmitAuthInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/SaveAndSubmitAuthInfoRequest.php000064400000016443146412132660017466 0ustar00 'applyRemark', 'authorizeMediaId' => 'authorizeMediaId', 'industry' => 'industry', 'legalPerson' => 'legalPerson', 'legalPersonIdCard' => 'legalPersonIdCard', 'licenseMediaId' => 'licenseMediaId', 'locCity' => 'locCity', 'locCityName' => 'locCityName', 'locProvince' => 'locProvince', 'locProvinceName' => 'locProvinceName', 'mobileNum' => 'mobileNum', 'orgName' => 'orgName', 'organizationCode' => 'organizationCode', 'organizationCodeMediaId' => 'organizationCodeMediaId', 'registLocation' => 'registLocation', 'registNum' => 'registNum', 'targetCorpId' => 'targetCorpId', 'unifiedSocialCredit' => 'unifiedSocialCredit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->applyRemark) { $res['applyRemark'] = $this->applyRemark; } if (null !== $this->authorizeMediaId) { $res['authorizeMediaId'] = $this->authorizeMediaId; } if (null !== $this->industry) { $res['industry'] = $this->industry; } if (null !== $this->legalPerson) { $res['legalPerson'] = $this->legalPerson; } if (null !== $this->legalPersonIdCard) { $res['legalPersonIdCard'] = $this->legalPersonIdCard; } if (null !== $this->licenseMediaId) { $res['licenseMediaId'] = $this->licenseMediaId; } if (null !== $this->locCity) { $res['locCity'] = $this->locCity; } if (null !== $this->locCityName) { $res['locCityName'] = $this->locCityName; } if (null !== $this->locProvince) { $res['locProvince'] = $this->locProvince; } if (null !== $this->locProvinceName) { $res['locProvinceName'] = $this->locProvinceName; } if (null !== $this->mobileNum) { $res['mobileNum'] = $this->mobileNum; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->organizationCode) { $res['organizationCode'] = $this->organizationCode; } if (null !== $this->organizationCodeMediaId) { $res['organizationCodeMediaId'] = $this->organizationCodeMediaId; } if (null !== $this->registLocation) { $res['registLocation'] = $this->registLocation; } if (null !== $this->registNum) { $res['registNum'] = $this->registNum; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } if (null !== $this->unifiedSocialCredit) { $res['unifiedSocialCredit'] = $this->unifiedSocialCredit; } return $res; } /** * @param array $map * * @return SaveAndSubmitAuthInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['applyRemark'])) { $model->applyRemark = $map['applyRemark']; } if (isset($map['authorizeMediaId'])) { $model->authorizeMediaId = $map['authorizeMediaId']; } if (isset($map['industry'])) { $model->industry = $map['industry']; } if (isset($map['legalPerson'])) { $model->legalPerson = $map['legalPerson']; } if (isset($map['legalPersonIdCard'])) { $model->legalPersonIdCard = $map['legalPersonIdCard']; } if (isset($map['licenseMediaId'])) { $model->licenseMediaId = $map['licenseMediaId']; } if (isset($map['locCity'])) { $model->locCity = $map['locCity']; } if (isset($map['locCityName'])) { $model->locCityName = $map['locCityName']; } if (isset($map['locProvince'])) { $model->locProvince = $map['locProvince']; } if (isset($map['locProvinceName'])) { $model->locProvinceName = $map['locProvinceName']; } if (isset($map['mobileNum'])) { $model->mobileNum = $map['mobileNum']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['organizationCode'])) { $model->organizationCode = $map['organizationCode']; } if (isset($map['organizationCodeMediaId'])) { $model->organizationCodeMediaId = $map['organizationCodeMediaId']; } if (isset($map['registLocation'])) { $model->registLocation = $map['registLocation']; } if (isset($map['registNum'])) { $model->registNum = $map['registNum']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } if (isset($map['unifiedSocialCredit'])) { $model->unifiedSocialCredit = $map['unifiedSocialCredit']; } return $model; } } src/exclusive_1_0/Models/SaveAndSubmitAuthInfoResponse.php000064400000002763146412132660017634 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveAndSubmitAuthInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveAndSubmitAuthInfoResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/SaveAndSubmitAuthInfoResponseBody.php000064400000001561146412132660020445 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SaveAndSubmitAuthInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/exclusive_1_0/Models/SaveOpenTerminalInfoHeaders.php000064400000002351146412132660017267 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveOpenTerminalInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/SaveOpenTerminalInfoRequest.php000064400000003637146412132660017354 0ustar00 'corpId', 'logSource' => 'logSource', 'logType' => 'logType', 'openExt' => 'openExt', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->logSource) { $res['logSource'] = $this->logSource; } if (null !== $this->logType) { $res['logType'] = $this->logType; } if (null !== $this->openExt) { $res['openExt'] = $this->openExt; } return $res; } /** * @param array $map * * @return SaveOpenTerminalInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['logSource'])) { $model->logSource = $map['logSource']; } if (isset($map['logType'])) { $model->logType = $map['logType']; } if (isset($map['openExt'])) { $model->openExt = $map['openExt']; } return $model; } } src/exclusive_1_0/Models/SaveOpenTerminalInfoResponse.php000064400000002757146412132660017524 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveOpenTerminalInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveOpenTerminalInfoResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/SaveOpenTerminalInfoResponseBody.php000064400000001523146412132660020330 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SaveOpenTerminalInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/exclusive_1_0/Models/SaveWhiteAppHeaders.php000064400000002331146412132660015575 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveWhiteAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/SaveWhiteAppRequest.php000064400000003231146412132660015652 0ustar00 'agentIdList', 'agentIdMap' => 'agentIdMap', 'operation' => 'operation', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentIdList) { $res['agentIdList'] = $this->agentIdList; } if (null !== $this->agentIdMap) { $res['agentIdMap'] = $this->agentIdMap; } if (null !== $this->operation) { $res['operation'] = $this->operation; } return $res; } /** * @param array $map * * @return SaveWhiteAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentIdList'])) { if (!empty($map['agentIdList'])) { $model->agentIdList = $map['agentIdList']; } } if (isset($map['agentIdMap'])) { $model->agentIdMap = $map['agentIdMap']; } if (isset($map['operation'])) { $model->operation = $map['operation']; } return $model; } } src/exclusive_1_0/Models/SaveWhiteAppResponse.php000064400000002717146412132660016030 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveWhiteAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveWhiteAppResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/SaveWhiteAppResponseBody.php000064400000001503146412132660016636 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SaveWhiteAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/exclusive_1_0/Models/SearchOrgInnerGroupInfoHeaders.php000064400000002357146412132660017747 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchOrgInnerGroupInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/SearchOrgInnerGroupInfoRequest.php000064400000013166146412132660020024 0ustar00 'createTimeEnd', 'createTimeStart' => 'createTimeStart', 'groupMembersCountEnd' => 'groupMembersCountEnd', 'groupMembersCountStart' => 'groupMembersCountStart', 'groupName' => 'groupName', 'groupOwner' => 'groupOwner', 'lastActiveTimeEnd' => 'lastActiveTimeEnd', 'lastActiveTimeStart' => 'lastActiveTimeStart', 'operatorUserId' => 'operatorUserId', 'pageSize' => 'pageSize', 'pageStart' => 'pageStart', 'syncToDingpan' => 'syncToDingpan', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTimeEnd) { $res['createTimeEnd'] = $this->createTimeEnd; } if (null !== $this->createTimeStart) { $res['createTimeStart'] = $this->createTimeStart; } if (null !== $this->groupMembersCountEnd) { $res['groupMembersCountEnd'] = $this->groupMembersCountEnd; } if (null !== $this->groupMembersCountStart) { $res['groupMembersCountStart'] = $this->groupMembersCountStart; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->groupOwner) { $res['groupOwner'] = $this->groupOwner; } if (null !== $this->lastActiveTimeEnd) { $res['lastActiveTimeEnd'] = $this->lastActiveTimeEnd; } if (null !== $this->lastActiveTimeStart) { $res['lastActiveTimeStart'] = $this->lastActiveTimeStart; } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->pageStart) { $res['pageStart'] = $this->pageStart; } if (null !== $this->syncToDingpan) { $res['syncToDingpan'] = $this->syncToDingpan; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return SearchOrgInnerGroupInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTimeEnd'])) { $model->createTimeEnd = $map['createTimeEnd']; } if (isset($map['createTimeStart'])) { $model->createTimeStart = $map['createTimeStart']; } if (isset($map['groupMembersCountEnd'])) { $model->groupMembersCountEnd = $map['groupMembersCountEnd']; } if (isset($map['groupMembersCountStart'])) { $model->groupMembersCountStart = $map['groupMembersCountStart']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['groupOwner'])) { $model->groupOwner = $map['groupOwner']; } if (isset($map['lastActiveTimeEnd'])) { $model->lastActiveTimeEnd = $map['lastActiveTimeEnd']; } if (isset($map['lastActiveTimeStart'])) { $model->lastActiveTimeStart = $map['lastActiveTimeStart']; } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['pageStart'])) { $model->pageStart = $map['pageStart']; } if (isset($map['syncToDingpan'])) { $model->syncToDingpan = $map['syncToDingpan']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/exclusive_1_0/Models/SearchOrgInnerGroupInfoResponse.php000064400000002773146412132660020174 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchOrgInnerGroupInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchOrgInnerGroupInfoResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/SearchOrgInnerGroupInfoResponseBody.php000064400000003755146412132660021013 0ustar00 'itemCount', 'items' => 'items', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->itemCount) { $res['itemCount'] = $this->itemCount; } 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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return SearchOrgInnerGroupInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['itemCount'])) { $model->itemCount = $map['itemCount']; } 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['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/exclusive_1_0/Models/SearchOrgInnerGroupInfoResponseBody/items.php000064400000012461146412132660022126 0ustar00 'groupAdminsCount', 'groupCreateTime' => 'groupCreateTime', 'groupLastActiveTime' => 'groupLastActiveTime', 'groupLastActiveTimeShow' => 'groupLastActiveTimeShow', 'groupMembersCount' => 'groupMembersCount', 'groupName' => 'groupName', 'groupOwner' => 'groupOwner', 'groupOwnerUserId' => 'groupOwnerUserId', 'openConversationId' => 'openConversationId', 'status' => 'status', 'syncToDingpan' => 'syncToDingpan', 'templateId' => 'templateId', 'templateName' => 'templateName', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupAdminsCount) { $res['groupAdminsCount'] = $this->groupAdminsCount; } if (null !== $this->groupCreateTime) { $res['groupCreateTime'] = $this->groupCreateTime; } if (null !== $this->groupLastActiveTime) { $res['groupLastActiveTime'] = $this->groupLastActiveTime; } if (null !== $this->groupLastActiveTimeShow) { $res['groupLastActiveTimeShow'] = $this->groupLastActiveTimeShow; } if (null !== $this->groupMembersCount) { $res['groupMembersCount'] = $this->groupMembersCount; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->groupOwner) { $res['groupOwner'] = $this->groupOwner; } if (null !== $this->groupOwnerUserId) { $res['groupOwnerUserId'] = $this->groupOwnerUserId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->syncToDingpan) { $res['syncToDingpan'] = $this->syncToDingpan; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->templateName) { $res['templateName'] = $this->templateName; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return items */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupAdminsCount'])) { $model->groupAdminsCount = $map['groupAdminsCount']; } if (isset($map['groupCreateTime'])) { $model->groupCreateTime = $map['groupCreateTime']; } if (isset($map['groupLastActiveTime'])) { $model->groupLastActiveTime = $map['groupLastActiveTime']; } if (isset($map['groupLastActiveTimeShow'])) { $model->groupLastActiveTimeShow = $map['groupLastActiveTimeShow']; } if (isset($map['groupMembersCount'])) { $model->groupMembersCount = $map['groupMembersCount']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['groupOwner'])) { $model->groupOwner = $map['groupOwner']; } if (isset($map['groupOwnerUserId'])) { $model->groupOwnerUserId = $map['groupOwnerUserId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['syncToDingpan'])) { $model->syncToDingpan = $map['syncToDingpan']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['templateName'])) { $model->templateName = $map['templateName']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/exclusive_1_0/Models/SendAppDingHeaders.php000064400000002327146412132660015376 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendAppDingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/SendAppDingRequest.php000064400000002255146412132660015453 0ustar00 'content', 'userids' => 'userids', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->userids) { $res['userids'] = $this->userids; } return $res; } /** * @param array $map * * @return SendAppDingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['userids'])) { if (!empty($map['userids'])) { $model->userids = $map['userids']; } } return $model; } } src/exclusive_1_0/Models/SendAppDingResponse.php000064400000002157146412132660015622 0ustar00 '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 SendAppDingResponse */ 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/exclusive_1_0/Models/SendInvitationHeaders.php000064400000002335146412132660016177 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendInvitationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/SendInvitationRequest.php000064400000004237146412132660016257 0ustar00 'deptId', 'orgAlias' => 'orgAlias', 'partnerLabelId' => 'partnerLabelId', 'partnerNum' => 'partnerNum', 'phone' => 'phone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->orgAlias) { $res['orgAlias'] = $this->orgAlias; } if (null !== $this->partnerLabelId) { $res['partnerLabelId'] = $this->partnerLabelId; } if (null !== $this->partnerNum) { $res['partnerNum'] = $this->partnerNum; } if (null !== $this->phone) { $res['phone'] = $this->phone; } return $res; } /** * @param array $map * * @return SendInvitationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['orgAlias'])) { $model->orgAlias = $map['orgAlias']; } if (isset($map['partnerLabelId'])) { $model->partnerLabelId = $map['partnerLabelId']; } if (isset($map['partnerNum'])) { $model->partnerNum = $map['partnerNum']; } if (isset($map['phone'])) { $model->phone = $map['phone']; } return $model; } } src/exclusive_1_0/Models/SendInvitationResponse.php000064400000002165146412132660016423 0ustar00 '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 SendInvitationResponse */ 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/exclusive_1_0/Models/SendPhoneDingHeaders.php000064400000002333146412132660015724 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendPhoneDingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/SendPhoneDingRequest.php000064400000002261146412132660016001 0ustar00 'content', 'userids' => 'userids', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->userids) { $res['userids'] = $this->userids; } return $res; } /** * @param array $map * * @return SendPhoneDingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['userids'])) { if (!empty($map['userids'])) { $model->userids = $map['userids']; } } return $model; } } src/exclusive_1_0/Models/SendPhoneDingResponse.php000064400000002723146412132660016152 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendPhoneDingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendPhoneDingResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/SendPhoneDingResponseBody.php000064400000001541146412132660016765 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SendPhoneDingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/exclusive_1_0/Models/SetDeptPartnerTypeAndNumHeaders.php000064400000002361146412132660020111 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SetDeptPartnerTypeAndNumHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/SetDeptPartnerTypeAndNumRequest.php000064400000003032146412132660020162 0ustar00 'deptId', 'labelIds' => 'labelIds', 'partnerNum' => 'partnerNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->labelIds) { $res['labelIds'] = $this->labelIds; } if (null !== $this->partnerNum) { $res['partnerNum'] = $this->partnerNum; } return $res; } /** * @param array $map * * @return SetDeptPartnerTypeAndNumRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['labelIds'])) { if (!empty($map['labelIds'])) { $model->labelIds = $map['labelIds']; } } if (isset($map['partnerNum'])) { $model->partnerNum = $map['partnerNum']; } return $model; } } src/exclusive_1_0/Models/SetDeptPartnerTypeAndNumResponse.php000064400000002211146412132660020326 0ustar00 '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 SetDeptPartnerTypeAndNumResponse */ 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/exclusive_1_0/Models/SpecialRuleBatchReceiverHeaders.php000064400000002361146412132660020077 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SpecialRuleBatchReceiverHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/SpecialRuleBatchReceiverRequest.php000064400000006317146412132660020161 0ustar00 'batchNo', 'cardOptions' => 'cardOptions', 'data' => 'data', 'ruleCode' => 'ruleCode', 'secretKey' => 'secretKey', 'specialStrategy' => 'specialStrategy', 'taskBatchNo' => 'taskBatchNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->batchNo) { $res['batchNo'] = $this->batchNo; } if (null !== $this->cardOptions) { $res['cardOptions'] = $this->cardOptions; } 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->ruleCode) { $res['ruleCode'] = $this->ruleCode; } if (null !== $this->secretKey) { $res['secretKey'] = $this->secretKey; } if (null !== $this->specialStrategy) { $res['specialStrategy'] = $this->specialStrategy; } if (null !== $this->taskBatchNo) { $res['taskBatchNo'] = $this->taskBatchNo; } return $res; } /** * @param array $map * * @return SpecialRuleBatchReceiverRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['batchNo'])) { $model->batchNo = $map['batchNo']; } if (isset($map['cardOptions'])) { $model->cardOptions = $map['cardOptions']; } 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['ruleCode'])) { $model->ruleCode = $map['ruleCode']; } if (isset($map['secretKey'])) { $model->secretKey = $map['secretKey']; } if (isset($map['specialStrategy'])) { $model->specialStrategy = $map['specialStrategy']; } if (isset($map['taskBatchNo'])) { $model->taskBatchNo = $map['taskBatchNo']; } return $model; } } src/exclusive_1_0/Models/SpecialRuleBatchReceiverRequest/data.php000064400000007434146412132660021073 0ustar00 'atAccount', 'attrs' => 'attrs', 'callbackUrl' => 'callbackUrl', 'cardCallbackUrl' => 'cardCallbackUrl', 'content' => 'content', 'isAtAll' => 'isAtAll', 'privateContent' => 'privateContent', 'receiverAccount' => 'receiverAccount', 'receiverType' => 'receiverType', 'serialNumber' => 'serialNumber', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atAccount) { $res['atAccount'] = $this->atAccount; } if (null !== $this->attrs) { $res['attrs'] = null !== $this->attrs ? $this->attrs->toMap() : null; } if (null !== $this->callbackUrl) { $res['callbackUrl'] = $this->callbackUrl; } if (null !== $this->cardCallbackUrl) { $res['cardCallbackUrl'] = $this->cardCallbackUrl; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->isAtAll) { $res['isAtAll'] = $this->isAtAll; } if (null !== $this->privateContent) { $res['privateContent'] = $this->privateContent; } if (null !== $this->receiverAccount) { $res['receiverAccount'] = $this->receiverAccount; } if (null !== $this->receiverType) { $res['receiverType'] = $this->receiverType; } if (null !== $this->serialNumber) { $res['serialNumber'] = $this->serialNumber; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atAccount'])) { $model->atAccount = $map['atAccount']; } if (isset($map['attrs'])) { $model->attrs = attrs::fromMap($map['attrs']); } if (isset($map['callbackUrl'])) { $model->callbackUrl = $map['callbackUrl']; } if (isset($map['cardCallbackUrl'])) { $model->cardCallbackUrl = $map['cardCallbackUrl']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['isAtAll'])) { $model->isAtAll = $map['isAtAll']; } if (isset($map['privateContent'])) { $model->privateContent = $map['privateContent']; } if (isset($map['receiverAccount'])) { $model->receiverAccount = $map['receiverAccount']; } if (isset($map['receiverType'])) { $model->receiverType = $map['receiverType']; } if (isset($map['serialNumber'])) { $model->serialNumber = $map['serialNumber']; } return $model; } } src/exclusive_1_0/Models/SpecialRuleBatchReceiverRequest/data/attrs.php000064400000001636146412132660022226 0ustar00 'listUnitId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->listUnitId) { $res['listUnitId'] = $this->listUnitId; } return $res; } /** * @param array $map * * @return attrs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['listUnitId'])) { if (!empty($map['listUnitId'])) { $model->listUnitId = $map['listUnitId']; } } return $model; } } src/exclusive_1_0/Models/SpecialRuleBatchReceiverResponse.php000064400000002777146412132660020335 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SpecialRuleBatchReceiverResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SpecialRuleBatchReceiverResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/SpecialRuleBatchReceiverResponseBody.php000064400000004666146412132660021152 0ustar00 'code', 'data' => 'data', 'msg' => 'msg', 'msgId' => 'msgId', 'rows' => 'rows', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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->msg) { $res['msg'] = $this->msg; } if (null !== $this->msgId) { $res['msgId'] = $this->msgId; } if (null !== $this->rows) { $res['rows'] = $this->rows; } return $res; } /** * @param array $map * * @return SpecialRuleBatchReceiverResponseBody */ 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 = []; $n = 0; foreach ($map['data'] as $item) { $model->data[$n++] = null !== $item ? data::fromMap($item) : $item; } } } if (isset($map['msg'])) { $model->msg = $map['msg']; } if (isset($map['msgId'])) { $model->msgId = $map['msgId']; } if (isset($map['rows'])) { if (!empty($map['rows'])) { $model->rows = $map['rows']; } } return $model; } } src/exclusive_1_0/Models/SpecialRuleBatchReceiverResponseBody/data.php000064400000002173146412132660022052 0ustar00 'msgId', 'serialNumber' => 'serialNumber', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgId) { $res['msgId'] = $this->msgId; } if (null !== $this->serialNumber) { $res['serialNumber'] = $this->serialNumber; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgId'])) { $model->msgId = $map['msgId']; } if (isset($map['serialNumber'])) { $model->serialNumber = $map['serialNumber']; } return $model; } } src/exclusive_1_0/Models/SpecialRuleBatchReceiverResponseBody/rows.php000064400000002173146412132660022133 0ustar00 'serialNumber', 'msgId' => 'msgId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->serialNumber) { $res['serialNumber'] = $this->serialNumber; } if (null !== $this->msgId) { $res['msgId'] = $this->msgId; } return $res; } /** * @param array $map * * @return rows */ public static function fromMap($map = []) { $model = new self(); if (isset($map['serialNumber'])) { $model->serialNumber = $map['serialNumber']; } if (isset($map['msgId'])) { $model->msgId = $map['msgId']; } return $model; } } src/exclusive_1_0/Models/UpdateCategoryNameHeaders.php000064400000002345146412132660016763 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateCategoryNameHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/UpdateCategoryNameRequest.php000064400000002550146412132660017036 0ustar00 'currentCategoryName', 'targetCategoryName' => 'targetCategoryName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->currentCategoryName) { $res['currentCategoryName'] = $this->currentCategoryName; } if (null !== $this->targetCategoryName) { $res['targetCategoryName'] = $this->targetCategoryName; } return $res; } /** * @param array $map * * @return UpdateCategoryNameRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['currentCategoryName'])) { $model->currentCategoryName = $map['currentCategoryName']; } if (isset($map['targetCategoryName'])) { $model->targetCategoryName = $map['targetCategoryName']; } return $model; } } src/exclusive_1_0/Models/UpdateCategoryNameResponse.php000064400000002747146412132660017214 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateCategoryNameResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateCategoryNameResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/UpdateCategoryNameResponseBody.php000064400000001536146412132660020025 0ustar00 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return UpdateCategoryNameResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/exclusive_1_0/Models/UpdateFileStatusHeaders.php000064400000002341146412132660016464 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateFileStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/UpdateFileStatusRequest.php000064400000002346146412132660016546 0ustar00 'requestIds', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestIds) { $res['requestIds'] = $this->requestIds; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return UpdateFileStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestIds'])) { if (!empty($map['requestIds'])) { $model->requestIds = $map['requestIds']; } } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/exclusive_1_0/Models/UpdateFileStatusResponse.php000064400000002737146412132660016720 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateFileStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateFileStatusResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/UpdateFileStatusResponseBody.php000064400000001547146412132660017534 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateFileStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/exclusive_1_0/Models/UpdateMiniAppVersionStatusHeaders.php000064400000002365146412132660020516 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateMiniAppVersionStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/UpdateMiniAppVersionStatusRequest.php000064400000003111146412132660020561 0ustar00 'miniAppId', 'version' => 'version', 'versionType' => 'versionType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->version) { $res['version'] = $this->version; } if (null !== $this->versionType) { $res['versionType'] = $this->versionType; } return $res; } /** * @param array $map * * @return UpdateMiniAppVersionStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['version'])) { $model->version = $map['version']; } if (isset($map['versionType'])) { $model->versionType = $map['versionType']; } return $model; } } src/exclusive_1_0/Models/UpdateMiniAppVersionStatusResponse.php000064400000003007146412132660020733 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateMiniAppVersionStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateMiniAppVersionStatusResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/UpdateMiniAppVersionStatusResponseBody.php000064400000002205146412132660021550 0ustar00 '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 UpdateMiniAppVersionStatusResponseBody */ 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/exclusive_1_0/Models/UpdatePartnerVisibilityHeaders.php000064400000002357146412132660020073 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdatePartnerVisibilityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/UpdatePartnerVisibilityRequest.php000064400000003124146412132660020141 0ustar00 'deptIds', 'labelId' => 'labelId', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return UpdatePartnerVisibilityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/exclusive_1_0/Models/UpdatePartnerVisibilityResponse.php000064400000002607146412132660020314 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function 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 UpdatePartnerVisibilityResponse */ public static function fromMap($map = []) { $model = 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/exclusive_1_0/Models/UpdateRoleVisibilityHeaders.php000064400000002351146412132660017353 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateRoleVisibilityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/UpdateRoleVisibilityRequest.php000064400000003116146412132660017430 0ustar00 'deptIds', 'labelId' => 'labelId', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return UpdateRoleVisibilityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/exclusive_1_0/Models/UpdateRoleVisibilityResponse.php000064400000002601146412132660017574 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function 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 UpdateRoleVisibilityResponse */ public static function fromMap($map = []) { $model = 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/exclusive_1_0/Models/UpdateStorageModeHeaders.php000064400000002343146412132660016614 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateStorageModeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/exclusive_1_0/Models/UpdateStorageModeRequest.php000064400000002425146412132660016672 0ustar00 'fileStorageMode', 'targetCorpId' => 'targetCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileStorageMode) { $res['fileStorageMode'] = $this->fileStorageMode; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } return $res; } /** * @param array $map * * @return UpdateStorageModeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileStorageMode'])) { $model->fileStorageMode = $map['fileStorageMode']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } return $model; } } src/exclusive_1_0/Models/UpdateStorageModeResponse.php000064400000002743146412132660017043 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateStorageModeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateStorageModeResponseBody::fromMap($map['body']); } return $model; } } src/exclusive_1_0/Models/UpdateStorageModeResponseBody.php000064400000001670146412132660017657 0ustar00 'targetCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } return $res; } /** * @param array $map * * @return UpdateStorageModeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } return $model; } } src/finance_1_0/Dingtalk.php000064400000255200146412132660011654 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param ApplyBatchPayRequest $request * @param ApplyBatchPayHeaders $headers * @param RuntimeOptions $runtime * * @return ApplyBatchPayResponse */ public function applyBatchPayWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accountId)) { $body['accountId'] = $request->accountId; } if (!Utils::isUnset($request->orderNo)) { $body['orderNo'] = $request->orderNo; } if (!Utils::isUnset($request->passBackParams)) { $body['passBackParams'] = $request->passBackParams; } if (!Utils::isUnset($request->payTerminal)) { $body['payTerminal'] = $request->payTerminal; } if (!Utils::isUnset($request->returnUrl)) { $body['returnUrl'] = $request->returnUrl; } if (!Utils::isUnset($request->staffId)) { $body['staffId'] = $request->staffId; } if (!Utils::isUnset($request->transAmount)) { $body['transAmount'] = $request->transAmount; } if (!Utils::isUnset($request->transExpireTime)) { $body['transExpireTime'] = $request->transExpireTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ApplyBatchPay', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/batchTrades/orders/pay', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ApplyBatchPayResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ApplyBatchPayRequest $request * * @return ApplyBatchPayResponse */ public function applyBatchPay($request) { $runtime = new RuntimeOptions([]); $headers = new ApplyBatchPayHeaders([]); return $this->applyBatchPayWithOptions($request, $headers, $runtime); } /** * @param CloseLoanEntranceRequest $request * @param CloseLoanEntranceHeaders $headers * @param RuntimeOptions $runtime * * @return CloseLoanEntranceResponse */ public function closeLoanEntranceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; 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' => 'CloseLoanEntrance', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/loans/entrances/close', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CloseLoanEntranceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CloseLoanEntranceRequest $request * * @return CloseLoanEntranceResponse */ public function closeLoanEntrance($request) { $runtime = new RuntimeOptions([]); $headers = new CloseLoanEntranceHeaders([]); return $this->closeLoanEntranceWithOptions($request, $headers, $runtime); } /** * @param ConsultCreateSubInstitutionRequest $request * @param ConsultCreateSubInstitutionHeaders $headers * @param RuntimeOptions $runtime * * @return ConsultCreateSubInstitutionResponse */ public function consultCreateSubInstitutionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bindingAlipayLogonId)) { $body['bindingAlipayLogonId'] = $request->bindingAlipayLogonId; } if (!Utils::isUnset($request->contactInfo)) { $body['contactInfo'] = $request->contactInfo; } if (!Utils::isUnset($request->instId)) { $body['instId'] = $request->instId; } if (!Utils::isUnset($request->legalPersonCertInfo)) { $body['legalPersonCertInfo'] = $request->legalPersonCertInfo; } if (!Utils::isUnset($request->outTradeNo)) { $body['outTradeNo'] = $request->outTradeNo; } if (!Utils::isUnset($request->payChannel)) { $body['payChannel'] = $request->payChannel; } if (!Utils::isUnset($request->qualificationInfos)) { $body['qualificationInfos'] = $request->qualificationInfos; } if (!Utils::isUnset($request->services)) { $body['services'] = $request->services; } if (!Utils::isUnset($request->settleInfo)) { $body['settleInfo'] = $request->settleInfo; } if (!Utils::isUnset($request->solution)) { $body['solution'] = $request->solution; } if (!Utils::isUnset($request->subInstAddressInfo)) { $body['subInstAddressInfo'] = $request->subInstAddressInfo; } if (!Utils::isUnset($request->subInstAuthInfo)) { $body['subInstAuthInfo'] = $request->subInstAuthInfo; } if (!Utils::isUnset($request->subInstBasicInfo)) { $body['subInstBasicInfo'] = $request->subInstBasicInfo; } if (!Utils::isUnset($request->subInstCertifyInfo)) { $body['subInstCertifyInfo'] = $request->subInstCertifyInfo; } if (!Utils::isUnset($request->subInstId)) { $body['subInstId'] = $request->subInstId; } if (!Utils::isUnset($request->subInstInvoiceInfo)) { $body['subInstInvoiceInfo'] = $request->subInstInvoiceInfo; } if (!Utils::isUnset($request->subInstShopInfo)) { $body['subInstShopInfo'] = $request->subInstShopInfo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ConsultCreateSubInstitution', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/institutions/subInstitutions/consult', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ConsultCreateSubInstitutionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ConsultCreateSubInstitutionRequest $request * * @return ConsultCreateSubInstitutionResponse */ public function consultCreateSubInstitution($request) { $runtime = new RuntimeOptions([]); $headers = new ConsultCreateSubInstitutionHeaders([]); return $this->consultCreateSubInstitutionWithOptions($request, $headers, $runtime); } /** * @param CreatWithholdingOrderAndPayRequest $request * @param CreatWithholdingOrderAndPayHeaders $headers * @param RuntimeOptions $runtime * * @return CreatWithholdingOrderAndPayResponse */ public function creatWithholdingOrderAndPayWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->amount)) { $body['amount'] = $request->amount; } if (!Utils::isUnset($request->instId)) { $body['instId'] = $request->instId; } if (!Utils::isUnset($request->otherPayChannelDetailInfoList)) { $body['otherPayChannelDetailInfoList'] = $request->otherPayChannelDetailInfoList; } if (!Utils::isUnset($request->outTradeNo)) { $body['outTradeNo'] = $request->outTradeNo; } if (!Utils::isUnset($request->payChannel)) { $body['payChannel'] = $request->payChannel; } if (!Utils::isUnset($request->payerUserId)) { $body['payerUserId'] = $request->payerUserId; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->subInstId)) { $body['subInstId'] = $request->subInstId; } if (!Utils::isUnset($request->timeOutExpress)) { $body['timeOutExpress'] = $request->timeOutExpress; } 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' => 'CreatWithholdingOrderAndPay', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/withholdingOrders', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreatWithholdingOrderAndPayResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreatWithholdingOrderAndPayRequest $request * * @return CreatWithholdingOrderAndPayResponse */ public function creatWithholdingOrderAndPay($request) { $runtime = new RuntimeOptions([]); $headers = new CreatWithholdingOrderAndPayHeaders([]); return $this->creatWithholdingOrderAndPayWithOptions($request, $headers, $runtime); } /** * @param CreateAcquireRefundOrderRequest $request * @param CreateAcquireRefundOrderHeaders $headers * @param RuntimeOptions $runtime * * @return CreateAcquireRefundOrderResponse */ public function createAcquireRefundOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->instId)) { $body['instId'] = $request->instId; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->originOutTradeNo)) { $body['originOutTradeNo'] = $request->originOutTradeNo; } if (!Utils::isUnset($request->otherPayChannelDetailInfoList)) { $body['otherPayChannelDetailInfoList'] = $request->otherPayChannelDetailInfoList; } if (!Utils::isUnset($request->outRefundNo)) { $body['outRefundNo'] = $request->outRefundNo; } if (!Utils::isUnset($request->refundAmount)) { $body['refundAmount'] = $request->refundAmount; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->subInstId)) { $body['subInstId'] = $request->subInstId; } 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' => 'CreateAcquireRefundOrder', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/acquireOrders/refund', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateAcquireRefundOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateAcquireRefundOrderRequest $request * * @return CreateAcquireRefundOrderResponse */ public function createAcquireRefundOrder($request) { $runtime = new RuntimeOptions([]); $headers = new CreateAcquireRefundOrderHeaders([]); return $this->createAcquireRefundOrderWithOptions($request, $headers, $runtime); } /** * @param CreateBatchTradeOrderRequest $request * @param CreateBatchTradeOrderHeaders $headers * @param RuntimeOptions $runtime * * @return CreateBatchTradeOrderResponse */ public function createBatchTradeOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accountId)) { $body['accountId'] = $request->accountId; } if (!Utils::isUnset($request->accountNo)) { $body['accountNo'] = $request->accountNo; } if (!Utils::isUnset($request->batchRemark)) { $body['batchRemark'] = $request->batchRemark; } if (!Utils::isUnset($request->batchTradeDetails)) { $body['batchTradeDetails'] = $request->batchTradeDetails; } if (!Utils::isUnset($request->outBatchNo)) { $body['outBatchNo'] = $request->outBatchNo; } if (!Utils::isUnset($request->staffId)) { $body['staffId'] = $request->staffId; } if (!Utils::isUnset($request->totalAmount)) { $body['totalAmount'] = $request->totalAmount; } if (!Utils::isUnset($request->totalCount)) { $body['totalCount'] = $request->totalCount; } if (!Utils::isUnset($request->tradeTitle)) { $body['tradeTitle'] = $request->tradeTitle; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateBatchTradeOrder', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/batchTrades/orders', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateBatchTradeOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateBatchTradeOrderRequest $request * * @return CreateBatchTradeOrderResponse */ public function createBatchTradeOrder($request) { $runtime = new RuntimeOptions([]); $headers = new CreateBatchTradeOrderHeaders([]); return $this->createBatchTradeOrderWithOptions($request, $headers, $runtime); } /** * @param CreateSubInstitutionRequest $request * @param CreateSubInstitutionHeaders $headers * @param RuntimeOptions $runtime * * @return CreateSubInstitutionResponse */ public function createSubInstitutionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bindingAlipayLogonId)) { $body['bindingAlipayLogonId'] = $request->bindingAlipayLogonId; } if (!Utils::isUnset($request->contactInfo)) { $body['contactInfo'] = $request->contactInfo; } if (!Utils::isUnset($request->instId)) { $body['instId'] = $request->instId; } if (!Utils::isUnset($request->legalPersonCertInfo)) { $body['legalPersonCertInfo'] = $request->legalPersonCertInfo; } if (!Utils::isUnset($request->outTradeNo)) { $body['outTradeNo'] = $request->outTradeNo; } if (!Utils::isUnset($request->payChannel)) { $body['payChannel'] = $request->payChannel; } if (!Utils::isUnset($request->qualificationInfos)) { $body['qualificationInfos'] = $request->qualificationInfos; } if (!Utils::isUnset($request->services)) { $body['services'] = $request->services; } if (!Utils::isUnset($request->settleInfo)) { $body['settleInfo'] = $request->settleInfo; } if (!Utils::isUnset($request->solution)) { $body['solution'] = $request->solution; } if (!Utils::isUnset($request->subInstAddressInfo)) { $body['subInstAddressInfo'] = $request->subInstAddressInfo; } if (!Utils::isUnset($request->subInstAuthInfo)) { $body['subInstAuthInfo'] = $request->subInstAuthInfo; } if (!Utils::isUnset($request->subInstBasicInfo)) { $body['subInstBasicInfo'] = $request->subInstBasicInfo; } if (!Utils::isUnset($request->subInstCertifyInfo)) { $body['subInstCertifyInfo'] = $request->subInstCertifyInfo; } if (!Utils::isUnset($request->subInstId)) { $body['subInstId'] = $request->subInstId; } if (!Utils::isUnset($request->subInstInvoiceInfo)) { $body['subInstInvoiceInfo'] = $request->subInstInvoiceInfo; } if (!Utils::isUnset($request->subInstShopInfo)) { $body['subInstShopInfo'] = $request->subInstShopInfo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateSubInstitution', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/institutions/subInstitutions', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateSubInstitutionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateSubInstitutionRequest $request * * @return CreateSubInstitutionResponse */ public function createSubInstitution($request) { $runtime = new RuntimeOptions([]); $headers = new CreateSubInstitutionHeaders([]); return $this->createSubInstitutionWithOptions($request, $headers, $runtime); } /** * @param CreateUserCodeInstanceRequest $request * @param CreateUserCodeInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return CreateUserCodeInstanceResponse */ public function createUserCodeInstanceWithOptions($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' => 'CreateUserCodeInstance', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/payCodes/userInstances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateUserCodeInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateUserCodeInstanceRequest $request * * @return CreateUserCodeInstanceResponse */ public function createUserCodeInstance($request) { $runtime = new RuntimeOptions([]); $headers = new CreateUserCodeInstanceHeaders([]); return $this->createUserCodeInstanceWithOptions($request, $headers, $runtime); } /** * @param DecodePayCodeRequest $request * @param DecodePayCodeHeaders $headers * @param RuntimeOptions $runtime * * @return DecodePayCodeResponse */ public function decodePayCodeWithOptions($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' => 'DecodePayCode', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/payCodes/decode', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DecodePayCodeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DecodePayCodeRequest $request * * @return DecodePayCodeResponse */ public function decodePayCode($request) { $runtime = new RuntimeOptions([]); $headers = new DecodePayCodeHeaders([]); return $this->decodePayCodeWithOptions($request, $headers, $runtime); } /** * @param ModifySubInstitutionRequest $request * @param ModifySubInstitutionHeaders $headers * @param RuntimeOptions $runtime * * @return ModifySubInstitutionResponse */ public function modifySubInstitutionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bindingAlipayLogonId)) { $body['bindingAlipayLogonId'] = $request->bindingAlipayLogonId; } if (!Utils::isUnset($request->contactInfo)) { $body['contactInfo'] = $request->contactInfo; } if (!Utils::isUnset($request->instId)) { $body['instId'] = $request->instId; } if (!Utils::isUnset($request->legalPersonCertInfo)) { $body['legalPersonCertInfo'] = $request->legalPersonCertInfo; } if (!Utils::isUnset($request->outTradeNo)) { $body['outTradeNo'] = $request->outTradeNo; } if (!Utils::isUnset($request->payChannel)) { $body['payChannel'] = $request->payChannel; } if (!Utils::isUnset($request->qualificationInfos)) { $body['qualificationInfos'] = $request->qualificationInfos; } if (!Utils::isUnset($request->services)) { $body['services'] = $request->services; } if (!Utils::isUnset($request->settleInfo)) { $body['settleInfo'] = $request->settleInfo; } if (!Utils::isUnset($request->subInstAddressInfo)) { $body['subInstAddressInfo'] = $request->subInstAddressInfo; } if (!Utils::isUnset($request->subInstAuthInfo)) { $body['subInstAuthInfo'] = $request->subInstAuthInfo; } if (!Utils::isUnset($request->subInstBasicInfo)) { $body['subInstBasicInfo'] = $request->subInstBasicInfo; } if (!Utils::isUnset($request->subInstCertifyInfo)) { $body['subInstCertifyInfo'] = $request->subInstCertifyInfo; } if (!Utils::isUnset($request->subInstId)) { $body['subInstId'] = $request->subInstId; } if (!Utils::isUnset($request->subInstInvoiceInfo)) { $body['subInstInvoiceInfo'] = $request->subInstInvoiceInfo; } if (!Utils::isUnset($request->subInstShopInfo)) { $body['subInstShopInfo'] = $request->subInstShopInfo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ModifySubInstitution', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/institutions/subInstitutions/modify', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ModifySubInstitutionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ModifySubInstitutionRequest $request * * @return ModifySubInstitutionResponse */ public function modifySubInstitution($request) { $runtime = new RuntimeOptions([]); $headers = new ModifySubInstitutionHeaders([]); return $this->modifySubInstitutionWithOptions($request, $headers, $runtime); } /** * @param NotifyPayCodePayResultRequest $request * @param NotifyPayCodePayResultHeaders $headers * @param RuntimeOptions $runtime * * @return NotifyPayCodePayResultResponse */ public function notifyPayCodePayResultWithOptions($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' => 'NotifyPayCodePayResult', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/payCodes/payResults/notify', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return NotifyPayCodePayResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param NotifyPayCodePayResultRequest $request * * @return NotifyPayCodePayResultResponse */ public function notifyPayCodePayResult($request) { $runtime = new RuntimeOptions([]); $headers = new NotifyPayCodePayResultHeaders([]); return $this->notifyPayCodePayResultWithOptions($request, $headers, $runtime); } /** * @param NotifyPayCodeRefundResultRequest $request * @param NotifyPayCodeRefundResultHeaders $headers * @param RuntimeOptions $runtime * * @return NotifyPayCodeRefundResultResponse */ public function notifyPayCodeRefundResultWithOptions($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' => 'NotifyPayCodeRefundResult', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/payCodes/refundResults/notify', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return NotifyPayCodeRefundResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param NotifyPayCodeRefundResultRequest $request * * @return NotifyPayCodeRefundResultResponse */ public function notifyPayCodeRefundResult($request) { $runtime = new RuntimeOptions([]); $headers = new NotifyPayCodeRefundResultHeaders([]); return $this->notifyPayCodeRefundResultWithOptions($request, $headers, $runtime); } /** * @param NotifyVerifyResultRequest $request * @param NotifyVerifyResultHeaders $headers * @param RuntimeOptions $runtime * * @return NotifyVerifyResultResponse */ public function notifyVerifyResultWithOptions($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' => 'NotifyVerifyResult', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/payCodes/verifyResults/notify', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return NotifyVerifyResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param NotifyVerifyResultRequest $request * * @return NotifyVerifyResultResponse */ public function notifyVerifyResult($request) { $runtime = new RuntimeOptions([]); $headers = new NotifyVerifyResultHeaders([]); return $this->notifyVerifyResultWithOptions($request, $headers, $runtime); } /** * @param PreCreateGroupBillOrderRequest $request * @param PreCreateGroupBillOrderHeaders $headers * @param RuntimeOptions $runtime * * @return PreCreateGroupBillOrderResponse */ public function preCreateGroupBillOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->billItemList)) { $body['billItemList'] = $request->billItemList; } if (!Utils::isUnset($request->extParams)) { $body['extParams'] = $request->extParams; } if (!Utils::isUnset($request->headCount)) { $body['headCount'] = $request->headCount; } if (!Utils::isUnset($request->isAverageAmount)) { $body['isAverageAmount'] = $request->isAverageAmount; } if (!Utils::isUnset($request->merchantId)) { $body['merchantId'] = $request->merchantId; } if (!Utils::isUnset($request->openCid)) { $body['openCid'] = $request->openCid; } if (!Utils::isUnset($request->outBizNo)) { $body['outBizNo'] = $request->outBizNo; } if (!Utils::isUnset($request->payeeCorpId)) { $body['payeeCorpId'] = $request->payeeCorpId; } if (!Utils::isUnset($request->payeeUnionId)) { $body['payeeUnionId'] = $request->payeeUnionId; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->totalAmount)) { $body['totalAmount'] = $request->totalAmount; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PreCreateGroupBillOrder', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/groupbills/preCreate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PreCreateGroupBillOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PreCreateGroupBillOrderRequest $request * * @return PreCreateGroupBillOrderResponse */ public function preCreateGroupBillOrder($request) { $runtime = new RuntimeOptions([]); $headers = new PreCreateGroupBillOrderHeaders([]); return $this->preCreateGroupBillOrderWithOptions($request, $headers, $runtime); } /** * @param QueryAcquireRefundOrderRequest $request * @param QueryAcquireRefundOrderHeaders $headers * @param RuntimeOptions $runtime * * @return QueryAcquireRefundOrderResponse */ public function queryAcquireRefundOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->outRefundNo)) { $query['outRefundNo'] = $request->outRefundNo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryAcquireRefundOrder', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/acquireOrders/refunds', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAcquireRefundOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryAcquireRefundOrderRequest $request * * @return QueryAcquireRefundOrderResponse */ public function queryAcquireRefundOrder($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAcquireRefundOrderHeaders([]); return $this->queryAcquireRefundOrderWithOptions($request, $headers, $runtime); } /** * @param QueryBatchTradeDetailListRequest $request * @param QueryBatchTradeDetailListHeaders $headers * @param RuntimeOptions $runtime * * @return QueryBatchTradeDetailListResponse */ public function queryBatchTradeDetailListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->outBatchNo)) { $query['outBatchNo'] = $request->outBatchNo; } 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' => 'QueryBatchTradeDetailList', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/batchTrades/details', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryBatchTradeDetailListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryBatchTradeDetailListRequest $request * * @return QueryBatchTradeDetailListResponse */ public function queryBatchTradeDetailList($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBatchTradeDetailListHeaders([]); return $this->queryBatchTradeDetailListWithOptions($request, $headers, $runtime); } /** * @param QueryBatchTradeOrderRequest $request * @param QueryBatchTradeOrderHeaders $headers * @param RuntimeOptions $runtime * * @return QueryBatchTradeOrderResponse */ public function queryBatchTradeOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->outBatchNos)) { $body['outBatchNos'] = $request->outBatchNos; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryBatchTradeOrder', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/batchTrades/orders/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryBatchTradeOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryBatchTradeOrderRequest $request * * @return QueryBatchTradeOrderResponse */ public function queryBatchTradeOrder($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBatchTradeOrderHeaders([]); return $this->queryBatchTradeOrderWithOptions($request, $headers, $runtime); } /** * @param QueryPayAccountListHeaders $headers * @param RuntimeOptions $runtime * * @return QueryPayAccountListResponse */ public function queryPayAccountListWithOptions($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' => 'QueryPayAccountList', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/payAccounts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryPayAccountListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return QueryPayAccountListResponse */ public function queryPayAccountList() { $runtime = new RuntimeOptions([]); $headers = new QueryPayAccountListHeaders([]); return $this->queryPayAccountListWithOptions($headers, $runtime); } /** * @param QueryRegisterOrderRequest $request * @param QueryRegisterOrderHeaders $headers * @param RuntimeOptions $runtime * * @return QueryRegisterOrderResponse */ public function queryRegisterOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->instId)) { $query['instId'] = $request->instId; } if (!Utils::isUnset($request->orderId)) { $query['orderId'] = $request->orderId; } if (!Utils::isUnset($request->outTradeNo)) { $query['outTradeNo'] = $request->outTradeNo; } if (!Utils::isUnset($request->subInstId)) { $query['subInstId'] = $request->subInstId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryRegisterOrder', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/institutions/subInstitutions/orders', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryRegisterOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryRegisterOrderRequest $request * * @return QueryRegisterOrderResponse */ public function queryRegisterOrder($request) { $runtime = new RuntimeOptions([]); $headers = new QueryRegisterOrderHeaders([]); return $this->queryRegisterOrderWithOptions($request, $headers, $runtime); } /** * @param QueryUserAgreementRequest $request * @param QueryUserAgreementHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUserAgreementResponse */ public function queryUserAgreementWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->bizScene)) { $query['bizScene'] = $request->bizScene; } if (!Utils::isUnset($request->instId)) { $query['instId'] = $request->instId; } if (!Utils::isUnset($request->subInstId)) { $query['subInstId'] = $request->subInstId; } 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' => 'QueryUserAgreement', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/userAgreements', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUserAgreementResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryUserAgreementRequest $request * * @return QueryUserAgreementResponse */ public function queryUserAgreement($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUserAgreementHeaders([]); return $this->queryUserAgreementWithOptions($request, $headers, $runtime); } /** * @param QueryUserAlipayAccountHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUserAlipayAccountResponse */ public function queryUserAlipayAccountWithOptions($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' => 'QueryUserAlipayAccount', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/userAlipayAccounts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUserAlipayAccountResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return QueryUserAlipayAccountResponse */ public function queryUserAlipayAccount() { $runtime = new RuntimeOptions([]); $headers = new QueryUserAlipayAccountHeaders([]); return $this->queryUserAlipayAccountWithOptions($headers, $runtime); } /** * @param QueryWithholdingOrderRequest $request * @param QueryWithholdingOrderHeaders $headers * @param RuntimeOptions $runtime * * @return QueryWithholdingOrderResponse */ public function queryWithholdingOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->outTradeNo)) { $query['outTradeNo'] = $request->outTradeNo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryWithholdingOrder', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/withholdingOrders', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryWithholdingOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryWithholdingOrderRequest $request * * @return QueryWithholdingOrderResponse */ public function queryWithholdingOrder($request) { $runtime = new RuntimeOptions([]); $headers = new QueryWithholdingOrderHeaders([]); return $this->queryWithholdingOrderWithOptions($request, $headers, $runtime); } /** * @param SaveCorpPayCodeRequest $request * @param SaveCorpPayCodeHeaders $headers * @param RuntimeOptions $runtime * * @return SaveCorpPayCodeResponse */ public function saveCorpPayCodeWithOptions($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' => 'SaveCorpPayCode', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/payCodes/corpSettings', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveCorpPayCodeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SaveCorpPayCodeRequest $request * * @return SaveCorpPayCodeResponse */ public function saveCorpPayCode($request) { $runtime = new RuntimeOptions([]); $headers = new SaveCorpPayCodeHeaders([]); return $this->saveCorpPayCodeWithOptions($request, $headers, $runtime); } /** * @param UnsignUserAgreementRequest $request * @param UnsignUserAgreementHeaders $headers * @param RuntimeOptions $runtime * * @return UnsignUserAgreementResponse */ public function unsignUserAgreementWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->agreementNo)) { $body['agreementNo'] = $request->agreementNo; } if (!Utils::isUnset($request->bizCode)) { $body['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->bizScene)) { $body['bizScene'] = $request->bizScene; } if (!Utils::isUnset($request->instId)) { $body['instId'] = $request->instId; } if (!Utils::isUnset($request->subInstId)) { $body['subInstId'] = $request->subInstId; } 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' => 'UnsignUserAgreement', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/userAgreements/unsign', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return UnsignUserAgreementResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UnsignUserAgreementRequest $request * * @return UnsignUserAgreementResponse */ public function unsignUserAgreement($request) { $runtime = new RuntimeOptions([]); $headers = new UnsignUserAgreementHeaders([]); return $this->unsignUserAgreementWithOptions($request, $headers, $runtime); } /** * @param UpateUserCodeInstanceRequest $request * @param UpateUserCodeInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return UpateUserCodeInstanceResponse */ public function upateUserCodeInstanceWithOptions($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' => 'UpateUserCodeInstance', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/payCodes/userInstances', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpateUserCodeInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpateUserCodeInstanceRequest $request * * @return UpateUserCodeInstanceResponse */ public function upateUserCodeInstance($request) { $runtime = new RuntimeOptions([]); $headers = new UpateUserCodeInstanceHeaders([]); return $this->upateUserCodeInstanceWithOptions($request, $headers, $runtime); } /** * @param UpdateInvoiceVerifyStatusRequest $request * @param UpdateInvoiceVerifyStatusHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateInvoiceVerifyStatusResponse */ public function updateInvoiceVerifyStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->checkingResult)) { $body['checkingResult'] = $request->checkingResult; } if (!Utils::isUnset($request->checkingStatus)) { $body['checkingStatus'] = $request->checkingStatus; } if (!Utils::isUnset($request->code)) { $body['code'] = $request->code; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->extension)) { $body['extension'] = $request->extension; } if (!Utils::isUnset($request->invoiceCode)) { $body['invoiceCode'] = $request->invoiceCode; } if (!Utils::isUnset($request->invoiceNo)) { $body['invoiceNo'] = $request->invoiceNo; } if (!Utils::isUnset($request->invoiceStatus)) { $body['invoiceStatus'] = $request->invoiceStatus; } if (!Utils::isUnset($request->invoiceVerifyId)) { $body['invoiceVerifyId'] = $request->invoiceVerifyId; } if (!Utils::isUnset($request->msg)) { $body['msg'] = $request->msg; } 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' => 'UpdateInvoiceVerifyStatus', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/invoices/verifyStatus', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateInvoiceVerifyStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateInvoiceVerifyStatusRequest $request * * @return UpdateInvoiceVerifyStatusResponse */ public function updateInvoiceVerifyStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceVerifyStatusHeaders([]); return $this->updateInvoiceVerifyStatusWithOptions($request, $headers, $runtime); } /** * @param UploadInvoiceRequest $request * @param UploadInvoiceHeaders $headers * @param RuntimeOptions $runtime * * @return UploadInvoiceResponse */ public function uploadInvoiceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->extension)) { $body['extension'] = $request->extension; } if (!Utils::isUnset($request->invoices)) { $body['invoices'] = $request->invoices; } 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' => 'UploadInvoice', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/invoices/upload', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UploadInvoiceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UploadInvoiceRequest $request * * @return UploadInvoiceResponse */ public function uploadInvoice($request) { $runtime = new RuntimeOptions([]); $headers = new UploadInvoiceHeaders([]); return $this->uploadInvoiceWithOptions($request, $headers, $runtime); } /** * @param UploadInvoiceByAuthRequest $request * @param UploadInvoiceByAuthHeaders $headers * @param RuntimeOptions $runtime * * @return UploadInvoiceByAuthResponse */ public function uploadInvoiceByAuthWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->extension)) { $body['extension'] = $request->extension; } if (!Utils::isUnset($request->invoices)) { $body['invoices'] = $request->invoices; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UploadInvoiceByAuth', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/invoices/authorizations/upload', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UploadInvoiceByAuthResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UploadInvoiceByAuthRequest $request * * @return UploadInvoiceByAuthResponse */ public function uploadInvoiceByAuth($request) { $runtime = new RuntimeOptions([]); $headers = new UploadInvoiceByAuthHeaders([]); return $this->uploadInvoiceByAuthWithOptions($request, $headers, $runtime); } /** * @param UploadInvoiceByMobileRequest $request * @param UploadInvoiceByMobileHeaders $headers * @param RuntimeOptions $runtime * * @return UploadInvoiceByMobileResponse */ public function uploadInvoiceByMobileWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->invoices)) { $body['invoices'] = $request->invoices; } if (!Utils::isUnset($request->mobile)) { $body['mobile'] = $request->mobile; } if (!Utils::isUnset($request->mobileStateCode)) { $body['mobileStateCode'] = $request->mobileStateCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UploadInvoiceByMobile', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/invoices/mobiles/upload', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UploadInvoiceByMobileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UploadInvoiceByMobileRequest $request * * @return UploadInvoiceByMobileResponse */ public function uploadInvoiceByMobile($request) { $runtime = new RuntimeOptions([]); $headers = new UploadInvoiceByMobileHeaders([]); return $this->uploadInvoiceByMobileWithOptions($request, $headers, $runtime); } /** * @param UploadRegisterImageRequest $request * @param UploadRegisterImageHeaders $headers * @param RuntimeOptions $runtime * * @return UploadRegisterImageResponse */ public function uploadRegisterImageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->imageContent)) { $body['imageContent'] = $request->imageContent; } if (!Utils::isUnset($request->imageName)) { $body['imageName'] = $request->imageName; } if (!Utils::isUnset($request->imageType)) { $body['imageType'] = $request->imageType; } if (!Utils::isUnset($request->instId)) { $body['instId'] = $request->instId; } if (!Utils::isUnset($request->payChannel)) { $body['payChannel'] = $request->payChannel; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UploadRegisterImage', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/institutions/images', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UploadRegisterImageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UploadRegisterImageRequest $request * * @return UploadRegisterImageResponse */ public function uploadRegisterImage($request) { $runtime = new RuntimeOptions([]); $headers = new UploadRegisterImageHeaders([]); return $this->uploadRegisterImageWithOptions($request, $headers, $runtime); } /** * @param UserAgreementPageSignRequest $request * @param UserAgreementPageSignHeaders $headers * @param RuntimeOptions $runtime * * @return UserAgreementPageSignResponse */ public function userAgreementPageSignWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizCode)) { $body['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->bizScene)) { $body['bizScene'] = $request->bizScene; } if (!Utils::isUnset($request->instId)) { $body['instId'] = $request->instId; } if (!Utils::isUnset($request->payChannel)) { $body['payChannel'] = $request->payChannel; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->returnUrl)) { $body['returnUrl'] = $request->returnUrl; } if (!Utils::isUnset($request->signScene)) { $body['signScene'] = $request->signScene; } if (!Utils::isUnset($request->subInstId)) { $body['subInstId'] = $request->subInstId; } if (!Utils::isUnset($request->subMerchantName)) { $body['subMerchantName'] = $request->subMerchantName; } if (!Utils::isUnset($request->subMerchantServiceDesc)) { $body['subMerchantServiceDesc'] = $request->subMerchantServiceDesc; } if (!Utils::isUnset($request->subMerchantServiceName)) { $body['subMerchantServiceName'] = $request->subMerchantServiceName; } 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' => 'UserAgreementPageSign', 'version' => 'finance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/finance/userAgreements', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UserAgreementPageSignResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UserAgreementPageSignRequest $request * * @return UserAgreementPageSignResponse */ public function userAgreementPageSign($request) { $runtime = new RuntimeOptions([]); $headers = new UserAgreementPageSignHeaders([]); return $this->userAgreementPageSignWithOptions($request, $headers, $runtime); } } src/finance_1_0/Models/ApplyBatchPayHeaders.php000064400000002331146412132660015332 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ApplyBatchPayHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/ApplyBatchPayRequest.php000064400000006436146412132660015421 0ustar00 'accountId', 'orderNo' => 'orderNo', 'passBackParams' => 'passBackParams', 'payTerminal' => 'payTerminal', 'returnUrl' => 'returnUrl', 'staffId' => 'staffId', 'transAmount' => 'transAmount', 'transExpireTime' => 'transExpireTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->passBackParams) { $res['passBackParams'] = $this->passBackParams; } if (null !== $this->payTerminal) { $res['payTerminal'] = $this->payTerminal; } if (null !== $this->returnUrl) { $res['returnUrl'] = $this->returnUrl; } if (null !== $this->staffId) { $res['staffId'] = $this->staffId; } if (null !== $this->transAmount) { $res['transAmount'] = $this->transAmount; } if (null !== $this->transExpireTime) { $res['transExpireTime'] = $this->transExpireTime; } return $res; } /** * @param array $map * * @return ApplyBatchPayRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['passBackParams'])) { $model->passBackParams = $map['passBackParams']; } if (isset($map['payTerminal'])) { $model->payTerminal = $map['payTerminal']; } if (isset($map['returnUrl'])) { $model->returnUrl = $map['returnUrl']; } if (isset($map['staffId'])) { $model->staffId = $map['staffId']; } if (isset($map['transAmount'])) { $model->transAmount = $map['transAmount']; } if (isset($map['transExpireTime'])) { $model->transExpireTime = $map['transExpireTime']; } return $model; } } src/finance_1_0/Models/ApplyBatchPayResponse.php000064400000002721146412132660015560 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ApplyBatchPayResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ApplyBatchPayResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/ApplyBatchPayResponseBody.php000064400000002263146412132660016377 0ustar00 'orderNo', 'payData' => 'payData', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->payData) { $res['payData'] = $this->payData; } return $res; } /** * @param array $map * * @return ApplyBatchPayResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['payData'])) { $model->payData = $map['payData']; } return $model; } } src/finance_1_0/Models/CloseLoanEntranceHeaders.php000064400000002341146412132660016171 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CloseLoanEntranceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/CloseLoanEntranceRequest.php000064400000001565146412132660016255 0ustar00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return CloseLoanEntranceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/finance_1_0/Models/CloseLoanEntranceResponse.php000064400000002741146412132660016420 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CloseLoanEntranceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CloseLoanEntranceResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/CloseLoanEntranceResponseBody.php000064400000002251146412132660017232 0ustar00 '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 CloseLoanEntranceResponseBody */ 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/finance_1_0/Models/ConsultCreateSubInstitutionHeaders.php000064400000002365146412132660020337 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ConsultCreateSubInstitutionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/ConsultCreateSubInstitutionRequest.php000064400000021566146412132660020420 0ustar00 'bindingAlipayLogonId', 'contactInfo' => 'contactInfo', 'instId' => 'instId', 'legalPersonCertInfo' => 'legalPersonCertInfo', 'outTradeNo' => 'outTradeNo', 'payChannel' => 'payChannel', 'qualificationInfos' => 'qualificationInfos', 'services' => 'services', 'settleInfo' => 'settleInfo', 'solution' => 'solution', 'subInstAddressInfo' => 'subInstAddressInfo', 'subInstAuthInfo' => 'subInstAuthInfo', 'subInstBasicInfo' => 'subInstBasicInfo', 'subInstCertifyInfo' => 'subInstCertifyInfo', 'subInstId' => 'subInstId', 'subInstInvoiceInfo' => 'subInstInvoiceInfo', 'subInstShopInfo' => 'subInstShopInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bindingAlipayLogonId) { $res['bindingAlipayLogonId'] = $this->bindingAlipayLogonId; } if (null !== $this->contactInfo) { $res['contactInfo'] = null !== $this->contactInfo ? $this->contactInfo->toMap() : null; } if (null !== $this->instId) { $res['instId'] = $this->instId; } if (null !== $this->legalPersonCertInfo) { $res['legalPersonCertInfo'] = null !== $this->legalPersonCertInfo ? $this->legalPersonCertInfo->toMap() : null; } if (null !== $this->outTradeNo) { $res['outTradeNo'] = $this->outTradeNo; } if (null !== $this->payChannel) { $res['payChannel'] = $this->payChannel; } if (null !== $this->qualificationInfos) { $res['qualificationInfos'] = []; if (null !== $this->qualificationInfos && \is_array($this->qualificationInfos)) { $n = 0; foreach ($this->qualificationInfos as $item) { $res['qualificationInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->services) { $res['services'] = $this->services; } if (null !== $this->settleInfo) { $res['settleInfo'] = null !== $this->settleInfo ? $this->settleInfo->toMap() : null; } if (null !== $this->solution) { $res['solution'] = $this->solution; } if (null !== $this->subInstAddressInfo) { $res['subInstAddressInfo'] = null !== $this->subInstAddressInfo ? $this->subInstAddressInfo->toMap() : null; } if (null !== $this->subInstAuthInfo) { $res['subInstAuthInfo'] = null !== $this->subInstAuthInfo ? $this->subInstAuthInfo->toMap() : null; } if (null !== $this->subInstBasicInfo) { $res['subInstBasicInfo'] = null !== $this->subInstBasicInfo ? $this->subInstBasicInfo->toMap() : null; } if (null !== $this->subInstCertifyInfo) { $res['subInstCertifyInfo'] = null !== $this->subInstCertifyInfo ? $this->subInstCertifyInfo->toMap() : null; } if (null !== $this->subInstId) { $res['subInstId'] = $this->subInstId; } if (null !== $this->subInstInvoiceInfo) { $res['subInstInvoiceInfo'] = null !== $this->subInstInvoiceInfo ? $this->subInstInvoiceInfo->toMap() : null; } if (null !== $this->subInstShopInfo) { $res['subInstShopInfo'] = null !== $this->subInstShopInfo ? $this->subInstShopInfo->toMap() : null; } return $res; } /** * @param array $map * * @return ConsultCreateSubInstitutionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bindingAlipayLogonId'])) { $model->bindingAlipayLogonId = $map['bindingAlipayLogonId']; } if (isset($map['contactInfo'])) { $model->contactInfo = contactInfo::fromMap($map['contactInfo']); } if (isset($map['instId'])) { $model->instId = $map['instId']; } if (isset($map['legalPersonCertInfo'])) { $model->legalPersonCertInfo = legalPersonCertInfo::fromMap($map['legalPersonCertInfo']); } if (isset($map['outTradeNo'])) { $model->outTradeNo = $map['outTradeNo']; } if (isset($map['payChannel'])) { $model->payChannel = $map['payChannel']; } if (isset($map['qualificationInfos'])) { if (!empty($map['qualificationInfos'])) { $model->qualificationInfos = []; $n = 0; foreach ($map['qualificationInfos'] as $item) { $model->qualificationInfos[$n++] = null !== $item ? qualificationInfos::fromMap($item) : $item; } } } if (isset($map['services'])) { if (!empty($map['services'])) { $model->services = $map['services']; } } if (isset($map['settleInfo'])) { $model->settleInfo = settleInfo::fromMap($map['settleInfo']); } if (isset($map['solution'])) { $model->solution = $map['solution']; } if (isset($map['subInstAddressInfo'])) { $model->subInstAddressInfo = subInstAddressInfo::fromMap($map['subInstAddressInfo']); } if (isset($map['subInstAuthInfo'])) { $model->subInstAuthInfo = subInstAuthInfo::fromMap($map['subInstAuthInfo']); } if (isset($map['subInstBasicInfo'])) { $model->subInstBasicInfo = subInstBasicInfo::fromMap($map['subInstBasicInfo']); } if (isset($map['subInstCertifyInfo'])) { $model->subInstCertifyInfo = subInstCertifyInfo::fromMap($map['subInstCertifyInfo']); } if (isset($map['subInstId'])) { $model->subInstId = $map['subInstId']; } if (isset($map['subInstInvoiceInfo'])) { $model->subInstInvoiceInfo = subInstInvoiceInfo::fromMap($map['subInstInvoiceInfo']); } if (isset($map['subInstShopInfo'])) { $model->subInstShopInfo = subInstShopInfo::fromMap($map['subInstShopInfo']); } return $model; } } src/finance_1_0/Models/ConsultCreateSubInstitutionRequest/contactInfo.php000064400000002307146412132660022657 0ustar00 'contactName', 'mobile' => 'mobile', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contactName) { $res['contactName'] = $this->contactName; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } return $res; } /** * @param array $map * * @return contactInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contactName'])) { $model->contactName = $map['contactName']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } return $model; } } src/finance_1_0/Models/ConsultCreateSubInstitutionRequest/legalPersonCertInfo.php000064400000004375146412132660024324 0ustar00 'certBackImage', 'certFrontImage' => 'certFrontImage', 'certName' => 'certName', 'certType' => 'certType', 'idCardNo' => 'idCardNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->certBackImage) { $res['certBackImage'] = $this->certBackImage; } if (null !== $this->certFrontImage) { $res['certFrontImage'] = $this->certFrontImage; } if (null !== $this->certName) { $res['certName'] = $this->certName; } if (null !== $this->certType) { $res['certType'] = $this->certType; } if (null !== $this->idCardNo) { $res['idCardNo'] = $this->idCardNo; } return $res; } /** * @param array $map * * @return legalPersonCertInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['certBackImage'])) { $model->certBackImage = $map['certBackImage']; } if (isset($map['certFrontImage'])) { $model->certFrontImage = $map['certFrontImage']; } if (isset($map['certName'])) { $model->certName = $map['certName']; } if (isset($map['certType'])) { $model->certType = $map['certType']; } if (isset($map['idCardNo'])) { $model->idCardNo = $map['idCardNo']; } return $model; } } src/finance_1_0/Models/ConsultCreateSubInstitutionRequest/qualificationInfos.php000064400000002550146412132660024237 0ustar00 'qualificationImage', 'qualificationType' => 'qualificationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->qualificationImage) { $res['qualificationImage'] = $this->qualificationImage; } if (null !== $this->qualificationType) { $res['qualificationType'] = $this->qualificationType; } return $res; } /** * @param array $map * * @return qualificationInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['qualificationImage'])) { $model->qualificationImage = $map['qualificationImage']; } if (isset($map['qualificationType'])) { $model->qualificationType = $map['qualificationType']; } return $model; } } src/finance_1_0/Models/ConsultCreateSubInstitutionRequest/settleInfo.php000064400000010441146412132660022522 0ustar00 'accountId', 'accountName' => 'accountName', 'accountType' => 'accountType', 'bankBranchName' => 'bankBranchName', 'bankCity' => 'bankCity', 'bankCode' => 'bankCode', 'bankName' => 'bankName', 'bankProvince' => 'bankProvince', 'bankShortNameCode' => 'bankShortNameCode', 'type' => 'type', 'usageType' => 'usageType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->bankBranchName) { $res['bankBranchName'] = $this->bankBranchName; } if (null !== $this->bankCity) { $res['bankCity'] = $this->bankCity; } if (null !== $this->bankCode) { $res['bankCode'] = $this->bankCode; } if (null !== $this->bankName) { $res['bankName'] = $this->bankName; } if (null !== $this->bankProvince) { $res['bankProvince'] = $this->bankProvince; } if (null !== $this->bankShortNameCode) { $res['bankShortNameCode'] = $this->bankShortNameCode; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->usageType) { $res['usageType'] = $this->usageType; } return $res; } /** * @param array $map * * @return settleInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['bankBranchName'])) { $model->bankBranchName = $map['bankBranchName']; } if (isset($map['bankCity'])) { $model->bankCity = $map['bankCity']; } if (isset($map['bankCode'])) { $model->bankCode = $map['bankCode']; } if (isset($map['bankName'])) { $model->bankName = $map['bankName']; } if (isset($map['bankProvince'])) { $model->bankProvince = $map['bankProvince']; } if (isset($map['bankShortNameCode'])) { $model->bankShortNameCode = $map['bankShortNameCode']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['usageType'])) { $model->usageType = $map['usageType']; } return $model; } } src/finance_1_0/Models/ConsultCreateSubInstitutionRequest/subInstAddressInfo.php000064400000003607146412132660024165 0ustar00 'address', 'cityCode' => 'cityCode', 'districtCode' => 'districtCode', 'provinceCode' => 'provinceCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->cityCode) { $res['cityCode'] = $this->cityCode; } if (null !== $this->districtCode) { $res['districtCode'] = $this->districtCode; } if (null !== $this->provinceCode) { $res['provinceCode'] = $this->provinceCode; } return $res; } /** * @param array $map * * @return subInstAddressInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['cityCode'])) { $model->cityCode = $map['cityCode']; } if (isset($map['districtCode'])) { $model->districtCode = $map['districtCode']; } if (isset($map['provinceCode'])) { $model->provinceCode = $map['provinceCode']; } return $model; } } src/finance_1_0/Models/ConsultCreateSubInstitutionRequest/subInstAuthInfo.php000064400000001771146412132660023501 0ustar00 'authorizationLetterUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authorizationLetterUrl) { $res['authorizationLetterUrl'] = $this->authorizationLetterUrl; } return $res; } /** * @param array $map * * @return subInstAuthInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authorizationLetterUrl'])) { $model->authorizationLetterUrl = $map['authorizationLetterUrl']; } return $model; } } src/finance_1_0/Models/ConsultCreateSubInstitutionRequest/subInstBasicInfo.php000064400000003430146412132660023613 0ustar00 'aliasName', 'mcc' => 'mcc', 'subInstName' => 'subInstName', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->aliasName) { $res['aliasName'] = $this->aliasName; } if (null !== $this->mcc) { $res['mcc'] = $this->mcc; } if (null !== $this->subInstName) { $res['subInstName'] = $this->subInstName; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return subInstBasicInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['aliasName'])) { $model->aliasName = $map['aliasName']; } if (isset($map['mcc'])) { $model->mcc = $map['mcc']; } if (isset($map['subInstName'])) { $model->subInstName = $map['subInstName']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/finance_1_0/Models/ConsultCreateSubInstitutionRequest/subInstCertifyInfo.php000064400000003001146412132660024171 0ustar00 'certImage', 'certNo' => 'certNo', 'certType' => 'certType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->certImage) { $res['certImage'] = $this->certImage; } if (null !== $this->certNo) { $res['certNo'] = $this->certNo; } if (null !== $this->certType) { $res['certType'] = $this->certType; } return $res; } /** * @param array $map * * @return subInstCertifyInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['certImage'])) { $model->certImage = $map['certImage']; } if (isset($map['certNo'])) { $model->certNo = $map['certNo']; } if (isset($map['certType'])) { $model->certType = $map['certType']; } return $model; } } src/finance_1_0/Models/ConsultCreateSubInstitutionRequest/subInstInvoiceInfo.php000064400000012430146412132660024166 0ustar00 'acceptElectronic', 'address' => 'address', 'autoInvoice' => 'autoInvoice', 'bankAccount' => 'bankAccount', 'bankName' => 'bankName', 'mailAddress' => 'mailAddress', 'mailName' => 'mailName', 'mailPhone' => 'mailPhone', 'taxNo' => 'taxNo', 'taxPayerQualification' => 'taxPayerQualification', 'taxPayerValidDate' => 'taxPayerValidDate', 'telephone' => 'telephone', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->acceptElectronic) { $res['acceptElectronic'] = $this->acceptElectronic; } if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->autoInvoice) { $res['autoInvoice'] = $this->autoInvoice; } if (null !== $this->bankAccount) { $res['bankAccount'] = $this->bankAccount; } if (null !== $this->bankName) { $res['bankName'] = $this->bankName; } if (null !== $this->mailAddress) { $res['mailAddress'] = null !== $this->mailAddress ? $this->mailAddress->toMap() : null; } if (null !== $this->mailName) { $res['mailName'] = $this->mailName; } if (null !== $this->mailPhone) { $res['mailPhone'] = $this->mailPhone; } if (null !== $this->taxNo) { $res['taxNo'] = $this->taxNo; } if (null !== $this->taxPayerQualification) { $res['taxPayerQualification'] = $this->taxPayerQualification; } if (null !== $this->taxPayerValidDate) { $res['taxPayerValidDate'] = $this->taxPayerValidDate; } if (null !== $this->telephone) { $res['telephone'] = $this->telephone; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return subInstInvoiceInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['acceptElectronic'])) { $model->acceptElectronic = $map['acceptElectronic']; } if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['autoInvoice'])) { $model->autoInvoice = $map['autoInvoice']; } if (isset($map['bankAccount'])) { $model->bankAccount = $map['bankAccount']; } if (isset($map['bankName'])) { $model->bankName = $map['bankName']; } if (isset($map['mailAddress'])) { $model->mailAddress = mailAddress::fromMap($map['mailAddress']); } if (isset($map['mailName'])) { $model->mailName = $map['mailName']; } if (isset($map['mailPhone'])) { $model->mailPhone = $map['mailPhone']; } if (isset($map['taxNo'])) { $model->taxNo = $map['taxNo']; } if (isset($map['taxPayerQualification'])) { $model->taxPayerQualification = $map['taxPayerQualification']; } if (isset($map['taxPayerValidDate'])) { $model->taxPayerValidDate = $map['taxPayerValidDate']; } if (isset($map['telephone'])) { $model->telephone = $map['telephone']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/finance_1_0/Models/ConsultCreateSubInstitutionRequest/subInstInvoiceInfo/mailAddress.php000064400000003614146412132660026422 0ustar00 'address', 'cityCode' => 'cityCode', 'districtCode' => 'districtCode', 'provinceCode' => 'provinceCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->cityCode) { $res['cityCode'] = $this->cityCode; } if (null !== $this->districtCode) { $res['districtCode'] = $this->districtCode; } if (null !== $this->provinceCode) { $res['provinceCode'] = $this->provinceCode; } return $res; } /** * @param array $map * * @return mailAddress */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['cityCode'])) { $model->cityCode = $map['cityCode']; } if (isset($map['districtCode'])) { $model->districtCode = $map['districtCode']; } if (isset($map['provinceCode'])) { $model->provinceCode = $map['provinceCode']; } return $model; } } src/finance_1_0/Models/ConsultCreateSubInstitutionRequest/subInstShopInfo.php000064400000002530146412132660023503 0ustar00 'inDoorImages', 'outDoorImages' => 'outDoorImages', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->inDoorImages) { $res['inDoorImages'] = $this->inDoorImages; } if (null !== $this->outDoorImages) { $res['outDoorImages'] = $this->outDoorImages; } return $res; } /** * @param array $map * * @return subInstShopInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['inDoorImages'])) { if (!empty($map['inDoorImages'])) { $model->inDoorImages = $map['inDoorImages']; } } if (isset($map['outDoorImages'])) { if (!empty($map['outDoorImages'])) { $model->outDoorImages = $map['outDoorImages']; } } return $model; } } src/finance_1_0/Models/ConsultCreateSubInstitutionResponse.php000064400000003011146412132660020547 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ConsultCreateSubInstitutionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ConsultCreateSubInstitutionResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/ConsultCreateSubInstitutionResponseBody.php000064400000001610146412132660021370 0ustar00 'orderId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } return $res; } /** * @param array $map * * @return ConsultCreateSubInstitutionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } return $model; } } src/finance_1_0/Models/CreatWithholdingOrderAndPayHeaders.php000064400000002365146412132660020170 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreatWithholdingOrderAndPayHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/CreatWithholdingOrderAndPayRequest.php000064400000011531146412132660020240 0ustar00 'amount', 'instId' => 'instId', 'otherPayChannelDetailInfoList' => 'otherPayChannelDetailInfoList', 'outTradeNo' => 'outTradeNo', 'payChannel' => 'payChannel', 'payerUserId' => 'payerUserId', 'remark' => 'remark', 'subInstId' => 'subInstId', 'timeOutExpress' => 'timeOutExpress', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->instId) { $res['instId'] = $this->instId; } if (null !== $this->otherPayChannelDetailInfoList) { $res['otherPayChannelDetailInfoList'] = []; if (null !== $this->otherPayChannelDetailInfoList && \is_array($this->otherPayChannelDetailInfoList)) { $n = 0; foreach ($this->otherPayChannelDetailInfoList as $item) { $res['otherPayChannelDetailInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->outTradeNo) { $res['outTradeNo'] = $this->outTradeNo; } if (null !== $this->payChannel) { $res['payChannel'] = $this->payChannel; } if (null !== $this->payerUserId) { $res['payerUserId'] = $this->payerUserId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->subInstId) { $res['subInstId'] = $this->subInstId; } if (null !== $this->timeOutExpress) { $res['timeOutExpress'] = $this->timeOutExpress; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return CreatWithholdingOrderAndPayRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['instId'])) { $model->instId = $map['instId']; } if (isset($map['otherPayChannelDetailInfoList'])) { if (!empty($map['otherPayChannelDetailInfoList'])) { $model->otherPayChannelDetailInfoList = []; $n = 0; foreach ($map['otherPayChannelDetailInfoList'] as $item) { $model->otherPayChannelDetailInfoList[$n++] = null !== $item ? otherPayChannelDetailInfoList::fromMap($item) : $item; } } } if (isset($map['outTradeNo'])) { $model->outTradeNo = $map['outTradeNo']; } if (isset($map['payChannel'])) { $model->payChannel = $map['payChannel']; } if (isset($map['payerUserId'])) { $model->payerUserId = $map['payerUserId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['subInstId'])) { $model->subInstId = $map['subInstId']; } if (isset($map['timeOutExpress'])) { $model->timeOutExpress = $map['timeOutExpress']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/finance_1_0/Models/CreatWithholdingOrderAndPayRequest/otherPayChannelDetailInfoList.php000064400000007106146412132660026122 0ustar00 'amount', 'fundToolDetailInfoList' => 'fundToolDetailInfoList', '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->fundToolDetailInfoList) { $res['fundToolDetailInfoList'] = []; if (null !== $this->fundToolDetailInfoList && \is_array($this->fundToolDetailInfoList)) { $n = 0; foreach ($this->fundToolDetailInfoList as $item) { $res['fundToolDetailInfoList'][$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->payChannelType) { $res['payChannelType'] = $this->payChannelType; } if (null !== $this->promotionAmount) { $res['promotionAmount'] = $this->promotionAmount; } return $res; } /** * @param array $map * * @return otherPayChannelDetailInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['fundToolDetailInfoList'])) { if (!empty($map['fundToolDetailInfoList'])) { $model->fundToolDetailInfoList = []; $n = 0; foreach ($map['fundToolDetailInfoList'] as $item) { $model->fundToolDetailInfoList[$n++] = null !== $item ? fundToolDetailInfoList::fromMap($item) : $item; } } } 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; } } Models/CreatWithholdingOrderAndPayRequest/otherPayChannelDetailInfoList/fundToolDetailInfoList.php000064400000005152146412132660032427 0ustar00src/finance_1_0 '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 fundToolDetailInfoList */ 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/finance_1_0/Models/CreatWithholdingOrderAndPayResponse.php000064400000003011146412132660020400 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreatWithholdingOrderAndPayResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreatWithholdingOrderAndPayResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/CreatWithholdingOrderAndPayResponseBody.php000064400000011010146412132660021214 0ustar00 'amount', 'gmtPay' => 'gmtPay', 'instId' => 'instId', 'orderNo' => 'orderNo', 'outTradeNo' => 'outTradeNo', 'payChannel' => 'payChannel', 'payChannelAccountNo' => 'payChannelAccountNo', 'payerStaffId' => 'payerStaffId', 'remark' => 'remark', 'status' => 'status', 'subInstId' => 'subInstId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->gmtPay) { $res['gmtPay'] = $this->gmtPay; } if (null !== $this->instId) { $res['instId'] = $this->instId; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->outTradeNo) { $res['outTradeNo'] = $this->outTradeNo; } if (null !== $this->payChannel) { $res['payChannel'] = $this->payChannel; } if (null !== $this->payChannelAccountNo) { $res['payChannelAccountNo'] = $this->payChannelAccountNo; } if (null !== $this->payerStaffId) { $res['payerStaffId'] = $this->payerStaffId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->subInstId) { $res['subInstId'] = $this->subInstId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return CreatWithholdingOrderAndPayResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['gmtPay'])) { $model->gmtPay = $map['gmtPay']; } if (isset($map['instId'])) { $model->instId = $map['instId']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['outTradeNo'])) { $model->outTradeNo = $map['outTradeNo']; } if (isset($map['payChannel'])) { $model->payChannel = $map['payChannel']; } if (isset($map['payChannelAccountNo'])) { $model->payChannelAccountNo = $map['payChannelAccountNo']; } if (isset($map['payerStaffId'])) { $model->payerStaffId = $map['payerStaffId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['subInstId'])) { $model->subInstId = $map['subInstId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/finance_1_0/Models/CreateAcquireRefundOrderHeaders.php000064400000002357146412132660017516 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateAcquireRefundOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/CreateAcquireRefundOrderRequest.php000064400000011130146412132660017560 0ustar00 'instId', 'operatorUserId' => 'operatorUserId', 'originOutTradeNo' => 'originOutTradeNo', 'otherPayChannelDetailInfoList' => 'otherPayChannelDetailInfoList', 'outRefundNo' => 'outRefundNo', 'refundAmount' => 'refundAmount', 'remark' => 'remark', 'subInstId' => 'subInstId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instId) { $res['instId'] = $this->instId; } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->originOutTradeNo) { $res['originOutTradeNo'] = $this->originOutTradeNo; } if (null !== $this->otherPayChannelDetailInfoList) { $res['otherPayChannelDetailInfoList'] = []; if (null !== $this->otherPayChannelDetailInfoList && \is_array($this->otherPayChannelDetailInfoList)) { $n = 0; foreach ($this->otherPayChannelDetailInfoList as $item) { $res['otherPayChannelDetailInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->outRefundNo) { $res['outRefundNo'] = $this->outRefundNo; } if (null !== $this->refundAmount) { $res['refundAmount'] = $this->refundAmount; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->subInstId) { $res['subInstId'] = $this->subInstId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return CreateAcquireRefundOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instId'])) { $model->instId = $map['instId']; } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['originOutTradeNo'])) { $model->originOutTradeNo = $map['originOutTradeNo']; } if (isset($map['otherPayChannelDetailInfoList'])) { if (!empty($map['otherPayChannelDetailInfoList'])) { $model->otherPayChannelDetailInfoList = []; $n = 0; foreach ($map['otherPayChannelDetailInfoList'] as $item) { $model->otherPayChannelDetailInfoList[$n++] = null !== $item ? otherPayChannelDetailInfoList::fromMap($item) : $item; } } } if (isset($map['outRefundNo'])) { $model->outRefundNo = $map['outRefundNo']; } if (isset($map['refundAmount'])) { $model->refundAmount = $map['refundAmount']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['subInstId'])) { $model->subInstId = $map['subInstId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/finance_1_0/Models/CreateAcquireRefundOrderRequest/otherPayChannelDetailInfoList.php000064400000007100146412132660025441 0ustar00 'amount', 'fundToolDetailInfoList' => 'fundToolDetailInfoList', '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->fundToolDetailInfoList) { $res['fundToolDetailInfoList'] = []; if (null !== $this->fundToolDetailInfoList && \is_array($this->fundToolDetailInfoList)) { $n = 0; foreach ($this->fundToolDetailInfoList as $item) { $res['fundToolDetailInfoList'][$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->payChannelType) { $res['payChannelType'] = $this->payChannelType; } if (null !== $this->promotionAmount) { $res['promotionAmount'] = $this->promotionAmount; } return $res; } /** * @param array $map * * @return otherPayChannelDetailInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['fundToolDetailInfoList'])) { if (!empty($map['fundToolDetailInfoList'])) { $model->fundToolDetailInfoList = []; $n = 0; foreach ($map['fundToolDetailInfoList'] as $item) { $model->fundToolDetailInfoList[$n++] = null !== $item ? fundToolDetailInfoList::fromMap($item) : $item; } } } 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; } } Models/CreateAcquireRefundOrderRequest/otherPayChannelDetailInfoList/fundToolDetailInfoList.php000064400000005147146412132660031760 0ustar00src/finance_1_0 '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 fundToolDetailInfoList */ 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/finance_1_0/Models/CreateAcquireRefundOrderResponse.php000064400000002775146412132660017745 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateAcquireRefundOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateAcquireRefundOrderResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/CreateAcquireRefundOrderResponseBody.php000064400000003117146412132660020552 0ustar00 'outRefundNo', 'refundOrderNo' => 'refundOrderNo', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outRefundNo) { $res['outRefundNo'] = $this->outRefundNo; } if (null !== $this->refundOrderNo) { $res['refundOrderNo'] = $this->refundOrderNo; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return CreateAcquireRefundOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outRefundNo'])) { $model->outRefundNo = $map['outRefundNo']; } if (isset($map['refundOrderNo'])) { $model->refundOrderNo = $map['refundOrderNo']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/finance_1_0/Models/CreateBatchTradeOrderHeaders.php000064400000002351146412132660016754 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateBatchTradeOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/CreateBatchTradeOrderRequest.php000064400000010404146412132660017027 0ustar00 'accountId', 'accountNo' => 'accountNo', 'batchRemark' => 'batchRemark', 'batchTradeDetails' => 'batchTradeDetails', 'outBatchNo' => 'outBatchNo', 'staffId' => 'staffId', 'totalAmount' => 'totalAmount', 'totalCount' => 'totalCount', 'tradeTitle' => 'tradeTitle', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->accountNo) { $res['accountNo'] = $this->accountNo; } if (null !== $this->batchRemark) { $res['batchRemark'] = $this->batchRemark; } if (null !== $this->batchTradeDetails) { $res['batchTradeDetails'] = []; if (null !== $this->batchTradeDetails && \is_array($this->batchTradeDetails)) { $n = 0; foreach ($this->batchTradeDetails as $item) { $res['batchTradeDetails'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->outBatchNo) { $res['outBatchNo'] = $this->outBatchNo; } if (null !== $this->staffId) { $res['staffId'] = $this->staffId; } if (null !== $this->totalAmount) { $res['totalAmount'] = $this->totalAmount; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } if (null !== $this->tradeTitle) { $res['tradeTitle'] = $this->tradeTitle; } return $res; } /** * @param array $map * * @return CreateBatchTradeOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['accountNo'])) { $model->accountNo = $map['accountNo']; } if (isset($map['batchRemark'])) { $model->batchRemark = $map['batchRemark']; } if (isset($map['batchTradeDetails'])) { if (!empty($map['batchTradeDetails'])) { $model->batchTradeDetails = []; $n = 0; foreach ($map['batchTradeDetails'] as $item) { $model->batchTradeDetails[$n++] = null !== $item ? batchTradeDetails::fromMap($item) : $item; } } } if (isset($map['outBatchNo'])) { $model->outBatchNo = $map['outBatchNo']; } if (isset($map['staffId'])) { $model->staffId = $map['staffId']; } if (isset($map['totalAmount'])) { $model->totalAmount = $map['totalAmount']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } if (isset($map['tradeTitle'])) { $model->tradeTitle = $map['tradeTitle']; } return $model; } } src/finance_1_0/Models/CreateBatchTradeOrderRequest/batchTradeDetails.php000064400000005132146412132660022400 0ustar00 'amount', 'memo' => 'memo', 'payeeAccountName' => 'payeeAccountName', 'payeeAccountNo' => 'payeeAccountNo', 'payeeAccountType' => 'payeeAccountType', 'serialNo' => 'serialNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->memo) { $res['memo'] = $this->memo; } if (null !== $this->payeeAccountName) { $res['payeeAccountName'] = $this->payeeAccountName; } if (null !== $this->payeeAccountNo) { $res['payeeAccountNo'] = $this->payeeAccountNo; } if (null !== $this->payeeAccountType) { $res['payeeAccountType'] = $this->payeeAccountType; } if (null !== $this->serialNo) { $res['serialNo'] = $this->serialNo; } return $res; } /** * @param array $map * * @return batchTradeDetails */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['memo'])) { $model->memo = $map['memo']; } if (isset($map['payeeAccountName'])) { $model->payeeAccountName = $map['payeeAccountName']; } if (isset($map['payeeAccountNo'])) { $model->payeeAccountNo = $map['payeeAccountNo']; } if (isset($map['payeeAccountType'])) { $model->payeeAccountType = $map['payeeAccountType']; } if (isset($map['serialNo'])) { $model->serialNo = $map['serialNo']; } return $model; } } src/finance_1_0/Models/CreateBatchTradeOrderResponse.php000064400000002761146412132660017204 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateBatchTradeOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateBatchTradeOrderResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/CreateBatchTradeOrderResponseBody.php000064400000002707146412132660020022 0ustar00 'orderNo', 'orderStatus' => 'orderStatus', 'outBatchNo' => 'outBatchNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->orderStatus) { $res['orderStatus'] = $this->orderStatus; } if (null !== $this->outBatchNo) { $res['outBatchNo'] = $this->outBatchNo; } return $res; } /** * @param array $map * * @return CreateBatchTradeOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['orderStatus'])) { $model->orderStatus = $map['orderStatus']; } if (isset($map['outBatchNo'])) { $model->outBatchNo = $map['outBatchNo']; } return $model; } } src/finance_1_0/Models/CreateSubInstitutionHeaders.php000064400000002347146412132660016767 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateSubInstitutionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/CreateSubInstitutionRequest.php000064400000021442146412132660017041 0ustar00 'bindingAlipayLogonId', 'contactInfo' => 'contactInfo', 'instId' => 'instId', 'legalPersonCertInfo' => 'legalPersonCertInfo', 'outTradeNo' => 'outTradeNo', 'payChannel' => 'payChannel', 'qualificationInfos' => 'qualificationInfos', 'services' => 'services', 'settleInfo' => 'settleInfo', 'solution' => 'solution', 'subInstAddressInfo' => 'subInstAddressInfo', 'subInstAuthInfo' => 'subInstAuthInfo', 'subInstBasicInfo' => 'subInstBasicInfo', 'subInstCertifyInfo' => 'subInstCertifyInfo', 'subInstId' => 'subInstId', 'subInstInvoiceInfo' => 'subInstInvoiceInfo', 'subInstShopInfo' => 'subInstShopInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bindingAlipayLogonId) { $res['bindingAlipayLogonId'] = $this->bindingAlipayLogonId; } if (null !== $this->contactInfo) { $res['contactInfo'] = null !== $this->contactInfo ? $this->contactInfo->toMap() : null; } if (null !== $this->instId) { $res['instId'] = $this->instId; } if (null !== $this->legalPersonCertInfo) { $res['legalPersonCertInfo'] = null !== $this->legalPersonCertInfo ? $this->legalPersonCertInfo->toMap() : null; } if (null !== $this->outTradeNo) { $res['outTradeNo'] = $this->outTradeNo; } if (null !== $this->payChannel) { $res['payChannel'] = $this->payChannel; } if (null !== $this->qualificationInfos) { $res['qualificationInfos'] = []; if (null !== $this->qualificationInfos && \is_array($this->qualificationInfos)) { $n = 0; foreach ($this->qualificationInfos as $item) { $res['qualificationInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->services) { $res['services'] = $this->services; } if (null !== $this->settleInfo) { $res['settleInfo'] = null !== $this->settleInfo ? $this->settleInfo->toMap() : null; } if (null !== $this->solution) { $res['solution'] = $this->solution; } if (null !== $this->subInstAddressInfo) { $res['subInstAddressInfo'] = null !== $this->subInstAddressInfo ? $this->subInstAddressInfo->toMap() : null; } if (null !== $this->subInstAuthInfo) { $res['subInstAuthInfo'] = null !== $this->subInstAuthInfo ? $this->subInstAuthInfo->toMap() : null; } if (null !== $this->subInstBasicInfo) { $res['subInstBasicInfo'] = null !== $this->subInstBasicInfo ? $this->subInstBasicInfo->toMap() : null; } if (null !== $this->subInstCertifyInfo) { $res['subInstCertifyInfo'] = null !== $this->subInstCertifyInfo ? $this->subInstCertifyInfo->toMap() : null; } if (null !== $this->subInstId) { $res['subInstId'] = $this->subInstId; } if (null !== $this->subInstInvoiceInfo) { $res['subInstInvoiceInfo'] = null !== $this->subInstInvoiceInfo ? $this->subInstInvoiceInfo->toMap() : null; } if (null !== $this->subInstShopInfo) { $res['subInstShopInfo'] = null !== $this->subInstShopInfo ? $this->subInstShopInfo->toMap() : null; } return $res; } /** * @param array $map * * @return CreateSubInstitutionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bindingAlipayLogonId'])) { $model->bindingAlipayLogonId = $map['bindingAlipayLogonId']; } if (isset($map['contactInfo'])) { $model->contactInfo = contactInfo::fromMap($map['contactInfo']); } if (isset($map['instId'])) { $model->instId = $map['instId']; } if (isset($map['legalPersonCertInfo'])) { $model->legalPersonCertInfo = legalPersonCertInfo::fromMap($map['legalPersonCertInfo']); } if (isset($map['outTradeNo'])) { $model->outTradeNo = $map['outTradeNo']; } if (isset($map['payChannel'])) { $model->payChannel = $map['payChannel']; } if (isset($map['qualificationInfos'])) { if (!empty($map['qualificationInfos'])) { $model->qualificationInfos = []; $n = 0; foreach ($map['qualificationInfos'] as $item) { $model->qualificationInfos[$n++] = null !== $item ? qualificationInfos::fromMap($item) : $item; } } } if (isset($map['services'])) { if (!empty($map['services'])) { $model->services = $map['services']; } } if (isset($map['settleInfo'])) { $model->settleInfo = settleInfo::fromMap($map['settleInfo']); } if (isset($map['solution'])) { $model->solution = $map['solution']; } if (isset($map['subInstAddressInfo'])) { $model->subInstAddressInfo = subInstAddressInfo::fromMap($map['subInstAddressInfo']); } if (isset($map['subInstAuthInfo'])) { $model->subInstAuthInfo = subInstAuthInfo::fromMap($map['subInstAuthInfo']); } if (isset($map['subInstBasicInfo'])) { $model->subInstBasicInfo = subInstBasicInfo::fromMap($map['subInstBasicInfo']); } if (isset($map['subInstCertifyInfo'])) { $model->subInstCertifyInfo = subInstCertifyInfo::fromMap($map['subInstCertifyInfo']); } if (isset($map['subInstId'])) { $model->subInstId = $map['subInstId']; } if (isset($map['subInstInvoiceInfo'])) { $model->subInstInvoiceInfo = subInstInvoiceInfo::fromMap($map['subInstInvoiceInfo']); } if (isset($map['subInstShopInfo'])) { $model->subInstShopInfo = subInstShopInfo::fromMap($map['subInstShopInfo']); } return $model; } } src/finance_1_0/Models/CreateSubInstitutionRequest/contactInfo.php000064400000002300146412132660021300 0ustar00 'contactName', 'mobile' => 'mobile', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contactName) { $res['contactName'] = $this->contactName; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } return $res; } /** * @param array $map * * @return contactInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contactName'])) { $model->contactName = $map['contactName']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } return $model; } } src/finance_1_0/Models/CreateSubInstitutionRequest/legalPersonCertInfo.php000064400000004366146412132660022754 0ustar00 'certBackImage', 'certFrontImage' => 'certFrontImage', 'certName' => 'certName', 'certType' => 'certType', 'idCardNo' => 'idCardNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->certBackImage) { $res['certBackImage'] = $this->certBackImage; } if (null !== $this->certFrontImage) { $res['certFrontImage'] = $this->certFrontImage; } if (null !== $this->certName) { $res['certName'] = $this->certName; } if (null !== $this->certType) { $res['certType'] = $this->certType; } if (null !== $this->idCardNo) { $res['idCardNo'] = $this->idCardNo; } return $res; } /** * @param array $map * * @return legalPersonCertInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['certBackImage'])) { $model->certBackImage = $map['certBackImage']; } if (isset($map['certFrontImage'])) { $model->certFrontImage = $map['certFrontImage']; } if (isset($map['certName'])) { $model->certName = $map['certName']; } if (isset($map['certType'])) { $model->certType = $map['certType']; } if (isset($map['idCardNo'])) { $model->idCardNo = $map['idCardNo']; } return $model; } } src/finance_1_0/Models/CreateSubInstitutionRequest/qualificationInfos.php000064400000002541146412132660022667 0ustar00 'qualificationImage', 'qualificationType' => 'qualificationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->qualificationImage) { $res['qualificationImage'] = $this->qualificationImage; } if (null !== $this->qualificationType) { $res['qualificationType'] = $this->qualificationType; } return $res; } /** * @param array $map * * @return qualificationInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['qualificationImage'])) { $model->qualificationImage = $map['qualificationImage']; } if (isset($map['qualificationType'])) { $model->qualificationType = $map['qualificationType']; } return $model; } } src/finance_1_0/Models/CreateSubInstitutionRequest/settleInfo.php000064400000010432146412132660021152 0ustar00 'accountId', 'accountName' => 'accountName', 'accountType' => 'accountType', 'bankBranchName' => 'bankBranchName', 'bankCity' => 'bankCity', 'bankCode' => 'bankCode', 'bankName' => 'bankName', 'bankProvince' => 'bankProvince', 'bankShortNameCode' => 'bankShortNameCode', 'type' => 'type', 'usageType' => 'usageType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->bankBranchName) { $res['bankBranchName'] = $this->bankBranchName; } if (null !== $this->bankCity) { $res['bankCity'] = $this->bankCity; } if (null !== $this->bankCode) { $res['bankCode'] = $this->bankCode; } if (null !== $this->bankName) { $res['bankName'] = $this->bankName; } if (null !== $this->bankProvince) { $res['bankProvince'] = $this->bankProvince; } if (null !== $this->bankShortNameCode) { $res['bankShortNameCode'] = $this->bankShortNameCode; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->usageType) { $res['usageType'] = $this->usageType; } return $res; } /** * @param array $map * * @return settleInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['bankBranchName'])) { $model->bankBranchName = $map['bankBranchName']; } if (isset($map['bankCity'])) { $model->bankCity = $map['bankCity']; } if (isset($map['bankCode'])) { $model->bankCode = $map['bankCode']; } if (isset($map['bankName'])) { $model->bankName = $map['bankName']; } if (isset($map['bankProvince'])) { $model->bankProvince = $map['bankProvince']; } if (isset($map['bankShortNameCode'])) { $model->bankShortNameCode = $map['bankShortNameCode']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['usageType'])) { $model->usageType = $map['usageType']; } return $model; } } src/finance_1_0/Models/CreateSubInstitutionRequest/subInstAddressInfo.php000064400000003600146412132660022606 0ustar00 'address', 'cityCode' => 'cityCode', 'districtCode' => 'districtCode', 'provinceCode' => 'provinceCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->cityCode) { $res['cityCode'] = $this->cityCode; } if (null !== $this->districtCode) { $res['districtCode'] = $this->districtCode; } if (null !== $this->provinceCode) { $res['provinceCode'] = $this->provinceCode; } return $res; } /** * @param array $map * * @return subInstAddressInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['cityCode'])) { $model->cityCode = $map['cityCode']; } if (isset($map['districtCode'])) { $model->districtCode = $map['districtCode']; } if (isset($map['provinceCode'])) { $model->provinceCode = $map['provinceCode']; } return $model; } } src/finance_1_0/Models/CreateSubInstitutionRequest/subInstAuthInfo.php000064400000001762146412132660022131 0ustar00 'authorizationLetterUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authorizationLetterUrl) { $res['authorizationLetterUrl'] = $this->authorizationLetterUrl; } return $res; } /** * @param array $map * * @return subInstAuthInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authorizationLetterUrl'])) { $model->authorizationLetterUrl = $map['authorizationLetterUrl']; } return $model; } } src/finance_1_0/Models/CreateSubInstitutionRequest/subInstBasicInfo.php000064400000003421146412132660022243 0ustar00 'aliasName', 'mcc' => 'mcc', 'subInstName' => 'subInstName', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->aliasName) { $res['aliasName'] = $this->aliasName; } if (null !== $this->mcc) { $res['mcc'] = $this->mcc; } if (null !== $this->subInstName) { $res['subInstName'] = $this->subInstName; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return subInstBasicInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['aliasName'])) { $model->aliasName = $map['aliasName']; } if (isset($map['mcc'])) { $model->mcc = $map['mcc']; } if (isset($map['subInstName'])) { $model->subInstName = $map['subInstName']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/finance_1_0/Models/CreateSubInstitutionRequest/subInstCertifyInfo.php000064400000002772146412132660022637 0ustar00 'certImage', 'certNo' => 'certNo', 'certType' => 'certType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->certImage) { $res['certImage'] = $this->certImage; } if (null !== $this->certNo) { $res['certNo'] = $this->certNo; } if (null !== $this->certType) { $res['certType'] = $this->certType; } return $res; } /** * @param array $map * * @return subInstCertifyInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['certImage'])) { $model->certImage = $map['certImage']; } if (isset($map['certNo'])) { $model->certNo = $map['certNo']; } if (isset($map['certType'])) { $model->certType = $map['certType']; } return $model; } } src/finance_1_0/Models/CreateSubInstitutionRequest/subInstInvoiceInfo.php000064400000012412146412132660022616 0ustar00 'acceptElectronic', 'address' => 'address', 'autoInvoice' => 'autoInvoice', 'bankAccount' => 'bankAccount', 'bankName' => 'bankName', 'mailAddress' => 'mailAddress', 'mailName' => 'mailName', 'mailPhone' => 'mailPhone', 'taxNo' => 'taxNo', 'taxPayerQualification' => 'taxPayerQualification', 'taxPayerValidDate' => 'taxPayerValidDate', 'telephone' => 'telephone', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->acceptElectronic) { $res['acceptElectronic'] = $this->acceptElectronic; } if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->autoInvoice) { $res['autoInvoice'] = $this->autoInvoice; } if (null !== $this->bankAccount) { $res['bankAccount'] = $this->bankAccount; } if (null !== $this->bankName) { $res['bankName'] = $this->bankName; } if (null !== $this->mailAddress) { $res['mailAddress'] = null !== $this->mailAddress ? $this->mailAddress->toMap() : null; } if (null !== $this->mailName) { $res['mailName'] = $this->mailName; } if (null !== $this->mailPhone) { $res['mailPhone'] = $this->mailPhone; } if (null !== $this->taxNo) { $res['taxNo'] = $this->taxNo; } if (null !== $this->taxPayerQualification) { $res['taxPayerQualification'] = $this->taxPayerQualification; } if (null !== $this->taxPayerValidDate) { $res['taxPayerValidDate'] = $this->taxPayerValidDate; } if (null !== $this->telephone) { $res['telephone'] = $this->telephone; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return subInstInvoiceInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['acceptElectronic'])) { $model->acceptElectronic = $map['acceptElectronic']; } if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['autoInvoice'])) { $model->autoInvoice = $map['autoInvoice']; } if (isset($map['bankAccount'])) { $model->bankAccount = $map['bankAccount']; } if (isset($map['bankName'])) { $model->bankName = $map['bankName']; } if (isset($map['mailAddress'])) { $model->mailAddress = mailAddress::fromMap($map['mailAddress']); } if (isset($map['mailName'])) { $model->mailName = $map['mailName']; } if (isset($map['mailPhone'])) { $model->mailPhone = $map['mailPhone']; } if (isset($map['taxNo'])) { $model->taxNo = $map['taxNo']; } if (isset($map['taxPayerQualification'])) { $model->taxPayerQualification = $map['taxPayerQualification']; } if (isset($map['taxPayerValidDate'])) { $model->taxPayerValidDate = $map['taxPayerValidDate']; } if (isset($map['telephone'])) { $model->telephone = $map['telephone']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/finance_1_0/Models/CreateSubInstitutionRequest/subInstInvoiceInfo/mailAddress.php000064400000003605146412132660025052 0ustar00 'address', 'cityCode' => 'cityCode', 'districtCode' => 'districtCode', 'provinceCode' => 'provinceCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->cityCode) { $res['cityCode'] = $this->cityCode; } if (null !== $this->districtCode) { $res['districtCode'] = $this->districtCode; } if (null !== $this->provinceCode) { $res['provinceCode'] = $this->provinceCode; } return $res; } /** * @param array $map * * @return mailAddress */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['cityCode'])) { $model->cityCode = $map['cityCode']; } if (isset($map['districtCode'])) { $model->districtCode = $map['districtCode']; } if (isset($map['provinceCode'])) { $model->provinceCode = $map['provinceCode']; } return $model; } } src/finance_1_0/Models/CreateSubInstitutionRequest/subInstShopInfo.php000064400000002521146412132660022133 0ustar00 'inDoorImages', 'outDoorImages' => 'outDoorImages', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->inDoorImages) { $res['inDoorImages'] = $this->inDoorImages; } if (null !== $this->outDoorImages) { $res['outDoorImages'] = $this->outDoorImages; } return $res; } /** * @param array $map * * @return subInstShopInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['inDoorImages'])) { if (!empty($map['inDoorImages'])) { $model->inDoorImages = $map['inDoorImages']; } } if (isset($map['outDoorImages'])) { if (!empty($map['outDoorImages'])) { $model->outDoorImages = $map['outDoorImages']; } } return $model; } } src/finance_1_0/Models/CreateSubInstitutionResponse.php000064400000002755146412132660017215 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateSubInstitutionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateSubInstitutionResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/CreateSubInstitutionResponseBody.php000064400000001572146412132660020027 0ustar00 'orderId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } return $res; } /** * @param array $map * * @return CreateSubInstitutionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } return $model; } } src/finance_1_0/Models/CreateUserCodeInstanceHeaders.php000064400000002353146412132660017157 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateUserCodeInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/CreateUserCodeInstanceRequest.php000064400000011660146412132660017235 0ustar00 '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 CreateUserCodeInstanceRequest */ 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/finance_1_0/Models/CreateUserCodeInstanceRequest/availableTimes.php000064400000002274146412132660022160 0ustar00 '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/finance_1_0/Models/CreateUserCodeInstanceResponse.php000064400000002765146412132660017411 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateUserCodeInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateUserCodeInstanceResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/CreateUserCodeInstanceResponseBody.php000064400000002304146412132660020214 0ustar00 '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 CreateUserCodeInstanceResponseBody */ 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/finance_1_0/Models/DecodePayCodeHeaders.php000064400000002331146412132660015261 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DecodePayCodeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/DecodePayCodeRequest.php000064400000002146146412132660015342 0ustar00 '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 DecodePayCodeRequest */ 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/finance_1_0/Models/DecodePayCodeResponse.php000064400000002721146412132660015507 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DecodePayCodeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DecodePayCodeResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/DecodePayCodeResponseBody.php000064400000007643146412132660016335 0ustar00 'alipayCode', 'codeId' => 'codeId', 'codeIdentity' => 'codeIdentity', 'codeType' => 'codeType', 'corpId' => 'corpId', 'extInfo' => 'extInfo', 'outBizId' => 'outBizId', 'userCorpRelationType' => 'userCorpRelationType', 'userId' => 'userId', 'userInCorp' => 'userInCorp', ]; 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; } if (null !== $this->userInCorp) { $res['userInCorp'] = $this->userInCorp; } return $res; } /** * @param array $map * * @return DecodePayCodeResponseBody */ 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']; } if (isset($map['userInCorp'])) { $model->userInCorp = $map['userInCorp']; } return $model; } } src/finance_1_0/Models/ModifySubInstitutionHeaders.php000064400000002347146412132660017013 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ModifySubInstitutionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/ModifySubInstitutionRequest.php000064400000020732146412132660017066 0ustar00 'bindingAlipayLogonId', 'contactInfo' => 'contactInfo', 'instId' => 'instId', 'legalPersonCertInfo' => 'legalPersonCertInfo', 'outTradeNo' => 'outTradeNo', 'payChannel' => 'payChannel', 'qualificationInfos' => 'qualificationInfos', 'services' => 'services', 'settleInfo' => 'settleInfo', 'subInstAddressInfo' => 'subInstAddressInfo', 'subInstAuthInfo' => 'subInstAuthInfo', 'subInstBasicInfo' => 'subInstBasicInfo', 'subInstCertifyInfo' => 'subInstCertifyInfo', 'subInstId' => 'subInstId', 'subInstInvoiceInfo' => 'subInstInvoiceInfo', 'subInstShopInfo' => 'subInstShopInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bindingAlipayLogonId) { $res['bindingAlipayLogonId'] = $this->bindingAlipayLogonId; } if (null !== $this->contactInfo) { $res['contactInfo'] = null !== $this->contactInfo ? $this->contactInfo->toMap() : null; } if (null !== $this->instId) { $res['instId'] = $this->instId; } if (null !== $this->legalPersonCertInfo) { $res['legalPersonCertInfo'] = null !== $this->legalPersonCertInfo ? $this->legalPersonCertInfo->toMap() : null; } if (null !== $this->outTradeNo) { $res['outTradeNo'] = $this->outTradeNo; } if (null !== $this->payChannel) { $res['payChannel'] = $this->payChannel; } if (null !== $this->qualificationInfos) { $res['qualificationInfos'] = []; if (null !== $this->qualificationInfos && \is_array($this->qualificationInfos)) { $n = 0; foreach ($this->qualificationInfos as $item) { $res['qualificationInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->services) { $res['services'] = $this->services; } if (null !== $this->settleInfo) { $res['settleInfo'] = null !== $this->settleInfo ? $this->settleInfo->toMap() : null; } if (null !== $this->subInstAddressInfo) { $res['subInstAddressInfo'] = null !== $this->subInstAddressInfo ? $this->subInstAddressInfo->toMap() : null; } if (null !== $this->subInstAuthInfo) { $res['subInstAuthInfo'] = null !== $this->subInstAuthInfo ? $this->subInstAuthInfo->toMap() : null; } if (null !== $this->subInstBasicInfo) { $res['subInstBasicInfo'] = null !== $this->subInstBasicInfo ? $this->subInstBasicInfo->toMap() : null; } if (null !== $this->subInstCertifyInfo) { $res['subInstCertifyInfo'] = null !== $this->subInstCertifyInfo ? $this->subInstCertifyInfo->toMap() : null; } if (null !== $this->subInstId) { $res['subInstId'] = $this->subInstId; } if (null !== $this->subInstInvoiceInfo) { $res['subInstInvoiceInfo'] = null !== $this->subInstInvoiceInfo ? $this->subInstInvoiceInfo->toMap() : null; } if (null !== $this->subInstShopInfo) { $res['subInstShopInfo'] = null !== $this->subInstShopInfo ? $this->subInstShopInfo->toMap() : null; } return $res; } /** * @param array $map * * @return ModifySubInstitutionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bindingAlipayLogonId'])) { $model->bindingAlipayLogonId = $map['bindingAlipayLogonId']; } if (isset($map['contactInfo'])) { $model->contactInfo = contactInfo::fromMap($map['contactInfo']); } if (isset($map['instId'])) { $model->instId = $map['instId']; } if (isset($map['legalPersonCertInfo'])) { $model->legalPersonCertInfo = legalPersonCertInfo::fromMap($map['legalPersonCertInfo']); } if (isset($map['outTradeNo'])) { $model->outTradeNo = $map['outTradeNo']; } if (isset($map['payChannel'])) { $model->payChannel = $map['payChannel']; } if (isset($map['qualificationInfos'])) { if (!empty($map['qualificationInfos'])) { $model->qualificationInfos = []; $n = 0; foreach ($map['qualificationInfos'] as $item) { $model->qualificationInfos[$n++] = null !== $item ? qualificationInfos::fromMap($item) : $item; } } } if (isset($map['services'])) { if (!empty($map['services'])) { $model->services = $map['services']; } } if (isset($map['settleInfo'])) { $model->settleInfo = settleInfo::fromMap($map['settleInfo']); } if (isset($map['subInstAddressInfo'])) { $model->subInstAddressInfo = subInstAddressInfo::fromMap($map['subInstAddressInfo']); } if (isset($map['subInstAuthInfo'])) { $model->subInstAuthInfo = subInstAuthInfo::fromMap($map['subInstAuthInfo']); } if (isset($map['subInstBasicInfo'])) { $model->subInstBasicInfo = subInstBasicInfo::fromMap($map['subInstBasicInfo']); } if (isset($map['subInstCertifyInfo'])) { $model->subInstCertifyInfo = subInstCertifyInfo::fromMap($map['subInstCertifyInfo']); } if (isset($map['subInstId'])) { $model->subInstId = $map['subInstId']; } if (isset($map['subInstInvoiceInfo'])) { $model->subInstInvoiceInfo = subInstInvoiceInfo::fromMap($map['subInstInvoiceInfo']); } if (isset($map['subInstShopInfo'])) { $model->subInstShopInfo = subInstShopInfo::fromMap($map['subInstShopInfo']); } return $model; } } src/finance_1_0/Models/ModifySubInstitutionRequest/contactInfo.php000064400000002300146412132660021324 0ustar00 'contactName', 'mobile' => 'mobile', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contactName) { $res['contactName'] = $this->contactName; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } return $res; } /** * @param array $map * * @return contactInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contactName'])) { $model->contactName = $map['contactName']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } return $model; } } src/finance_1_0/Models/ModifySubInstitutionRequest/legalPersonCertInfo.php000064400000004366146412132660023000 0ustar00 'certBackImage', 'certFrontImage' => 'certFrontImage', 'certName' => 'certName', 'certType' => 'certType', 'idCardNo' => 'idCardNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->certBackImage) { $res['certBackImage'] = $this->certBackImage; } if (null !== $this->certFrontImage) { $res['certFrontImage'] = $this->certFrontImage; } if (null !== $this->certName) { $res['certName'] = $this->certName; } if (null !== $this->certType) { $res['certType'] = $this->certType; } if (null !== $this->idCardNo) { $res['idCardNo'] = $this->idCardNo; } return $res; } /** * @param array $map * * @return legalPersonCertInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['certBackImage'])) { $model->certBackImage = $map['certBackImage']; } if (isset($map['certFrontImage'])) { $model->certFrontImage = $map['certFrontImage']; } if (isset($map['certName'])) { $model->certName = $map['certName']; } if (isset($map['certType'])) { $model->certType = $map['certType']; } if (isset($map['idCardNo'])) { $model->idCardNo = $map['idCardNo']; } return $model; } } src/finance_1_0/Models/ModifySubInstitutionRequest/qualificationInfos.php000064400000002541146412132660022713 0ustar00 'qualificationImage', 'qualificationType' => 'qualificationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->qualificationImage) { $res['qualificationImage'] = $this->qualificationImage; } if (null !== $this->qualificationType) { $res['qualificationType'] = $this->qualificationType; } return $res; } /** * @param array $map * * @return qualificationInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['qualificationImage'])) { $model->qualificationImage = $map['qualificationImage']; } if (isset($map['qualificationType'])) { $model->qualificationType = $map['qualificationType']; } return $model; } } src/finance_1_0/Models/ModifySubInstitutionRequest/settleInfo.php000064400000010432146412132660021176 0ustar00 'accountId', 'accountName' => 'accountName', 'accountType' => 'accountType', 'bankBranchName' => 'bankBranchName', 'bankCity' => 'bankCity', 'bankCode' => 'bankCode', 'bankName' => 'bankName', 'bankProvince' => 'bankProvince', 'bankShortNameCode' => 'bankShortNameCode', 'type' => 'type', 'usageType' => 'usageType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->bankBranchName) { $res['bankBranchName'] = $this->bankBranchName; } if (null !== $this->bankCity) { $res['bankCity'] = $this->bankCity; } if (null !== $this->bankCode) { $res['bankCode'] = $this->bankCode; } if (null !== $this->bankName) { $res['bankName'] = $this->bankName; } if (null !== $this->bankProvince) { $res['bankProvince'] = $this->bankProvince; } if (null !== $this->bankShortNameCode) { $res['bankShortNameCode'] = $this->bankShortNameCode; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->usageType) { $res['usageType'] = $this->usageType; } return $res; } /** * @param array $map * * @return settleInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['bankBranchName'])) { $model->bankBranchName = $map['bankBranchName']; } if (isset($map['bankCity'])) { $model->bankCity = $map['bankCity']; } if (isset($map['bankCode'])) { $model->bankCode = $map['bankCode']; } if (isset($map['bankName'])) { $model->bankName = $map['bankName']; } if (isset($map['bankProvince'])) { $model->bankProvince = $map['bankProvince']; } if (isset($map['bankShortNameCode'])) { $model->bankShortNameCode = $map['bankShortNameCode']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['usageType'])) { $model->usageType = $map['usageType']; } return $model; } } src/finance_1_0/Models/ModifySubInstitutionRequest/subInstAddressInfo.php000064400000003600146412132660022632 0ustar00 'address', 'cityCode' => 'cityCode', 'districtCode' => 'districtCode', 'provinceCode' => 'provinceCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->cityCode) { $res['cityCode'] = $this->cityCode; } if (null !== $this->districtCode) { $res['districtCode'] = $this->districtCode; } if (null !== $this->provinceCode) { $res['provinceCode'] = $this->provinceCode; } return $res; } /** * @param array $map * * @return subInstAddressInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['cityCode'])) { $model->cityCode = $map['cityCode']; } if (isset($map['districtCode'])) { $model->districtCode = $map['districtCode']; } if (isset($map['provinceCode'])) { $model->provinceCode = $map['provinceCode']; } return $model; } } src/finance_1_0/Models/ModifySubInstitutionRequest/subInstAuthInfo.php000064400000001762146412132660022155 0ustar00 'authorizationLetterUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authorizationLetterUrl) { $res['authorizationLetterUrl'] = $this->authorizationLetterUrl; } return $res; } /** * @param array $map * * @return subInstAuthInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authorizationLetterUrl'])) { $model->authorizationLetterUrl = $map['authorizationLetterUrl']; } return $model; } } src/finance_1_0/Models/ModifySubInstitutionRequest/subInstBasicInfo.php000064400000003421146412132660022267 0ustar00 'aliasName', 'mcc' => 'mcc', 'subInstName' => 'subInstName', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->aliasName) { $res['aliasName'] = $this->aliasName; } if (null !== $this->mcc) { $res['mcc'] = $this->mcc; } if (null !== $this->subInstName) { $res['subInstName'] = $this->subInstName; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return subInstBasicInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['aliasName'])) { $model->aliasName = $map['aliasName']; } if (isset($map['mcc'])) { $model->mcc = $map['mcc']; } if (isset($map['subInstName'])) { $model->subInstName = $map['subInstName']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/finance_1_0/Models/ModifySubInstitutionRequest/subInstCertifyInfo.php000064400000002772146412132660022663 0ustar00 'certImage', 'certNo' => 'certNo', 'certType' => 'certType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->certImage) { $res['certImage'] = $this->certImage; } if (null !== $this->certNo) { $res['certNo'] = $this->certNo; } if (null !== $this->certType) { $res['certType'] = $this->certType; } return $res; } /** * @param array $map * * @return subInstCertifyInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['certImage'])) { $model->certImage = $map['certImage']; } if (isset($map['certNo'])) { $model->certNo = $map['certNo']; } if (isset($map['certType'])) { $model->certType = $map['certType']; } return $model; } } src/finance_1_0/Models/ModifySubInstitutionRequest/subInstInvoiceInfo.php000064400000012412146412132660022642 0ustar00 'acceptElectronic', 'address' => 'address', 'autoInvoice' => 'autoInvoice', 'bankAccount' => 'bankAccount', 'bankName' => 'bankName', 'mailAddress' => 'mailAddress', 'mailName' => 'mailName', 'mailPhone' => 'mailPhone', 'taxNo' => 'taxNo', 'taxPayerQualification' => 'taxPayerQualification', 'taxPayerValidDate' => 'taxPayerValidDate', 'telephone' => 'telephone', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->acceptElectronic) { $res['acceptElectronic'] = $this->acceptElectronic; } if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->autoInvoice) { $res['autoInvoice'] = $this->autoInvoice; } if (null !== $this->bankAccount) { $res['bankAccount'] = $this->bankAccount; } if (null !== $this->bankName) { $res['bankName'] = $this->bankName; } if (null !== $this->mailAddress) { $res['mailAddress'] = null !== $this->mailAddress ? $this->mailAddress->toMap() : null; } if (null !== $this->mailName) { $res['mailName'] = $this->mailName; } if (null !== $this->mailPhone) { $res['mailPhone'] = $this->mailPhone; } if (null !== $this->taxNo) { $res['taxNo'] = $this->taxNo; } if (null !== $this->taxPayerQualification) { $res['taxPayerQualification'] = $this->taxPayerQualification; } if (null !== $this->taxPayerValidDate) { $res['taxPayerValidDate'] = $this->taxPayerValidDate; } if (null !== $this->telephone) { $res['telephone'] = $this->telephone; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return subInstInvoiceInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['acceptElectronic'])) { $model->acceptElectronic = $map['acceptElectronic']; } if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['autoInvoice'])) { $model->autoInvoice = $map['autoInvoice']; } if (isset($map['bankAccount'])) { $model->bankAccount = $map['bankAccount']; } if (isset($map['bankName'])) { $model->bankName = $map['bankName']; } if (isset($map['mailAddress'])) { $model->mailAddress = mailAddress::fromMap($map['mailAddress']); } if (isset($map['mailName'])) { $model->mailName = $map['mailName']; } if (isset($map['mailPhone'])) { $model->mailPhone = $map['mailPhone']; } if (isset($map['taxNo'])) { $model->taxNo = $map['taxNo']; } if (isset($map['taxPayerQualification'])) { $model->taxPayerQualification = $map['taxPayerQualification']; } if (isset($map['taxPayerValidDate'])) { $model->taxPayerValidDate = $map['taxPayerValidDate']; } if (isset($map['telephone'])) { $model->telephone = $map['telephone']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/finance_1_0/Models/ModifySubInstitutionRequest/subInstInvoiceInfo/mailAddress.php000064400000003605146412132660025076 0ustar00 'address', 'cityCode' => 'cityCode', 'districtCode' => 'districtCode', 'provinceCode' => 'provinceCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->cityCode) { $res['cityCode'] = $this->cityCode; } if (null !== $this->districtCode) { $res['districtCode'] = $this->districtCode; } if (null !== $this->provinceCode) { $res['provinceCode'] = $this->provinceCode; } return $res; } /** * @param array $map * * @return mailAddress */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['cityCode'])) { $model->cityCode = $map['cityCode']; } if (isset($map['districtCode'])) { $model->districtCode = $map['districtCode']; } if (isset($map['provinceCode'])) { $model->provinceCode = $map['provinceCode']; } return $model; } } src/finance_1_0/Models/ModifySubInstitutionRequest/subInstShopInfo.php000064400000002521146412132660022157 0ustar00 'inDoorImages', 'outDoorImages' => 'outDoorImages', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->inDoorImages) { $res['inDoorImages'] = $this->inDoorImages; } if (null !== $this->outDoorImages) { $res['outDoorImages'] = $this->outDoorImages; } return $res; } /** * @param array $map * * @return subInstShopInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['inDoorImages'])) { if (!empty($map['inDoorImages'])) { $model->inDoorImages = $map['inDoorImages']; } } if (isset($map['outDoorImages'])) { if (!empty($map['outDoorImages'])) { $model->outDoorImages = $map['outDoorImages']; } } return $model; } } src/finance_1_0/Models/ModifySubInstitutionResponse.php000064400000002755146412132660017241 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ModifySubInstitutionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ModifySubInstitutionResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/ModifySubInstitutionResponseBody.php000064400000001572146412132660020053 0ustar00 'orderId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } return $res; } /** * @param array $map * * @return ModifySubInstitutionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } return $model; } } src/finance_1_0/Models/NotifyPayCodePayResultHeaders.php000064400000002353146412132660017223 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return NotifyPayCodePayResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/NotifyPayCodePayResultRequest.php000064400000016220146412132660017276 0ustar00 '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 NotifyPayCodePayResultRequest */ 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/finance_1_0/Models/NotifyPayCodePayResultRequest/payChannelDetailList.php000064400000010202146412132660023331 0ustar00 '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/finance_1_0/Models/NotifyPayCodePayResultRequest/payChannelDetailList/fundToolDetailList.php000064400000005166146412132660027117 0ustar00 '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/finance_1_0/Models/NotifyPayCodePayResultResponse.php000064400000002765146412132660017455 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return NotifyPayCodePayResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = NotifyPayCodePayResultResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/NotifyPayCodePayResultResponseBody.php000064400000001555146412132660020267 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return NotifyPayCodePayResultResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/finance_1_0/Models/NotifyPayCodeRefundResultHeaders.php000064400000002361146412132660017714 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return NotifyPayCodeRefundResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/NotifyPayCodeRefundResultRequest.php000064400000011311146412132660017764 0ustar00 '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 NotifyPayCodeRefundResultRequest */ 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/finance_1_0/Models/NotifyPayCodeRefundResultRequest/payChannelDetailList.php000064400000007666146412132660024047 0ustar00 '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/finance_1_0/Models/NotifyPayCodeRefundResultRequest/payChannelDetailList/fundToolDetailList.php000064400000005126146412132660027605 0ustar00 '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/finance_1_0/Models/NotifyPayCodeRefundResultResponse.php000064400000003001146412132660020127 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return NotifyPayCodeRefundResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = NotifyPayCodeRefundResultResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/NotifyPayCodeRefundResultResponseBody.php000064400000001563146412132660020760 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return NotifyPayCodeRefundResultResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/finance_1_0/Models/NotifyVerifyResultHeaders.php000064400000002343146412132660016470 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return NotifyVerifyResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/NotifyVerifyResultRequest.php000064400000007770146412132660016556 0ustar00 '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 NotifyVerifyResultRequest */ 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/finance_1_0/Models/NotifyVerifyResultResponse.php000064400000002745146412132660016721 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return NotifyVerifyResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = NotifyVerifyResultResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/NotifyVerifyResultResponseBody.php000064400000001545146412132660017534 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return NotifyVerifyResultResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/finance_1_0/Models/PreCreateGroupBillOrderHeaders.php000064400000002355146412132660017325 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PreCreateGroupBillOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/PreCreateGroupBillOrderRequest.php000064400000011555146412132660017404 0ustar00 'billItemList', 'extParams' => 'extParams', 'headCount' => 'headCount', 'isAverageAmount' => 'isAverageAmount', 'merchantId' => 'merchantId', 'openCid' => 'openCid', 'outBizNo' => 'outBizNo', 'payeeCorpId' => 'payeeCorpId', 'payeeUnionId' => 'payeeUnionId', 'remark' => 'remark', 'totalAmount' => 'totalAmount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->billItemList) { $res['billItemList'] = []; if (null !== $this->billItemList && \is_array($this->billItemList)) { $n = 0; foreach ($this->billItemList as $item) { $res['billItemList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->extParams) { $res['extParams'] = $this->extParams; } if (null !== $this->headCount) { $res['headCount'] = $this->headCount; } if (null !== $this->isAverageAmount) { $res['isAverageAmount'] = $this->isAverageAmount; } if (null !== $this->merchantId) { $res['merchantId'] = $this->merchantId; } if (null !== $this->openCid) { $res['openCid'] = $this->openCid; } if (null !== $this->outBizNo) { $res['outBizNo'] = $this->outBizNo; } if (null !== $this->payeeCorpId) { $res['payeeCorpId'] = $this->payeeCorpId; } if (null !== $this->payeeUnionId) { $res['payeeUnionId'] = $this->payeeUnionId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->totalAmount) { $res['totalAmount'] = $this->totalAmount; } return $res; } /** * @param array $map * * @return PreCreateGroupBillOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['billItemList'])) { if (!empty($map['billItemList'])) { $model->billItemList = []; $n = 0; foreach ($map['billItemList'] as $item) { $model->billItemList[$n++] = null !== $item ? billItemList::fromMap($item) : $item; } } } if (isset($map['extParams'])) { $model->extParams = $map['extParams']; } if (isset($map['headCount'])) { $model->headCount = $map['headCount']; } if (isset($map['isAverageAmount'])) { $model->isAverageAmount = $map['isAverageAmount']; } if (isset($map['merchantId'])) { $model->merchantId = $map['merchantId']; } if (isset($map['openCid'])) { $model->openCid = $map['openCid']; } if (isset($map['outBizNo'])) { $model->outBizNo = $map['outBizNo']; } if (isset($map['payeeCorpId'])) { $model->payeeCorpId = $map['payeeCorpId']; } if (isset($map['payeeUnionId'])) { $model->payeeUnionId = $map['payeeUnionId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['totalAmount'])) { $model->totalAmount = $map['totalAmount']; } return $model; } } src/finance_1_0/Models/PreCreateGroupBillOrderRequest/billItemList.php000064400000002323146412132660021772 0ustar00 'amount', 'payerUnionId' => 'payerUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->payerUnionId) { $res['payerUnionId'] = $this->payerUnionId; } return $res; } /** * @param array $map * * @return billItemList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['payerUnionId'])) { $model->payerUnionId = $map['payerUnionId']; } return $model; } } src/finance_1_0/Models/PreCreateGroupBillOrderResponse.php000064400000002771146412132660017552 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PreCreateGroupBillOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PreCreateGroupBillOrderResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/PreCreateGroupBillOrderResponseBody.php000064400000002376146412132660020371 0ustar00 '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 PreCreateGroupBillOrderResponseBody */ 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/finance_1_0/Models/PreCreateGroupBillOrderResponseBody/result.php000064400000001575146412132660021707 0ustar00 'orderNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } return $model; } } src/finance_1_0/Models/QueryAcquireRefundOrderHeaders.php000064400000002355146412132660017416 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAcquireRefundOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/QueryAcquireRefundOrderRequest.php000064400000001624146412132660017471 0ustar00 'outRefundNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outRefundNo) { $res['outRefundNo'] = $this->outRefundNo; } return $res; } /** * @param array $map * * @return QueryAcquireRefundOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outRefundNo'])) { $model->outRefundNo = $map['outRefundNo']; } return $model; } } src/finance_1_0/Models/QueryAcquireRefundOrderResponse.php000064400000002771146412132660017643 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAcquireRefundOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAcquireRefundOrderResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/QueryAcquireRefundOrderResponseBody.php000064400000012406146412132660020455 0ustar00 'amount', 'gmtCreate' => 'gmtCreate', 'gmtRefund' => 'gmtRefund', 'instId' => 'instId', 'orderNo' => 'orderNo', 'originOutTradeNo' => 'originOutTradeNo', 'outRefundNo' => 'outRefundNo', 'payChannel' => 'payChannel', 'payChannelAccountNo' => 'payChannelAccountNo', 'payerUserId' => 'payerUserId', 'remark' => 'remark', 'status' => 'status', 'subInstId' => 'subInstId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtRefund) { $res['gmtRefund'] = $this->gmtRefund; } if (null !== $this->instId) { $res['instId'] = $this->instId; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->originOutTradeNo) { $res['originOutTradeNo'] = $this->originOutTradeNo; } if (null !== $this->outRefundNo) { $res['outRefundNo'] = $this->outRefundNo; } if (null !== $this->payChannel) { $res['payChannel'] = $this->payChannel; } if (null !== $this->payChannelAccountNo) { $res['payChannelAccountNo'] = $this->payChannelAccountNo; } if (null !== $this->payerUserId) { $res['payerUserId'] = $this->payerUserId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->subInstId) { $res['subInstId'] = $this->subInstId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return QueryAcquireRefundOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtRefund'])) { $model->gmtRefund = $map['gmtRefund']; } if (isset($map['instId'])) { $model->instId = $map['instId']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['originOutTradeNo'])) { $model->originOutTradeNo = $map['originOutTradeNo']; } if (isset($map['outRefundNo'])) { $model->outRefundNo = $map['outRefundNo']; } if (isset($map['payChannel'])) { $model->payChannel = $map['payChannel']; } if (isset($map['payChannelAccountNo'])) { $model->payChannelAccountNo = $map['payChannelAccountNo']; } if (isset($map['payerUserId'])) { $model->payerUserId = $map['payerUserId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['subInstId'])) { $model->subInstId = $map['subInstId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/finance_1_0/Models/QueryBatchTradeDetailListHeaders.php000064400000002361146412132660017642 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryBatchTradeDetailListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/QueryBatchTradeDetailListRequest.php000064400000003022146412132660017712 0ustar00 'outBatchNo', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outBatchNo) { $res['outBatchNo'] = $this->outBatchNo; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryBatchTradeDetailListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outBatchNo'])) { $model->outBatchNo = $map['outBatchNo']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/finance_1_0/Models/QueryBatchTradeDetailListResponse.php000064400000003001146412132660020055 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryBatchTradeDetailListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryBatchTradeDetailListResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/QueryBatchTradeDetailListResponseBody.php000064400000005732146412132660020710 0ustar00 'batchTradeDetailList', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'total' => 'total', 'totalPageNumber' => 'totalPageNumber', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->batchTradeDetailList) { $res['batchTradeDetailList'] = []; if (null !== $this->batchTradeDetailList && \is_array($this->batchTradeDetailList)) { $n = 0; foreach ($this->batchTradeDetailList as $item) { $res['batchTradeDetailList'][$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->total) { $res['total'] = $this->total; } if (null !== $this->totalPageNumber) { $res['totalPageNumber'] = $this->totalPageNumber; } return $res; } /** * @param array $map * * @return QueryBatchTradeDetailListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['batchTradeDetailList'])) { if (!empty($map['batchTradeDetailList'])) { $model->batchTradeDetailList = []; $n = 0; foreach ($map['batchTradeDetailList'] as $item) { $model->batchTradeDetailList[$n++] = null !== $item ? batchTradeDetailList::fromMap($item) : $item; } } } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['total'])) { $model->total = $map['total']; } if (isset($map['totalPageNumber'])) { $model->totalPageNumber = $map['totalPageNumber']; } return $model; } } src/finance_1_0/Models/QueryBatchTradeDetailListResponseBody/batchTradeDetailList.php000064400000007671146412132660024734 0ustar00 'amount', 'detailNo' => 'detailNo', 'gmtCreate' => 'gmtCreate', 'gmtFinish' => 'gmtFinish', 'memo' => 'memo', 'payeeAccountName' => 'payeeAccountName', 'payeeAccountNo' => 'payeeAccountNo', 'payeeAccountType' => 'payeeAccountType', 'serialNo' => 'serialNo', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->detailNo) { $res['detailNo'] = $this->detailNo; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtFinish) { $res['gmtFinish'] = $this->gmtFinish; } if (null !== $this->memo) { $res['memo'] = $this->memo; } if (null !== $this->payeeAccountName) { $res['payeeAccountName'] = $this->payeeAccountName; } if (null !== $this->payeeAccountNo) { $res['payeeAccountNo'] = $this->payeeAccountNo; } if (null !== $this->payeeAccountType) { $res['payeeAccountType'] = $this->payeeAccountType; } if (null !== $this->serialNo) { $res['serialNo'] = $this->serialNo; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return batchTradeDetailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['detailNo'])) { $model->detailNo = $map['detailNo']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtFinish'])) { $model->gmtFinish = $map['gmtFinish']; } if (isset($map['memo'])) { $model->memo = $map['memo']; } if (isset($map['payeeAccountName'])) { $model->payeeAccountName = $map['payeeAccountName']; } if (isset($map['payeeAccountNo'])) { $model->payeeAccountNo = $map['payeeAccountNo']; } if (isset($map['payeeAccountType'])) { $model->payeeAccountType = $map['payeeAccountType']; } if (isset($map['serialNo'])) { $model->serialNo = $map['serialNo']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/finance_1_0/Models/QueryBatchTradeOrderHeaders.php000064400000002347146412132660016663 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryBatchTradeOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/QueryBatchTradeOrderRequest.php000064400000001660146412132660016735 0ustar00 'outBatchNos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outBatchNos) { $res['outBatchNos'] = $this->outBatchNos; } return $res; } /** * @param array $map * * @return QueryBatchTradeOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outBatchNos'])) { if (!empty($map['outBatchNos'])) { $model->outBatchNos = $map['outBatchNos']; } } return $model; } } src/finance_1_0/Models/QueryBatchTradeOrderResponse.php000064400000002755146412132660017111 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryBatchTradeOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryBatchTradeOrderResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/QueryBatchTradeOrderResponseBody.php000064400000003157146412132660017724 0ustar00 'batchTradeOrderVOs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->batchTradeOrderVOs) { $res['batchTradeOrderVOs'] = []; if (null !== $this->batchTradeOrderVOs && \is_array($this->batchTradeOrderVOs)) { $n = 0; foreach ($this->batchTradeOrderVOs as $item) { $res['batchTradeOrderVOs'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryBatchTradeOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['batchTradeOrderVOs'])) { if (!empty($map['batchTradeOrderVOs'])) { $model->batchTradeOrderVOs = []; $n = 0; foreach ($map['batchTradeOrderVOs'] as $item) { $model->batchTradeOrderVOs[$n++] = null !== $item ? batchTradeOrderVOs::fromMap($item) : $item; } } } return $model; } } src/finance_1_0/Models/QueryBatchTradeOrderResponseBody/batchTradeOrderVOs.php000064400000012553146412132660023411 0ustar00 'alipayTransId', 'failAmount' => 'failAmount', 'failCount' => 'failCount', 'failReason' => 'failReason', 'gmtFinish' => 'gmtFinish', 'gmtSubmit' => 'gmtSubmit', 'outBatchNo' => 'outBatchNo', 'payerStaffId' => 'payerStaffId', 'paymentAmount' => 'paymentAmount', 'paymentCurrency' => 'paymentCurrency', 'status' => 'status', 'successAmount' => 'successAmount', 'successCount' => 'successCount', 'totalAmount' => 'totalAmount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alipayTransId) { $res['alipayTransId'] = $this->alipayTransId; } if (null !== $this->failAmount) { $res['failAmount'] = $this->failAmount; } if (null !== $this->failCount) { $res['failCount'] = $this->failCount; } if (null !== $this->failReason) { $res['failReason'] = $this->failReason; } if (null !== $this->gmtFinish) { $res['gmtFinish'] = $this->gmtFinish; } if (null !== $this->gmtSubmit) { $res['gmtSubmit'] = $this->gmtSubmit; } if (null !== $this->outBatchNo) { $res['outBatchNo'] = $this->outBatchNo; } if (null !== $this->payerStaffId) { $res['payerStaffId'] = $this->payerStaffId; } if (null !== $this->paymentAmount) { $res['paymentAmount'] = $this->paymentAmount; } if (null !== $this->paymentCurrency) { $res['paymentCurrency'] = $this->paymentCurrency; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->successAmount) { $res['successAmount'] = $this->successAmount; } if (null !== $this->successCount) { $res['successCount'] = $this->successCount; } if (null !== $this->totalAmount) { $res['totalAmount'] = $this->totalAmount; } return $res; } /** * @param array $map * * @return batchTradeOrderVOs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alipayTransId'])) { $model->alipayTransId = $map['alipayTransId']; } if (isset($map['failAmount'])) { $model->failAmount = $map['failAmount']; } if (isset($map['failCount'])) { $model->failCount = $map['failCount']; } if (isset($map['failReason'])) { $model->failReason = $map['failReason']; } if (isset($map['gmtFinish'])) { $model->gmtFinish = $map['gmtFinish']; } if (isset($map['gmtSubmit'])) { $model->gmtSubmit = $map['gmtSubmit']; } if (isset($map['outBatchNo'])) { $model->outBatchNo = $map['outBatchNo']; } if (isset($map['payerStaffId'])) { $model->payerStaffId = $map['payerStaffId']; } if (isset($map['paymentAmount'])) { $model->paymentAmount = $map['paymentAmount']; } if (isset($map['paymentCurrency'])) { $model->paymentCurrency = $map['paymentCurrency']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['successAmount'])) { $model->successAmount = $map['successAmount']; } if (isset($map['successCount'])) { $model->successCount = $map['successCount']; } if (isset($map['totalAmount'])) { $model->totalAmount = $map['totalAmount']; } return $model; } } src/finance_1_0/Models/QueryPayAccountListHeaders.php000064400000002345146412132660016566 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryPayAccountListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/QueryPayAccountListResponse.php000064400000002751146412132660017012 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryPayAccountListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryPayAccountListResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/QueryPayAccountListResponseBody.php000064400000003110146412132660017616 0ustar00 'payAccountVOList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->payAccountVOList) { $res['payAccountVOList'] = []; if (null !== $this->payAccountVOList && \is_array($this->payAccountVOList)) { $n = 0; foreach ($this->payAccountVOList as $item) { $res['payAccountVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryPayAccountListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['payAccountVOList'])) { if (!empty($map['payAccountVOList'])) { $model->payAccountVOList = []; $n = 0; foreach ($map['payAccountVOList'] as $item) { $model->payAccountVOList[$n++] = null !== $item ? payAccountVOList::fromMap($item) : $item; } } } return $model; } } src/finance_1_0/Models/QueryPayAccountListResponseBody/payAccountVOList.php000064400000005126146412132660023036 0ustar00 'accountClass', 'accountId' => 'accountId', 'accountName' => 'accountName', 'accountNo' => 'accountNo', 'accountRemark' => 'accountRemark', 'accountType' => 'accountType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountClass) { $res['accountClass'] = $this->accountClass; } if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->accountNo) { $res['accountNo'] = $this->accountNo; } if (null !== $this->accountRemark) { $res['accountRemark'] = $this->accountRemark; } if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } return $res; } /** * @param array $map * * @return payAccountVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountClass'])) { $model->accountClass = $map['accountClass']; } if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['accountNo'])) { $model->accountNo = $map['accountNo']; } if (isset($map['accountRemark'])) { $model->accountRemark = $map['accountRemark']; } if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } return $model; } } src/finance_1_0/Models/QueryRegisterOrderHeaders.php000064400000002343146412132660016442 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryRegisterOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/QueryRegisterOrderRequest.php000064400000003500146412132660016513 0ustar00 'instId', 'orderId' => 'orderId', 'outTradeNo' => 'outTradeNo', 'subInstId' => 'subInstId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instId) { $res['instId'] = $this->instId; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->outTradeNo) { $res['outTradeNo'] = $this->outTradeNo; } if (null !== $this->subInstId) { $res['subInstId'] = $this->subInstId; } return $res; } /** * @param array $map * * @return QueryRegisterOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instId'])) { $model->instId = $map['instId']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['outTradeNo'])) { $model->outTradeNo = $map['outTradeNo']; } if (isset($map['subInstId'])) { $model->subInstId = $map['subInstId']; } return $model; } } src/finance_1_0/Models/QueryRegisterOrderResponse.php000064400000002745146412132660016673 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryRegisterOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryRegisterOrderResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/QueryRegisterOrderResponseBody.php000064400000005550146412132660017506 0ustar00 'failReason', 'gmtAudit' => 'gmtAudit', 'instId' => 'instId', 'orderId' => 'orderId', 'outTradeNo' => 'outTradeNo', 'status' => 'status', 'subInstId' => 'subInstId', 'subInstName' => 'subInstName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failReason) { $res['failReason'] = $this->failReason; } if (null !== $this->gmtAudit) { $res['gmtAudit'] = $this->gmtAudit; } if (null !== $this->instId) { $res['instId'] = $this->instId; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->outTradeNo) { $res['outTradeNo'] = $this->outTradeNo; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->subInstId) { $res['subInstId'] = $this->subInstId; } if (null !== $this->subInstName) { $res['subInstName'] = $this->subInstName; } return $res; } /** * @param array $map * * @return QueryRegisterOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failReason'])) { $model->failReason = $map['failReason']; } if (isset($map['gmtAudit'])) { $model->gmtAudit = $map['gmtAudit']; } if (isset($map['instId'])) { $model->instId = $map['instId']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['outTradeNo'])) { $model->outTradeNo = $map['outTradeNo']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['subInstId'])) { $model->subInstId = $map['subInstId']; } if (isset($map['subInstName'])) { $model->subInstName = $map['subInstName']; } return $model; } } src/finance_1_0/Models/QueryUserAgreementHeaders.php000064400000002343146412132660016430 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserAgreementHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/QueryUserAgreementRequest.php000064400000004125146412132660016505 0ustar00 'bizCode', 'bizScene' => 'bizScene', 'instId' => 'instId', 'subInstId' => 'subInstId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->bizScene) { $res['bizScene'] = $this->bizScene; } if (null !== $this->instId) { $res['instId'] = $this->instId; } if (null !== $this->subInstId) { $res['subInstId'] = $this->subInstId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryUserAgreementRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['bizScene'])) { $model->bizScene = $map['bizScene']; } if (isset($map['instId'])) { $model->instId = $map['instId']; } if (isset($map['subInstId'])) { $model->subInstId = $map['subInstId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/finance_1_0/Models/QueryUserAgreementResponse.php000064400000002745146412132660016661 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserAgreementResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserAgreementResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/QueryUserAgreementResponseBody.php000064400000011253146412132660017471 0ustar00 'agreementNo', 'corpId' => 'corpId', 'gmtExpire' => 'gmtExpire', 'gmtSign' => 'gmtSign', 'gmtValid' => 'gmtValid', 'instId' => 'instId', 'payChannel' => 'payChannel', 'payChannelAccountName' => 'payChannelAccountName', 'payChannelAccountNo' => 'payChannelAccountNo', 'status' => 'status', 'subInstId' => 'subInstId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agreementNo) { $res['agreementNo'] = $this->agreementNo; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->gmtExpire) { $res['gmtExpire'] = $this->gmtExpire; } if (null !== $this->gmtSign) { $res['gmtSign'] = $this->gmtSign; } if (null !== $this->gmtValid) { $res['gmtValid'] = $this->gmtValid; } if (null !== $this->instId) { $res['instId'] = $this->instId; } if (null !== $this->payChannel) { $res['payChannel'] = $this->payChannel; } if (null !== $this->payChannelAccountName) { $res['payChannelAccountName'] = $this->payChannelAccountName; } if (null !== $this->payChannelAccountNo) { $res['payChannelAccountNo'] = $this->payChannelAccountNo; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->subInstId) { $res['subInstId'] = $this->subInstId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryUserAgreementResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agreementNo'])) { $model->agreementNo = $map['agreementNo']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['gmtExpire'])) { $model->gmtExpire = $map['gmtExpire']; } if (isset($map['gmtSign'])) { $model->gmtSign = $map['gmtSign']; } if (isset($map['gmtValid'])) { $model->gmtValid = $map['gmtValid']; } if (isset($map['instId'])) { $model->instId = $map['instId']; } if (isset($map['payChannel'])) { $model->payChannel = $map['payChannel']; } if (isset($map['payChannelAccountName'])) { $model->payChannelAccountName = $map['payChannelAccountName']; } if (isset($map['payChannelAccountNo'])) { $model->payChannelAccountNo = $map['payChannelAccountNo']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['subInstId'])) { $model->subInstId = $map['subInstId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/finance_1_0/Models/QueryUserAlipayAccountHeaders.php000064400000002353146412132660017256 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserAlipayAccountHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/QueryUserAlipayAccountResponse.php000064400000002765146412132660017510 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserAlipayAccountResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserAlipayAccountResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/QueryUserAlipayAccountResponseBody.php000064400000001616146412132660020320 0ustar00 'alipayUid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alipayUid) { $res['alipayUid'] = $this->alipayUid; } return $res; } /** * @param array $map * * @return QueryUserAlipayAccountResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alipayUid'])) { $model->alipayUid = $map['alipayUid']; } return $model; } } src/finance_1_0/Models/QueryWithholdingOrderHeaders.php000064400000002351146412132660017135 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryWithholdingOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/QueryWithholdingOrderRequest.php000064400000001607146412132660017215 0ustar00 'outTradeNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outTradeNo) { $res['outTradeNo'] = $this->outTradeNo; } return $res; } /** * @param array $map * * @return QueryWithholdingOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outTradeNo'])) { $model->outTradeNo = $map['outTradeNo']; } return $model; } } src/finance_1_0/Models/QueryWithholdingOrderResponse.php000064400000002761146412132660017365 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryWithholdingOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryWithholdingOrderResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/QueryWithholdingOrderResponseBody.php000064400000011522146412132660020176 0ustar00 'amount', 'gmtCreate' => 'gmtCreate', 'gmtPay' => 'gmtPay', 'instId' => 'instId', 'orderNo' => 'orderNo', 'outTradeNo' => 'outTradeNo', 'payChannel' => 'payChannel', 'payChannelAccountNo' => 'payChannelAccountNo', 'payerUserId' => 'payerUserId', 'remark' => 'remark', 'status' => 'status', 'subInstId' => 'subInstId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtPay) { $res['gmtPay'] = $this->gmtPay; } if (null !== $this->instId) { $res['instId'] = $this->instId; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->outTradeNo) { $res['outTradeNo'] = $this->outTradeNo; } if (null !== $this->payChannel) { $res['payChannel'] = $this->payChannel; } if (null !== $this->payChannelAccountNo) { $res['payChannelAccountNo'] = $this->payChannelAccountNo; } if (null !== $this->payerUserId) { $res['payerUserId'] = $this->payerUserId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->subInstId) { $res['subInstId'] = $this->subInstId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return QueryWithholdingOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtPay'])) { $model->gmtPay = $map['gmtPay']; } if (isset($map['instId'])) { $model->instId = $map['instId']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['outTradeNo'])) { $model->outTradeNo = $map['outTradeNo']; } if (isset($map['payChannel'])) { $model->payChannel = $map['payChannel']; } if (isset($map['payChannelAccountNo'])) { $model->payChannelAccountNo = $map['payChannelAccountNo']; } if (isset($map['payerUserId'])) { $model->payerUserId = $map['payerUserId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['subInstId'])) { $model->subInstId = $map['subInstId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/finance_1_0/Models/SaveCorpPayCodeHeaders.php000064400000002335146412132660015624 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveCorpPayCodeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/SaveCorpPayCodeRequest.php000064400000003424146412132660015701 0ustar00 '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 SaveCorpPayCodeRequest */ 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/finance_1_0/Models/SaveCorpPayCodeResponse.php000064400000002731146412132660016047 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveCorpPayCodeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveCorpPayCodeResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/SaveCorpPayCodeResponseBody.php000064400000003274146412132660016670 0ustar00 '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 SaveCorpPayCodeResponseBody */ 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/finance_1_0/Models/UnsignUserAgreementHeaders.php000064400000002345146412132660016570 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UnsignUserAgreementHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/UnsignUserAgreementRequest.php000064400000004702146412132660016644 0ustar00 'agreementNo', 'bizCode' => 'bizCode', 'bizScene' => 'bizScene', 'instId' => 'instId', 'subInstId' => 'subInstId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agreementNo) { $res['agreementNo'] = $this->agreementNo; } if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->bizScene) { $res['bizScene'] = $this->bizScene; } if (null !== $this->instId) { $res['instId'] = $this->instId; } if (null !== $this->subInstId) { $res['subInstId'] = $this->subInstId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UnsignUserAgreementRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agreementNo'])) { $model->agreementNo = $map['agreementNo']; } if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['bizScene'])) { $model->bizScene = $map['bizScene']; } if (isset($map['instId'])) { $model->instId = $map['instId']; } if (isset($map['subInstId'])) { $model->subInstId = $map['subInstId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/finance_1_0/Models/UnsignUserAgreementResponse.php000064400000002175146412132660017014 0ustar00 '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 UnsignUserAgreementResponse */ 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/finance_1_0/Models/UpateUserCodeInstanceHeaders.php000064400000002351146412132660017030 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpateUserCodeInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/UpateUserCodeInstanceRequest.php000064400000010761146412132660017111 0ustar00 '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 UpateUserCodeInstanceRequest */ 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/finance_1_0/Models/UpateUserCodeInstanceRequest/availableTimes.php000064400000002273146412132660022032 0ustar00 '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/finance_1_0/Models/UpateUserCodeInstanceResponse.php000064400000002761146412132660017260 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpateUserCodeInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpateUserCodeInstanceResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/UpateUserCodeInstanceResponseBody.php000064400000001556146412132660020077 0ustar00 'codeId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->codeId) { $res['codeId'] = $this->codeId; } return $res; } /** * @param array $map * * @return UpateUserCodeInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['codeId'])) { $model->codeId = $map['codeId']; } return $model; } } src/finance_1_0/Models/UpdateInvoiceVerifyStatusHeaders.php000064400000002361146412132660017764 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/finance_1_0/Models/UpdateInvoiceVerifyStatusRequest.php000064400000011000146412132660020027 0ustar00 'bizId', 'checkingResult' => 'checkingResult', 'checkingStatus' => 'checkingStatus', 'code' => 'code', 'corpId' => 'corpId', 'extension' => 'extension', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'invoiceStatus' => 'invoiceStatus', 'invoiceVerifyId' => 'invoiceVerifyId', 'msg' => 'msg', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->checkingResult) { $res['checkingResult'] = $this->checkingResult; } if (null !== $this->checkingStatus) { $res['checkingStatus'] = $this->checkingStatus; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->extension) { $res['extension'] = $this->extension; } 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->invoiceVerifyId) { $res['invoiceVerifyId'] = $this->invoiceVerifyId; } if (null !== $this->msg) { $res['msg'] = $this->msg; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return UpdateInvoiceVerifyStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['checkingResult'])) { $model->checkingResult = $map['checkingResult']; } if (isset($map['checkingStatus'])) { $model->checkingStatus = $map['checkingStatus']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } 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['invoiceVerifyId'])) { $model->invoiceVerifyId = $map['invoiceVerifyId']; } if (isset($map['msg'])) { $model->msg = $map['msg']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/finance_1_0/Models/UpdateInvoiceVerifyStatusResponse.php000064400000003001146412132660020177 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/finance_1_0/Models/UpdateInvoiceVerifyStatusResponseBody.php000064400000001522146412132660021023 0ustar00 '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/finance_1_0/Models/UploadInvoiceByAuthHeaders.php000064400000002345146412132660016514 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UploadInvoiceByAuthHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/UploadInvoiceByAuthRequest.php000064400000003556146412132660016576 0ustar00 'extension', 'invoices' => 'invoices', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = null !== $this->extension ? $this->extension->toMap() : null; } if (null !== $this->invoices) { $res['invoices'] = []; if (null !== $this->invoices && \is_array($this->invoices)) { $n = 0; foreach ($this->invoices as $item) { $res['invoices'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return UploadInvoiceByAuthRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = extension::fromMap($map['extension']); } if (isset($map['invoices'])) { if (!empty($map['invoices'])) { $model->invoices = []; $n = 0; foreach ($map['invoices'] as $item) { $model->invoices[$n++] = null !== $item ? invoices::fromMap($item) : $item; } } } return $model; } } src/finance_1_0/Models/UploadInvoiceByAuthRequest/extension.php000064400000002741146412132660020605 0ustar00 'bizCode', 'orderNo' => 'orderNo', 'orderType' => 'orderType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->orderType) { $res['orderType'] = $this->orderType; } return $res; } /** * @param array $map * * @return extension */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['orderType'])) { $model->orderType = $map['orderType']; } return $model; } } src/finance_1_0/Models/UploadInvoiceByAuthRequest/invoices.php000064400000012403146412132660020404 0ustar00 'invoiceAmount', 'invoiceCode' => 'invoiceCode', 'invoiceDate' => 'invoiceDate', 'invoiceNo' => 'invoiceNo', 'invoiceType' => 'invoiceType', 'logoUrl' => 'logoUrl', 'payeeName' => 'payeeName', 'payeeTaxNo' => 'payeeTaxNo', 'payerName' => 'payerName', 'payerTaxNo' => 'payerTaxNo', 'pdfUrl' => 'pdfUrl', 'taxAmount' => 'taxAmount', 'verifyCode' => 'verifyCode', 'withoutTaxAmount' => 'withoutTaxAmount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invoiceAmount) { $res['invoiceAmount'] = $this->invoiceAmount; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceDate) { $res['invoiceDate'] = $this->invoiceDate; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } if (null !== $this->logoUrl) { $res['logoUrl'] = $this->logoUrl; } if (null !== $this->payeeName) { $res['payeeName'] = $this->payeeName; } if (null !== $this->payeeTaxNo) { $res['payeeTaxNo'] = $this->payeeTaxNo; } if (null !== $this->payerName) { $res['payerName'] = $this->payerName; } if (null !== $this->payerTaxNo) { $res['payerTaxNo'] = $this->payerTaxNo; } if (null !== $this->pdfUrl) { $res['pdfUrl'] = $this->pdfUrl; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->verifyCode) { $res['verifyCode'] = $this->verifyCode; } if (null !== $this->withoutTaxAmount) { $res['withoutTaxAmount'] = $this->withoutTaxAmount; } return $res; } /** * @param array $map * * @return invoices */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invoiceAmount'])) { $model->invoiceAmount = $map['invoiceAmount']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceDate'])) { $model->invoiceDate = $map['invoiceDate']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } if (isset($map['logoUrl'])) { $model->logoUrl = $map['logoUrl']; } if (isset($map['payeeName'])) { $model->payeeName = $map['payeeName']; } if (isset($map['payeeTaxNo'])) { $model->payeeTaxNo = $map['payeeTaxNo']; } if (isset($map['payerName'])) { $model->payerName = $map['payerName']; } if (isset($map['payerTaxNo'])) { $model->payerTaxNo = $map['payerTaxNo']; } if (isset($map['pdfUrl'])) { $model->pdfUrl = $map['pdfUrl']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['verifyCode'])) { $model->verifyCode = $map['verifyCode']; } if (isset($map['withoutTaxAmount'])) { $model->withoutTaxAmount = $map['withoutTaxAmount']; } return $model; } } src/finance_1_0/Models/UploadInvoiceByAuthResponse.php000064400000002751146412132660016740 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UploadInvoiceByAuthResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UploadInvoiceByAuthResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/UploadInvoiceByAuthResponseBody.php000064400000001734146412132660017556 0ustar00 '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 UploadInvoiceByAuthResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/finance_1_0/Models/UploadInvoiceByAuthResponseBody/result.php000064400000002633146412132660021073 0ustar00 '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 result */ 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/finance_1_0/Models/UploadInvoiceByAuthResponseBody/result/results.php000064400000004203146412132660022567 0ustar00 'errCode', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'reason' => 'reason', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errCode) { $res['errCode'] = $this->errCode; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->reason) { $res['reason'] = $this->reason; } 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['errCode'])) { $model->errCode = $map['errCode']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['reason'])) { $model->reason = $map['reason']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/finance_1_0/Models/UploadInvoiceByMobileHeaders.php000064400000002351146412132660017017 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UploadInvoiceByMobileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/UploadInvoiceByMobileRequest.php000064400000004151146412132660017074 0ustar00 'invoices', 'mobile' => 'mobile', 'mobileStateCode' => 'mobileStateCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invoices) { $res['invoices'] = []; if (null !== $this->invoices && \is_array($this->invoices)) { $n = 0; foreach ($this->invoices as $item) { $res['invoices'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->mobileStateCode) { $res['mobileStateCode'] = $this->mobileStateCode; } return $res; } /** * @param array $map * * @return UploadInvoiceByMobileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invoices'])) { if (!empty($map['invoices'])) { $model->invoices = []; $n = 0; foreach ($map['invoices'] as $item) { $model->invoices[$n++] = null !== $item ? invoices::fromMap($item) : $item; } } } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['mobileStateCode'])) { $model->mobileStateCode = $map['mobileStateCode']; } return $model; } } src/finance_1_0/Models/UploadInvoiceByMobileRequest/invoices.php000064400000012405146412132660020714 0ustar00 'invoiceAmount', 'invoiceCode' => 'invoiceCode', 'invoiceDate' => 'invoiceDate', 'invoiceNo' => 'invoiceNo', 'invoiceType' => 'invoiceType', 'logoUrl' => 'logoUrl', 'payeeName' => 'payeeName', 'payeeTaxNo' => 'payeeTaxNo', 'payerName' => 'payerName', 'payerTaxNo' => 'payerTaxNo', 'pdfUrl' => 'pdfUrl', 'taxAmount' => 'taxAmount', 'verifyCode' => 'verifyCode', 'withoutTaxAmount' => 'withoutTaxAmount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invoiceAmount) { $res['invoiceAmount'] = $this->invoiceAmount; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceDate) { $res['invoiceDate'] = $this->invoiceDate; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } if (null !== $this->logoUrl) { $res['logoUrl'] = $this->logoUrl; } if (null !== $this->payeeName) { $res['payeeName'] = $this->payeeName; } if (null !== $this->payeeTaxNo) { $res['payeeTaxNo'] = $this->payeeTaxNo; } if (null !== $this->payerName) { $res['payerName'] = $this->payerName; } if (null !== $this->payerTaxNo) { $res['payerTaxNo'] = $this->payerTaxNo; } if (null !== $this->pdfUrl) { $res['pdfUrl'] = $this->pdfUrl; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->verifyCode) { $res['verifyCode'] = $this->verifyCode; } if (null !== $this->withoutTaxAmount) { $res['withoutTaxAmount'] = $this->withoutTaxAmount; } return $res; } /** * @param array $map * * @return invoices */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invoiceAmount'])) { $model->invoiceAmount = $map['invoiceAmount']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceDate'])) { $model->invoiceDate = $map['invoiceDate']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } if (isset($map['logoUrl'])) { $model->logoUrl = $map['logoUrl']; } if (isset($map['payeeName'])) { $model->payeeName = $map['payeeName']; } if (isset($map['payeeTaxNo'])) { $model->payeeTaxNo = $map['payeeTaxNo']; } if (isset($map['payerName'])) { $model->payerName = $map['payerName']; } if (isset($map['payerTaxNo'])) { $model->payerTaxNo = $map['payerTaxNo']; } if (isset($map['pdfUrl'])) { $model->pdfUrl = $map['pdfUrl']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['verifyCode'])) { $model->verifyCode = $map['verifyCode']; } if (isset($map['withoutTaxAmount'])) { $model->withoutTaxAmount = $map['withoutTaxAmount']; } return $model; } } src/finance_1_0/Models/UploadInvoiceByMobileResponse.php000064400000002761146412132660017247 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UploadInvoiceByMobileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UploadInvoiceByMobileResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/UploadInvoiceByMobileResponseBody.php000064400000001742146412132660020063 0ustar00 '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 UploadInvoiceByMobileResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/finance_1_0/Models/UploadInvoiceByMobileResponseBody/result.php000064400000002637146412132660021405 0ustar00 '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 result */ 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/finance_1_0/Models/UploadInvoiceByMobileResponseBody/result/results.php000064400000004205146412132660023077 0ustar00 'errCode', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'reason' => 'reason', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errCode) { $res['errCode'] = $this->errCode; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->reason) { $res['reason'] = $this->reason; } 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['errCode'])) { $model->errCode = $map['errCode']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['reason'])) { $model->reason = $map['reason']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/finance_1_0/Models/UploadInvoiceHeaders.php000064400000002331146412132660015372 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UploadInvoiceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/UploadInvoiceRequest.php000064400000004501146412132660015450 0ustar00 'extension', 'invoices' => 'invoices', 'userIdentity' => 'userIdentity', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = null !== $this->extension ? $this->extension->toMap() : null; } if (null !== $this->invoices) { $res['invoices'] = []; if (null !== $this->invoices && \is_array($this->invoices)) { $n = 0; foreach ($this->invoices as $item) { $res['invoices'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userIdentity) { $res['userIdentity'] = null !== $this->userIdentity ? $this->userIdentity->toMap() : null; } return $res; } /** * @param array $map * * @return UploadInvoiceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = extension::fromMap($map['extension']); } if (isset($map['invoices'])) { if (!empty($map['invoices'])) { $model->invoices = []; $n = 0; foreach ($map['invoices'] as $item) { $model->invoices[$n++] = null !== $item ? invoices::fromMap($item) : $item; } } } if (isset($map['userIdentity'])) { $model->userIdentity = userIdentity::fromMap($map['userIdentity']); } return $model; } } src/finance_1_0/Models/UploadInvoiceRequest/extension.php000064400000003571146412132660017472 0ustar00 'bizCode', 'orderNo' => 'orderNo', 'orderNoList' => 'orderNoList', 'orderType' => 'orderType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->orderNoList) { $res['orderNoList'] = $this->orderNoList; } if (null !== $this->orderType) { $res['orderType'] = $this->orderType; } return $res; } /** * @param array $map * * @return extension */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['orderNoList'])) { if (!empty($map['orderNoList'])) { $model->orderNoList = $map['orderNoList']; } } if (isset($map['orderType'])) { $model->orderType = $map['orderType']; } return $model; } } src/finance_1_0/Models/UploadInvoiceRequest/invoices.php000064400000012375146412132660017277 0ustar00 'invoiceAmount', 'invoiceCode' => 'invoiceCode', 'invoiceDate' => 'invoiceDate', 'invoiceNo' => 'invoiceNo', 'invoiceType' => 'invoiceType', 'logoUrl' => 'logoUrl', 'payeeName' => 'payeeName', 'payeeTaxNo' => 'payeeTaxNo', 'payerName' => 'payerName', 'payerTaxNo' => 'payerTaxNo', 'pdfUrl' => 'pdfUrl', 'taxAmount' => 'taxAmount', 'verifyCode' => 'verifyCode', 'withoutTaxAmount' => 'withoutTaxAmount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invoiceAmount) { $res['invoiceAmount'] = $this->invoiceAmount; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceDate) { $res['invoiceDate'] = $this->invoiceDate; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } if (null !== $this->logoUrl) { $res['logoUrl'] = $this->logoUrl; } if (null !== $this->payeeName) { $res['payeeName'] = $this->payeeName; } if (null !== $this->payeeTaxNo) { $res['payeeTaxNo'] = $this->payeeTaxNo; } if (null !== $this->payerName) { $res['payerName'] = $this->payerName; } if (null !== $this->payerTaxNo) { $res['payerTaxNo'] = $this->payerTaxNo; } if (null !== $this->pdfUrl) { $res['pdfUrl'] = $this->pdfUrl; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->verifyCode) { $res['verifyCode'] = $this->verifyCode; } if (null !== $this->withoutTaxAmount) { $res['withoutTaxAmount'] = $this->withoutTaxAmount; } return $res; } /** * @param array $map * * @return invoices */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invoiceAmount'])) { $model->invoiceAmount = $map['invoiceAmount']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceDate'])) { $model->invoiceDate = $map['invoiceDate']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } if (isset($map['logoUrl'])) { $model->logoUrl = $map['logoUrl']; } if (isset($map['payeeName'])) { $model->payeeName = $map['payeeName']; } if (isset($map['payeeTaxNo'])) { $model->payeeTaxNo = $map['payeeTaxNo']; } if (isset($map['payerName'])) { $model->payerName = $map['payerName']; } if (isset($map['payerTaxNo'])) { $model->payerTaxNo = $map['payerTaxNo']; } if (isset($map['pdfUrl'])) { $model->pdfUrl = $map['pdfUrl']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['verifyCode'])) { $model->verifyCode = $map['verifyCode']; } if (isset($map['withoutTaxAmount'])) { $model->withoutTaxAmount = $map['withoutTaxAmount']; } return $model; } } src/finance_1_0/Models/UploadInvoiceRequest/userIdentity.php000064400000004736146412132660020152 0ustar00 'mobile', 'mobileStateCode' => 'mobileStateCode', 'targetCorpId' => 'targetCorpId', 'type' => 'type', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->mobileStateCode) { $res['mobileStateCode'] = $this->mobileStateCode; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } 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 userIdentity */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['mobileStateCode'])) { $model->mobileStateCode = $map['mobileStateCode']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } 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/finance_1_0/Models/UploadInvoiceResponse.php000064400000002721146412132660015620 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UploadInvoiceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UploadInvoiceResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/UploadInvoiceResponseBody.php000064400000001712146412132660016435 0ustar00 '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 UploadInvoiceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/finance_1_0/Models/UploadInvoiceResponseBody/result.php000064400000002617146412132660017760 0ustar00 '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 result */ 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/finance_1_0/Models/UploadInvoiceResponseBody/result/results.php000064400000004175146412132660021462 0ustar00 'errCode', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'reason' => 'reason', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errCode) { $res['errCode'] = $this->errCode; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->reason) { $res['reason'] = $this->reason; } 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['errCode'])) { $model->errCode = $map['errCode']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['reason'])) { $model->reason = $map['reason']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/finance_1_0/Models/UploadRegisterImageHeaders.php000064400000002345146412132660016532 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UploadRegisterImageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/UploadRegisterImageRequest.php000064400000004260146412132660016605 0ustar00 'imageContent', 'imageName' => 'imageName', 'imageType' => 'imageType', 'instId' => 'instId', 'payChannel' => 'payChannel', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->imageContent) { $res['imageContent'] = $this->imageContent; } if (null !== $this->imageName) { $res['imageName'] = $this->imageName; } if (null !== $this->imageType) { $res['imageType'] = $this->imageType; } if (null !== $this->instId) { $res['instId'] = $this->instId; } if (null !== $this->payChannel) { $res['payChannel'] = $this->payChannel; } return $res; } /** * @param array $map * * @return UploadRegisterImageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['imageContent'])) { $model->imageContent = $map['imageContent']; } if (isset($map['imageName'])) { $model->imageName = $map['imageName']; } if (isset($map['imageType'])) { $model->imageType = $map['imageType']; } if (isset($map['instId'])) { $model->instId = $map['instId']; } if (isset($map['payChannel'])) { $model->payChannel = $map['payChannel']; } return $model; } } src/finance_1_0/Models/UploadRegisterImageResponse.php000064400000002751146412132660016756 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UploadRegisterImageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UploadRegisterImageResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/UploadRegisterImageResponseBody.php000064400000001546146412132660017575 0ustar00 'ossUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ossUrl) { $res['ossUrl'] = $this->ossUrl; } return $res; } /** * @param array $map * * @return UploadRegisterImageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ossUrl'])) { $model->ossUrl = $map['ossUrl']; } return $model; } } src/finance_1_0/Models/UserAgreementPageSignHeaders.php000064400000002351146412132660017017 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UserAgreementPageSignHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/finance_1_0/Models/UserAgreementPageSignRequest.php000064400000011556146412132660017103 0ustar00 'bizCode', 'bizScene' => 'bizScene', 'instId' => 'instId', 'payChannel' => 'payChannel', 'remark' => 'remark', 'returnUrl' => 'returnUrl', 'signScene' => 'signScene', 'subInstId' => 'subInstId', 'subMerchantName' => 'subMerchantName', 'subMerchantServiceDesc' => 'subMerchantServiceDesc', 'subMerchantServiceName' => 'subMerchantServiceName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->bizScene) { $res['bizScene'] = $this->bizScene; } if (null !== $this->instId) { $res['instId'] = $this->instId; } if (null !== $this->payChannel) { $res['payChannel'] = $this->payChannel; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->returnUrl) { $res['returnUrl'] = $this->returnUrl; } if (null !== $this->signScene) { $res['signScene'] = $this->signScene; } if (null !== $this->subInstId) { $res['subInstId'] = $this->subInstId; } if (null !== $this->subMerchantName) { $res['subMerchantName'] = $this->subMerchantName; } if (null !== $this->subMerchantServiceDesc) { $res['subMerchantServiceDesc'] = $this->subMerchantServiceDesc; } if (null !== $this->subMerchantServiceName) { $res['subMerchantServiceName'] = $this->subMerchantServiceName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UserAgreementPageSignRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['bizScene'])) { $model->bizScene = $map['bizScene']; } if (isset($map['instId'])) { $model->instId = $map['instId']; } if (isset($map['payChannel'])) { $model->payChannel = $map['payChannel']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['returnUrl'])) { $model->returnUrl = $map['returnUrl']; } if (isset($map['signScene'])) { $model->signScene = $map['signScene']; } if (isset($map['subInstId'])) { $model->subInstId = $map['subInstId']; } if (isset($map['subMerchantName'])) { $model->subMerchantName = $map['subMerchantName']; } if (isset($map['subMerchantServiceDesc'])) { $model->subMerchantServiceDesc = $map['subMerchantServiceDesc']; } if (isset($map['subMerchantServiceName'])) { $model->subMerchantServiceName = $map['subMerchantServiceName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/finance_1_0/Models/UserAgreementPageSignResponse.php000064400000002761146412132660017247 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UserAgreementPageSignResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UserAgreementPageSignResponseBody::fromMap($map['body']); } return $model; } } src/finance_1_0/Models/UserAgreementPageSignResponseBody.php000064400000001571146412132660020063 0ustar00 'pageData', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageData) { $res['pageData'] = $this->pageData; } return $res; } /** * @param array $map * * @return UserAgreementPageSignResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageData'])) { $model->pageData = $map['pageData']; } return $model; } } src/flashmeeting_1_0/Dingtalk.php000064400000022772146412132660012725 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CreateFlashMeetingRequest $request * @param CreateFlashMeetingHeaders $headers * @param RuntimeOptions $runtime * * @return CreateFlashMeetingResponse */ public function createFlashMeetingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->creator)) { $body['creator'] = $request->creator; } if (!Utils::isUnset($request->eventId)) { $body['eventId'] = $request->eventId; } 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' => 'CreateFlashMeeting', 'version' => 'flashmeeting_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/flashmeeting/meetings', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateFlashMeetingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateFlashMeetingRequest $request * * @return CreateFlashMeetingResponse */ public function createFlashMeeting($request) { $runtime = new RuntimeOptions([]); $headers = new CreateFlashMeetingHeaders([]); return $this->createFlashMeetingWithOptions($request, $headers, $runtime); } /** * @param GetShanhuiByCalendarRequest $request * @param GetShanhuiByCalendarHeaders $headers * @param RuntimeOptions $runtime * * @return GetShanhuiByCalendarResponse */ public function getShanhuiByCalendarWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->eventId)) { $query['eventId'] = $request->eventId; } 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' => 'GetShanhuiByCalendar', 'version' => 'flashmeeting_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/flashmeeting/calendars/meeting', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetShanhuiByCalendarResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetShanhuiByCalendarRequest $request * * @return GetShanhuiByCalendarResponse */ public function getShanhuiByCalendar($request) { $runtime = new RuntimeOptions([]); $headers = new GetShanhuiByCalendarHeaders([]); return $this->getShanhuiByCalendarWithOptions($request, $headers, $runtime); } /** * @param string $flashmeetingKey * @param GetShanhuiByShanhuiKeyHeaders $headers * @param RuntimeOptions $runtime * * @return GetShanhuiByShanhuiKeyResponse */ public function getShanhuiByShanhuiKeyWithOptions($flashmeetingKey, $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' => 'GetShanhuiByShanhuiKey', 'version' => 'flashmeeting_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/flashmeeting/meetings/keys/' . $flashmeetingKey . '/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetShanhuiByShanhuiKeyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $flashmeetingKey * * @return GetShanhuiByShanhuiKeyResponse */ public function getShanhuiByShanhuiKey($flashmeetingKey) { $runtime = new RuntimeOptions([]); $headers = new GetShanhuiByShanhuiKeyHeaders([]); return $this->getShanhuiByShanhuiKeyWithOptions($flashmeetingKey, $headers, $runtime); } /** * @param GetTaskFromShanhuiDocRequest $request * @param GetTaskFromShanhuiDocHeaders $headers * @param RuntimeOptions $runtime * * @return GetTaskFromShanhuiDocResponse */ public function getTaskFromShanhuiDocWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->docKey)) { $query['docKey'] = $request->docKey; } 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' => 'GetTaskFromShanhuiDoc', 'version' => 'flashmeeting_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/flashmeeting/meetings/tasks', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTaskFromShanhuiDocResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetTaskFromShanhuiDocRequest $request * * @return GetTaskFromShanhuiDocResponse */ public function getTaskFromShanhuiDoc($request) { $runtime = new RuntimeOptions([]); $headers = new GetTaskFromShanhuiDocHeaders([]); return $this->getTaskFromShanhuiDocWithOptions($request, $headers, $runtime); } } src/flashmeeting_1_0/Models/CreateFlashMeetingHeaders.php000064400000002350146412132660017367 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateFlashMeetingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/flashmeeting_1_0/Models/CreateFlashMeetingRequest.php000064400000002550146412132660017446 0ustar00 'creator', 'eventId' => 'eventId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->eventId) { $res['eventId'] = $this->eventId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return CreateFlashMeetingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['eventId'])) { $model->eventId = $map['eventId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/flashmeeting_1_0/Models/CreateFlashMeetingResponse.php000064400000002752146412132660017620 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateFlashMeetingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateFlashMeetingResponseBody::fromMap($map['body']); } return $model; } } src/flashmeeting_1_0/Models/CreateFlashMeetingResponseBody.php000064400000003762146412132660020440 0ustar00 'endTime', 'flashMeetingKey' => 'flashMeetingKey', 'startTime' => 'startTime', 'title' => 'title', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->flashMeetingKey) { $res['flashMeetingKey'] = $this->flashMeetingKey; } 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 CreateFlashMeetingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['flashMeetingKey'])) { $model->flashMeetingKey = $map['flashMeetingKey']; } 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/flashmeeting_1_0/Models/GetShanhuiByCalendarHeaders.php000064400000002354146412132660017665 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetShanhuiByCalendarHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/flashmeeting_1_0/Models/GetShanhuiByCalendarRequest.php000064400000002273146412132660017742 0ustar00 'eventId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->eventId) { $res['eventId'] = $this->eventId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetShanhuiByCalendarRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['eventId'])) { $model->eventId = $map['eventId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/flashmeeting_1_0/Models/GetShanhuiByCalendarResponse.php000064400000002762146412132660020113 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetShanhuiByCalendarResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetShanhuiByCalendarResponseBody::fromMap($map['body']); } return $model; } } src/flashmeeting_1_0/Models/GetShanhuiByCalendarResponseBody.php000064400000002433146412132660020724 0ustar00 '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 GetShanhuiByCalendarResponseBody */ 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/flashmeeting_1_0/Models/GetShanhuiByCalendarResponseBody/result.php000064400000006670146412132660022251 0ustar00 'endTime', 'flashmeetingKey' => 'flashmeetingKey', 'hasSummary' => 'hasSummary', 'startTime' => 'startTime', 'summaryDocKey' => 'summaryDocKey', 'title' => 'title', 'topics' => 'topics', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->flashmeetingKey) { $res['flashmeetingKey'] = $this->flashmeetingKey; } if (null !== $this->hasSummary) { $res['hasSummary'] = $this->hasSummary; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->summaryDocKey) { $res['summaryDocKey'] = $this->summaryDocKey; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->topics) { $res['topics'] = []; if (null !== $this->topics && \is_array($this->topics)) { $n = 0; foreach ($this->topics as $item) { $res['topics'][$n++] = null !== $item ? $item->toMap() : $item; } } } 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['flashmeetingKey'])) { $model->flashmeetingKey = $map['flashmeetingKey']; } if (isset($map['hasSummary'])) { $model->hasSummary = $map['hasSummary']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['summaryDocKey'])) { $model->summaryDocKey = $map['summaryDocKey']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['topics'])) { if (!empty($map['topics'])) { $model->topics = []; $n = 0; foreach ($map['topics'] as $item) { $model->topics[$n++] = null !== $item ? topics::fromMap($item) : $item; } } } return $model; } } src/flashmeeting_1_0/Models/GetShanhuiByCalendarResponseBody/result/topics.php000064400000002241146412132660023540 0ustar00 'docKey', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->docKey) { $res['docKey'] = $this->docKey; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return topics */ public static function fromMap($map = []) { $model = new self(); if (isset($map['docKey'])) { $model->docKey = $map['docKey']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/flashmeeting_1_0/Models/GetShanhuiByShanhuiKeyHeaders.php000064400000002360146412132660020221 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetShanhuiByShanhuiKeyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/flashmeeting_1_0/Models/GetShanhuiByShanhuiKeyResponse.php000064400000002772146412132660020453 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetShanhuiByShanhuiKeyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetShanhuiByShanhuiKeyResponseBody::fromMap($map['body']); } return $model; } } src/flashmeeting_1_0/Models/GetShanhuiByShanhuiKeyResponseBody.php000064400000002441146412132660021262 0ustar00 '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 GetShanhuiByShanhuiKeyResponseBody */ 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/flashmeeting_1_0/Models/GetShanhuiByShanhuiKeyResponseBody/result.php000064400000007400146412132660022600 0ustar00 'endTime', 'eventId' => 'eventId', 'flashmeetingKey' => 'flashmeetingKey', 'hasSummary' => 'hasSummary', 'startTime' => 'startTime', 'summaryDocKey' => 'summaryDocKey', 'title' => 'title', 'topics' => 'topics', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->eventId) { $res['eventId'] = $this->eventId; } if (null !== $this->flashmeetingKey) { $res['flashmeetingKey'] = $this->flashmeetingKey; } if (null !== $this->hasSummary) { $res['hasSummary'] = $this->hasSummary; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->summaryDocKey) { $res['summaryDocKey'] = $this->summaryDocKey; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->topics) { $res['topics'] = []; if (null !== $this->topics && \is_array($this->topics)) { $n = 0; foreach ($this->topics as $item) { $res['topics'][$n++] = null !== $item ? $item->toMap() : $item; } } } 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['eventId'])) { $model->eventId = $map['eventId']; } if (isset($map['flashmeetingKey'])) { $model->flashmeetingKey = $map['flashmeetingKey']; } if (isset($map['hasSummary'])) { $model->hasSummary = $map['hasSummary']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['summaryDocKey'])) { $model->summaryDocKey = $map['summaryDocKey']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['topics'])) { if (!empty($map['topics'])) { $model->topics = []; $n = 0; foreach ($map['topics'] as $item) { $model->topics[$n++] = null !== $item ? topics::fromMap($item) : $item; } } } return $model; } } src/flashmeeting_1_0/Models/GetShanhuiByShanhuiKeyResponseBody/result/topics.php000064400000002243146412132660024101 0ustar00 'docKey', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->docKey) { $res['docKey'] = $this->docKey; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return topics */ public static function fromMap($map = []) { $model = new self(); if (isset($map['docKey'])) { $model->docKey = $map['docKey']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/flashmeeting_1_0/Models/GetTaskFromShanhuiDocHeaders.php000064400000002356146412132660020037 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTaskFromShanhuiDocHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/flashmeeting_1_0/Models/GetTaskFromShanhuiDocRequest.php000064400000003510146412132660020105 0ustar00 'docKey', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->docKey) { $res['docKey'] = $this->docKey; } 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 GetTaskFromShanhuiDocRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['docKey'])) { $model->docKey = $map['docKey']; } 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/flashmeeting_1_0/Models/GetTaskFromShanhuiDocResponse.php000064400000002766146412132660020267 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTaskFromShanhuiDocResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTaskFromShanhuiDocResponseBody::fromMap($map['body']); } return $model; } } src/flashmeeting_1_0/Models/GetTaskFromShanhuiDocResponseBody.php000064400000002402146412132660021070 0ustar00 '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 GetTaskFromShanhuiDocResponseBody */ 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/flashmeeting_1_0/Models/GetTaskFromShanhuiDocResponseBody/result.php000064400000004317146412132660022415 0ustar00 'hasMore', 'items' => 'items', 'nextToken' => 'nextToken', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } 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->nextToken) { $res['nextToken'] = $this->nextToken; } 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['hasMore'])) { $model->hasMore = $map['hasMore']; } 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['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/flashmeeting_1_0/Models/GetTaskFromShanhuiDocResponseBody/result/items.php000064400000006140146412132660023532 0ustar00 'createTime', 'deadline' => 'deadline', 'deleted' => 'deleted', 'priority' => 'priority', 'taskKey' => 'taskKey', 'taskStatus' => 'taskStatus', 'taskType' => 'taskType', 'title' => 'title', 'updateTime' => 'updateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->deadline) { $res['deadline'] = $this->deadline; } if (null !== $this->deleted) { $res['deleted'] = $this->deleted; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->taskKey) { $res['taskKey'] = $this->taskKey; } if (null !== $this->taskStatus) { $res['taskStatus'] = $this->taskStatus; } if (null !== $this->taskType) { $res['taskType'] = $this->taskType; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } return $res; } /** * @param array $map * * @return items */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['deadline'])) { $model->deadline = $map['deadline']; } if (isset($map['deleted'])) { $model->deleted = $map['deleted']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['taskKey'])) { $model->taskKey = $map['taskKey']; } if (isset($map['taskStatus'])) { $model->taskStatus = $map['taskStatus']; } if (isset($map['taskType'])) { $model->taskType = $map['taskType']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } return $model; } } src/flashmsg_1_0/Dingtalk.php000064400000046532146412132660012063 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddPluginRuleRequest $request * @param AddPluginRuleHeaders $headers * @param RuntimeOptions $runtime * * @return AddPluginRuleResponse */ public function addPluginRuleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->chatType)) { $body['chatType'] = $request->chatType; } if (!Utils::isUnset($request->code)) { $body['code'] = $request->code; } if (!Utils::isUnset($request->itemType)) { $body['itemType'] = $request->itemType; } if (!Utils::isUnset($request->rules)) { $body['rules'] = $request->rules; } 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' => 'AddPluginRule', 'version' => 'flashmsg_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/flashmsg/plugins', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddPluginRuleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddPluginRuleRequest $request * * @return AddPluginRuleResponse */ public function addPluginRule($request) { $runtime = new RuntimeOptions([]); $headers = new AddPluginRuleHeaders([]); return $this->addPluginRuleWithOptions($request, $headers, $runtime); } /** * @param DeletePlguinRuleRequest $request * @param DeletePlguinRuleHeaders $headers * @param RuntimeOptions $runtime * * @return DeletePlguinRuleResponse */ public function deletePlguinRuleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizIdList)) { $body['bizIdList'] = $request->bizIdList; } 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' => 'DeletePlguinRule', 'version' => 'flashmsg_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/flashmsg/plugins/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeletePlguinRuleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeletePlguinRuleRequest $request * * @return DeletePlguinRuleResponse */ public function deletePlguinRule($request) { $runtime = new RuntimeOptions([]); $headers = new DeletePlguinRuleHeaders([]); return $this->deletePlguinRuleWithOptions($request, $headers, $runtime); } /** * @param GetBaseProfileListRequest $request * @param GetBaseProfileListHeaders $headers * @param RuntimeOptions $runtime * * @return GetBaseProfileListResponse */ public function getBaseProfileListWithOptions($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' => 'GetBaseProfileList', 'version' => 'flashmsg_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/flashmsg/users/baseInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetBaseProfileListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetBaseProfileListRequest $request * * @return GetBaseProfileListResponse */ public function getBaseProfileList($request) { $runtime = new RuntimeOptions([]); $headers = new GetBaseProfileListHeaders([]); return $this->getBaseProfileListWithOptions($request, $headers, $runtime); } /** * @param GetConversationRequest $request * @param GetConversationHeaders $headers * @param RuntimeOptions $runtime * * @return GetConversationResponse */ public function getConversationWithOptions($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; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetConversation', 'version' => 'flashmsg_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/flashmsg/conversations/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetConversationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetConversationRequest $request * * @return GetConversationResponse */ public function getConversation($request) { $runtime = new RuntimeOptions([]); $headers = new GetConversationHeaders([]); return $this->getConversationWithOptions($request, $headers, $runtime); } /** * @param GetMemberListRequest $request * @param GetMemberListHeaders $headers * @param RuntimeOptions $runtime * * @return GetMemberListResponse */ public function getMemberListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->openConversationId)) { $query['openConversationId'] = $request->openConversationId; } 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' => 'GetMemberList', 'version' => 'flashmsg_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/flashmsg/conversations/memberIdLists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetMemberListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetMemberListRequest $request * * @return GetMemberListResponse */ public function getMemberList($request) { $runtime = new RuntimeOptions([]); $headers = new GetMemberListHeaders([]); return $this->getMemberListWithOptions($request, $headers, $runtime); } /** * @param QueryPluginRuleRequest $request * @param QueryPluginRuleHeaders $headers * @param RuntimeOptions $runtime * * @return QueryPluginRuleResponse */ public function queryPluginRuleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->chatType)) { $query['chatType'] = $request->chatType; } if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } if (!Utils::isUnset($request->itemId)) { $query['itemId'] = $request->itemId; } if (!Utils::isUnset($request->itemType)) { $query['itemType'] = $request->itemType; } 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' => 'QueryPluginRule', 'version' => 'flashmsg_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/flashmsg/plugins', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryPluginRuleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryPluginRuleRequest $request * * @return QueryPluginRuleResponse */ public function queryPluginRule($request) { $runtime = new RuntimeOptions([]); $headers = new QueryPluginRuleHeaders([]); return $this->queryPluginRuleWithOptions($request, $headers, $runtime); } /** * @param SendDingTipRequest $request * @param SendDingTipHeaders $headers * @param RuntimeOptions $runtime * * @return SendDingTipResponse */ public function sendDingTipWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->extension)) { $body['extension'] = $request->extension; } if (!Utils::isUnset($request->link)) { $body['link'] = $request->link; } 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; } if (!Utils::isUnset($request->textContent)) { $body['textContent'] = $request->textContent; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendDingTip', 'version' => 'flashmsg_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/flashmsg/ding/messages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendDingTipResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendDingTipRequest $request * * @return SendDingTipResponse */ public function sendDingTip($request) { $runtime = new RuntimeOptions([]); $headers = new SendDingTipHeaders([]); return $this->sendDingTipWithOptions($request, $headers, $runtime); } /** * @param SendMessageTipRequest $request * @param SendMessageTipHeaders $headers * @param RuntimeOptions $runtime * * @return SendMessageTipResponse */ public function sendMessageTipWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->defaultView)) { $body['defaultView'] = $request->defaultView; } if (!Utils::isUnset($request->messageId)) { $body['messageId'] = $request->messageId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->privateFieldMap)) { $body['privateFieldMap'] = $request->privateFieldMap; } if (!Utils::isUnset($request->publicField)) { $body['publicField'] = $request->publicField; } 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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendMessageTip', 'version' => 'flashmsg_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/flashmsg/messages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendMessageTipResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendMessageTipRequest $request * * @return SendMessageTipResponse */ public function sendMessageTip($request) { $runtime = new RuntimeOptions([]); $headers = new SendMessageTipHeaders([]); return $this->sendMessageTipWithOptions($request, $headers, $runtime); } } src/flashmsg_1_0/Models/AddPluginRuleHeaders.php000064400000002332146412132660015532 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddPluginRuleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/flashmsg_1_0/Models/AddPluginRuleRequest.php000064400000005073146412132660015614 0ustar00 'chatType', 'code' => 'code', 'itemType' => 'itemType', 'rules' => 'rules', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatType) { $res['chatType'] = $this->chatType; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->itemType) { $res['itemType'] = $this->itemType; } if (null !== $this->rules) { $res['rules'] = []; if (null !== $this->rules && \is_array($this->rules)) { $n = 0; foreach ($this->rules as $item) { $res['rules'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return AddPluginRuleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatType'])) { $model->chatType = $map['chatType']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['itemType'])) { $model->itemType = $map['itemType']; } if (isset($map['rules'])) { if (!empty($map['rules'])) { $model->rules = []; $n = 0; foreach ($map['rules'] as $item) { $model->rules[$n++] = null !== $item ? rules::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/flashmsg_1_0/Models/AddPluginRuleRequest/rules.php000064400000002216146412132660016742 0ustar00 'itemId', 'itemName' => 'itemName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->itemId) { $res['itemId'] = $this->itemId; } if (null !== $this->itemName) { $res['itemName'] = $this->itemName; } return $res; } /** * @param array $map * * @return rules */ public static function fromMap($map = []) { $model = new self(); if (isset($map['itemId'])) { $model->itemId = $map['itemId']; } if (isset($map['itemName'])) { $model->itemName = $map['itemName']; } return $model; } } src/flashmsg_1_0/Models/AddPluginRuleResponse.php000064400000002722146412132660015760 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddPluginRuleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddPluginRuleResponseBody::fromMap($map['body']); } return $model; } } src/flashmsg_1_0/Models/AddPluginRuleResponseBody.php000064400000001504146412132660016573 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AddPluginRuleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/flashmsg_1_0/Models/DeletePlguinRuleHeaders.php000064400000002340146412132660016243 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeletePlguinRuleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/flashmsg_1_0/Models/DeletePlguinRuleRequest.php000064400000002316146412132660016323 0ustar00 'bizIdList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizIdList) { $res['bizIdList'] = $this->bizIdList; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DeletePlguinRuleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizIdList'])) { if (!empty($map['bizIdList'])) { $model->bizIdList = $map['bizIdList']; } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/flashmsg_1_0/Models/DeletePlguinRuleResponse.php000064400000002736146412132660016477 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeletePlguinRuleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeletePlguinRuleResponseBody::fromMap($map['body']); } return $model; } } src/flashmsg_1_0/Models/DeletePlguinRuleResponseBody.php000064400000001512146412132660017304 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeletePlguinRuleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/flashmsg_1_0/Models/GetBaseProfileListHeaders.php000064400000002344146412132660016525 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetBaseProfileListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/flashmsg_1_0/Models/GetBaseProfileListRequest.php000064400000001547146412132660016606 0ustar00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = $this->body; } return $res; } /** * @param array $map * * @return GetBaseProfileListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { if (!empty($map['body'])) { $model->body = $map['body']; } } return $model; } } src/flashmsg_1_0/Models/GetBaseProfileListResponse.php000064400000002746146412132660016756 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetBaseProfileListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetBaseProfileListResponseBody::fromMap($map['body']); } return $model; } } src/flashmsg_1_0/Models/GetBaseProfileListResponseBody.php000064400000003251146412132660017564 0ustar00 '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 GetBaseProfileListResponseBody */ 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/flashmsg_1_0/Models/GetBaseProfileListResponseBody/result.php000064400000003304146412132660021101 0ustar00 'avatarMediaId', 'nick' => 'nick', 'nickPinyin' => 'nickPinyin', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarMediaId) { $res['avatarMediaId'] = $this->avatarMediaId; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->nickPinyin) { $res['nickPinyin'] = $this->nickPinyin; } 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['avatarMediaId'])) { $model->avatarMediaId = $map['avatarMediaId']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['nickPinyin'])) { $model->nickPinyin = $map['nickPinyin']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/flashmsg_1_0/Models/GetConversationHeaders.php000064400000002336146412132660016151 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetConversationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/flashmsg_1_0/Models/GetConversationRequest.php000064400000002433146412132660016224 0ustar00 'openConversationId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetConversationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/flashmsg_1_0/Models/GetConversationResponse.php000064400000002732146412132660016374 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetConversationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetConversationResponseBody::fromMap($map['body']); } return $model; } } src/flashmsg_1_0/Models/GetConversationResponseBody.php000064400000002350146412132660017206 0ustar00 '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 GetConversationResponseBody */ 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/flashmsg_1_0/Models/GetConversationResponseBody/result.php000064400000002573146412132660020533 0ustar00 'corpId', 'memberCount' => 'memberCount', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->memberCount) { $res['memberCount'] = $this->memberCount; } 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['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['memberCount'])) { $model->memberCount = $map['memberCount']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/flashmsg_1_0/Models/GetMemberListHeaders.php000064400000002332146412132660015536 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMemberListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/flashmsg_1_0/Models/GetMemberListRequest.php000064400000003614146412132660015617 0ustar00 'openConversationId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } 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 GetMemberListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } 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/flashmsg_1_0/Models/GetMemberListResponse.php000064400000002722146412132660015764 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMemberListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMemberListResponseBody::fromMap($map['body']); } return $model; } } src/flashmsg_1_0/Models/GetMemberListResponseBody.php000064400000001573146412132660016605 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetMemberListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = $map['result']; } } return $model; } } src/flashmsg_1_0/Models/PrivateFieldMapValue.php000064400000004120146412132660015545 0ustar00 'tipTitle', 'isDingSend' => 'isDingSend', 'isRead' => 'isRead', 'buttonStatus' => 'buttonStatus', 'extension' => 'extension', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->tipTitle) { $res['tipTitle'] = $this->tipTitle; } if (null !== $this->isDingSend) { $res['isDingSend'] = $this->isDingSend; } if (null !== $this->isRead) { $res['isRead'] = $this->isRead; } if (null !== $this->buttonStatus) { $res['buttonStatus'] = $this->buttonStatus; } if (null !== $this->extension) { $res['extension'] = $this->extension; } return $res; } /** * @param array $map * * @return PrivateFieldMapValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['tipTitle'])) { $model->tipTitle = $map['tipTitle']; } if (isset($map['isDingSend'])) { $model->isDingSend = $map['isDingSend']; } if (isset($map['isRead'])) { $model->isRead = $map['isRead']; } if (isset($map['buttonStatus'])) { $model->buttonStatus = $map['buttonStatus']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } return $model; } } src/flashmsg_1_0/Models/QueryPluginRuleHeaders.php000064400000002336146412132660016153 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryPluginRuleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/flashmsg_1_0/Models/QueryPluginRuleRequest.php000064400000004572146412132660016234 0ustar00 'chatType', 'code' => 'code', 'itemId' => 'itemId', 'itemType' => 'itemType', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatType) { $res['chatType'] = $this->chatType; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->itemId) { $res['itemId'] = $this->itemId; } if (null !== $this->itemType) { $res['itemType'] = $this->itemType; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryPluginRuleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatType'])) { $model->chatType = $map['chatType']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['itemId'])) { $model->itemId = $map['itemId']; } if (isset($map['itemType'])) { $model->itemType = $map['itemType']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/flashmsg_1_0/Models/QueryPluginRuleResponse.php000064400000002732146412132660016376 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryPluginRuleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryPluginRuleResponseBody::fromMap($map['body']); } return $model; } } src/flashmsg_1_0/Models/QueryPluginRuleResponseBody.php000064400000002350146412132660017210 0ustar00 '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 QueryPluginRuleResponseBody */ 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/flashmsg_1_0/Models/QueryPluginRuleResponseBody/result.php000064400000003142146412132660020526 0ustar00 'data', 'total' => 'total', ]; 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->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return result */ 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['total'])) { $model->total = $map['total']; } return $model; } } src/flashmsg_1_0/Models/QueryPluginRuleResponseBody/result/data.php000064400000004717146412132660021450 0ustar00 'bizId', 'chatType' => 'chatType', 'code' => 'code', 'gmtCreate' => 'gmtCreate', 'itemId' => 'itemId', 'itemName' => 'itemName', 'itemType' => 'itemType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->chatType) { $res['chatType'] = $this->chatType; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->itemId) { $res['itemId'] = $this->itemId; } if (null !== $this->itemName) { $res['itemName'] = $this->itemName; } if (null !== $this->itemType) { $res['itemType'] = $this->itemType; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['chatType'])) { $model->chatType = $map['chatType']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['itemId'])) { $model->itemId = $map['itemId']; } if (isset($map['itemName'])) { $model->itemName = $map['itemName']; } if (isset($map['itemType'])) { $model->itemType = $map['itemType']; } return $model; } } src/flashmsg_1_0/Models/SendDingTipHeaders.php000064400000002326146412132660015206 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendDingTipHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/flashmsg_1_0/Models/SendDingTipRequest.php000064400000005323146412132660015263 0ustar00 'extension', 'link' => 'link', 'messageId' => 'messageId', 'receiverUserId' => 'receiverUserId', 'senderUserId' => 'senderUserId', 'textContent' => 'textContent', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->link) { $res['link'] = null !== $this->link ? $this->link->toMap() : null; } if (null !== $this->messageId) { $res['messageId'] = $this->messageId; } if (null !== $this->receiverUserId) { $res['receiverUserId'] = $this->receiverUserId; } if (null !== $this->senderUserId) { $res['senderUserId'] = $this->senderUserId; } if (null !== $this->textContent) { $res['textContent'] = $this->textContent; } return $res; } /** * @param array $map * * @return SendDingTipRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['link'])) { $model->link = link::fromMap($map['link']); } if (isset($map['messageId'])) { $model->messageId = $map['messageId']; } if (isset($map['receiverUserId'])) { if (!empty($map['receiverUserId'])) { $model->receiverUserId = $map['receiverUserId']; } } if (isset($map['senderUserId'])) { $model->senderUserId = $map['senderUserId']; } if (isset($map['textContent'])) { $model->textContent = $map['textContent']; } return $model; } } src/flashmsg_1_0/Models/SendDingTipRequest/link.php000064400000003523146412132660016220 0ustar00 'extension', 'linkUrl' => 'linkUrl', 'picMediaId' => 'picMediaId', 'text' => 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->linkUrl) { $res['linkUrl'] = $this->linkUrl; } if (null !== $this->picMediaId) { $res['picMediaId'] = $this->picMediaId; } if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return link */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['linkUrl'])) { $model->linkUrl = $map['linkUrl']; } if (isset($map['picMediaId'])) { $model->picMediaId = $map['picMediaId']; } if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/flashmsg_1_0/Models/SendDingTipResponse.php000064400000002712146412132660015430 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendDingTipResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendDingTipResponseBody::fromMap($map['body']); } return $model; } } src/flashmsg_1_0/Models/SendDingTipResponseBody.php000064400000001500146412132660016240 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SendDingTipResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/flashmsg_1_0/Models/SendMessageTipHeaders.php000064400000002334146412132660015710 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendMessageTipHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/flashmsg_1_0/Models/SendMessageTipRequest.php000064400000007222146412132660015766 0ustar00 'defaultView', 'messageId' => 'messageId', 'openConversationId' => 'openConversationId', 'privateFieldMap' => 'privateFieldMap', 'publicField' => 'publicField', 'receiverUserId' => 'receiverUserId', 'senderUserId' => 'senderUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->defaultView) { $res['defaultView'] = null !== $this->defaultView ? $this->defaultView->toMap() : null; } if (null !== $this->messageId) { $res['messageId'] = $this->messageId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->privateFieldMap) { $res['privateFieldMap'] = []; if (null !== $this->privateFieldMap && \is_array($this->privateFieldMap)) { foreach ($this->privateFieldMap as $key => $val) { $res['privateFieldMap'][$key] = null !== $val ? $val->toMap() : $val; } } } if (null !== $this->publicField) { $res['publicField'] = null !== $this->publicField ? $this->publicField->toMap() : null; } if (null !== $this->receiverUserId) { $res['receiverUserId'] = $this->receiverUserId; } if (null !== $this->senderUserId) { $res['senderUserId'] = $this->senderUserId; } return $res; } /** * @param array $map * * @return SendMessageTipRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['defaultView'])) { $model->defaultView = defaultView::fromMap($map['defaultView']); } if (isset($map['messageId'])) { $model->messageId = $map['messageId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['privateFieldMap'])) { $model->privateFieldMap = $map['privateFieldMap']; } if (isset($map['publicField'])) { $model->publicField = publicField::fromMap($map['publicField']); } if (isset($map['receiverUserId'])) { if (!empty($map['receiverUserId'])) { $model->receiverUserId = $map['receiverUserId']; } } if (isset($map['senderUserId'])) { $model->senderUserId = $map['senderUserId']; } return $model; } } src/flashmsg_1_0/Models/SendMessageTipRequest/defaultView.php000064400000007741146412132660020253 0ustar00 'actionName', 'actionUrl' => 'actionUrl', 'authCode' => 'authCode', 'authMediaId' => 'authMediaId', 'cardTitle' => 'cardTitle', 'cardTitleColor' => 'cardTitleColor', 'desc' => 'desc', 'mediaId' => 'mediaId', 'needShowUpdateTail' => 'needShowUpdateTail', 'summary' => 'summary', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionName) { $res['actionName'] = $this->actionName; } if (null !== $this->actionUrl) { $res['actionUrl'] = $this->actionUrl; } if (null !== $this->authCode) { $res['authCode'] = $this->authCode; } if (null !== $this->authMediaId) { $res['authMediaId'] = $this->authMediaId; } if (null !== $this->cardTitle) { $res['cardTitle'] = $this->cardTitle; } if (null !== $this->cardTitleColor) { $res['cardTitleColor'] = $this->cardTitleColor; } if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->needShowUpdateTail) { $res['needShowUpdateTail'] = $this->needShowUpdateTail; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return defaultView */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionName'])) { $model->actionName = $map['actionName']; } if (isset($map['actionUrl'])) { $model->actionUrl = $map['actionUrl']; } if (isset($map['authCode'])) { $model->authCode = $map['authCode']; } if (isset($map['authMediaId'])) { $model->authMediaId = $map['authMediaId']; } if (isset($map['cardTitle'])) { $model->cardTitle = $map['cardTitle']; } if (isset($map['cardTitleColor'])) { $model->cardTitleColor = $map['cardTitleColor']; } if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['needShowUpdateTail'])) { $model->needShowUpdateTail = $map['needShowUpdateTail']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/flashmsg_1_0/Models/SendMessageTipRequest/publicField.php000064400000005203146412132660020205 0ustar00 'detailUrl', 'durationDesc' => 'durationDesc', 'extension' => 'extension', 'isExpired' => 'isExpired', 'readActionUrl' => 'readActionUrl', 'readProgressDesc' => 'readProgressDesc', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->detailUrl) { $res['detailUrl'] = $this->detailUrl; } if (null !== $this->durationDesc) { $res['durationDesc'] = $this->durationDesc; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->isExpired) { $res['isExpired'] = $this->isExpired; } if (null !== $this->readActionUrl) { $res['readActionUrl'] = $this->readActionUrl; } if (null !== $this->readProgressDesc) { $res['readProgressDesc'] = $this->readProgressDesc; } return $res; } /** * @param array $map * * @return publicField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['detailUrl'])) { $model->detailUrl = $map['detailUrl']; } if (isset($map['durationDesc'])) { $model->durationDesc = $map['durationDesc']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['isExpired'])) { $model->isExpired = $map['isExpired']; } if (isset($map['readActionUrl'])) { $model->readActionUrl = $map['readActionUrl']; } if (isset($map['readProgressDesc'])) { $model->readProgressDesc = $map['readProgressDesc']; } return $model; } } src/flashmsg_1_0/Models/SendMessageTipResponse.php000064400000002726146412132660016140 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendMessageTipResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendMessageTipResponseBody::fromMap($map['body']); } return $model; } } src/flashmsg_1_0/Models/SendMessageTipResponseBody.php000064400000002345146412132660016753 0ustar00 '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 SendMessageTipResponseBody */ 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/flashmsg_1_0/Models/SendMessageTipResponseBody/result.php000064400000002210146412132660020260 0ustar00 'bizId', 'cardInstanceId' => 'cardInstanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->cardInstanceId) { $res['cardInstanceId'] = $this->cardInstanceId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['cardInstanceId'])) { $model->cardInstanceId = $map['cardInstanceId']; } return $model; } } src/gateway_1_0/Dingtalk.php000064400000005616146412132660011716 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_signatureAlgorithm = 'v2'; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param OpenConnectionRequest $request * @param string[] $headers * @param RuntimeOptions $runtime * * @return OpenConnectionResponse */ public function openConnectionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->clientId)) { $body['clientId'] = $request->clientId; } if (!Utils::isUnset($request->clientSecret)) { $body['clientSecret'] = $request->clientSecret; } if (!Utils::isUnset($request->extras)) { $body['extras'] = $request->extras; } if (!Utils::isUnset($request->localIp)) { $body['localIp'] = $request->localIp; } if (!Utils::isUnset($request->subscriptions)) { $body['subscriptions'] = $request->subscriptions; } $req = new OpenApiRequest([ 'headers' => $headers, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'OpenConnection', 'version' => 'gateway_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/gateway/connections/open', 'method' => 'POST', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return OpenConnectionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param OpenConnectionRequest $request * * @return OpenConnectionResponse */ public function openConnection($request) { $runtime = new RuntimeOptions([]); $headers = []; return $this->openConnectionWithOptions($request, $headers, $runtime); } } src/gateway_1_0/Models/OpenConnectionRequest.php000064400000005375146412132660015700 0ustar00 'clientId', 'clientSecret' => 'clientSecret', 'extras' => 'extras', 'localIp' => 'localIp', 'subscriptions' => 'subscriptions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->clientId) { $res['clientId'] = $this->clientId; } if (null !== $this->clientSecret) { $res['clientSecret'] = $this->clientSecret; } if (null !== $this->extras) { $res['extras'] = $this->extras; } if (null !== $this->localIp) { $res['localIp'] = $this->localIp; } if (null !== $this->subscriptions) { $res['subscriptions'] = []; if (null !== $this->subscriptions && \is_array($this->subscriptions)) { $n = 0; foreach ($this->subscriptions as $item) { $res['subscriptions'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return OpenConnectionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['clientId'])) { $model->clientId = $map['clientId']; } if (isset($map['clientSecret'])) { $model->clientSecret = $map['clientSecret']; } if (isset($map['extras'])) { $model->extras = $map['extras']; } if (isset($map['localIp'])) { $model->localIp = $map['localIp']; } if (isset($map['subscriptions'])) { if (!empty($map['subscriptions'])) { $model->subscriptions = []; $n = 0; foreach ($map['subscriptions'] as $item) { $model->subscriptions[$n++] = null !== $item ? subscriptions::fromMap($item) : $item; } } } return $model; } } src/gateway_1_0/Models/OpenConnectionRequest/subscriptions.php000064400000002174146412132660020601 0ustar00 'topic', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->topic) { $res['topic'] = $this->topic; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return subscriptions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['topic'])) { $model->topic = $map['topic']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/gateway_1_0/Models/OpenConnectionResponse.php000064400000002725146412132660016042 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return OpenConnectionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = OpenConnectionResponseBody::fromMap($map['body']); } return $model; } } src/gateway_1_0/Models/OpenConnectionResponseBody.php000064400000002336146412132660016656 0ustar00 'endpoint', 'ticket' => 'ticket', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endpoint) { $res['endpoint'] = $this->endpoint; } if (null !== $this->ticket) { $res['ticket'] = $this->ticket; } return $res; } /** * @param array $map * * @return OpenConnectionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endpoint'])) { $model->endpoint = $map['endpoint']; } if (isset($map['ticket'])) { $model->ticket = $map['ticket']; } return $model; } } src/group_blackboard_1_0/Dingtalk.php000064400000013547146412132660013557 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CreateGroupBlackboardRequest $request * @param CreateGroupBlackboardHeaders $headers * @param RuntimeOptions $runtime * * @return CreateGroupBlackboardResponse */ public function createGroupBlackboardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->sendDing)) { $body['sendDing'] = $request->sendDing; } if (!Utils::isUnset($request->sticky)) { $body['sticky'] = $request->sticky; } if (!Utils::isUnset($request->uniqueId)) { $body['uniqueId'] = $request->uniqueId; } 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' => 'CreateGroupBlackboard', 'version' => 'groupBlackboard_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/groupBlackboard/blackboards', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateGroupBlackboardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateGroupBlackboardRequest $request * * @return CreateGroupBlackboardResponse */ public function createGroupBlackboard($request) { $runtime = new RuntimeOptions([]); $headers = new CreateGroupBlackboardHeaders([]); return $this->createGroupBlackboardWithOptions($request, $headers, $runtime); } /** * @param DeleteGroupBlackboardRequest $request * @param DeleteGroupBlackboardHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteGroupBlackboardResponse */ public function deleteGroupBlackboardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->dataId)) { $body['dataId'] = $request->dataId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } 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' => 'DeleteGroupBlackboard', 'version' => 'groupBlackboard_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/groupBlackboard/blackboards/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteGroupBlackboardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteGroupBlackboardRequest $request * * @return DeleteGroupBlackboardResponse */ public function deleteGroupBlackboard($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteGroupBlackboardHeaders([]); return $this->deleteGroupBlackboardWithOptions($request, $headers, $runtime); } } src/group_blackboard_1_0/Models/CreateGroupBlackboardHeaders.php000064400000002362146412132660020717 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateGroupBlackboardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/group_blackboard_1_0/Models/CreateGroupBlackboardRequest.php000064400000005033146412132660020772 0ustar00 'content', 'openConversationId' => 'openConversationId', 'sendDing' => 'sendDing', 'sticky' => 'sticky', 'uniqueId' => 'uniqueId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->sendDing) { $res['sendDing'] = $this->sendDing; } if (null !== $this->sticky) { $res['sticky'] = $this->sticky; } if (null !== $this->uniqueId) { $res['uniqueId'] = $this->uniqueId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CreateGroupBlackboardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['sendDing'])) { $model->sendDing = $map['sendDing']; } if (isset($map['sticky'])) { $model->sticky = $map['sticky']; } if (isset($map['uniqueId'])) { $model->uniqueId = $map['uniqueId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/group_blackboard_1_0/Models/CreateGroupBlackboardResponse.php000064400000002772146412132660021147 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateGroupBlackboardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateGroupBlackboardResponseBody::fromMap($map['body']); } return $model; } } src/group_blackboard_1_0/Models/CreateGroupBlackboardResponseBody.php000064400000002245146412132660021760 0ustar00 'dataId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataId) { $res['dataId'] = $this->dataId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateGroupBlackboardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataId'])) { $model->dataId = $map['dataId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/group_blackboard_1_0/Models/DeleteGroupBlackboardHeaders.php000064400000002362146412132660020716 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteGroupBlackboardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/group_blackboard_1_0/Models/DeleteGroupBlackboardRequest.php000064400000003105146412132660020767 0ustar00 'dataId', 'openConversationId' => 'openConversationId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataId) { $res['dataId'] = $this->dataId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DeleteGroupBlackboardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataId'])) { $model->dataId = $map['dataId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/group_blackboard_1_0/Models/DeleteGroupBlackboardResponse.php000064400000002772146412132660021146 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteGroupBlackboardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteGroupBlackboardResponseBody::fromMap($map['body']); } return $model; } } src/group_blackboard_1_0/Models/DeleteGroupBlackboardResponseBody.php000064400000002275146412132660021762 0ustar00 'isDeleted', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteGroupBlackboardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/h3yun_1_0/Dingtalk.php000064400000126151146412132660011321 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param BatchInsertBizObjectRequest $request * @param BatchInsertBizObjectHeaders $headers * @param RuntimeOptions $runtime * * @return BatchInsertBizObjectResponse */ public function batchInsertBizObjectWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizObjectJsonArray)) { $body['bizObjectJsonArray'] = $request->bizObjectJsonArray; } if (!Utils::isUnset($request->isDraft)) { $body['isDraft'] = $request->isDraft; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->schemaCode)) { $body['schemaCode'] = $request->schemaCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchInsertBizObject', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/forms/instances/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchInsertBizObjectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchInsertBizObjectRequest $request * * @return BatchInsertBizObjectResponse */ public function batchInsertBizObject($request) { $runtime = new RuntimeOptions([]); $headers = new BatchInsertBizObjectHeaders([]); return $this->batchInsertBizObjectWithOptions($request, $headers, $runtime); } /** * @param CancelProcessInstanceRequest $request * @param CancelProcessInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return CancelProcessInstanceResponse */ public function cancelProcessInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->processInstanceId)) { $body['processInstanceId'] = $request->processInstanceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CancelProcessInstance', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/processes/instances/cancel', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CancelProcessInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CancelProcessInstanceRequest $request * * @return CancelProcessInstanceResponse */ public function cancelProcessInstance($request) { $runtime = new RuntimeOptions([]); $headers = new CancelProcessInstanceHeaders([]); return $this->cancelProcessInstanceWithOptions($request, $headers, $runtime); } /** * @param CreateBizObjectRequest $request * @param CreateBizObjectHeaders $headers * @param RuntimeOptions $runtime * * @return CreateBizObjectResponse */ public function createBizObjectWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizObjectJson)) { $body['bizObjectJson'] = $request->bizObjectJson; } if (!Utils::isUnset($request->isDraft)) { $body['isDraft'] = $request->isDraft; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->schemaCode)) { $body['schemaCode'] = $request->schemaCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateBizObject', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/forms/instances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateBizObjectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateBizObjectRequest $request * * @return CreateBizObjectResponse */ public function createBizObject($request) { $runtime = new RuntimeOptions([]); $headers = new CreateBizObjectHeaders([]); return $this->createBizObjectWithOptions($request, $headers, $runtime); } /** * @param CreateProcessesInstanceRequest $request * @param CreateProcessesInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return CreateProcessesInstanceResponse */ public function createProcessesInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizObjectId)) { $body['bizObjectId'] = $request->bizObjectId; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->schemaCode)) { $body['schemaCode'] = $request->schemaCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateProcessesInstance', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/processes/instances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateProcessesInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateProcessesInstanceRequest $request * * @return CreateProcessesInstanceResponse */ public function createProcessesInstance($request) { $runtime = new RuntimeOptions([]); $headers = new CreateProcessesInstanceHeaders([]); return $this->createProcessesInstanceWithOptions($request, $headers, $runtime); } /** * @param DeleteBizObjectRequest $request * @param DeleteBizObjectHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteBizObjectResponse */ public function deleteBizObjectWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizObjectId)) { $query['bizObjectId'] = $request->bizObjectId; } if (!Utils::isUnset($request->schemaCode)) { $query['schemaCode'] = $request->schemaCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteBizObject', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/forms/instances', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteBizObjectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteBizObjectRequest $request * * @return DeleteBizObjectResponse */ public function deleteBizObject($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteBizObjectHeaders([]); return $this->deleteBizObjectWithOptions($request, $headers, $runtime); } /** * @param DeleteProcessesInstanceRequest $request * @param DeleteProcessesInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteProcessesInstanceResponse */ public function deleteProcessesInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->isAutoUpdateBizObject)) { $query['isAutoUpdateBizObject'] = $request->isAutoUpdateBizObject; } if (!Utils::isUnset($request->processInstanceId)) { $query['processInstanceId'] = $request->processInstanceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteProcessesInstance', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/processes/instances', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteProcessesInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteProcessesInstanceRequest $request * * @return DeleteProcessesInstanceResponse */ public function deleteProcessesInstance($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteProcessesInstanceHeaders([]); return $this->deleteProcessesInstanceWithOptions($request, $headers, $runtime); } /** * @param GetAppsRequest $request * @param GetAppsHeaders $headers * @param RuntimeOptions $runtime * * @return GetAppsResponse */ public function getAppsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->queryType)) { $body['queryType'] = $request->queryType; } if (!Utils::isUnset($request->values)) { $body['values'] = $request->values; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetApps', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/apps/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAppsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetAppsRequest $request * * @return GetAppsResponse */ public function getApps($request) { $runtime = new RuntimeOptions([]); $headers = new GetAppsHeaders([]); return $this->getAppsWithOptions($request, $headers, $runtime); } /** * @param GetAttachmentTemporaryUrlRequest $request * @param GetAttachmentTemporaryUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetAttachmentTemporaryUrlResponse */ public function getAttachmentTemporaryUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->attachmentId)) { $query['attachmentId'] = $request->attachmentId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetAttachmentTemporaryUrl', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/attachments/temporaryUrls', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAttachmentTemporaryUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetAttachmentTemporaryUrlRequest $request * * @return GetAttachmentTemporaryUrlResponse */ public function getAttachmentTemporaryUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetAttachmentTemporaryUrlHeaders([]); return $this->getAttachmentTemporaryUrlWithOptions($request, $headers, $runtime); } /** * @param GetOrganizationsRequest $request * @param GetOrganizationsHeaders $headers * @param RuntimeOptions $runtime * * @return GetOrganizationsResponse */ public function getOrganizationsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->departmentId)) { $query['departmentId'] = $request->departmentId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetOrganizations', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/departments', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOrganizationsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetOrganizationsRequest $request * * @return GetOrganizationsResponse */ public function getOrganizations($request) { $runtime = new RuntimeOptions([]); $headers = new GetOrganizationsHeaders([]); return $this->getOrganizationsWithOptions($request, $headers, $runtime); } /** * @param GetRoleUsersRequest $request * @param GetRoleUsersHeaders $headers * @param RuntimeOptions $runtime * * @return GetRoleUsersResponse */ public function getRoleUsersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->roleId)) { $query['roleId'] = $request->roleId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetRoleUsers', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/roles/roleUsers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRoleUsersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetRoleUsersRequest $request * * @return GetRoleUsersResponse */ public function getRoleUsers($request) { $runtime = new RuntimeOptions([]); $headers = new GetRoleUsersHeaders([]); return $this->getRoleUsersWithOptions($request, $headers, $runtime); } /** * @param GetRolesHeaders $headers * @param RuntimeOptions $runtime * * @return GetRolesResponse */ public function getRolesWithOptions($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' => 'GetRoles', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/roles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRolesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return GetRolesResponse */ public function getRoles() { $runtime = new RuntimeOptions([]); $headers = new GetRolesHeaders([]); return $this->getRolesWithOptions($headers, $runtime); } /** * @param GetUploadUrlRequest $request * @param GetUploadUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetUploadUrlResponse */ public function getUploadUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizObjectId)) { $query['bizObjectId'] = $request->bizObjectId; } if (!Utils::isUnset($request->fieldName)) { $query['fieldName'] = $request->fieldName; } if (!Utils::isUnset($request->isOverwrite)) { $query['isOverwrite'] = $request->isOverwrite; } if (!Utils::isUnset($request->schemaCode)) { $query['schemaCode'] = $request->schemaCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetUploadUrl', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/attachments/uploadUrls', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUploadUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUploadUrlRequest $request * * @return GetUploadUrlResponse */ public function getUploadUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetUploadUrlHeaders([]); return $this->getUploadUrlWithOptions($request, $headers, $runtime); } /** * @param GetUsersRequest $request * @param GetUsersHeaders $headers * @param RuntimeOptions $runtime * * @return GetUsersResponse */ public function getUsersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->departmentId)) { $query['departmentId'] = $request->departmentId; } if (!Utils::isUnset($request->isRecursive)) { $query['isRecursive'] = $request->isRecursive; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetUsers', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/users', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUsersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUsersRequest $request * * @return GetUsersResponse */ public function getUsers($request) { $runtime = new RuntimeOptions([]); $headers = new GetUsersHeaders([]); return $this->getUsersWithOptions($request, $headers, $runtime); } /** * @param LoadBizFieldsRequest $request * @param LoadBizFieldsHeaders $headers * @param RuntimeOptions $runtime * * @return LoadBizFieldsResponse */ public function loadBizFieldsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->schemaCode)) { $query['schemaCode'] = $request->schemaCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'LoadBizFields', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/forms/loadBizFields', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return LoadBizFieldsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param LoadBizFieldsRequest $request * * @return LoadBizFieldsResponse */ public function loadBizFields($request) { $runtime = new RuntimeOptions([]); $headers = new LoadBizFieldsHeaders([]); return $this->loadBizFieldsWithOptions($request, $headers, $runtime); } /** * @param LoadBizObjectRequest $request * @param LoadBizObjectHeaders $headers * @param RuntimeOptions $runtime * * @return LoadBizObjectResponse */ public function loadBizObjectWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizObjectId)) { $query['bizObjectId'] = $request->bizObjectId; } if (!Utils::isUnset($request->schemaCode)) { $query['schemaCode'] = $request->schemaCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'LoadBizObject', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/forms/instances/loadInstances', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return LoadBizObjectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param LoadBizObjectRequest $request * * @return LoadBizObjectResponse */ public function loadBizObject($request) { $runtime = new RuntimeOptions([]); $headers = new LoadBizObjectHeaders([]); return $this->loadBizObjectWithOptions($request, $headers, $runtime); } /** * @param LoadBizObjectsRequest $request * @param LoadBizObjectsHeaders $headers * @param RuntimeOptions $runtime * * @return LoadBizObjectsResponse */ public function loadBizObjectsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->matcherJson)) { $body['matcherJson'] = $request->matcherJson; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->returnFields)) { $body['returnFields'] = $request->returnFields; } if (!Utils::isUnset($request->schemaCode)) { $body['schemaCode'] = $request->schemaCode; } if (!Utils::isUnset($request->sortByFields)) { $body['sortByFields'] = $request->sortByFields; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'LoadBizObjects', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/forms/instances/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return LoadBizObjectsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param LoadBizObjectsRequest $request * * @return LoadBizObjectsResponse */ public function loadBizObjects($request) { $runtime = new RuntimeOptions([]); $headers = new LoadBizObjectsHeaders([]); return $this->loadBizObjectsWithOptions($request, $headers, $runtime); } /** * @param QueryAppFunctionNodesRequest $request * @param QueryAppFunctionNodesHeaders $headers * @param RuntimeOptions $runtime * * @return QueryAppFunctionNodesResponse */ public function queryAppFunctionNodesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appCode)) { $query['appCode'] = $request->appCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryAppFunctionNodes', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/apps/functionNodes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAppFunctionNodesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryAppFunctionNodesRequest $request * * @return QueryAppFunctionNodesResponse */ public function queryAppFunctionNodes($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAppFunctionNodesHeaders([]); return $this->queryAppFunctionNodesWithOptions($request, $headers, $runtime); } /** * @param QueryProcessesInstanceRequest $request * @param QueryProcessesInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return QueryProcessesInstanceResponse */ public function queryProcessesInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizObjectId)) { $query['bizObjectId'] = $request->bizObjectId; } if (!Utils::isUnset($request->schemaCode)) { $query['schemaCode'] = $request->schemaCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryProcessesInstance', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/processes/instances', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryProcessesInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryProcessesInstanceRequest $request * * @return QueryProcessesInstanceResponse */ public function queryProcessesInstance($request) { $runtime = new RuntimeOptions([]); $headers = new QueryProcessesInstanceHeaders([]); return $this->queryProcessesInstanceWithOptions($request, $headers, $runtime); } /** * @param QueryProcessesWorkItemsRequest $request * @param QueryProcessesWorkItemsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryProcessesWorkItemsResponse */ public function queryProcessesWorkItemsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->processInstanceId)) { $query['processInstanceId'] = $request->processInstanceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryProcessesWorkItems', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/processes/workItems', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryProcessesWorkItemsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryProcessesWorkItemsRequest $request * * @return QueryProcessesWorkItemsResponse */ public function queryProcessesWorkItems($request) { $runtime = new RuntimeOptions([]); $headers = new QueryProcessesWorkItemsHeaders([]); return $this->queryProcessesWorkItemsWithOptions($request, $headers, $runtime); } /** * @param UpdateBizObjectRequest $request * @param UpdateBizObjectHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateBizObjectResponse */ public function updateBizObjectWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizObjectId)) { $body['bizObjectId'] = $request->bizObjectId; } if (!Utils::isUnset($request->bizObjectJson)) { $body['bizObjectJson'] = $request->bizObjectJson; } if (!Utils::isUnset($request->schemaCode)) { $body['schemaCode'] = $request->schemaCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateBizObject', 'version' => 'h3yun_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h3yun/forms/instances', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateBizObjectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateBizObjectRequest $request * * @return UpdateBizObjectResponse */ public function updateBizObject($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateBizObjectHeaders([]); return $this->updateBizObjectWithOptions($request, $headers, $runtime); } } src/h3yun_1_0/Models/BatchInsertBizObjectHeaders.php000064400000002345146412132660016303 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchInsertBizObjectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/BatchInsertBizObjectRequest.php000064400000004017146412132660016356 0ustar00 'bizObjectJsonArray', 'isDraft' => 'isDraft', 'opUserId' => 'opUserId', 'schemaCode' => 'schemaCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizObjectJsonArray) { $res['bizObjectJsonArray'] = $this->bizObjectJsonArray; } if (null !== $this->isDraft) { $res['isDraft'] = $this->isDraft; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } return $res; } /** * @param array $map * * @return BatchInsertBizObjectRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizObjectJsonArray'])) { if (!empty($map['bizObjectJsonArray'])) { $model->bizObjectJsonArray = $map['bizObjectJsonArray']; } } if (isset($map['isDraft'])) { $model->isDraft = $map['isDraft']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } return $model; } } src/h3yun_1_0/Models/BatchInsertBizObjectResponse.php000064400000002753146412132660016531 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchInsertBizObjectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchInsertBizObjectResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/BatchInsertBizObjectResponseBody.php000064400000003023146412132660017336 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return BatchInsertBizObjectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/BatchInsertBizObjectResponseBody/data.php000064400000004102146412132660020246 0ustar00 'bizObjectIds', 'failedDatas' => 'failedDatas', 'failedMessages' => 'failedMessages', 'processIds' => 'processIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizObjectIds) { $res['bizObjectIds'] = $this->bizObjectIds; } if (null !== $this->failedDatas) { $res['failedDatas'] = $this->failedDatas; } if (null !== $this->failedMessages) { $res['failedMessages'] = $this->failedMessages; } if (null !== $this->processIds) { $res['processIds'] = $this->processIds; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizObjectIds'])) { if (!empty($map['bizObjectIds'])) { $model->bizObjectIds = $map['bizObjectIds']; } } if (isset($map['failedDatas'])) { if (!empty($map['failedDatas'])) { $model->failedDatas = $map['failedDatas']; } } if (isset($map['failedMessages'])) { if (!empty($map['failedMessages'])) { $model->failedMessages = $map['failedMessages']; } } if (isset($map['processIds'])) { if (!empty($map['processIds'])) { $model->processIds = $map['processIds']; } } return $model; } } src/h3yun_1_0/Models/CancelProcessInstanceHeaders.php000064400000002347146412132660016514 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CancelProcessInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/CancelProcessInstanceRequest.php000064400000001737146412132660016573 0ustar00 'processInstanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } return $res; } /** * @param array $map * * @return CancelProcessInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } return $model; } } src/h3yun_1_0/Models/CancelProcessInstanceResponse.php000064400000002757146412132660016744 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CancelProcessInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CancelProcessInstanceResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/CancelProcessInstanceResponseBody.php000064400000002213146412132660017545 0ustar00 'code', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return CancelProcessInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/CreateBizObjectHeaders.php000064400000002333146412132660015275 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateBizObjectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/CreateBizObjectRequest.php000064400000004406146412132660015355 0ustar00 'bizObjectJson', 'isDraft' => 'isDraft', 'opUserId' => 'opUserId', 'schemaCode' => 'schemaCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizObjectJson) { $res['bizObjectJson'] = $this->bizObjectJson; } if (null !== $this->isDraft) { $res['isDraft'] = $this->isDraft; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } return $res; } /** * @param array $map * * @return CreateBizObjectRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizObjectJson'])) { $model->bizObjectJson = $map['bizObjectJson']; } if (isset($map['isDraft'])) { $model->isDraft = $map['isDraft']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } return $model; } } src/h3yun_1_0/Models/CreateBizObjectResponse.php000064400000002727146412132660015527 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateBizObjectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateBizObjectResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/CreateBizObjectResponseBody.php000064400000003006146412132660016334 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return CreateBizObjectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/CreateBizObjectResponseBody/data.php000064400000004061146412132660017247 0ustar00 'bizObjectId', 'formUsageType' => 'formUsageType', 'processInstanceId' => 'processInstanceId', 'schemaCode' => 'schemaCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizObjectId) { $res['bizObjectId'] = $this->bizObjectId; } if (null !== $this->formUsageType) { $res['formUsageType'] = $this->formUsageType; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizObjectId'])) { $model->bizObjectId = $map['bizObjectId']; } if (isset($map['formUsageType'])) { $model->formUsageType = $map['formUsageType']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } return $model; } } src/h3yun_1_0/Models/CreateProcessesInstanceHeaders.php000064400000002353146412132660017057 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateProcessesInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/CreateProcessesInstanceRequest.php000064400000003176146412132660017140 0ustar00 'bizObjectId', 'opUserId' => 'opUserId', 'schemaCode' => 'schemaCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizObjectId) { $res['bizObjectId'] = $this->bizObjectId; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } return $res; } /** * @param array $map * * @return CreateProcessesInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizObjectId'])) { $model->bizObjectId = $map['bizObjectId']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } return $model; } } src/h3yun_1_0/Models/CreateProcessesInstanceResponse.php000064400000002767146412132660017313 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateProcessesInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateProcessesInstanceResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/CreateProcessesInstanceResponseBody.php000064400000003034146412132660020115 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return CreateProcessesInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/CreateProcessesInstanceResponseBody/data.php000064400000001723146412132660021031 0ustar00 'processInstanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } return $model; } } src/h3yun_1_0/Models/DeleteBizObjectHeaders.php000064400000002333146412132660015274 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteBizObjectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/DeleteBizObjectRequest.php000064400000002417146412132660015354 0ustar00 'bizObjectId', 'schemaCode' => 'schemaCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizObjectId) { $res['bizObjectId'] = $this->bizObjectId; } if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } return $res; } /** * @param array $map * * @return DeleteBizObjectRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizObjectId'])) { $model->bizObjectId = $map['bizObjectId']; } if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } return $model; } } src/h3yun_1_0/Models/DeleteBizObjectResponse.php000064400000002727146412132660015526 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteBizObjectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteBizObjectResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/DeleteBizObjectResponseBody.php000064400000002177146412132660016343 0ustar00 'code', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return DeleteBizObjectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/DeleteProcessesInstanceHeaders.php000064400000002353146412132660017056 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteProcessesInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/DeleteProcessesInstanceRequest.php000064400000002626146412132660017136 0ustar00 'isAutoUpdateBizObject', 'processInstanceId' => 'processInstanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isAutoUpdateBizObject) { $res['isAutoUpdateBizObject'] = $this->isAutoUpdateBizObject; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } return $res; } /** * @param array $map * * @return DeleteProcessesInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isAutoUpdateBizObject'])) { $model->isAutoUpdateBizObject = $map['isAutoUpdateBizObject']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } return $model; } } src/h3yun_1_0/Models/DeleteProcessesInstanceResponse.php000064400000002767146412132660017312 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteProcessesInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteProcessesInstanceResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/DeleteProcessesInstanceResponseBody.php000064400000002217146412132660020116 0ustar00 'code', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return DeleteProcessesInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/GetAppsHeaders.php000064400000002313146412132660013637 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAppsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/GetAppsRequest.php000064400000002251146412132660013715 0ustar00 'queryType', 'values' => 'values', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->queryType) { $res['queryType'] = $this->queryType; } if (null !== $this->values) { $res['values'] = $this->values; } return $res; } /** * @param array $map * * @return GetAppsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['queryType'])) { $model->queryType = $map['queryType']; } if (isset($map['values'])) { if (!empty($map['values'])) { $model->values = $map['values']; } } return $model; } } src/h3yun_1_0/Models/GetAppsResponse.php000064400000002667146412132660014076 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAppsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAppsResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/GetAppsResponseBody.php000064400000003632146412132660014705 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetAppsResponseBody */ 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 = []; $n = 0; foreach ($map['data'] as $item) { $model->data[$n++] = null !== $item ? data::fromMap($item) : $item; } } } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/GetAppsResponseBody/data.php000064400000004206146412132660015614 0ustar00 'appCode', 'appSource' => 'appSource', 'appState' => 'appState', 'displayName' => 'displayName', 'solution' => 'solution', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appCode) { $res['appCode'] = $this->appCode; } if (null !== $this->appSource) { $res['appSource'] = $this->appSource; } if (null !== $this->appState) { $res['appState'] = $this->appState; } if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->solution) { $res['solution'] = $this->solution; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appCode'])) { $model->appCode = $map['appCode']; } if (isset($map['appSource'])) { $model->appSource = $map['appSource']; } if (isset($map['appState'])) { $model->appState = $map['appState']; } if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['solution'])) { $model->solution = $map['solution']; } return $model; } } src/h3yun_1_0/Models/GetAttachmentTemporaryUrlHeaders.php000064400000002357146412132660017422 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAttachmentTemporaryUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/GetAttachmentTemporaryUrlRequest.php000064400000001672146412132660017476 0ustar00 'attachmentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachmentId) { $res['attachmentId'] = $this->attachmentId; } return $res; } /** * @param array $map * * @return GetAttachmentTemporaryUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachmentId'])) { $model->attachmentId = $map['attachmentId']; } return $model; } } src/h3yun_1_0/Models/GetAttachmentTemporaryUrlResponse.php000064400000002777146412132660017653 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAttachmentTemporaryUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAttachmentTemporaryUrlResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/GetAttachmentTemporaryUrlResponseBody.php000064400000003042146412132660020453 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetAttachmentTemporaryUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/GetAttachmentTemporaryUrlResponseBody/data.php000064400000002276146412132660021374 0ustar00 'attachmentUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachmentUrl) { $res['attachmentUrl'] = $this->attachmentUrl; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachmentUrl'])) { $model->attachmentUrl = $map['attachmentUrl']; } return $model; } } src/h3yun_1_0/Models/GetOrganizationsHeaders.php000064400000002335146412132660015567 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOrganizationsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/GetOrganizationsRequest.php000064400000002035146412132660015641 0ustar00 'departmentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } return $res; } /** * @param array $map * * @return GetOrganizationsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } return $model; } } src/h3yun_1_0/Models/GetOrganizationsResponse.php000064400000002733146412132660016014 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOrganizationsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOrganizationsResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/GetOrganizationsResponseBody.php000064400000003665146412132660016637 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetOrganizationsResponseBody */ 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 = []; $n = 0; foreach ($map['data'] as $item) { $model->data[$n++] = null !== $item ? data::fromMap($item) : $item; } } } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/GetOrganizationsResponseBody/data.php000064400000005305146412132660017541 0ustar00 'code', 'description' => 'description', 'id' => 'id', 'name' => 'name', 'parentId' => 'parentId', 'sortKey' => 'sortKey', 'unitType' => 'unitType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->sortKey) { $res['sortKey'] = $this->sortKey; } if (null !== $this->unitType) { $res['unitType'] = $this->unitType; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } 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['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['sortKey'])) { $model->sortKey = $map['sortKey']; } if (isset($map['unitType'])) { $model->unitType = $map['unitType']; } return $model; } } src/h3yun_1_0/Models/GetRoleUsersHeaders.php000064400000002325146412132660014662 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRoleUsersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/GetRoleUsersRequest.php000064400000001552146412132660014740 0ustar00 'roleId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } return $res; } /** * @param array $map * * @return GetRoleUsersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } return $model; } } src/h3yun_1_0/Models/GetRoleUsersResponse.php000064400000002713146412132660015106 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRoleUsersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRoleUsersResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/GetRoleUsersResponseBody.php000064400000003651146412132660015726 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetRoleUsersResponseBody */ 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 = []; $n = 0; foreach ($map['data'] as $item) { $model->data[$n++] = null !== $item ? data::fromMap($item) : $item; } } } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/GetRoleUsersResponseBody/data.php000064400000011016146412132660016631 0ustar00 'code', 'departmentId' => 'departmentId', 'departmentName' => 'departmentName', 'description' => 'description', 'domainType' => 'domainType', 'email' => 'email', 'mobile' => 'mobile', 'name' => 'name', 'partDepartmentIds' => 'partDepartmentIds', 'sex' => 'sex', 'sortKey' => 'sortKey', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->domainType) { $res['domainType'] = $this->domainType; } 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->partDepartmentIds) { $res['partDepartmentIds'] = $this->partDepartmentIds; } if (null !== $this->sex) { $res['sex'] = $this->sex; } if (null !== $this->sortKey) { $res['sortKey'] = $this->sortKey; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['domainType'])) { $model->domainType = $map['domainType']; } 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['partDepartmentIds'])) { if (!empty($map['partDepartmentIds'])) { $model->partDepartmentIds = $map['partDepartmentIds']; } } if (isset($map['sex'])) { $model->sex = $map['sex']; } if (isset($map['sortKey'])) { $model->sortKey = $map['sortKey']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/h3yun_1_0/Models/GetRolesHeaders.php000064400000002315146412132660014022 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRolesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/GetRolesResponse.php000064400000002673146412132660014254 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRolesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRolesResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/GetRolesResponseBody.php000064400000002757146412132660015075 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetRolesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/GetRolesResponseBody/data.php000064400000004366146412132660016004 0ustar00 'roleGroups', 'roles' => 'roles', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleGroups) { $res['roleGroups'] = []; if (null !== $this->roleGroups && \is_array($this->roleGroups)) { $n = 0; foreach ($this->roleGroups as $item) { $res['roleGroups'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->roles) { $res['roles'] = []; if (null !== $this->roles && \is_array($this->roles)) { $n = 0; foreach ($this->roles as $item) { $res['roles'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleGroups'])) { if (!empty($map['roleGroups'])) { $model->roleGroups = []; $n = 0; foreach ($map['roleGroups'] as $item) { $model->roleGroups[$n++] = null !== $item ? roleGroups::fromMap($item) : $item; } } } if (isset($map['roles'])) { if (!empty($map['roles'])) { $model->roles = []; $n = 0; foreach ($map['roles'] as $item) { $model->roles[$n++] = null !== $item ? roles::fromMap($item) : $item; } } } return $model; } } src/h3yun_1_0/Models/GetRolesResponseBody/data/roleGroups.php000064400000005604146412132660020141 0ustar00 'companyId', 'description' => 'description', 'groupCode' => 'groupCode', 'groupId' => 'groupId', 'groupName' => 'groupName', 'state' => 'state', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyId) { $res['companyId'] = $this->companyId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->groupCode) { $res['groupCode'] = $this->groupCode; } if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->state) { $res['state'] = $this->state; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return roleGroups */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyId'])) { $model->companyId = $map['companyId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['groupCode'])) { $model->groupCode = $map['groupCode']; } if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['state'])) { $model->state = $map['state']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/h3yun_1_0/Models/GetRolesResponseBody/data/roles.php000064400000006277146412132660017133 0ustar00 'companyId', 'description' => 'description', 'groupId' => 'groupId', 'roleCode' => 'roleCode', 'roleId' => 'roleId', 'roleName' => 'roleName', 'state' => 'state', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyId) { $res['companyId'] = $this->companyId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } if (null !== $this->state) { $res['state'] = $this->state; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return roles */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyId'])) { $model->companyId = $map['companyId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } if (isset($map['state'])) { $model->state = $map['state']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/h3yun_1_0/Models/GetUploadUrlHeaders.php000064400000002325146412132660014646 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUploadUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/GetUploadUrlRequest.php000064400000003646146412132660014732 0ustar00 'bizObjectId', 'fieldName' => 'fieldName', 'isOverwrite' => 'isOverwrite', 'schemaCode' => 'schemaCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizObjectId) { $res['bizObjectId'] = $this->bizObjectId; } if (null !== $this->fieldName) { $res['fieldName'] = $this->fieldName; } if (null !== $this->isOverwrite) { $res['isOverwrite'] = $this->isOverwrite; } if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } return $res; } /** * @param array $map * * @return GetUploadUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizObjectId'])) { $model->bizObjectId = $map['bizObjectId']; } if (isset($map['fieldName'])) { $model->fieldName = $map['fieldName']; } if (isset($map['isOverwrite'])) { $model->isOverwrite = $map['isOverwrite']; } if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } return $model; } } src/h3yun_1_0/Models/GetUploadUrlResponse.php000064400000002713146412132660015072 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUploadUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUploadUrlResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/GetUploadUrlResponseBody.php000064400000002773146412132660015716 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetUploadUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/GetUploadUrlResponseBody/data.php000064400000001570146412132660016621 0ustar00 'uploadUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->uploadUrl) { $res['uploadUrl'] = $this->uploadUrl; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['uploadUrl'])) { $model->uploadUrl = $map['uploadUrl']; } return $model; } } src/h3yun_1_0/Models/GetUsersHeaders.php000064400000002315146412132660014037 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUsersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/GetUsersRequest.php000064400000002356146412132660014121 0ustar00 'departmentId', 'isRecursive' => 'isRecursive', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->isRecursive) { $res['isRecursive'] = $this->isRecursive; } return $res; } /** * @param array $map * * @return GetUsersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['isRecursive'])) { $model->isRecursive = $map['isRecursive']; } return $model; } } src/h3yun_1_0/Models/GetUsersResponse.php000064400000002673146412132660014271 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUsersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUsersResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/GetUsersResponseBody.php000064400000003635146412132660015106 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return GetUsersResponseBody */ 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 = []; $n = 0; foreach ($map['data'] as $item) { $model->data[$n++] = null !== $item ? data::fromMap($item) : $item; } } } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/GetUsersResponseBody/data.php000064400000010753146412132660016016 0ustar00 'code', 'departmentId' => 'departmentId', 'departmentName' => 'departmentName', 'description' => 'description', 'domainType' => 'domainType', 'email' => 'email', 'id' => 'id', 'mobile' => 'mobile', 'name' => 'name', 'partDepartmentIds' => 'partDepartmentIds', 'sex' => 'sex', 'sortKey' => 'sortKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->domainType) { $res['domainType'] = $this->domainType; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->partDepartmentIds) { $res['partDepartmentIds'] = $this->partDepartmentIds; } if (null !== $this->sex) { $res['sex'] = $this->sex; } if (null !== $this->sortKey) { $res['sortKey'] = $this->sortKey; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['domainType'])) { $model->domainType = $map['domainType']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['partDepartmentIds'])) { if (!empty($map['partDepartmentIds'])) { $model->partDepartmentIds = $map['partDepartmentIds']; } } if (isset($map['sex'])) { $model->sex = $map['sex']; } if (isset($map['sortKey'])) { $model->sortKey = $map['sortKey']; } return $model; } } src/h3yun_1_0/Models/LoadBizFieldsHeaders.php000064400000002327146412132660014754 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return LoadBizFieldsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/LoadBizFieldsRequest.php000064400000001623146412132660015027 0ustar00 'schemaCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } return $res; } /** * @param array $map * * @return LoadBizFieldsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } return $model; } } src/h3yun_1_0/Models/LoadBizFieldsResponse.php000064400000002717146412132660015202 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return LoadBizFieldsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = LoadBizFieldsResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/LoadBizFieldsResponseBody.php000064400000002776146412132660016025 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return LoadBizFieldsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/LoadBizFieldsResponseBody/data.php000064400000005715146412132660016732 0ustar00 'childForms', 'fields' => 'fields', 'formName' => 'formName', 'schemaCode' => 'schemaCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->childForms) { $res['childForms'] = []; if (null !== $this->childForms && \is_array($this->childForms)) { $n = 0; foreach ($this->childForms as $item) { $res['childForms'][$n++] = null !== $item ? $item->toMap() : $item; } } } 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->formName) { $res['formName'] = $this->formName; } if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['childForms'])) { if (!empty($map['childForms'])) { $model->childForms = []; $n = 0; foreach ($map['childForms'] as $item) { $model->childForms[$n++] = null !== $item ? childForms::fromMap($item) : $item; } } } 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['formName'])) { $model->formName = $map['formName']; } if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } return $model; } } src/h3yun_1_0/Models/LoadBizFieldsResponseBody/data/childForms.php000064400000004105146412132660021014 0ustar00 'fields', 'formName' => 'formName', 'schemaCode' => 'schemaCode', ]; public function validate() { } public function toMap() { $res = []; 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->formName) { $res['formName'] = $this->formName; } if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } return $res; } /** * @param array $map * * @return childForms */ public static function fromMap($map = []) { $model = new self(); 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['formName'])) { $model->formName = $map['formName']; } if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } return $model; } } src/h3yun_1_0/Models/LoadBizFieldsResponseBody/data/childForms/fields.php000064400000002777146412132660022277 0ustar00 'bizDataType', 'fieldName' => 'fieldName', 'label' => 'label', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizDataType) { $res['bizDataType'] = $this->bizDataType; } if (null !== $this->fieldName) { $res['fieldName'] = $this->fieldName; } if (null !== $this->label) { $res['label'] = $this->label; } return $res; } /** * @param array $map * * @return fields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizDataType'])) { $model->bizDataType = $map['bizDataType']; } if (isset($map['fieldName'])) { $model->fieldName = $map['fieldName']; } if (isset($map['label'])) { $model->label = $map['label']; } return $model; } } src/h3yun_1_0/Models/LoadBizFieldsResponseBody/data/fields.php000064400000002763146412132660020200 0ustar00 'bizDataType', 'fieldName' => 'fieldName', 'label' => 'label', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizDataType) { $res['bizDataType'] = $this->bizDataType; } if (null !== $this->fieldName) { $res['fieldName'] = $this->fieldName; } if (null !== $this->label) { $res['label'] = $this->label; } return $res; } /** * @param array $map * * @return fields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizDataType'])) { $model->bizDataType = $map['bizDataType']; } if (isset($map['fieldName'])) { $model->fieldName = $map['fieldName']; } if (isset($map['label'])) { $model->label = $map['label']; } return $model; } } src/h3yun_1_0/Models/LoadBizObjectHeaders.php000064400000002327146412132660014754 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return LoadBizObjectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/LoadBizObjectRequest.php000064400000002414146412132660015026 0ustar00 'bizObjectId', 'schemaCode' => 'schemaCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizObjectId) { $res['bizObjectId'] = $this->bizObjectId; } if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } return $res; } /** * @param array $map * * @return LoadBizObjectRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizObjectId'])) { $model->bizObjectId = $map['bizObjectId']; } if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } return $model; } } src/h3yun_1_0/Models/LoadBizObjectResponse.php000064400000002717146412132660015202 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return LoadBizObjectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = LoadBizObjectResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/LoadBizObjectResponseBody.php000064400000006413146412132660016015 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; 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; } return $res; } /** * @param array $map * * @return LoadBizObjectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/LoadBizObjectsHeaders.php000064400000002331146412132660015132 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return LoadBizObjectsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/LoadBizObjectsRequest.php000064400000006413146412132660015214 0ustar00 'matcherJson', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'returnFields' => 'returnFields', 'schemaCode' => 'schemaCode', 'sortByFields' => 'sortByFields', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->matcherJson) { $res['matcherJson'] = $this->matcherJson; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->returnFields) { $res['returnFields'] = $this->returnFields; } if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } if (null !== $this->sortByFields) { $res['sortByFields'] = []; if (null !== $this->sortByFields && \is_array($this->sortByFields)) { $n = 0; foreach ($this->sortByFields as $item) { $res['sortByFields'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return LoadBizObjectsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['matcherJson'])) { $model->matcherJson = $map['matcherJson']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['returnFields'])) { if (!empty($map['returnFields'])) { $model->returnFields = $map['returnFields']; } } if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } if (isset($map['sortByFields'])) { if (!empty($map['sortByFields'])) { $model->sortByFields = []; $n = 0; foreach ($map['sortByFields'] as $item) { $model->sortByFields[$n++] = null !== $item ? sortByFields::fromMap($item) : $item; } } } return $model; } } src/h3yun_1_0/Models/LoadBizObjectsRequest/sortByFields.php000064400000002266146412132660017627 0ustar00 'direction', 'fieldName' => 'fieldName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->direction) { $res['direction'] = $this->direction; } if (null !== $this->fieldName) { $res['fieldName'] = $this->fieldName; } return $res; } /** * @param array $map * * @return sortByFields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['direction'])) { $model->direction = $map['direction']; } if (isset($map['fieldName'])) { $model->fieldName = $map['fieldName']; } return $model; } } src/h3yun_1_0/Models/LoadBizObjectsResponse.php000064400000002723146412132660015362 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return LoadBizObjectsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = LoadBizObjectsResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/LoadBizObjectsResponseBody.php000064400000003001146412132660016166 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return LoadBizObjectsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/LoadBizObjectsResponseBody/data.php000064400000003534146412132660017112 0ustar00 'bizObjects', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizObjects) { $res['bizObjects'] = $this->bizObjects; } 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 data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizObjects'])) { if (!empty($map['bizObjects'])) { $model->bizObjects = $map['bizObjects']; } } 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/h3yun_1_0/Models/QueryAppFunctionNodesHeaders.php000064400000002347146412132660016550 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAppFunctionNodesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/QueryAppFunctionNodesRequest.php000064400000001550146412132660016620 0ustar00 'appCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appCode) { $res['appCode'] = $this->appCode; } return $res; } /** * @param array $map * * @return QueryAppFunctionNodesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appCode'])) { $model->appCode = $map['appCode']; } return $model; } } src/h3yun_1_0/Models/QueryAppFunctionNodesResponse.php000064400000002757146412132660017000 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAppFunctionNodesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAppFunctionNodesResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/QueryAppFunctionNodesResponseBody.php000064400000003704146412132660017607 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return QueryAppFunctionNodesResponseBody */ 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 = []; $n = 0; foreach ($map['data'] as $item) { $model->data[$n++] = null !== $item ? data::fromMap($item) : $item; } } } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/QueryAppFunctionNodesResponseBody/data.php000064400000007042146412132660020517 0ustar00 'appCode', 'displayName' => 'displayName', 'isSystem' => 'isSystem', 'nodeType' => 'nodeType', 'nodeVisibleType' => 'nodeVisibleType', 'parentCode' => 'parentCode', 'schemaCode' => 'schemaCode', 'sortKey' => 'sortKey', 'state' => 'state', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appCode) { $res['appCode'] = $this->appCode; } if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->isSystem) { $res['isSystem'] = $this->isSystem; } if (null !== $this->nodeType) { $res['nodeType'] = $this->nodeType; } if (null !== $this->nodeVisibleType) { $res['nodeVisibleType'] = $this->nodeVisibleType; } if (null !== $this->parentCode) { $res['parentCode'] = $this->parentCode; } if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } if (null !== $this->sortKey) { $res['sortKey'] = $this->sortKey; } if (null !== $this->state) { $res['state'] = $this->state; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appCode'])) { $model->appCode = $map['appCode']; } if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['isSystem'])) { $model->isSystem = $map['isSystem']; } if (isset($map['nodeType'])) { $model->nodeType = $map['nodeType']; } if (isset($map['nodeVisibleType'])) { $model->nodeVisibleType = $map['nodeVisibleType']; } if (isset($map['parentCode'])) { $model->parentCode = $map['parentCode']; } if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } if (isset($map['sortKey'])) { $model->sortKey = $map['sortKey']; } if (isset($map['state'])) { $model->state = $map['state']; } return $model; } } src/h3yun_1_0/Models/QueryProcessesInstanceHeaders.php000064400000002351146412132660016757 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryProcessesInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/QueryProcessesInstanceRequest.php000064400000002435146412132660017037 0ustar00 'bizObjectId', 'schemaCode' => 'schemaCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizObjectId) { $res['bizObjectId'] = $this->bizObjectId; } if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } return $res; } /** * @param array $map * * @return QueryProcessesInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizObjectId'])) { $model->bizObjectId = $map['bizObjectId']; } if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } return $model; } } src/h3yun_1_0/Models/QueryProcessesInstanceResponse.php000064400000002763146412132660017211 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryProcessesInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryProcessesInstanceResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/QueryProcessesInstanceResponseBody.php000064400000003707146412132660020026 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return QueryProcessesInstanceResponseBody */ 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 = []; $n = 0; foreach ($map['data'] as $item) { $model->data[$n++] = null !== $item ? data::fromMap($item) : $item; } } } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/QueryProcessesInstanceResponseBody/data.php000064400000012053146412132660020731 0ustar00 'appCode', 'bizObjectId' => 'bizObjectId', 'createdTimeGMT' => 'createdTimeGMT', 'dingTalkProcessId' => 'dingTalkProcessId', 'finishTimeGMT' => 'finishTimeGMT', 'originator' => 'originator', 'processDisplayName' => 'processDisplayName', 'processInstanceId' => 'processInstanceId', 'processVersion' => 'processVersion', 'schemaCode' => 'schemaCode', 'startTimeGMT' => 'startTimeGMT', 'state' => 'state', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appCode) { $res['appCode'] = $this->appCode; } if (null !== $this->bizObjectId) { $res['bizObjectId'] = $this->bizObjectId; } if (null !== $this->createdTimeGMT) { $res['createdTimeGMT'] = $this->createdTimeGMT; } if (null !== $this->dingTalkProcessId) { $res['dingTalkProcessId'] = $this->dingTalkProcessId; } if (null !== $this->finishTimeGMT) { $res['finishTimeGMT'] = $this->finishTimeGMT; } if (null !== $this->originator) { $res['originator'] = null !== $this->originator ? $this->originator->toMap() : null; } if (null !== $this->processDisplayName) { $res['processDisplayName'] = $this->processDisplayName; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->processVersion) { $res['processVersion'] = $this->processVersion; } if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } if (null !== $this->startTimeGMT) { $res['startTimeGMT'] = $this->startTimeGMT; } if (null !== $this->state) { $res['state'] = $this->state; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appCode'])) { $model->appCode = $map['appCode']; } if (isset($map['bizObjectId'])) { $model->bizObjectId = $map['bizObjectId']; } if (isset($map['createdTimeGMT'])) { $model->createdTimeGMT = $map['createdTimeGMT']; } if (isset($map['dingTalkProcessId'])) { $model->dingTalkProcessId = $map['dingTalkProcessId']; } if (isset($map['finishTimeGMT'])) { $model->finishTimeGMT = $map['finishTimeGMT']; } if (isset($map['originator'])) { $model->originator = originator::fromMap($map['originator']); } if (isset($map['processDisplayName'])) { $model->processDisplayName = $map['processDisplayName']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['processVersion'])) { $model->processVersion = $map['processVersion']; } if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } if (isset($map['startTimeGMT'])) { $model->startTimeGMT = $map['startTimeGMT']; } if (isset($map['state'])) { $model->state = $map['state']; } return $model; } } src/h3yun_1_0/Models/QueryProcessesInstanceResponseBody/data/originator.php000064400000003650146412132660023111 0ustar00 'departmentId', 'departmentName' => 'departmentName', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return originator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/h3yun_1_0/Models/QueryProcessesWorkItemsHeaders.php000064400000002353146412132660017141 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryProcessesWorkItemsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/QueryProcessesWorkItemsRequest.php000064400000001743146412132660017220 0ustar00 'processInstanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } return $res; } /** * @param array $map * * @return QueryProcessesWorkItemsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } return $model; } } src/h3yun_1_0/Models/QueryProcessesWorkItemsResponse.php000064400000002767146412132660017375 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryProcessesWorkItemsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryProcessesWorkItemsResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/QueryProcessesWorkItemsResponseBody.php000064400000003712146412132660020202 0ustar00 'code', 'data' => 'data', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return QueryProcessesWorkItemsResponseBody */ 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 = []; $n = 0; foreach ($map['data'] as $item) { $model->data[$n++] = null !== $item ? data::fromMap($item) : $item; } } } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h3yun_1_0/Models/QueryProcessesWorkItemsResponseBody/data.php000064400000017617146412132660021124 0ustar00 'activityCode', 'activityName' => 'activityName', 'appCode' => 'appCode', 'bizObjectId' => 'bizObjectId', 'comment' => 'comment', 'displayName' => 'displayName', 'finishTimeGMT' => 'finishTimeGMT', 'finisher' => 'finisher', 'isApproval' => 'isApproval', 'isFinish' => 'isFinish', 'participant' => 'participant', 'processInstanceId' => 'processInstanceId', 'processVersion' => 'processVersion', 'receiptor' => 'receiptor', 'receiveTimeGMT' => 'receiveTimeGMT', 'schemaCode' => 'schemaCode', 'startTimeGMT' => 'startTimeGMT', 'state' => 'state', 'workItemId' => 'workItemId', 'workItemType' => 'workItemType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityCode) { $res['activityCode'] = $this->activityCode; } if (null !== $this->activityName) { $res['activityName'] = $this->activityName; } if (null !== $this->appCode) { $res['appCode'] = $this->appCode; } if (null !== $this->bizObjectId) { $res['bizObjectId'] = $this->bizObjectId; } if (null !== $this->comment) { $res['comment'] = $this->comment; } if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->finishTimeGMT) { $res['finishTimeGMT'] = $this->finishTimeGMT; } if (null !== $this->finisher) { $res['finisher'] = null !== $this->finisher ? $this->finisher->toMap() : null; } if (null !== $this->isApproval) { $res['isApproval'] = $this->isApproval; } if (null !== $this->isFinish) { $res['isFinish'] = $this->isFinish; } if (null !== $this->participant) { $res['participant'] = null !== $this->participant ? $this->participant->toMap() : null; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->processVersion) { $res['processVersion'] = $this->processVersion; } if (null !== $this->receiptor) { $res['receiptor'] = null !== $this->receiptor ? $this->receiptor->toMap() : null; } if (null !== $this->receiveTimeGMT) { $res['receiveTimeGMT'] = $this->receiveTimeGMT; } if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } if (null !== $this->startTimeGMT) { $res['startTimeGMT'] = $this->startTimeGMT; } if (null !== $this->state) { $res['state'] = $this->state; } if (null !== $this->workItemId) { $res['workItemId'] = $this->workItemId; } if (null !== $this->workItemType) { $res['workItemType'] = $this->workItemType; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityCode'])) { $model->activityCode = $map['activityCode']; } if (isset($map['activityName'])) { $model->activityName = $map['activityName']; } if (isset($map['appCode'])) { $model->appCode = $map['appCode']; } if (isset($map['bizObjectId'])) { $model->bizObjectId = $map['bizObjectId']; } if (isset($map['comment'])) { $model->comment = $map['comment']; } if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['finishTimeGMT'])) { $model->finishTimeGMT = $map['finishTimeGMT']; } if (isset($map['finisher'])) { $model->finisher = finisher::fromMap($map['finisher']); } if (isset($map['isApproval'])) { $model->isApproval = $map['isApproval']; } if (isset($map['isFinish'])) { $model->isFinish = $map['isFinish']; } if (isset($map['participant'])) { $model->participant = participant::fromMap($map['participant']); } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['processVersion'])) { $model->processVersion = $map['processVersion']; } if (isset($map['receiptor'])) { $model->receiptor = receiptor::fromMap($map['receiptor']); } if (isset($map['receiveTimeGMT'])) { $model->receiveTimeGMT = $map['receiveTimeGMT']; } if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } if (isset($map['startTimeGMT'])) { $model->startTimeGMT = $map['startTimeGMT']; } if (isset($map['state'])) { $model->state = $map['state']; } if (isset($map['workItemId'])) { $model->workItemId = $map['workItemId']; } if (isset($map['workItemType'])) { $model->workItemType = $map['workItemType']; } return $model; } } src/h3yun_1_0/Models/QueryProcessesWorkItemsResponseBody/data/finisher.php000064400000003645146412132660022727 0ustar00 'departmentId', 'departmentName' => 'departmentName', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return finisher */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/h3yun_1_0/Models/QueryProcessesWorkItemsResponseBody/data/participant.php000064400000003653146412132660023435 0ustar00 'departmentId', 'departmentName' => 'departmentName', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return participant */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/h3yun_1_0/Models/QueryProcessesWorkItemsResponseBody/data/receiptor.php000064400000003535146412132660023112 0ustar00 'departmentId', 'departmentName' => 'departmentName', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return receiptor */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/h3yun_1_0/Models/UpdateBizObjectHeaders.php000064400000002333146412132660015314 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateBizObjectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h3yun_1_0/Models/UpdateBizObjectRequest.php000064400000004107146412132660015372 0ustar00 'bizObjectId', 'bizObjectJson' => 'bizObjectJson', 'schemaCode' => 'schemaCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizObjectId) { $res['bizObjectId'] = $this->bizObjectId; } if (null !== $this->bizObjectJson) { $res['bizObjectJson'] = $this->bizObjectJson; } if (null !== $this->schemaCode) { $res['schemaCode'] = $this->schemaCode; } return $res; } /** * @param array $map * * @return UpdateBizObjectRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizObjectId'])) { $model->bizObjectId = $map['bizObjectId']; } if (isset($map['bizObjectJson'])) { $model->bizObjectJson = $map['bizObjectJson']; } if (isset($map['schemaCode'])) { $model->schemaCode = $map['schemaCode']; } return $model; } } src/h3yun_1_0/Models/UpdateBizObjectResponse.php000064400000002727146412132660015546 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateBizObjectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateBizObjectResponseBody::fromMap($map['body']); } return $model; } } src/h3yun_1_0/Models/UpdateBizObjectResponseBody.php000064400000002177146412132660016363 0ustar00 'code', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return UpdateBizObjectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/h5package_1_0/Dingtalk.php000064400000022476146412132660012110 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CreatePackageRequest $request * @param CreatePackageHeaders $headers * @param RuntimeOptions $runtime * * @return CreatePackageResponse */ public function createPackageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->agentId)) { $body['agentId'] = $request->agentId; } if (!Utils::isUnset($request->appId)) { $body['appId'] = $request->appId; } if (!Utils::isUnset($request->homeUrl)) { $body['homeUrl'] = $request->homeUrl; } if (!Utils::isUnset($request->ossObjectKey)) { $body['ossObjectKey'] = $request->ossObjectKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreatePackage', 'version' => 'h5package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h5package/asyncUpload', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreatePackageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreatePackageRequest $request * * @return CreatePackageResponse */ public function createPackage($request) { $runtime = new RuntimeOptions([]); $headers = new CreatePackageHeaders([]); return $this->createPackageWithOptions($request, $headers, $runtime); } /** * @param GetAccessTokenRequest $request * @param GetAccessTokenHeaders $headers * @param RuntimeOptions $runtime * * @return GetAccessTokenResponse */ public function getAccessTokenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->agentId)) { $query['agentId'] = $request->agentId; } if (!Utils::isUnset($request->appId)) { $query['appId'] = $request->appId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetAccessToken', 'version' => 'h5package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h5package/uploadTokens', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAccessTokenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetAccessTokenRequest $request * * @return GetAccessTokenResponse */ public function getAccessToken($request) { $runtime = new RuntimeOptions([]); $headers = new GetAccessTokenHeaders([]); return $this->getAccessTokenWithOptions($request, $headers, $runtime); } /** * @param GetCreateStatusRequest $request * @param GetCreateStatusHeaders $headers * @param RuntimeOptions $runtime * * @return GetCreateStatusResponse */ public function getCreateStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->taskId)) { $query['taskId'] = $request->taskId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetCreateStatus', 'version' => 'h5package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h5package/uploadStatus', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCreateStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetCreateStatusRequest $request * * @return GetCreateStatusResponse */ public function getCreateStatus($request) { $runtime = new RuntimeOptions([]); $headers = new GetCreateStatusHeaders([]); return $this->getCreateStatusWithOptions($request, $headers, $runtime); } /** * @param PublishPackageRequest $request * @param PublishPackageHeaders $headers * @param RuntimeOptions $runtime * * @return PublishPackageResponse */ public function publishPackageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->agentId)) { $body['agentId'] = $request->agentId; } if (!Utils::isUnset($request->appId)) { $body['appId'] = $request->appId; } if (!Utils::isUnset($request->version)) { $body['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PublishPackage', 'version' => 'h5package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/h5package/publish', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PublishPackageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PublishPackageRequest $request * * @return PublishPackageResponse */ public function publishPackage($request) { $runtime = new RuntimeOptions([]); $headers = new PublishPackageHeaders([]); return $this->publishPackageWithOptions($request, $headers, $runtime); } } src/h5package_1_0/Models/CreatePackageHeaders.php000064400000002333146412132660015537 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreatePackageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h5package_1_0/Models/CreatePackageRequest.php000064400000003501146412132660015612 0ustar00 'agentId', 'appId' => 'appId', 'homeUrl' => 'homeUrl', 'ossObjectKey' => 'ossObjectKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->homeUrl) { $res['homeUrl'] = $this->homeUrl; } if (null !== $this->ossObjectKey) { $res['ossObjectKey'] = $this->ossObjectKey; } return $res; } /** * @param array $map * * @return CreatePackageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['homeUrl'])) { $model->homeUrl = $map['homeUrl']; } if (isset($map['ossObjectKey'])) { $model->ossObjectKey = $map['ossObjectKey']; } return $model; } } src/h5package_1_0/Models/CreatePackageResponse.php000064400000002723146412132660015765 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreatePackageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreatePackageResponseBody::fromMap($map['body']); } return $model; } } src/h5package_1_0/Models/CreatePackageResponseBody.php000064400000001547146412132660016606 0ustar00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return CreatePackageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/h5package_1_0/Models/GetAccessTokenHeaders.php000064400000002335146412132660015724 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAccessTokenHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h5package_1_0/Models/GetAccessTokenRequest.php000064400000002100146412132660015767 0ustar00 'agentId', 'appId' => 'appId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->appId) { $res['appId'] = $this->appId; } return $res; } /** * @param array $map * * @return GetAccessTokenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['appId'])) { $model->appId = $map['appId']; } return $model; } } src/h5package_1_0/Models/GetAccessTokenResponse.php000064400000002727146412132660016154 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAccessTokenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAccessTokenResponseBody::fromMap($map['body']); } return $model; } } src/h5package_1_0/Models/GetAccessTokenResponseBody.php000064400000006455146412132660016774 0ustar00 'accessKeyId', 'accessKeySecret' => 'accessKeySecret', 'bucket' => 'bucket', 'endpoint' => 'endpoint', 'expiration' => 'expiration', 'name' => 'name', 'region' => 'region', 'stsToken' => 'stsToken', ]; 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->bucket) { $res['bucket'] = $this->bucket; } if (null !== $this->endpoint) { $res['endpoint'] = $this->endpoint; } if (null !== $this->expiration) { $res['expiration'] = $this->expiration; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->region) { $res['region'] = $this->region; } if (null !== $this->stsToken) { $res['stsToken'] = $this->stsToken; } return $res; } /** * @param array $map * * @return GetAccessTokenResponseBody */ 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['bucket'])) { $model->bucket = $map['bucket']; } if (isset($map['endpoint'])) { $model->endpoint = $map['endpoint']; } if (isset($map['expiration'])) { $model->expiration = $map['expiration']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['region'])) { $model->region = $map['region']; } if (isset($map['stsToken'])) { $model->stsToken = $map['stsToken']; } return $model; } } src/h5package_1_0/Models/GetCreateStatusHeaders.php000064400000002337146412132660016133 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCreateStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h5package_1_0/Models/GetCreateStatusRequest.php000064400000001541146412132660016204 0ustar00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return GetCreateStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/h5package_1_0/Models/GetCreateStatusResponse.php000064400000002733146412132660016356 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCreateStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCreateStatusResponseBody::fromMap($map['body']); } return $model; } } src/h5package_1_0/Models/GetCreateStatusResponseBody.php000064400000004623146412132660017174 0ustar00 'buildTime', 'finished' => 'finished', 'packageSize' => 'packageSize', 'status' => 'status', 'taskId' => 'taskId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->buildTime) { $res['buildTime'] = $this->buildTime; } if (null !== $this->finished) { $res['finished'] = $this->finished; } if (null !== $this->packageSize) { $res['packageSize'] = $this->packageSize; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return GetCreateStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['buildTime'])) { $model->buildTime = $map['buildTime']; } if (isset($map['finished'])) { $model->finished = $map['finished']; } if (isset($map['packageSize'])) { $model->packageSize = $map['packageSize']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/h5package_1_0/Models/PublishPackageHeaders.php000064400000002335146412132660015744 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PublishPackageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/h5package_1_0/Models/PublishPackageRequest.php000064400000002654146412132660016025 0ustar00 'agentId', 'appId' => 'appId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return PublishPackageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/h5package_1_0/Models/PublishPackageResponse.php000064400000002727146412132660016174 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PublishPackageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PublishPackageResponseBody::fromMap($map['body']); } return $model; } } src/h5package_1_0/Models/PublishPackageResponseBody.php000064400000001507146412132660017005 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return PublishPackageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/hrbrain_1_0/Dingtalk.php000064400000006201146412132660011671 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param SyncDataRequest $request * @param SyncDataHeaders $headers * @param RuntimeOptions $runtime * * @return SyncDataResponse */ public function syncDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->dataId)) { $body['dataId'] = $request->dataId; } if (!Utils::isUnset($request->etlTime)) { $body['etlTime'] = $request->etlTime; } if (!Utils::isUnset($request->projectId)) { $body['projectId'] = $request->projectId; } if (!Utils::isUnset($request->schemaId)) { $body['schemaId'] = $request->schemaId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->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' => 'hrbrain_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrbrain/datas', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return SyncDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SyncDataRequest $request * * @return SyncDataResponse */ public function syncData($request) { $runtime = new RuntimeOptions([]); $headers = new SyncDataHeaders([]); return $this->syncDataWithOptions($request, $headers, $runtime); } } src/hrbrain_1_0/Models/SyncDataHeaders.php000064400000002317146412132660014365 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/hrbrain_1_0/Models/SyncDataRequest.php000064400000003647146412132660014451 0ustar00 'content', 'dataId' => 'dataId', 'etlTime' => 'etlTime', 'projectId' => 'projectId', 'schemaId' => 'schemaId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->dataId) { $res['dataId'] = $this->dataId; } if (null !== $this->etlTime) { $res['etlTime'] = $this->etlTime; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->schemaId) { $res['schemaId'] = $this->schemaId; } return $res; } /** * @param array $map * * @return SyncDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['dataId'])) { $model->dataId = $map['dataId']; } if (isset($map['etlTime'])) { $model->etlTime = $map['etlTime']; } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['schemaId'])) { $model->schemaId = $map['schemaId']; } return $model; } } src/hrbrain_1_0/Models/SyncDataResponse.php000064400000002675146412132660014617 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/hrbrain_1_0/Models/SyncDataResponseBody.php000064400000001471146412132660015426 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SyncDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/hrm_1_0/Dingtalk.php000064400000217313146412132660011042 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_signatureAlgorithm = 'v2'; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddHrmPreentryRequest $request * @param AddHrmPreentryHeaders $headers * @param RuntimeOptions $runtime * * @return AddHrmPreentryResponse */ public function addHrmPreentryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->agentId)) { $body['agentId'] = $request->agentId; } if (!Utils::isUnset($request->groups)) { $body['groups'] = $request->groups; } if (!Utils::isUnset($request->mobile)) { $body['mobile'] = $request->mobile; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->needSendPreEntryMsg)) { $body['needSendPreEntryMsg'] = $request->needSendPreEntryMsg; } if (!Utils::isUnset($request->preEntryTime)) { $body['preEntryTime'] = $request->preEntryTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddHrmPreentry', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/preentries', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddHrmPreentryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddHrmPreentryRequest $request * * @return AddHrmPreentryResponse */ public function addHrmPreentry($request) { $runtime = new RuntimeOptions([]); $headers = new AddHrmPreentryHeaders([]); return $this->addHrmPreentryWithOptions($request, $headers, $runtime); } /** * @param string[] $headers * @param RuntimeOptions $runtime * * @return DeviceMarketManagerResponse */ public function deviceMarketManagerWithOptions($headers, $runtime) { $req = new OpenApiRequest([ 'headers' => $headers, ]); $params = new Params([ 'action' => 'DeviceMarketManager', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/device/market/manager', 'method' => 'GET', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeviceMarketManagerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return DeviceMarketManagerResponse */ public function deviceMarketManager() { $runtime = new RuntimeOptions([]); $headers = []; return $this->deviceMarketManagerWithOptions($headers, $runtime); } /** * @param string[] $headers * @param RuntimeOptions $runtime * * @return DeviceMarketOrderManagerResponse */ public function deviceMarketOrderManagerWithOptions($headers, $runtime) { $req = new OpenApiRequest([ 'headers' => $headers, ]); $params = new Params([ 'action' => 'DeviceMarketOrderManager', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/device/market/order/manager', 'method' => 'GET', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeviceMarketOrderManagerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return DeviceMarketOrderManagerResponse */ public function deviceMarketOrderManager() { $runtime = new RuntimeOptions([]); $headers = []; return $this->deviceMarketOrderManagerWithOptions($headers, $runtime); } /** * @param ECertQueryRequest $request * @param ECertQueryHeaders $headers * @param RuntimeOptions $runtime * * @return ECertQueryResponse */ public function eCertQueryWithOptions($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' => 'ECertQuery', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/eCerts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ECertQueryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ECertQueryRequest $request * * @return ECertQueryResponse */ public function eCertQuery($request) { $runtime = new RuntimeOptions([]); $headers = new ECertQueryHeaders([]); return $this->eCertQueryWithOptions($request, $headers, $runtime); } /** * @param EmployeeAttachmentUpdateRequest $request * @param EmployeeAttachmentUpdateHeaders $headers * @param RuntimeOptions $runtime * * @return EmployeeAttachmentUpdateResponse */ public function employeeAttachmentUpdateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appAgentId)) { $query['appAgentId'] = $request->appAgentId; } $body = []; if (!Utils::isUnset($request->fieldCode)) { $body['fieldCode'] = $request->fieldCode; } if (!Utils::isUnset($request->fileSuffix)) { $body['fileSuffix'] = $request->fileSuffix; } if (!Utils::isUnset($request->mediaId)) { $body['mediaId'] = $request->mediaId; } 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' => 'EmployeeAttachmentUpdate', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/employees/attachments', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EmployeeAttachmentUpdateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EmployeeAttachmentUpdateRequest $request * * @return EmployeeAttachmentUpdateResponse */ public function employeeAttachmentUpdate($request) { $runtime = new RuntimeOptions([]); $headers = new EmployeeAttachmentUpdateHeaders([]); return $this->employeeAttachmentUpdateWithOptions($request, $headers, $runtime); } /** * @param EsignRollbackRequest $request * @param EsignRollbackHeaders $headers * @param RuntimeOptions $runtime * * @return EsignRollbackResponse */ public function esignRollbackWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->optUserId)) { $query['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, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'EsignRollback', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/contracts/esign/rollback', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EsignRollbackResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EsignRollbackRequest $request * * @return EsignRollbackResponse */ public function esignRollback($request) { $runtime = new RuntimeOptions([]); $headers = new EsignRollbackHeaders([]); return $this->esignRollbackWithOptions($request, $headers, $runtime); } /** * @param HrmMailSendRequest $request * @param HrmMailSendHeaders $headers * @param RuntimeOptions $runtime * * @return HrmMailSendResponse */ public function hrmMailSendWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->mail)) { $body['mail'] = $request->mail; } 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' => 'HrmMailSend', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/mails/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return HrmMailSendResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param HrmMailSendRequest $request * * @return HrmMailSendResponse */ public function hrmMailSend($request) { $runtime = new RuntimeOptions([]); $headers = new HrmMailSendHeaders([]); return $this->hrmMailSendWithOptions($request, $headers, $runtime); } /** * @param HrmMokaEventRequest $request * @param HrmMokaEventHeaders $headers * @param RuntimeOptions $runtime * * @return HrmMokaEventResponse */ public function hrmMokaEventWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'HrmMokaEvent', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/moka/events/forward', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return HrmMokaEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param HrmMokaEventRequest $request * * @return HrmMokaEventResponse */ public function hrmMokaEvent($request) { $runtime = new RuntimeOptions([]); $headers = new HrmMokaEventHeaders([]); return $this->hrmMokaEventWithOptions($request, $headers, $runtime); } /** * @param HrmMokaOapiRequest $request * @param HrmMokaOapiHeaders $headers * @param RuntimeOptions $runtime * * @return HrmMokaOapiResponse */ public function hrmMokaOapiWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->apiCode)) { $body['apiCode'] = $request->apiCode; } if (!Utils::isUnset($request->params)) { $body['params'] = $request->params; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'HrmMokaOapi', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/moka/forward', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return HrmMokaOapiResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param HrmMokaOapiRequest $request * * @return HrmMokaOapiResponse */ public function hrmMokaOapi($request) { $runtime = new RuntimeOptions([]); $headers = new HrmMokaOapiHeaders([]); return $this->hrmMokaOapiWithOptions($request, $headers, $runtime); } /** * @param HrmProcessRegularRequest $request * @param HrmProcessRegularHeaders $headers * @param RuntimeOptions $runtime * * @return HrmProcessRegularResponse */ public function hrmProcessRegularWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->operationId)) { $body['operationId'] = $request->operationId; } if (!Utils::isUnset($request->regularDate)) { $body['regularDate'] = $request->regularDate; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } 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' => 'HrmProcessRegular', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/processes/regulars/become', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return HrmProcessRegularResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param HrmProcessRegularRequest $request * * @return HrmProcessRegularResponse */ public function hrmProcessRegular($request) { $runtime = new RuntimeOptions([]); $headers = new HrmProcessRegularHeaders([]); return $this->hrmProcessRegularWithOptions($request, $headers, $runtime); } /** * @param HrmProcessTransferRequest $request * @param HrmProcessTransferHeaders $headers * @param RuntimeOptions $runtime * * @return HrmProcessTransferResponse */ public function hrmProcessTransferWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptIdsAfterTransfer)) { $body['deptIdsAfterTransfer'] = $request->deptIdsAfterTransfer; } if (!Utils::isUnset($request->jobIdAfterTransfer)) { $body['jobIdAfterTransfer'] = $request->jobIdAfterTransfer; } if (!Utils::isUnset($request->mainDeptIdAfterTransfer)) { $body['mainDeptIdAfterTransfer'] = $request->mainDeptIdAfterTransfer; } if (!Utils::isUnset($request->operateUserId)) { $body['operateUserId'] = $request->operateUserId; } if (!Utils::isUnset($request->positionIdAfterTransfer)) { $body['positionIdAfterTransfer'] = $request->positionIdAfterTransfer; } if (!Utils::isUnset($request->positionLevelAfterTransfer)) { $body['positionLevelAfterTransfer'] = $request->positionLevelAfterTransfer; } if (!Utils::isUnset($request->positionNameAfterTransfer)) { $body['positionNameAfterTransfer'] = $request->positionNameAfterTransfer; } if (!Utils::isUnset($request->rankIdAfterTransfer)) { $body['rankIdAfterTransfer'] = $request->rankIdAfterTransfer; } 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' => 'HrmProcessTransfer', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/processes/transfer', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return HrmProcessTransferResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param HrmProcessTransferRequest $request * * @return HrmProcessTransferResponse */ public function hrmProcessTransfer($request) { $runtime = new RuntimeOptions([]); $headers = new HrmProcessTransferHeaders([]); return $this->hrmProcessTransferWithOptions($request, $headers, $runtime); } /** * @param HrmProcessUpdateTerminationInfoRequest $request * @param HrmProcessUpdateTerminationInfoHeaders $headers * @param RuntimeOptions $runtime * * @return HrmProcessUpdateTerminationInfoResponse */ public function hrmProcessUpdateTerminationInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->dismissionMemo)) { $body['dismissionMemo'] = $request->dismissionMemo; } if (!Utils::isUnset($request->lastWorkDate)) { $body['lastWorkDate'] = $request->lastWorkDate; } 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' => 'HrmProcessUpdateTerminationInfo', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/processes/employees/terminations', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return HrmProcessUpdateTerminationInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param HrmProcessUpdateTerminationInfoRequest $request * * @return HrmProcessUpdateTerminationInfoResponse */ public function hrmProcessUpdateTerminationInfo($request) { $runtime = new RuntimeOptions([]); $headers = new HrmProcessUpdateTerminationInfoHeaders([]); return $this->hrmProcessUpdateTerminationInfoWithOptions($request, $headers, $runtime); } /** * @param MasterDataDeleteRequest $request * @param MasterDataDeleteHeaders $headers * @param RuntimeOptions $runtime * * @return MasterDataDeleteResponse */ public function masterDataDeleteWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->tenantId)) { $query['tenantId'] = $request->tenantId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => Utils::toArray($request->body), ]); $params = new Params([ 'action' => 'MasterDataDelete', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/masters/datas/batchRemove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return MasterDataDeleteResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param MasterDataDeleteRequest $request * * @return MasterDataDeleteResponse */ public function masterDataDelete($request) { $runtime = new RuntimeOptions([]); $headers = new MasterDataDeleteHeaders([]); return $this->masterDataDeleteWithOptions($request, $headers, $runtime); } /** * @param MasterDataQueryRequest $request * @param MasterDataQueryHeaders $headers * @param RuntimeOptions $runtime * * @return MasterDataQueryResponse */ public function masterDataQueryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizUK)) { $body['bizUK'] = $request->bizUK; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->optUserId)) { $body['optUserId'] = $request->optUserId; } if (!Utils::isUnset($request->queryParams)) { $body['queryParams'] = $request->queryParams; } if (!Utils::isUnset($request->relationIds)) { $body['relationIds'] = $request->relationIds; } if (!Utils::isUnset($request->scopeCode)) { $body['scopeCode'] = $request->scopeCode; } if (!Utils::isUnset($request->tenantId)) { $body['tenantId'] = $request->tenantId; } if (!Utils::isUnset($request->viewEntityCode)) { $body['viewEntityCode'] = $request->viewEntityCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'MasterDataQuery', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/masters/datas/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return MasterDataQueryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param MasterDataQueryRequest $request * * @return MasterDataQueryResponse */ public function masterDataQuery($request) { $runtime = new RuntimeOptions([]); $headers = new MasterDataQueryHeaders([]); return $this->masterDataQueryWithOptions($request, $headers, $runtime); } /** * @param MasterDataSaveRequest $request * @param MasterDataSaveHeaders $headers * @param RuntimeOptions $runtime * * @return MasterDataSaveResponse */ public function masterDataSaveWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->tenantId)) { $query['tenantId'] = $request->tenantId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => Utils::toArray($request->body), ]); $params = new Params([ 'action' => 'MasterDataSave', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/masters/datas/save', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return MasterDataSaveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param MasterDataSaveRequest $request * * @return MasterDataSaveResponse */ public function masterDataSave($request) { $runtime = new RuntimeOptions([]); $headers = new MasterDataSaveHeaders([]); return $this->masterDataSaveWithOptions($request, $headers, $runtime); } /** * @param MasterDataTenantQueyRequest $request * @param MasterDataTenantQueyHeaders $headers * @param RuntimeOptions $runtime * * @return MasterDataTenantQueyResponse */ public function masterDataTenantQueyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->entityCode)) { $query['entityCode'] = $request->entityCode; } if (!Utils::isUnset($request->scopeCode)) { $query['scopeCode'] = $request->scopeCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'MasterDataTenantQuey', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/masters/tenants', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return MasterDataTenantQueyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param MasterDataTenantQueyRequest $request * * @return MasterDataTenantQueyResponse */ public function masterDataTenantQuey($request) { $runtime = new RuntimeOptions([]); $headers = new MasterDataTenantQueyHeaders([]); return $this->masterDataTenantQueyWithOptions($request, $headers, $runtime); } /** * @param MasterDatasQueryRequest $request * @param MasterDatasQueryHeaders $headers * @param RuntimeOptions $runtime * * @return MasterDatasQueryResponse */ public function masterDatasQueryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizUK)) { $body['bizUK'] = $request->bizUK; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->queryParams)) { $body['queryParams'] = $request->queryParams; } if (!Utils::isUnset($request->relationIds)) { $body['relationIds'] = $request->relationIds; } if (!Utils::isUnset($request->scopeCode)) { $body['scopeCode'] = $request->scopeCode; } if (!Utils::isUnset($request->tenantId)) { $body['tenantId'] = $request->tenantId; } if (!Utils::isUnset($request->viewEntityCode)) { $body['viewEntityCode'] = $request->viewEntityCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'MasterDatasQuery', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/masterDatas/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return MasterDatasQueryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param MasterDatasQueryRequest $request * * @return MasterDatasQueryResponse */ public function masterDatasQuery($request) { $runtime = new RuntimeOptions([]); $headers = new MasterDatasQueryHeaders([]); return $this->masterDatasQueryWithOptions($request, $headers, $runtime); } /** * @param QueryCustomEntryProcessesRequest $request * @param QueryCustomEntryProcessesHeaders $headers * @param RuntimeOptions $runtime * * @return QueryCustomEntryProcessesResponse */ public function queryCustomEntryProcessesWithOptions($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->operateUserId)) { $query['operateUserId'] = $request->operateUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCustomEntryProcesses', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/customEntryProcesses', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryCustomEntryProcessesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryCustomEntryProcessesRequest $request * * @return QueryCustomEntryProcessesResponse */ public function queryCustomEntryProcesses($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCustomEntryProcessesHeaders([]); return $this->queryCustomEntryProcessesWithOptions($request, $headers, $runtime); } /** * @param QueryDismissionStaffIdListRequest $request * @param QueryDismissionStaffIdListHeaders $headers * @param RuntimeOptions $runtime * * @return QueryDismissionStaffIdListResponse */ public function queryDismissionStaffIdListWithOptions($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' => 'QueryDismissionStaffIdList', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/employees/dismissions', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDismissionStaffIdListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryDismissionStaffIdListRequest $request * * @return QueryDismissionStaffIdListResponse */ public function queryDismissionStaffIdList($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDismissionStaffIdListHeaders([]); return $this->queryDismissionStaffIdListWithOptions($request, $headers, $runtime); } /** * @param QueryHrmEmployeeDismissionInfoRequest $tmpReq * @param QueryHrmEmployeeDismissionInfoHeaders $headers * @param RuntimeOptions $runtime * * @return QueryHrmEmployeeDismissionInfoResponse */ public function queryHrmEmployeeDismissionInfoWithOptions($tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new QueryHrmEmployeeDismissionInfoShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->userIdList)) { $request->userIdListShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->userIdList, 'userIdList', 'json'); } $query = []; if (!Utils::isUnset($request->userIdListShrink)) { $query['userIdList'] = $request->userIdListShrink; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryHrmEmployeeDismissionInfo', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/employees/dimissionInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryHrmEmployeeDismissionInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryHrmEmployeeDismissionInfoRequest $request * * @return QueryHrmEmployeeDismissionInfoResponse */ public function queryHrmEmployeeDismissionInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryHrmEmployeeDismissionInfoHeaders([]); return $this->queryHrmEmployeeDismissionInfoWithOptions($request, $headers, $runtime); } /** * @param QueryJobRanksRequest $request * @param QueryJobRanksHeaders $headers * @param RuntimeOptions $runtime * * @return QueryJobRanksResponse */ public function queryJobRanksWithOptions($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->rankCategoryId)) { $query['rankCategoryId'] = $request->rankCategoryId; } if (!Utils::isUnset($request->rankCode)) { $query['rankCode'] = $request->rankCode; } if (!Utils::isUnset($request->rankName)) { $query['rankName'] = $request->rankName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryJobRanks', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/jobRanks', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryJobRanksResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryJobRanksRequest $request * * @return QueryJobRanksResponse */ public function queryJobRanks($request) { $runtime = new RuntimeOptions([]); $headers = new QueryJobRanksHeaders([]); return $this->queryJobRanksWithOptions($request, $headers, $runtime); } /** * @param QueryJobsRequest $request * @param QueryJobsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryJobsResponse */ public function queryJobsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->jobName)) { $query['jobName'] = $request->jobName; } 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' => 'QueryJobs', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/jobs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryJobsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryJobsRequest $request * * @return QueryJobsResponse */ public function queryJobs($request) { $runtime = new RuntimeOptions([]); $headers = new QueryJobsHeaders([]); return $this->queryJobsWithOptions($request, $headers, $runtime); } /** * @param QueryPositionsRequest $request * @param QueryPositionsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryPositionsResponse */ public function queryPositionsWithOptions($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; } $body = []; if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } if (!Utils::isUnset($request->inCategoryIds)) { $body['inCategoryIds'] = $request->inCategoryIds; } if (!Utils::isUnset($request->inPositionIds)) { $body['inPositionIds'] = $request->inPositionIds; } if (!Utils::isUnset($request->positionName)) { $body['positionName'] = $request->positionName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'QueryPositions', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/positions/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryPositionsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryPositionsRequest $request * * @return QueryPositionsResponse */ public function queryPositions($request) { $runtime = new RuntimeOptions([]); $headers = new QueryPositionsHeaders([]); return $this->queryPositionsWithOptions($request, $headers, $runtime); } /** * @param RosterMetaAvailableFieldListRequest $request * @param RosterMetaAvailableFieldListHeaders $headers * @param RuntimeOptions $runtime * * @return RosterMetaAvailableFieldListResponse */ public function rosterMetaAvailableFieldListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appAgentId)) { $query['appAgentId'] = $request->appAgentId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'RosterMetaAvailableFieldList', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/rosters/meta/authorities/fields', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RosterMetaAvailableFieldListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RosterMetaAvailableFieldListRequest $request * * @return RosterMetaAvailableFieldListResponse */ public function rosterMetaAvailableFieldList($request) { $runtime = new RuntimeOptions([]); $headers = new RosterMetaAvailableFieldListHeaders([]); return $this->rosterMetaAvailableFieldListWithOptions($request, $headers, $runtime); } /** * @param RosterMetaFieldOptionsUpdateRequest $request * @param RosterMetaFieldOptionsUpdateHeaders $headers * @param RuntimeOptions $runtime * * @return RosterMetaFieldOptionsUpdateResponse */ public function rosterMetaFieldOptionsUpdateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appAgentId)) { $query['appAgentId'] = $request->appAgentId; } $body = []; if (!Utils::isUnset($request->fieldCode)) { $body['fieldCode'] = $request->fieldCode; } if (!Utils::isUnset($request->groupId)) { $body['groupId'] = $request->groupId; } if (!Utils::isUnset($request->labels)) { $body['labels'] = $request->labels; } if (!Utils::isUnset($request->modifyType)) { $body['modifyType'] = $request->modifyType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'RosterMetaFieldOptionsUpdate', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/rosters/meta/fields/options', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RosterMetaFieldOptionsUpdateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RosterMetaFieldOptionsUpdateRequest $request * * @return RosterMetaFieldOptionsUpdateResponse */ public function rosterMetaFieldOptionsUpdate($request) { $runtime = new RuntimeOptions([]); $headers = new RosterMetaFieldOptionsUpdateHeaders([]); return $this->rosterMetaFieldOptionsUpdateWithOptions($request, $headers, $runtime); } /** * @param SendIsvCardMessageRequest $request * @param SendIsvCardMessageHeaders $headers * @param RuntimeOptions $runtime * * @return SendIsvCardMessageResponse */ public function sendIsvCardMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->agentId)) { $query['agentId'] = $request->agentId; } $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->messageType)) { $body['messageType'] = $request->messageType; } if (!Utils::isUnset($request->receiverUserIds)) { $body['receiverUserIds'] = $request->receiverUserIds; } if (!Utils::isUnset($request->sceneType)) { $body['sceneType'] = $request->sceneType; } if (!Utils::isUnset($request->scope)) { $body['scope'] = $request->scope; } if (!Utils::isUnset($request->senderUserId)) { $body['senderUserId'] = $request->senderUserId; } if (!Utils::isUnset($request->valueMap)) { $body['valueMap'] = $request->valueMap; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'SendIsvCardMessage', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/cardMessages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendIsvCardMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendIsvCardMessageRequest $request * * @return SendIsvCardMessageResponse */ public function sendIsvCardMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendIsvCardMessageHeaders([]); return $this->sendIsvCardMessageWithOptions($request, $headers, $runtime); } /** * @param SolutionTaskInitRequest $request * @param SolutionTaskInitHeaders $headers * @param RuntimeOptions $runtime * * @return SolutionTaskInitResponse */ public function solutionTaskInitWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->solutionType)) { $query['solutionType'] = $request->solutionType; } $body = []; if (!Utils::isUnset($request->category)) { $body['category'] = $request->category; } if (!Utils::isUnset($request->claimTime)) { $body['claimTime'] = $request->claimTime; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->finishTime)) { $body['finishTime'] = $request->finishTime; } if (!Utils::isUnset($request->outerId)) { $body['outerId'] = $request->outerId; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } 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, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SolutionTaskInit', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/solutions/tasks/init', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SolutionTaskInitResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SolutionTaskInitRequest $request * * @return SolutionTaskInitResponse */ public function solutionTaskInit($request) { $runtime = new RuntimeOptions([]); $headers = new SolutionTaskInitHeaders([]); return $this->solutionTaskInitWithOptions($request, $headers, $runtime); } /** * @param SolutionTaskSaveRequest $request * @param SolutionTaskSaveHeaders $headers * @param RuntimeOptions $runtime * * @return SolutionTaskSaveResponse */ public function solutionTaskSaveWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->solutionType)) { $query['solutionType'] = $request->solutionType; } $body = []; if (!Utils::isUnset($request->claimTime)) { $body['claimTime'] = $request->claimTime; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->finishTime)) { $body['finishTime'] = $request->finishTime; } if (!Utils::isUnset($request->outerId)) { $body['outerId'] = $request->outerId; } if (!Utils::isUnset($request->solutionInstanceId)) { $body['solutionInstanceId'] = $request->solutionInstanceId; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } if (!Utils::isUnset($request->taskType)) { $body['taskType'] = $request->taskType; } if (!Utils::isUnset($request->templateOuterId)) { $body['templateOuterId'] = $request->templateOuterId; } 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, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SolutionTaskSave', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/solutions/tasks/save', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SolutionTaskSaveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SolutionTaskSaveRequest $request * * @return SolutionTaskSaveResponse */ public function solutionTaskSave($request) { $runtime = new RuntimeOptions([]); $headers = new SolutionTaskSaveHeaders([]); return $this->solutionTaskSaveWithOptions($request, $headers, $runtime); } /** * @param SyncTaskTemplateRequest $request * @param SyncTaskTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return SyncTaskTemplateResponse */ public function syncTaskTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->solutionType)) { $query['solutionType'] = $request->solutionType; } $body = []; if (!Utils::isUnset($request->delete)) { $body['delete'] = $request->delete; } if (!Utils::isUnset($request->des)) { $body['des'] = $request->des; } if (!Utils::isUnset($request->ext)) { $body['ext'] = $request->ext; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->optUserId)) { $body['optUserId'] = $request->optUserId; } if (!Utils::isUnset($request->outerId)) { $body['outerId'] = $request->outerId; } if (!Utils::isUnset($request->taskScopeVO)) { $body['taskScopeVO'] = $request->taskScopeVO; } if (!Utils::isUnset($request->taskType)) { $body['taskType'] = $request->taskType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'SyncTaskTemplate', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/solutions/tasks/templates/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SyncTaskTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SyncTaskTemplateRequest $request * * @return SyncTaskTemplateResponse */ public function syncTaskTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new SyncTaskTemplateHeaders([]); return $this->syncTaskTemplateWithOptions($request, $headers, $runtime); } /** * @param UpdateIsvCardMessageRequest $request * @param UpdateIsvCardMessageHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateIsvCardMessageResponse */ public function updateIsvCardMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->agentId)) { $query['agentId'] = $request->agentId; } $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->messageType)) { $body['messageType'] = $request->messageType; } if (!Utils::isUnset($request->sceneType)) { $body['sceneType'] = $request->sceneType; } if (!Utils::isUnset($request->scope)) { $body['scope'] = $request->scope; } if (!Utils::isUnset($request->valueMap)) { $body['valueMap'] = $request->valueMap; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdateIsvCardMessage', 'version' => 'hrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/hrm/cardMessages', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateIsvCardMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateIsvCardMessageRequest $request * * @return UpdateIsvCardMessageResponse */ public function updateIsvCardMessage($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateIsvCardMessageHeaders([]); return $this->updateIsvCardMessageWithOptions($request, $headers, $runtime); } } src/hrm_1_0/Models/AddHrmPreentryHeaders.php000064400000002327146412132660014711 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddHrmPreentryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/AddHrmPreentryRequest.php000064400000005612146412132660014766 0ustar00 'agentId', 'groups' => 'groups', 'mobile' => 'mobile', 'name' => 'name', 'needSendPreEntryMsg' => 'needSendPreEntryMsg', 'preEntryTime' => 'preEntryTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } 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->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->needSendPreEntryMsg) { $res['needSendPreEntryMsg'] = $this->needSendPreEntryMsg; } if (null !== $this->preEntryTime) { $res['preEntryTime'] = $this->preEntryTime; } return $res; } /** * @param array $map * * @return AddHrmPreentryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } 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['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['needSendPreEntryMsg'])) { $model->needSendPreEntryMsg = $map['needSendPreEntryMsg']; } if (isset($map['preEntryTime'])) { $model->preEntryTime = $map['preEntryTime']; } return $model; } } src/hrm_1_0/Models/AddHrmPreentryRequest/groups.php000064400000003306146412132660016303 0ustar00 'groupId', 'sections' => 'sections', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } 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 groups */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } 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/hrm_1_0/Models/AddHrmPreentryRequest/groups/sections.php000064400000003515146412132660020134 0ustar00 'empFieldVOList', 'oldIndex' => 'oldIndex', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->empFieldVOList) { $res['empFieldVOList'] = []; if (null !== $this->empFieldVOList && \is_array($this->empFieldVOList)) { $n = 0; foreach ($this->empFieldVOList as $item) { $res['empFieldVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->oldIndex) { $res['oldIndex'] = $this->oldIndex; } return $res; } /** * @param array $map * * @return sections */ public static function fromMap($map = []) { $model = new self(); if (isset($map['empFieldVOList'])) { if (!empty($map['empFieldVOList'])) { $model->empFieldVOList = []; $n = 0; foreach ($map['empFieldVOList'] as $item) { $model->empFieldVOList[$n++] = null !== $item ? empFieldVOList::fromMap($item) : $item; } } } if (isset($map['oldIndex'])) { $model->oldIndex = $map['oldIndex']; } return $model; } } src/hrm_1_0/Models/AddHrmPreentryRequest/groups/sections/empFieldVOList.php000064400000002265146412132660022763 0ustar00 'fieldCode', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldCode) { $res['fieldCode'] = $this->fieldCode; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return empFieldVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldCode'])) { $model->fieldCode = $map['fieldCode']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/hrm_1_0/Models/AddHrmPreentryResponse.php000064400000002721146412132660015132 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddHrmPreentryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddHrmPreentryResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/AddHrmPreentryResponseBody.php000064400000001567146412132660015757 0ustar00 'tmpUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->tmpUserId) { $res['tmpUserId'] = $this->tmpUserId; } return $res; } /** * @param array $map * * @return AddHrmPreentryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['tmpUserId'])) { $model->tmpUserId = $map['tmpUserId']; } return $model; } } src/hrm_1_0/Models/DeviceMarketManagerResponse.php000064400000002745146412132660016106 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeviceMarketManagerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeviceMarketManagerResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/DeviceMarketManagerResponseBody.php000064400000001537146412132660016722 0ustar00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return DeviceMarketManagerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/hrm_1_0/Models/DeviceMarketOrderManagerResponse.php000064400000002771146412132660017101 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeviceMarketOrderManagerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeviceMarketOrderManagerResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/DeviceMarketOrderManagerResponseBody.php000064400000001551146412132660017712 0ustar00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return DeviceMarketOrderManagerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/hrm_1_0/Models/ECertQueryHeaders.php000064400000002317146412132660014050 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ECertQueryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/ECertQueryRequest.php000064400000001512146412132660014121 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ECertQueryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/hrm_1_0/Models/ECertQueryResponse.php000064400000002701146412132660014270 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ECertQueryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ECertQueryResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/ECertQueryResponseBody.php000064400000014567146412132660015123 0ustar00 'certNO', 'employJobId' => 'employJobId', 'employJobIdLabel' => 'employJobIdLabel', 'employPositionId' => 'employPositionId', 'employPositionIdLabel' => 'employPositionIdLabel', 'employPositionRankId' => 'employPositionRankId', 'employPositionRankIdLabel' => 'employPositionRankIdLabel', 'hiredDate' => 'hiredDate', 'lastWorkDay' => 'lastWorkDay', 'mainDeptId' => 'mainDeptId', 'mainDeptName' => 'mainDeptName', 'name' => 'name', 'realName' => 'realName', 'terminationReasonPassive' => 'terminationReasonPassive', 'terminationReasonVoluntary' => 'terminationReasonVoluntary', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->certNO) { $res['certNO'] = $this->certNO; } if (null !== $this->employJobId) { $res['employJobId'] = $this->employJobId; } if (null !== $this->employJobIdLabel) { $res['employJobIdLabel'] = $this->employJobIdLabel; } if (null !== $this->employPositionId) { $res['employPositionId'] = $this->employPositionId; } if (null !== $this->employPositionIdLabel) { $res['employPositionIdLabel'] = $this->employPositionIdLabel; } if (null !== $this->employPositionRankId) { $res['employPositionRankId'] = $this->employPositionRankId; } if (null !== $this->employPositionRankIdLabel) { $res['employPositionRankIdLabel'] = $this->employPositionRankIdLabel; } if (null !== $this->hiredDate) { $res['hiredDate'] = $this->hiredDate; } if (null !== $this->lastWorkDay) { $res['lastWorkDay'] = $this->lastWorkDay; } if (null !== $this->mainDeptId) { $res['mainDeptId'] = $this->mainDeptId; } if (null !== $this->mainDeptName) { $res['mainDeptName'] = $this->mainDeptName; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->realName) { $res['realName'] = $this->realName; } if (null !== $this->terminationReasonPassive) { $res['terminationReasonPassive'] = $this->terminationReasonPassive; } if (null !== $this->terminationReasonVoluntary) { $res['terminationReasonVoluntary'] = $this->terminationReasonVoluntary; } return $res; } /** * @param array $map * * @return ECertQueryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['certNO'])) { $model->certNO = $map['certNO']; } if (isset($map['employJobId'])) { $model->employJobId = $map['employJobId']; } if (isset($map['employJobIdLabel'])) { $model->employJobIdLabel = $map['employJobIdLabel']; } if (isset($map['employPositionId'])) { $model->employPositionId = $map['employPositionId']; } if (isset($map['employPositionIdLabel'])) { $model->employPositionIdLabel = $map['employPositionIdLabel']; } if (isset($map['employPositionRankId'])) { $model->employPositionRankId = $map['employPositionRankId']; } if (isset($map['employPositionRankIdLabel'])) { $model->employPositionRankIdLabel = $map['employPositionRankIdLabel']; } if (isset($map['hiredDate'])) { $model->hiredDate = $map['hiredDate']; } if (isset($map['lastWorkDay'])) { $model->lastWorkDay = $map['lastWorkDay']; } if (isset($map['mainDeptId'])) { $model->mainDeptId = $map['mainDeptId']; } if (isset($map['mainDeptName'])) { $model->mainDeptName = $map['mainDeptName']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['realName'])) { $model->realName = $map['realName']; } if (isset($map['terminationReasonPassive'])) { if (!empty($map['terminationReasonPassive'])) { $model->terminationReasonPassive = $map['terminationReasonPassive']; } } if (isset($map['terminationReasonVoluntary'])) { if (!empty($map['terminationReasonVoluntary'])) { $model->terminationReasonVoluntary = $map['terminationReasonVoluntary']; } } return $model; } } src/hrm_1_0/Models/EmployeeAttachmentUpdateHeaders.php000064400000002353146412132660016753 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EmployeeAttachmentUpdateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/EmployeeAttachmentUpdateRequest.php000064400000004126146412132660017030 0ustar00 'appAgentId', 'fieldCode' => 'fieldCode', 'fileSuffix' => 'fileSuffix', 'mediaId' => 'mediaId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appAgentId) { $res['appAgentId'] = $this->appAgentId; } if (null !== $this->fieldCode) { $res['fieldCode'] = $this->fieldCode; } if (null !== $this->fileSuffix) { $res['fileSuffix'] = $this->fileSuffix; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return EmployeeAttachmentUpdateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appAgentId'])) { $model->appAgentId = $map['appAgentId']; } if (isset($map['fieldCode'])) { $model->fieldCode = $map['fieldCode']; } if (isset($map['fileSuffix'])) { $model->fileSuffix = $map['fileSuffix']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/hrm_1_0/Models/EmployeeAttachmentUpdateResponse.php000064400000002771146412132660017202 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EmployeeAttachmentUpdateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EmployeeAttachmentUpdateResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/EmployeeAttachmentUpdateResponseBody.php000064400000002142146412132660020010 0ustar00 '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 EmployeeAttachmentUpdateResponseBody */ 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/hrm_1_0/Models/EsignRollbackHeaders.php000064400000002325146412132660014536 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EsignRollbackHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/EsignRollbackRequest.php000064400000001511146412132660014607 0ustar00 'optUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->optUserId) { $res['optUserId'] = $this->optUserId; } return $res; } /** * @param array $map * * @return EsignRollbackRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['optUserId'])) { $model->optUserId = $map['optUserId']; } return $model; } } src/hrm_1_0/Models/EsignRollbackResponse.php000064400000002715146412132660014764 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EsignRollbackResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EsignRollbackResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/EsignRollbackResponseBody.php000064400000001466146412132660015604 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return EsignRollbackResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/hrm_1_0/Models/HrmMailSendHeaders.php000064400000002321146412132660014156 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return HrmMailSendHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/HrmMailSendRequest.php000064400000002502146412132660014234 0ustar00 'mail', 'operator' => 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mail) { $res['mail'] = null !== $this->mail ? $this->mail->toMap() : null; } if (null !== $this->operator) { $res['operator'] = null !== $this->operator ? $this->operator->toMap() : null; } return $res; } /** * @param array $map * * @return HrmMailSendRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mail'])) { $model->mail = mail::fromMap($map['mail']); } if (isset($map['operator'])) { $model->operator = operator::fromMap($map['operator']); } return $model; } } src/hrm_1_0/Models/HrmMailSendRequest/mail.php000064400000007725146412132660015172 0ustar00 'attachments', 'bccAddress' => 'bccAddress', 'ccAddress' => 'ccAddress', 'content' => 'content', 'meeting' => 'meeting', 'receiverAddress' => 'receiverAddress', 'senderAlias' => 'senderAlias', 'subject' => 'subject', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->bccAddress) { $res['bccAddress'] = $this->bccAddress; } if (null !== $this->ccAddress) { $res['ccAddress'] = $this->ccAddress; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->meeting) { $res['meeting'] = null !== $this->meeting ? $this->meeting->toMap() : null; } if (null !== $this->receiverAddress) { $res['receiverAddress'] = $this->receiverAddress; } if (null !== $this->senderAlias) { $res['senderAlias'] = $this->senderAlias; } if (null !== $this->subject) { $res['subject'] = $this->subject; } return $res; } /** * @param array $map * * @return mail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['bccAddress'])) { $model->bccAddress = $map['bccAddress']; } if (isset($map['ccAddress'])) { $model->ccAddress = $map['ccAddress']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['meeting'])) { $model->meeting = meeting::fromMap($map['meeting']); } if (isset($map['receiverAddress'])) { $model->receiverAddress = $map['receiverAddress']; } if (isset($map['senderAlias'])) { $model->senderAlias = $map['senderAlias']; } if (isset($map['subject'])) { $model->subject = $map['subject']; } return $model; } } src/hrm_1_0/Models/HrmMailSendRequest/mail/attachments.php000064400000002573146412132660017501 0ustar00 'name', 'path' => 'path', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return attachments */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/hrm_1_0/Models/HrmMailSendRequest/mail/meeting.php000064400000011406146412132660016611 0ustar00 'alarm', 'attendees' => 'attendees', 'description' => 'description', 'endTime' => 'endTime', 'location' => 'location', 'method' => 'method', 'organizer' => 'organizer', 'sequence' => 'sequence', 'startTime' => 'startTime', 'summary' => 'summary', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alarm) { $res['alarm'] = null !== $this->alarm ? $this->alarm->toMap() : null; } 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->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->location) { $res['location'] = $this->location; } if (null !== $this->method) { $res['method'] = $this->method; } if (null !== $this->organizer) { $res['organizer'] = null !== $this->organizer ? $this->organizer->toMap() : null; } if (null !== $this->sequence) { $res['sequence'] = $this->sequence; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return meeting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alarm'])) { $model->alarm = alarm::fromMap($map['alarm']); } 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['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['location'])) { $model->location = $map['location']; } if (isset($map['method'])) { $model->method = $map['method']; } if (isset($map['organizer'])) { $model->organizer = organizer::fromMap($map['organizer']); } if (isset($map['sequence'])) { $model->sequence = $map['sequence']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/hrm_1_0/Models/HrmMailSendRequest/mail/meeting/alarm.php000064400000003031146412132660017700 0ustar00 'alarmDesc', 'alarmMinutes' => 'alarmMinutes', 'alarmSummary' => 'alarmSummary', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alarmDesc) { $res['alarmDesc'] = $this->alarmDesc; } if (null !== $this->alarmMinutes) { $res['alarmMinutes'] = $this->alarmMinutes; } if (null !== $this->alarmSummary) { $res['alarmSummary'] = $this->alarmSummary; } return $res; } /** * @param array $map * * @return alarm */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alarmDesc'])) { $model->alarmDesc = $map['alarmDesc']; } if (isset($map['alarmMinutes'])) { $model->alarmMinutes = $map['alarmMinutes']; } if (isset($map['alarmSummary'])) { $model->alarmSummary = $map['alarmSummary']; } return $model; } } src/hrm_1_0/Models/HrmMailSendRequest/mail/meeting/attendees.php000064400000002205146412132660020562 0ustar00 'address', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return attendees */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/hrm_1_0/Models/HrmMailSendRequest/mail/meeting/organizer.php000064400000002201146412132660020602 0ustar00 'address', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return organizer */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/hrm_1_0/Models/HrmMailSendRequest/operator.php000064400000002765146412132660016102 0ustar00 'bizId', 'mailAccountType' => 'mailAccountType', 'token' => 'token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->mailAccountType) { $res['mailAccountType'] = $this->mailAccountType; } if (null !== $this->token) { $res['token'] = $this->token; } return $res; } /** * @param array $map * * @return operator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['mailAccountType'])) { $model->mailAccountType = $map['mailAccountType']; } if (isset($map['token'])) { $model->token = $map['token']; } return $model; } } src/hrm_1_0/Models/HrmMailSendResponse.php000064400000002705146412132660014407 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return HrmMailSendResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = HrmMailSendResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/HrmMailSendResponseBody.php000064400000001464146412132660015226 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return HrmMailSendResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/hrm_1_0/Models/HrmMokaEventHeaders.php000064400000002323146412132660014355 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return HrmMokaEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/HrmMokaEventRequest.php000064400000002203146412132660014427 0ustar00 'bizId', 'content' => 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return HrmMokaEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/hrm_1_0/Models/HrmMokaEventResponse.php000064400000002711146412132660014601 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return HrmMokaEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = HrmMokaEventResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/HrmMokaEventResponseBody.php000064400000001464146412132660015423 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return HrmMokaEventResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/hrm_1_0/Models/HrmMokaOapiHeaders.php000064400000002321146412132660014162 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return HrmMokaOapiHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/HrmMokaOapiRequest.php000064400000002147146412132660014245 0ustar00 'apiCode', 'params' => 'params', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->apiCode) { $res['apiCode'] = $this->apiCode; } if (null !== $this->params) { $res['params'] = $this->params; } return $res; } /** * @param array $map * * @return HrmMokaOapiRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['apiCode'])) { $model->apiCode = $map['apiCode']; } if (isset($map['params'])) { $model->params = $map['params']; } return $model; } } src/hrm_1_0/Models/HrmMokaOapiResponse.php000064400000002705146412132660014413 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return HrmMokaOapiResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = HrmMokaOapiResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/HrmMokaOapiResponseBody.php000064400000003265146412132660015233 0ustar00 'bizSuccess', 'errorCode' => 'errorCode', 'errorMsg' => 'errorMsg', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizSuccess) { $res['bizSuccess'] = $this->bizSuccess; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return HrmMokaOapiResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizSuccess'])) { $model->bizSuccess = $map['bizSuccess']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/hrm_1_0/Models/HrmProcessRegularHeaders.php000064400000002335146412132660015427 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return HrmProcessRegularHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/HrmProcessRegularRequest.php000064400000003534146412132660015506 0ustar00 'operationId', 'regularDate' => 'regularDate', 'remark' => 'remark', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operationId) { $res['operationId'] = $this->operationId; } if (null !== $this->regularDate) { $res['regularDate'] = $this->regularDate; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return HrmProcessRegularRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operationId'])) { $model->operationId = $map['operationId']; } if (isset($map['regularDate'])) { $model->regularDate = $map['regularDate']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/hrm_1_0/Models/HrmProcessRegularResponse.php000064400000002735146412132660015656 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return HrmProcessRegularResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = HrmProcessRegularResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/HrmProcessRegularResponseBody.php000064400000001476146412132660016475 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return HrmProcessRegularResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/hrm_1_0/Models/HrmProcessTransferHeaders.php000064400000002337146412132660015614 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return HrmProcessTransferHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/HrmProcessTransferRequest.php000064400000010534146412132660015667 0ustar00 'deptIdsAfterTransfer', 'jobIdAfterTransfer' => 'jobIdAfterTransfer', 'mainDeptIdAfterTransfer' => 'mainDeptIdAfterTransfer', 'operateUserId' => 'operateUserId', 'positionIdAfterTransfer' => 'positionIdAfterTransfer', 'positionLevelAfterTransfer' => 'positionLevelAfterTransfer', 'positionNameAfterTransfer' => 'positionNameAfterTransfer', 'rankIdAfterTransfer' => 'rankIdAfterTransfer', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIdsAfterTransfer) { $res['deptIdsAfterTransfer'] = $this->deptIdsAfterTransfer; } if (null !== $this->jobIdAfterTransfer) { $res['jobIdAfterTransfer'] = $this->jobIdAfterTransfer; } if (null !== $this->mainDeptIdAfterTransfer) { $res['mainDeptIdAfterTransfer'] = $this->mainDeptIdAfterTransfer; } if (null !== $this->operateUserId) { $res['operateUserId'] = $this->operateUserId; } if (null !== $this->positionIdAfterTransfer) { $res['positionIdAfterTransfer'] = $this->positionIdAfterTransfer; } if (null !== $this->positionLevelAfterTransfer) { $res['positionLevelAfterTransfer'] = $this->positionLevelAfterTransfer; } if (null !== $this->positionNameAfterTransfer) { $res['positionNameAfterTransfer'] = $this->positionNameAfterTransfer; } if (null !== $this->rankIdAfterTransfer) { $res['rankIdAfterTransfer'] = $this->rankIdAfterTransfer; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return HrmProcessTransferRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIdsAfterTransfer'])) { if (!empty($map['deptIdsAfterTransfer'])) { $model->deptIdsAfterTransfer = $map['deptIdsAfterTransfer']; } } if (isset($map['jobIdAfterTransfer'])) { $model->jobIdAfterTransfer = $map['jobIdAfterTransfer']; } if (isset($map['mainDeptIdAfterTransfer'])) { $model->mainDeptIdAfterTransfer = $map['mainDeptIdAfterTransfer']; } if (isset($map['operateUserId'])) { $model->operateUserId = $map['operateUserId']; } if (isset($map['positionIdAfterTransfer'])) { $model->positionIdAfterTransfer = $map['positionIdAfterTransfer']; } if (isset($map['positionLevelAfterTransfer'])) { $model->positionLevelAfterTransfer = $map['positionLevelAfterTransfer']; } if (isset($map['positionNameAfterTransfer'])) { $model->positionNameAfterTransfer = $map['positionNameAfterTransfer']; } if (isset($map['rankIdAfterTransfer'])) { $model->rankIdAfterTransfer = $map['rankIdAfterTransfer']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/hrm_1_0/Models/HrmProcessTransferResponse.php000064400000002741146412132660016036 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return HrmProcessTransferResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = HrmProcessTransferResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/HrmProcessTransferResponseBody.php000064400000001534146412132660016653 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return HrmProcessTransferResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/hrm_1_0/Models/HrmProcessUpdateTerminationInfoHeaders.php000064400000002371146412132660020276 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return HrmProcessUpdateTerminationInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/HrmProcessUpdateTerminationInfoRequest.php000064400000003145146412132660020353 0ustar00 'dismissionMemo', 'lastWorkDate' => 'lastWorkDate', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dismissionMemo) { $res['dismissionMemo'] = $this->dismissionMemo; } if (null !== $this->lastWorkDate) { $res['lastWorkDate'] = $this->lastWorkDate; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return HrmProcessUpdateTerminationInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dismissionMemo'])) { $model->dismissionMemo = $map['dismissionMemo']; } if (isset($map['lastWorkDate'])) { $model->lastWorkDate = $map['lastWorkDate']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/hrm_1_0/Models/HrmProcessUpdateTerminationInfoResponse.php000064400000003025146412132660020516 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return HrmProcessUpdateTerminationInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = HrmProcessUpdateTerminationInfoResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/HrmProcessUpdateTerminationInfoResponseBody.php000064400000001532146412132660021335 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return HrmProcessUpdateTerminationInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/hrm_1_0/Models/MasterDataDeleteHeaders.php000064400000002333146412132660015166 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MasterDataDeleteHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/MasterDataDeleteRequest.php000064400000003214146412132660015242 0ustar00 'body', 'tenantId' => 'tenantId', ]; 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; } } } if (null !== $this->tenantId) { $res['tenantId'] = $this->tenantId; } return $res; } /** * @param array $map * * @return MasterDataDeleteRequest */ 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; } } } if (isset($map['tenantId'])) { $model->tenantId = $map['tenantId']; } return $model; } } src/hrm_1_0/Models/MasterDataDeleteRequest/body.php000064400000005336146412132660016206 0ustar00 'bizTime', 'bizUk' => 'bizUk', 'entityCode' => 'entityCode', 'fieldList' => 'fieldList', 'scope' => 'scope', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTime) { $res['bizTime'] = $this->bizTime; } if (null !== $this->bizUk) { $res['bizUk'] = $this->bizUk; } if (null !== $this->entityCode) { $res['entityCode'] = $this->entityCode; } 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; } } } if (null !== $this->scope) { $res['scope'] = null !== $this->scope ? $this->scope->toMap() : null; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTime'])) { $model->bizTime = $map['bizTime']; } if (isset($map['bizUk'])) { $model->bizUk = $map['bizUk']; } if (isset($map['entityCode'])) { $model->entityCode = $map['entityCode']; } 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; } } } if (isset($map['scope'])) { $model->scope = scope::fromMap($map['scope']); } return $model; } } src/hrm_1_0/Models/MasterDataDeleteRequest/body/fieldList.php000064400000002176146412132660020124 0ustar00 'name', 'valueStr' => 'valueStr', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->valueStr) { $res['valueStr'] = $this->valueStr; } return $res; } /** * @param array $map * * @return fieldList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['valueStr'])) { $model->valueStr = $map['valueStr']; } return $model; } } src/hrm_1_0/Models/MasterDataDeleteRequest/body/scope.php000064400000002232146412132660017307 0ustar00 'scopeCode', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scopeCode) { $res['scopeCode'] = $this->scopeCode; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return scope */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scopeCode'])) { $model->scopeCode = $map['scopeCode']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/hrm_1_0/Models/MasterDataDeleteResponse.php000064400000002731146412132660015413 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MasterDataDeleteResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = MasterDataDeleteResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/MasterDataDeleteResponseBody.php000064400000003373146412132660016234 0ustar00 'allSuccess', 'failResult' => 'failResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->allSuccess) { $res['allSuccess'] = $this->allSuccess; } if (null !== $this->failResult) { $res['failResult'] = []; if (null !== $this->failResult && \is_array($this->failResult)) { $n = 0; foreach ($this->failResult as $item) { $res['failResult'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return MasterDataDeleteResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['allSuccess'])) { $model->allSuccess = $map['allSuccess']; } if (isset($map['failResult'])) { if (!empty($map['failResult'])) { $model->failResult = []; $n = 0; foreach ($map['failResult'] as $item) { $model->failResult[$n++] = null !== $item ? failResult::fromMap($item) : $item; } } } return $model; } } src/hrm_1_0/Models/MasterDataDeleteResponseBody/failResult.php000064400000003361146412132660020343 0ustar00 'bizUK', 'errorCode' => 'errorCode', 'errorMsg' => 'errorMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizUK) { $res['bizUK'] = $this->bizUK; } 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 failResult */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizUK'])) { $model->bizUK = $map['bizUK']; } 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/hrm_1_0/Models/MasterDataQueryHeaders.php000064400000002331146412132660015067 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MasterDataQueryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/MasterDataQueryRequest.php000064400000010134146412132660015144 0ustar00 'bizUK', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'optUserId' => 'optUserId', 'queryParams' => 'queryParams', 'relationIds' => 'relationIds', 'scopeCode' => 'scopeCode', 'tenantId' => 'tenantId', 'viewEntityCode' => 'viewEntityCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizUK) { $res['bizUK'] = $this->bizUK; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->optUserId) { $res['optUserId'] = $this->optUserId; } if (null !== $this->queryParams) { $res['queryParams'] = []; if (null !== $this->queryParams && \is_array($this->queryParams)) { $n = 0; foreach ($this->queryParams as $item) { $res['queryParams'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->relationIds) { $res['relationIds'] = $this->relationIds; } if (null !== $this->scopeCode) { $res['scopeCode'] = $this->scopeCode; } if (null !== $this->tenantId) { $res['tenantId'] = $this->tenantId; } if (null !== $this->viewEntityCode) { $res['viewEntityCode'] = $this->viewEntityCode; } return $res; } /** * @param array $map * * @return MasterDataQueryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizUK'])) { $model->bizUK = $map['bizUK']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['optUserId'])) { $model->optUserId = $map['optUserId']; } if (isset($map['queryParams'])) { if (!empty($map['queryParams'])) { $model->queryParams = []; $n = 0; foreach ($map['queryParams'] as $item) { $model->queryParams[$n++] = null !== $item ? queryParams::fromMap($item) : $item; } } } if (isset($map['relationIds'])) { if (!empty($map['relationIds'])) { $model->relationIds = $map['relationIds']; } } if (isset($map['scopeCode'])) { $model->scopeCode = $map['scopeCode']; } if (isset($map['tenantId'])) { $model->tenantId = $map['tenantId']; } if (isset($map['viewEntityCode'])) { $model->viewEntityCode = $map['viewEntityCode']; } return $model; } } src/hrm_1_0/Models/MasterDataQueryRequest/queryParams.php000064400000004221146412132660017455 0ustar00 'conditionList', 'fieldCode' => 'fieldCode', 'joinType' => 'joinType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conditionList) { $res['conditionList'] = []; if (null !== $this->conditionList && \is_array($this->conditionList)) { $n = 0; foreach ($this->conditionList as $item) { $res['conditionList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->fieldCode) { $res['fieldCode'] = $this->fieldCode; } if (null !== $this->joinType) { $res['joinType'] = $this->joinType; } return $res; } /** * @param array $map * * @return queryParams */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conditionList'])) { if (!empty($map['conditionList'])) { $model->conditionList = []; $n = 0; foreach ($map['conditionList'] as $item) { $model->conditionList[$n++] = null !== $item ? conditionList::fromMap($item) : $item; } } } if (isset($map['fieldCode'])) { $model->fieldCode = $map['fieldCode']; } if (isset($map['joinType'])) { $model->joinType = $map['joinType']; } return $model; } } src/hrm_1_0/Models/MasterDataQueryRequest/queryParams/conditionList.php000064400000002160146412132660022277 0ustar00 'operate', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operate) { $res['operate'] = $this->operate; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return conditionList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operate'])) { $model->operate = $map['operate']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/hrm_1_0/Models/MasterDataQueryResponse.php000064400000002725146412132660015321 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MasterDataQueryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = MasterDataQueryResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/MasterDataQueryResponseBody.php000064400000005111146412132660016127 0ustar00 'hasMore', 'nextToken' => 'nextToken', 'result' => 'result', 'success' => 'success', 'total' => 'total', ]; 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->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->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return MasterDataQueryResponseBody */ 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['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['total'])) { $model->total = $map['total']; } return $model; } } src/hrm_1_0/Models/MasterDataQueryResponseBody/result.php000064400000005773146412132660017463 0ustar00 'outerId', 'relationId' => 'relationId', 'scopeCode' => 'scopeCode', 'viewEntityCode' => 'viewEntityCode', 'viewEntityFieldVOList' => 'viewEntityFieldVOList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outerId) { $res['outerId'] = $this->outerId; } if (null !== $this->relationId) { $res['relationId'] = $this->relationId; } if (null !== $this->scopeCode) { $res['scopeCode'] = $this->scopeCode; } if (null !== $this->viewEntityCode) { $res['viewEntityCode'] = $this->viewEntityCode; } if (null !== $this->viewEntityFieldVOList) { $res['viewEntityFieldVOList'] = []; if (null !== $this->viewEntityFieldVOList && \is_array($this->viewEntityFieldVOList)) { $n = 0; foreach ($this->viewEntityFieldVOList as $item) { $res['viewEntityFieldVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outerId'])) { $model->outerId = $map['outerId']; } if (isset($map['relationId'])) { $model->relationId = $map['relationId']; } if (isset($map['scopeCode'])) { $model->scopeCode = $map['scopeCode']; } if (isset($map['viewEntityCode'])) { $model->viewEntityCode = $map['viewEntityCode']; } if (isset($map['viewEntityFieldVOList'])) { if (!empty($map['viewEntityFieldVOList'])) { $model->viewEntityFieldVOList = []; $n = 0; foreach ($map['viewEntityFieldVOList'] as $item) { $model->viewEntityFieldVOList[$n++] = null !== $item ? viewEntityFieldVOList::fromMap($item) : $item; } } } return $model; } } src/hrm_1_0/Models/MasterDataQueryResponseBody/result/viewEntityFieldVOList.php000064400000004043146412132660023664 0ustar00 'fieldCode', 'fieldDataVO' => 'fieldDataVO', 'fieldName' => 'fieldName', 'fieldType' => 'fieldType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldCode) { $res['fieldCode'] = $this->fieldCode; } if (null !== $this->fieldDataVO) { $res['fieldDataVO'] = null !== $this->fieldDataVO ? $this->fieldDataVO->toMap() : null; } if (null !== $this->fieldName) { $res['fieldName'] = $this->fieldName; } if (null !== $this->fieldType) { $res['fieldType'] = $this->fieldType; } return $res; } /** * @param array $map * * @return viewEntityFieldVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldCode'])) { $model->fieldCode = $map['fieldCode']; } if (isset($map['fieldDataVO'])) { $model->fieldDataVO = fieldDataVO::fromMap($map['fieldDataVO']); } if (isset($map['fieldName'])) { $model->fieldName = $map['fieldName']; } if (isset($map['fieldType'])) { $model->fieldType = $map['fieldType']; } return $model; } } src/hrm_1_0/Models/MasterDataQueryResponseBody/result/viewEntityFieldVOList/fieldDataVO.php000064400000002167146412132660026013 0ustar00 '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 fieldDataVO */ 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/hrm_1_0/Models/MasterDataSaveHeaders.php000064400000002327146412132660014665 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MasterDataSaveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/MasterDataSaveRequest.php000064400000003206146412132660014737 0ustar00 'body', 'tenantId' => 'tenantId', ]; 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; } } } if (null !== $this->tenantId) { $res['tenantId'] = $this->tenantId; } return $res; } /** * @param array $map * * @return MasterDataSaveRequest */ 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; } } } if (isset($map['tenantId'])) { $model->tenantId = $map['tenantId']; } return $model; } } src/hrm_1_0/Models/MasterDataSaveRequest/body.php000064400000006011146412132660015671 0ustar00 'bizTime', 'bizUk' => 'bizUk', 'entityCode' => 'entityCode', 'fieldList' => 'fieldList', 'scope' => 'scope', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTime) { $res['bizTime'] = $this->bizTime; } if (null !== $this->bizUk) { $res['bizUk'] = $this->bizUk; } if (null !== $this->entityCode) { $res['entityCode'] = $this->entityCode; } 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; } } } 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 body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTime'])) { $model->bizTime = $map['bizTime']; } if (isset($map['bizUk'])) { $model->bizUk = $map['bizUk']; } if (isset($map['entityCode'])) { $model->entityCode = $map['entityCode']; } 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; } } } if (isset($map['scope'])) { $model->scope = scope::fromMap($map['scope']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/hrm_1_0/Models/MasterDataSaveRequest/body/fieldList.php000064400000002174146412132660017616 0ustar00 'name', 'valueStr' => 'valueStr', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->valueStr) { $res['valueStr'] = $this->valueStr; } return $res; } /** * @param array $map * * @return fieldList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['valueStr'])) { $model->valueStr = $map['valueStr']; } return $model; } } src/hrm_1_0/Models/MasterDataSaveRequest/body/scope.php000064400000002230146412132660017001 0ustar00 'scopeCode', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scopeCode) { $res['scopeCode'] = $this->scopeCode; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return scope */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scopeCode'])) { $model->scopeCode = $map['scopeCode']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/hrm_1_0/Models/MasterDataSaveResponse.php000064400000002721146412132660015106 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MasterDataSaveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = MasterDataSaveResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/MasterDataSaveResponseBody.php000064400000003421146412132660015722 0ustar00 'allSuccess', 'failResult' => 'failResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->allSuccess) { $res['allSuccess'] = $this->allSuccess; } if (null !== $this->failResult) { $res['failResult'] = []; if (null !== $this->failResult && \is_array($this->failResult)) { $n = 0; foreach ($this->failResult as $item) { $res['failResult'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return MasterDataSaveResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['allSuccess'])) { $model->allSuccess = $map['allSuccess']; } if (isset($map['failResult'])) { if (!empty($map['failResult'])) { $model->failResult = []; $n = 0; foreach ($map['failResult'] as $item) { $model->failResult[$n++] = null !== $item ? failResult::fromMap($item) : $item; } } } return $model; } } src/hrm_1_0/Models/MasterDataSaveResponseBody/failResult.php000064400000003413146412132660020035 0ustar00 'bizUk', 'errorCode' => 'errorCode', 'errorMsg' => 'errorMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizUk) { $res['bizUk'] = $this->bizUk; } 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 failResult */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizUk'])) { $model->bizUk = $map['bizUk']; } 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/hrm_1_0/Models/MasterDataTenantQueyHeaders.php000064400000002343146412132660016062 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MasterDataTenantQueyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/MasterDataTenantQueyRequest.php000064400000002212146412132660016132 0ustar00 'entityCode', 'scopeCode' => 'scopeCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->entityCode) { $res['entityCode'] = $this->entityCode; } if (null !== $this->scopeCode) { $res['scopeCode'] = $this->scopeCode; } return $res; } /** * @param array $map * * @return MasterDataTenantQueyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['entityCode'])) { $model->entityCode = $map['entityCode']; } if (isset($map['scopeCode'])) { $model->scopeCode = $map['scopeCode']; } return $model; } } src/hrm_1_0/Models/MasterDataTenantQueyResponse.php000064400000002751146412132660016310 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MasterDataTenantQueyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = MasterDataTenantQueyResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/MasterDataTenantQueyResponseBody.php000064400000002617146412132660017127 0ustar00 '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 MasterDataTenantQueyResponseBody */ 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/hrm_1_0/Models/MasterDataTenantQueyResponseBody/result.php000064400000004673146412132660020451 0ustar00 'hasData', 'integrateDataAuth' => 'integrateDataAuth', 'name' => 'name', 'readAuth' => 'readAuth', 'tenantId' => 'tenantId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasData) { $res['hasData'] = $this->hasData; } if (null !== $this->integrateDataAuth) { $res['integrateDataAuth'] = $this->integrateDataAuth; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->readAuth) { $res['readAuth'] = $this->readAuth; } if (null !== $this->tenantId) { $res['tenantId'] = $this->tenantId; } 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['hasData'])) { $model->hasData = $map['hasData']; } if (isset($map['integrateDataAuth'])) { $model->integrateDataAuth = $map['integrateDataAuth']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['readAuth'])) { $model->readAuth = $map['readAuth']; } if (isset($map['tenantId'])) { $model->tenantId = $map['tenantId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/hrm_1_0/Models/MasterDatasQueryHeaders.php000064400000002333146412132660015254 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MasterDatasQueryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/MasterDatasQueryRequest.php000064400000007420146412132660015333 0ustar00 'bizUK', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'queryParams' => 'queryParams', 'relationIds' => 'relationIds', 'scopeCode' => 'scopeCode', 'tenantId' => 'tenantId', 'viewEntityCode' => 'viewEntityCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizUK) { $res['bizUK'] = $this->bizUK; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->queryParams) { $res['queryParams'] = []; if (null !== $this->queryParams && \is_array($this->queryParams)) { $n = 0; foreach ($this->queryParams as $item) { $res['queryParams'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->relationIds) { $res['relationIds'] = $this->relationIds; } if (null !== $this->scopeCode) { $res['scopeCode'] = $this->scopeCode; } if (null !== $this->tenantId) { $res['tenantId'] = $this->tenantId; } if (null !== $this->viewEntityCode) { $res['viewEntityCode'] = $this->viewEntityCode; } return $res; } /** * @param array $map * * @return MasterDatasQueryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizUK'])) { $model->bizUK = $map['bizUK']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['queryParams'])) { if (!empty($map['queryParams'])) { $model->queryParams = []; $n = 0; foreach ($map['queryParams'] as $item) { $model->queryParams[$n++] = null !== $item ? queryParams::fromMap($item) : $item; } } } if (isset($map['relationIds'])) { if (!empty($map['relationIds'])) { $model->relationIds = $map['relationIds']; } } if (isset($map['scopeCode'])) { $model->scopeCode = $map['scopeCode']; } if (isset($map['tenantId'])) { $model->tenantId = $map['tenantId']; } if (isset($map['viewEntityCode'])) { $model->viewEntityCode = $map['viewEntityCode']; } return $model; } } src/hrm_1_0/Models/MasterDatasQueryRequest/queryParams.php000064400000004223146412132660017642 0ustar00 'conditionList', 'fieldCode' => 'fieldCode', 'joinType' => 'joinType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conditionList) { $res['conditionList'] = []; if (null !== $this->conditionList && \is_array($this->conditionList)) { $n = 0; foreach ($this->conditionList as $item) { $res['conditionList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->fieldCode) { $res['fieldCode'] = $this->fieldCode; } if (null !== $this->joinType) { $res['joinType'] = $this->joinType; } return $res; } /** * @param array $map * * @return queryParams */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conditionList'])) { if (!empty($map['conditionList'])) { $model->conditionList = []; $n = 0; foreach ($map['conditionList'] as $item) { $model->conditionList[$n++] = null !== $item ? conditionList::fromMap($item) : $item; } } } if (isset($map['fieldCode'])) { $model->fieldCode = $map['fieldCode']; } if (isset($map['joinType'])) { $model->joinType = $map['joinType']; } return $model; } } src/hrm_1_0/Models/MasterDatasQueryRequest/queryParams/conditionList.php000064400000002161146412132660022463 0ustar00 'operate', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operate) { $res['operate'] = $this->operate; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return conditionList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operate'])) { $model->operate = $map['operate']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/hrm_1_0/Models/MasterDatasQueryResponse.php000064400000002731146412132660015501 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MasterDatasQueryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = MasterDatasQueryResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/MasterDatasQueryResponseBody.php000064400000005024146412132660016315 0ustar00 'hasMore', 'nextToken' => 'nextToken', 'result' => 'result', 'success' => 'success', 'total' => 'total', ]; 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->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->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return MasterDatasQueryResponseBody */ 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['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['total'])) { $model->total = $map['total']; } return $model; } } src/hrm_1_0/Models/MasterDatasQueryResponseBody/result.php000064400000005755146412132660017646 0ustar00 'objId', 'relationId' => 'relationId', 'scopeCode' => 'scopeCode', 'viewEntityCode' => 'viewEntityCode', 'viewEntityFieldVOList' => 'viewEntityFieldVOList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->objId) { $res['objId'] = $this->objId; } if (null !== $this->relationId) { $res['relationId'] = $this->relationId; } if (null !== $this->scopeCode) { $res['scopeCode'] = $this->scopeCode; } if (null !== $this->viewEntityCode) { $res['viewEntityCode'] = $this->viewEntityCode; } if (null !== $this->viewEntityFieldVOList) { $res['viewEntityFieldVOList'] = []; if (null !== $this->viewEntityFieldVOList && \is_array($this->viewEntityFieldVOList)) { $n = 0; foreach ($this->viewEntityFieldVOList as $item) { $res['viewEntityFieldVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['objId'])) { $model->objId = $map['objId']; } if (isset($map['relationId'])) { $model->relationId = $map['relationId']; } if (isset($map['scopeCode'])) { $model->scopeCode = $map['scopeCode']; } if (isset($map['viewEntityCode'])) { $model->viewEntityCode = $map['viewEntityCode']; } if (isset($map['viewEntityFieldVOList'])) { if (!empty($map['viewEntityFieldVOList'])) { $model->viewEntityFieldVOList = []; $n = 0; foreach ($map['viewEntityFieldVOList'] as $item) { $model->viewEntityFieldVOList[$n++] = null !== $item ? viewEntityFieldVOList::fromMap($item) : $item; } } } return $model; } } src/hrm_1_0/Models/MasterDatasQueryResponseBody/result/viewEntityFieldVOList.php000064400000004045146412132660024051 0ustar00 'fieldCode', 'fieldDataVO' => 'fieldDataVO', 'fieldName' => 'fieldName', 'fieldType' => 'fieldType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldCode) { $res['fieldCode'] = $this->fieldCode; } if (null !== $this->fieldDataVO) { $res['fieldDataVO'] = null !== $this->fieldDataVO ? $this->fieldDataVO->toMap() : null; } if (null !== $this->fieldName) { $res['fieldName'] = $this->fieldName; } if (null !== $this->fieldType) { $res['fieldType'] = $this->fieldType; } return $res; } /** * @param array $map * * @return viewEntityFieldVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldCode'])) { $model->fieldCode = $map['fieldCode']; } if (isset($map['fieldDataVO'])) { $model->fieldDataVO = fieldDataVO::fromMap($map['fieldDataVO']); } if (isset($map['fieldName'])) { $model->fieldName = $map['fieldName']; } if (isset($map['fieldType'])) { $model->fieldType = $map['fieldType']; } return $model; } } src/hrm_1_0/Models/MasterDatasQueryResponseBody/result/viewEntityFieldVOList/fieldDataVO.php000064400000002170146412132660026170 0ustar00 '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 fieldDataVO */ 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/hrm_1_0/Models/QueryCustomEntryProcessesHeaders.php000064400000002355146412132660017233 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCustomEntryProcessesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/QueryCustomEntryProcessesRequest.php000064400000003101146412132660017276 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'operateUserId' => 'operateUserId', ]; 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->operateUserId) { $res['operateUserId'] = $this->operateUserId; } return $res; } /** * @param array $map * * @return QueryCustomEntryProcessesRequest */ 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['operateUserId'])) { $model->operateUserId = $map['operateUserId']; } return $model; } } src/hrm_1_0/Models/QueryCustomEntryProcessesResponse.php000064400000002775146412132660017464 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCustomEntryProcessesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCustomEntryProcessesResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/QueryCustomEntryProcessesResponseBody.php000064400000003677146412132660020304 0ustar00 '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 QueryCustomEntryProcessesResponseBody */ 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/hrm_1_0/Models/QueryCustomEntryProcessesResponseBody/list_.php000064400000003230146412132660021377 0ustar00 'formDesc', 'formId' => 'formId', 'formName' => 'formName', 'shortUrl' => 'shortUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formDesc) { $res['formDesc'] = $this->formDesc; } if (null !== $this->formId) { $res['formId'] = $this->formId; } if (null !== $this->formName) { $res['formName'] = $this->formName; } if (null !== $this->shortUrl) { $res['shortUrl'] = $this->shortUrl; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formDesc'])) { $model->formDesc = $map['formDesc']; } if (isset($map['formId'])) { $model->formId = $map['formId']; } if (isset($map['formName'])) { $model->formName = $map['formName']; } if (isset($map['shortUrl'])) { $model->shortUrl = $map['shortUrl']; } return $model; } } src/hrm_1_0/Models/QueryDismissionStaffIdListHeaders.php000064400000002357146412132660017270 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDismissionStaffIdListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/QueryDismissionStaffIdListRequest.php000064400000002303146412132660017334 0ustar00 '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 QueryDismissionStaffIdListRequest */ 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/hrm_1_0/Models/QueryDismissionStaffIdListResponse.php000064400000003001146412132660017476 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDismissionStaffIdListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDismissionStaffIdListResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/QueryDismissionStaffIdListResponseBody.php000064400000002767146412132660020336 0ustar00 'hasMore', 'nextToken' => 'nextToken', 'userIdList' => 'userIdList', ]; 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->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return QueryDismissionStaffIdListResponseBody */ 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['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/hrm_1_0/Models/QueryHrmEmployeeDismissionInfoHeaders.php000064400000002367146412132660020157 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryHrmEmployeeDismissionInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/QueryHrmEmployeeDismissionInfoRequest.php000064400000001666146412132660020235 0ustar00 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return QueryHrmEmployeeDismissionInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/hrm_1_0/Models/QueryHrmEmployeeDismissionInfoResponse.php000064400000003021146412132660020366 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryHrmEmployeeDismissionInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryHrmEmployeeDismissionInfoResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/QueryHrmEmployeeDismissionInfoResponseBody.php000064400000002655146412132660021220 0ustar00 '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 QueryHrmEmployeeDismissionInfoResponseBody */ 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/hrm_1_0/Models/QueryHrmEmployeeDismissionInfoResponseBody/result.php000064400000011637146412132660022536 0ustar00 'deptList', 'handoverUserId' => 'handoverUserId', 'lastWorkDay' => 'lastWorkDay', 'mainDeptId' => 'mainDeptId', 'mainDeptName' => 'mainDeptName', 'name' => 'name', 'passiveReason' => 'passiveReason', 'preStatus' => 'preStatus', 'reasonMemo' => 'reasonMemo', 'status' => 'status', 'userId' => 'userId', 'voluntaryReason' => 'voluntaryReason', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptList) { $res['deptList'] = []; if (null !== $this->deptList && \is_array($this->deptList)) { $n = 0; foreach ($this->deptList as $item) { $res['deptList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->handoverUserId) { $res['handoverUserId'] = $this->handoverUserId; } if (null !== $this->lastWorkDay) { $res['lastWorkDay'] = $this->lastWorkDay; } if (null !== $this->mainDeptId) { $res['mainDeptId'] = $this->mainDeptId; } if (null !== $this->mainDeptName) { $res['mainDeptName'] = $this->mainDeptName; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->passiveReason) { $res['passiveReason'] = $this->passiveReason; } if (null !== $this->preStatus) { $res['preStatus'] = $this->preStatus; } if (null !== $this->reasonMemo) { $res['reasonMemo'] = $this->reasonMemo; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->voluntaryReason) { $res['voluntaryReason'] = $this->voluntaryReason; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptList'])) { if (!empty($map['deptList'])) { $model->deptList = []; $n = 0; foreach ($map['deptList'] as $item) { $model->deptList[$n++] = null !== $item ? deptList::fromMap($item) : $item; } } } if (isset($map['handoverUserId'])) { $model->handoverUserId = $map['handoverUserId']; } if (isset($map['lastWorkDay'])) { $model->lastWorkDay = $map['lastWorkDay']; } if (isset($map['mainDeptId'])) { $model->mainDeptId = $map['mainDeptId']; } if (isset($map['mainDeptName'])) { $model->mainDeptName = $map['mainDeptName']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['passiveReason'])) { if (!empty($map['passiveReason'])) { $model->passiveReason = $map['passiveReason']; } } if (isset($map['preStatus'])) { $model->preStatus = $map['preStatus']; } if (isset($map['reasonMemo'])) { $model->reasonMemo = $map['reasonMemo']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['voluntaryReason'])) { if (!empty($map['voluntaryReason'])) { $model->voluntaryReason = $map['voluntaryReason']; } } return $model; } } src/hrm_1_0/Models/QueryHrmEmployeeDismissionInfoResponseBody/result/deptList.php000064400000002157146412132660024323 0ustar00 'dept_id', 'deptPath' => 'dept_path', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['dept_id'] = $this->deptId; } if (null !== $this->deptPath) { $res['dept_path'] = $this->deptPath; } return $res; } /** * @param array $map * * @return deptList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dept_id'])) { $model->deptId = $map['dept_id']; } if (isset($map['dept_path'])) { $model->deptPath = $map['dept_path']; } return $model; } } src/hrm_1_0/Models/QueryHrmEmployeeDismissionInfoShrinkRequest.php000064400000001636146412132660021411 0ustar00 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIdListShrink) { $res['userIdList'] = $this->userIdListShrink; } return $res; } /** * @param array $map * * @return QueryHrmEmployeeDismissionInfoShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIdList'])) { $model->userIdListShrink = $map['userIdList']; } return $model; } } src/hrm_1_0/Models/QueryJobRanksHeaders.php000064400000002325146412132660014556 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryJobRanksHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/QueryJobRanksRequest.php000064400000004040146412132660014627 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'rankCategoryId' => 'rankCategoryId', 'rankCode' => 'rankCode', 'rankName' => 'rankName', ]; 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->rankCategoryId) { $res['rankCategoryId'] = $this->rankCategoryId; } if (null !== $this->rankCode) { $res['rankCode'] = $this->rankCode; } if (null !== $this->rankName) { $res['rankName'] = $this->rankName; } return $res; } /** * @param array $map * * @return QueryJobRanksRequest */ 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['rankCategoryId'])) { $model->rankCategoryId = $map['rankCategoryId']; } if (isset($map['rankCode'])) { $model->rankCode = $map['rankCode']; } if (isset($map['rankName'])) { $model->rankName = $map['rankName']; } return $model; } } src/hrm_1_0/Models/QueryJobRanksResponse.php000064400000002715146412132660015004 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryJobRanksResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryJobRanksResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/QueryJobRanksResponseBody.php000064400000003633146412132660015622 0ustar00 '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 QueryJobRanksResponseBody */ 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/hrm_1_0/Models/QueryJobRanksResponseBody/list_.php000064400000005342146412132660016733 0ustar00 'maxJobGrade', 'minJobGrade' => 'minJobGrade', 'rankCategoryId' => 'rankCategoryId', 'rankCode' => 'rankCode', 'rankDescription' => 'rankDescription', 'rankId' => 'rankId', 'rankName' => 'rankName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxJobGrade) { $res['maxJobGrade'] = $this->maxJobGrade; } if (null !== $this->minJobGrade) { $res['minJobGrade'] = $this->minJobGrade; } if (null !== $this->rankCategoryId) { $res['rankCategoryId'] = $this->rankCategoryId; } if (null !== $this->rankCode) { $res['rankCode'] = $this->rankCode; } if (null !== $this->rankDescription) { $res['rankDescription'] = $this->rankDescription; } if (null !== $this->rankId) { $res['rankId'] = $this->rankId; } if (null !== $this->rankName) { $res['rankName'] = $this->rankName; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxJobGrade'])) { $model->maxJobGrade = $map['maxJobGrade']; } if (isset($map['minJobGrade'])) { $model->minJobGrade = $map['minJobGrade']; } if (isset($map['rankCategoryId'])) { $model->rankCategoryId = $map['rankCategoryId']; } if (isset($map['rankCode'])) { $model->rankCode = $map['rankCode']; } if (isset($map['rankDescription'])) { $model->rankDescription = $map['rankDescription']; } if (isset($map['rankId'])) { $model->rankId = $map['rankId']; } if (isset($map['rankName'])) { $model->rankName = $map['rankName']; } return $model; } } src/hrm_1_0/Models/QueryJobsHeaders.php000064400000002315146412132660013741 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryJobsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/QueryJobsRequest.php000064400000002753146412132660014024 0ustar00 'jobName', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobName) { $res['jobName'] = $this->jobName; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return QueryJobsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['jobName'])) { $model->jobName = $map['jobName']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/hrm_1_0/Models/QueryJobsResponse.php000064400000002675146412132660014175 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryJobsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryJobsResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/QueryJobsResponseBody.php000064400000003617146412132660015010 0ustar00 '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 QueryJobsResponseBody */ 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/hrm_1_0/Models/QueryJobsResponseBody/list_.php000064400000003024146412132660016112 0ustar00 'jobDescription', 'jobId' => 'jobId', 'jobName' => 'jobName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobDescription) { $res['jobDescription'] = $this->jobDescription; } if (null !== $this->jobId) { $res['jobId'] = $this->jobId; } if (null !== $this->jobName) { $res['jobName'] = $this->jobName; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['jobDescription'])) { $model->jobDescription = $map['jobDescription']; } if (isset($map['jobId'])) { $model->jobId = $map['jobId']; } if (isset($map['jobName'])) { $model->jobName = $map['jobName']; } return $model; } } src/hrm_1_0/Models/QueryPositionsHeaders.php000064400000002327146412132660015036 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryPositionsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/QueryPositionsRequest.php000064400000005075146412132660015116 0ustar00 'deptId', 'inCategoryIds' => 'inCategoryIds', 'inPositionIds' => 'inPositionIds', 'positionName' => 'positionName', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->inCategoryIds) { $res['inCategoryIds'] = $this->inCategoryIds; } if (null !== $this->inPositionIds) { $res['inPositionIds'] = $this->inPositionIds; } if (null !== $this->positionName) { $res['positionName'] = $this->positionName; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return QueryPositionsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['inCategoryIds'])) { if (!empty($map['inCategoryIds'])) { $model->inCategoryIds = $map['inCategoryIds']; } } if (isset($map['inPositionIds'])) { if (!empty($map['inPositionIds'])) { $model->inPositionIds = $map['inPositionIds']; } } if (isset($map['positionName'])) { $model->positionName = $map['positionName']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/hrm_1_0/Models/QueryPositionsResponse.php000064400000002721146412132660015257 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryPositionsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryPositionsResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/QueryPositionsResponseBody.php000064400000003636146412132660016103 0ustar00 '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 QueryPositionsResponseBody */ 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/hrm_1_0/Models/QueryPositionsResponseBody/list_.php000064400000005472146412132660017215 0ustar00 'jobId', 'positionCategoryId' => 'positionCategoryId', 'positionDes' => 'positionDes', 'positionId' => 'positionId', 'positionName' => 'positionName', 'rankIdList' => 'rankIdList', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobId) { $res['jobId'] = $this->jobId; } if (null !== $this->positionCategoryId) { $res['positionCategoryId'] = $this->positionCategoryId; } if (null !== $this->positionDes) { $res['positionDes'] = $this->positionDes; } if (null !== $this->positionId) { $res['positionId'] = $this->positionId; } if (null !== $this->positionName) { $res['positionName'] = $this->positionName; } if (null !== $this->rankIdList) { $res['rankIdList'] = $this->rankIdList; } 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['jobId'])) { $model->jobId = $map['jobId']; } if (isset($map['positionCategoryId'])) { $model->positionCategoryId = $map['positionCategoryId']; } if (isset($map['positionDes'])) { $model->positionDes = $map['positionDes']; } if (isset($map['positionId'])) { $model->positionId = $map['positionId']; } if (isset($map['positionName'])) { $model->positionName = $map['positionName']; } if (isset($map['rankIdList'])) { if (!empty($map['rankIdList'])) { $model->rankIdList = $map['rankIdList']; } } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/hrm_1_0/Models/RosterMetaAvailableFieldListHeaders.php000064400000002363146412132660017507 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RosterMetaAvailableFieldListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/RosterMetaAvailableFieldListRequest.php000064400000001611146412132660017557 0ustar00 'appAgentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appAgentId) { $res['appAgentId'] = $this->appAgentId; } return $res; } /** * @param array $map * * @return RosterMetaAvailableFieldListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appAgentId'])) { $model->appAgentId = $map['appAgentId']; } return $model; } } src/hrm_1_0/Models/RosterMetaAvailableFieldListResponse.php000064400000003011146412132660017721 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RosterMetaAvailableFieldListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RosterMetaAvailableFieldListResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/RosterMetaAvailableFieldListResponseBody.php000064400000002647146412132660020555 0ustar00 '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 RosterMetaAvailableFieldListResponseBody */ 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/hrm_1_0/Models/RosterMetaAvailableFieldListResponseBody/result.php000064400000003641146412132660022066 0ustar00 'fieldCode', 'fieldName' => 'fieldName', 'fieldType' => 'fieldType', 'optionText' => 'optionText', ]; 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->fieldType) { $res['fieldType'] = $this->fieldType; } if (null !== $this->optionText) { $res['optionText'] = $this->optionText; } 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['fieldType'])) { $model->fieldType = $map['fieldType']; } if (isset($map['optionText'])) { $model->optionText = $map['optionText']; } return $model; } } src/hrm_1_0/Models/RosterMetaFieldOptionsUpdateHeaders.php000064400000002363146412132660017571 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RosterMetaFieldOptionsUpdateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/RosterMetaFieldOptionsUpdateRequest.php000064400000004235146412132660017646 0ustar00 'appAgentId', 'fieldCode' => 'fieldCode', 'groupId' => 'groupId', 'labels' => 'labels', 'modifyType' => 'modifyType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appAgentId) { $res['appAgentId'] = $this->appAgentId; } if (null !== $this->fieldCode) { $res['fieldCode'] = $this->fieldCode; } if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->labels) { $res['labels'] = $this->labels; } if (null !== $this->modifyType) { $res['modifyType'] = $this->modifyType; } return $res; } /** * @param array $map * * @return RosterMetaFieldOptionsUpdateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appAgentId'])) { $model->appAgentId = $map['appAgentId']; } if (isset($map['fieldCode'])) { $model->fieldCode = $map['fieldCode']; } if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['labels'])) { if (!empty($map['labels'])) { $model->labels = $map['labels']; } } if (isset($map['modifyType'])) { $model->modifyType = $map['modifyType']; } return $model; } } src/hrm_1_0/Models/RosterMetaFieldOptionsUpdateResponse.php000064400000003011146412132660020003 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RosterMetaFieldOptionsUpdateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RosterMetaFieldOptionsUpdateResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/RosterMetaFieldOptionsUpdateResponseBody.php000064400000001524146412132660020630 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return RosterMetaFieldOptionsUpdateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/hrm_1_0/Models/SendIsvCardMessageHeaders.php000064400000002337146412132660015474 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendIsvCardMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/SendIsvCardMessageRequest.php000064400000006136146412132660015552 0ustar00 'agentId', 'bizId' => 'bizId', 'messageType' => 'messageType', 'receiverUserIds' => 'receiverUserIds', 'sceneType' => 'sceneType', 'scope' => 'scope', 'senderUserId' => 'senderUserId', 'valueMap' => 'valueMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->messageType) { $res['messageType'] = $this->messageType; } if (null !== $this->receiverUserIds) { $res['receiverUserIds'] = $this->receiverUserIds; } if (null !== $this->sceneType) { $res['sceneType'] = $this->sceneType; } if (null !== $this->scope) { $res['scope'] = $this->scope; } if (null !== $this->senderUserId) { $res['senderUserId'] = $this->senderUserId; } if (null !== $this->valueMap) { $res['valueMap'] = $this->valueMap; } return $res; } /** * @param array $map * * @return SendIsvCardMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['messageType'])) { $model->messageType = $map['messageType']; } if (isset($map['receiverUserIds'])) { if (!empty($map['receiverUserIds'])) { $model->receiverUserIds = $map['receiverUserIds']; } } if (isset($map['sceneType'])) { $model->sceneType = $map['sceneType']; } if (isset($map['scope'])) { $model->scope = $map['scope']; } if (isset($map['senderUserId'])) { $model->senderUserId = $map['senderUserId']; } if (isset($map['valueMap'])) { $model->valueMap = $map['valueMap']; } return $model; } } src/hrm_1_0/Models/SendIsvCardMessageResponse.php000064400000002741146412132660015716 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendIsvCardMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendIsvCardMessageResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/SendIsvCardMessageResponseBody.php000064400000004705146412132660016536 0ustar00 'errorCode', 'errorMsg' => 'errorMsg', 'hrmInteractiveCardSendResult' => 'hrmInteractiveCardSendResult', 'requestId' => 'requestId', '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->hrmInteractiveCardSendResult) { $res['hrmInteractiveCardSendResult'] = null !== $this->hrmInteractiveCardSendResult ? $this->hrmInteractiveCardSendResult->toMap() : null; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SendIsvCardMessageResponseBody */ 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['hrmInteractiveCardSendResult'])) { $model->hrmInteractiveCardSendResult = hrmInteractiveCardSendResult::fromMap($map['hrmInteractiveCardSendResult']); } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/hrm_1_0/Models/SendIsvCardMessageResponseBody/hrmInteractiveCardSendResult.php000064400000002642146412132660024323 0ustar00 'bizId', 'errorCode' => 'errorCode', 'errorMsg' => 'errorMsg', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } return $res; } /** * @param array $map * * @return hrmInteractiveCardSendResult */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } return $model; } } src/hrm_1_0/Models/SolutionTaskInitHeaders.php000064400000002333146412132660015301 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SolutionTaskInitHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/SolutionTaskInitRequest.php000064400000006671146412132660015367 0ustar00 'category', 'claimTime' => 'claimTime', 'description' => 'description', 'finishTime' => 'finishTime', 'outerId' => 'outerId', 'status' => 'status', 'title' => 'title', 'userId' => 'userId', 'solutionType' => 'solutionType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->claimTime) { $res['claimTime'] = $this->claimTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->finishTime) { $res['finishTime'] = $this->finishTime; } if (null !== $this->outerId) { $res['outerId'] = $this->outerId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->solutionType) { $res['solutionType'] = $this->solutionType; } return $res; } /** * @param array $map * * @return SolutionTaskInitRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['claimTime'])) { $model->claimTime = $map['claimTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['finishTime'])) { $model->finishTime = $map['finishTime']; } if (isset($map['outerId'])) { $model->outerId = $map['outerId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['solutionType'])) { $model->solutionType = $map['solutionType']; } return $model; } } src/hrm_1_0/Models/SolutionTaskInitResponse.php000064400000002731146412132660015526 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SolutionTaskInitResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SolutionTaskInitResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/SolutionTaskInitResponseBody.php000064400000001530146412132660016340 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SolutionTaskInitResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/hrm_1_0/Models/SolutionTaskSaveHeaders.php000064400000002333146412132660015274 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SolutionTaskSaveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/SolutionTaskSaveRequest.php000064400000011126146412132660015351 0ustar00 'claimTime', 'description' => 'description', 'finishTime' => 'finishTime', 'outerId' => 'outerId', 'solutionInstanceId' => 'solutionInstanceId', 'startTime' => 'startTime', 'status' => 'status', 'taskType' => 'taskType', 'templateOuterId' => 'templateOuterId', 'title' => 'title', 'userId' => 'userId', 'solutionType' => 'solutionType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->claimTime) { $res['claimTime'] = $this->claimTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->finishTime) { $res['finishTime'] = $this->finishTime; } if (null !== $this->outerId) { $res['outerId'] = $this->outerId; } if (null !== $this->solutionInstanceId) { $res['solutionInstanceId'] = $this->solutionInstanceId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taskType) { $res['taskType'] = $this->taskType; } if (null !== $this->templateOuterId) { $res['templateOuterId'] = $this->templateOuterId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->solutionType) { $res['solutionType'] = $this->solutionType; } return $res; } /** * @param array $map * * @return SolutionTaskSaveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['claimTime'])) { $model->claimTime = $map['claimTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['finishTime'])) { $model->finishTime = $map['finishTime']; } if (isset($map['outerId'])) { $model->outerId = $map['outerId']; } if (isset($map['solutionInstanceId'])) { $model->solutionInstanceId = $map['solutionInstanceId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taskType'])) { $model->taskType = $map['taskType']; } if (isset($map['templateOuterId'])) { $model->templateOuterId = $map['templateOuterId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['solutionType'])) { $model->solutionType = $map['solutionType']; } return $model; } } src/hrm_1_0/Models/SolutionTaskSaveResponse.php000064400000002731146412132660015521 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SolutionTaskSaveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SolutionTaskSaveResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/SolutionTaskSaveResponseBody.php000064400000001530146412132660016333 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SolutionTaskSaveResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/hrm_1_0/Models/SyncTaskTemplateHeaders.php000064400000002333146412132660015251 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncTaskTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/SyncTaskTemplateRequest.php000064400000006714146412132660015335 0ustar00 'delete', 'des' => 'des', 'ext' => 'ext', 'name' => 'name', 'optUserId' => 'optUserId', 'outerId' => 'outerId', 'taskScopeVO' => 'taskScopeVO', 'taskType' => 'taskType', 'solutionType' => 'solutionType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->delete) { $res['delete'] = $this->delete; } if (null !== $this->des) { $res['des'] = $this->des; } if (null !== $this->ext) { $res['ext'] = $this->ext; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->optUserId) { $res['optUserId'] = $this->optUserId; } if (null !== $this->outerId) { $res['outerId'] = $this->outerId; } if (null !== $this->taskScopeVO) { $res['taskScopeVO'] = null !== $this->taskScopeVO ? $this->taskScopeVO->toMap() : null; } if (null !== $this->taskType) { $res['taskType'] = $this->taskType; } if (null !== $this->solutionType) { $res['solutionType'] = $this->solutionType; } return $res; } /** * @param array $map * * @return SyncTaskTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['delete'])) { $model->delete = $map['delete']; } if (isset($map['des'])) { $model->des = $map['des']; } if (isset($map['ext'])) { $model->ext = $map['ext']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['optUserId'])) { $model->optUserId = $map['optUserId']; } if (isset($map['outerId'])) { $model->outerId = $map['outerId']; } if (isset($map['taskScopeVO'])) { $model->taskScopeVO = taskScopeVO::fromMap($map['taskScopeVO']); } if (isset($map['taskType'])) { $model->taskType = $map['taskType']; } if (isset($map['solutionType'])) { $model->solutionType = $map['solutionType']; } return $model; } } src/hrm_1_0/Models/SyncTaskTemplateRequest/taskScopeVO.php000064400000003657146412132660017541 0ustar00 'deptIds', 'positionIds' => 'positionIds', 'roleIds' => 'roleIds', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->positionIds) { $res['positionIds'] = $this->positionIds; } if (null !== $this->roleIds) { $res['roleIds'] = $this->roleIds; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return taskScopeVO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['positionIds'])) { if (!empty($map['positionIds'])) { $model->positionIds = $map['positionIds']; } } if (isset($map['roleIds'])) { if (!empty($map['roleIds'])) { $model->roleIds = $map['roleIds']; } } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/hrm_1_0/Models/SyncTaskTemplateResponse.php000064400000002731146412132660015476 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncTaskTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncTaskTemplateResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/SyncTaskTemplateResponseBody.php000064400000001474146412132660016317 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SyncTaskTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/hrm_1_0/Models/UpdateIsvCardMessageHeaders.php000064400000002343146412132660016022 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateIsvCardMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/hrm_1_0/Models/UpdateIsvCardMessageRequest.php000064400000004464146412132660016105 0ustar00 'agentId', 'bizId' => 'bizId', 'messageType' => 'messageType', 'sceneType' => 'sceneType', 'scope' => 'scope', 'valueMap' => 'valueMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->messageType) { $res['messageType'] = $this->messageType; } if (null !== $this->sceneType) { $res['sceneType'] = $this->sceneType; } if (null !== $this->scope) { $res['scope'] = $this->scope; } if (null !== $this->valueMap) { $res['valueMap'] = $this->valueMap; } return $res; } /** * @param array $map * * @return UpdateIsvCardMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['messageType'])) { $model->messageType = $map['messageType']; } if (isset($map['sceneType'])) { $model->sceneType = $map['sceneType']; } if (isset($map['scope'])) { $model->scope = $map['scope']; } if (isset($map['valueMap'])) { $model->valueMap = $map['valueMap']; } return $model; } } src/hrm_1_0/Models/UpdateIsvCardMessageResponse.php000064400000002751146412132660016250 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateIsvCardMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateIsvCardMessageResponseBody::fromMap($map['body']); } return $model; } } src/hrm_1_0/Models/UpdateIsvCardMessageResponseBody.php000064400000003302146412132660017057 0ustar00 'errorCode', 'errorMsg' => 'errorMsg', 'requestId' => 'requestId', '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->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateIsvCardMessageResponseBody */ 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['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/im_1_0/Dingtalk.php000064400000507473146412132660010672 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddOrgTextEmotionRequest $request * @param AddOrgTextEmotionHeaders $headers * @param RuntimeOptions $runtime * * @return AddOrgTextEmotionResponse */ public function addOrgTextEmotionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->backgroundMediaId)) { $body['backgroundMediaId'] = $request->backgroundMediaId; } if (!Utils::isUnset($request->backgroundMediaIdForPanel)) { $body['backgroundMediaIdForPanel'] = $request->backgroundMediaIdForPanel; } if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } if (!Utils::isUnset($request->emotionName)) { $body['emotionName'] = $request->emotionName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddOrgTextEmotion', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/organizations/textEmotions', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddOrgTextEmotionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddOrgTextEmotionRequest $request * * @return AddOrgTextEmotionResponse */ public function addOrgTextEmotion($request) { $runtime = new RuntimeOptions([]); $headers = new AddOrgTextEmotionHeaders([]); return $this->addOrgTextEmotionWithOptions($request, $headers, $runtime); } /** * @param AddRobotToConversationRequest $request * @param AddRobotToConversationHeaders $headers * @param RuntimeOptions $runtime * * @return AddRobotToConversationResponse */ public function addRobotToConversationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddRobotToConversation', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/conversations/robots', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddRobotToConversationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddRobotToConversationRequest $request * * @return AddRobotToConversationResponse */ public function addRobotToConversation($request) { $runtime = new RuntimeOptions([]); $headers = new AddRobotToConversationHeaders([]); return $this->addRobotToConversationWithOptions($request, $headers, $runtime); } /** * @param AutoOpenDingTalkConnectHeaders $headers * @param RuntimeOptions $runtime * * @return AutoOpenDingTalkConnectResponse */ public function autoOpenDingTalkConnectWithOptions($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' => 'AutoOpenDingTalkConnect', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/apps/open', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AutoOpenDingTalkConnectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return AutoOpenDingTalkConnectResponse */ public function autoOpenDingTalkConnect() { $runtime = new RuntimeOptions([]); $headers = new AutoOpenDingTalkConnectHeaders([]); return $this->autoOpenDingTalkConnectWithOptions($headers, $runtime); } /** * @param BatchQueryFamilySchoolMessageRequest $request * @param BatchQueryFamilySchoolMessageHeaders $headers * @param RuntimeOptions $runtime * * @return BatchQueryFamilySchoolMessageResponse */ public function batchQueryFamilySchoolMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openMessageIds)) { $body['openMessageIds'] = $request->openMessageIds; } 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' => 'BatchQueryFamilySchoolMessage', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/conversations/familySchools/messages/batchQuery', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchQueryFamilySchoolMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchQueryFamilySchoolMessageRequest $request * * @return BatchQueryFamilySchoolMessageResponse */ public function batchQueryFamilySchoolMessage($request) { $runtime = new RuntimeOptions([]); $headers = new BatchQueryFamilySchoolMessageHeaders([]); return $this->batchQueryFamilySchoolMessageWithOptions($request, $headers, $runtime); } /** * @param BatchQueryGroupMemberRequest $request * @param BatchQueryGroupMemberHeaders $headers * @param RuntimeOptions $runtime * * @return BatchQueryGroupMemberResponse */ public function batchQueryGroupMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->coolAppCode)) { $body['coolAppCode'] = $request->coolAppCode; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } 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' => 'BatchQueryGroupMember', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/sceneGroups/members/batchQuery', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchQueryGroupMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchQueryGroupMemberRequest $request * * @return BatchQueryGroupMemberResponse */ public function batchQueryGroupMember($request) { $runtime = new RuntimeOptions([]); $headers = new BatchQueryGroupMemberHeaders([]); return $this->batchQueryGroupMemberWithOptions($request, $headers, $runtime); } /** * @param CardTemplateBuildActionRequest $request * @param CardTemplateBuildActionHeaders $headers * @param RuntimeOptions $runtime * * @return CardTemplateBuildActionResponse */ public function cardTemplateBuildActionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->cardTemplateJson)) { $body['cardTemplateJson'] = $request->cardTemplateJson; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CardTemplateBuildAction', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interactiveCards/templates/buildAction', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CardTemplateBuildActionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CardTemplateBuildActionRequest $request * * @return CardTemplateBuildActionResponse */ public function cardTemplateBuildAction($request) { $runtime = new RuntimeOptions([]); $headers = new CardTemplateBuildActionHeaders([]); return $this->cardTemplateBuildActionWithOptions($request, $headers, $runtime); } /** * @param ChangeGroupOwnerRequest $request * @param ChangeGroupOwnerHeaders $headers * @param RuntimeOptions $runtime * * @return ChangeGroupOwnerResponse */ public function changeGroupOwnerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupOwnerId)) { $body['groupOwnerId'] = $request->groupOwnerId; } if (!Utils::isUnset($request->groupOwnerType)) { $body['groupOwnerType'] = $request->groupOwnerType; } 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' => 'ChangeGroupOwner', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/groups/owners', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ChangeGroupOwnerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ChangeGroupOwnerRequest $request * * @return ChangeGroupOwnerResponse */ public function changeGroupOwner($request) { $runtime = new RuntimeOptions([]); $headers = new ChangeGroupOwnerHeaders([]); return $this->changeGroupOwnerWithOptions($request, $headers, $runtime); } /** * @param string $chatId * @param ChatIdToOpenConversationIdHeaders $headers * @param RuntimeOptions $runtime * * @return ChatIdToOpenConversationIdResponse */ public function chatIdToOpenConversationIdWithOptions($chatId, $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' => 'ChatIdToOpenConversationId', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/chat/' . $chatId . '/convertToOpenConversationId', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ChatIdToOpenConversationIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $chatId * * @return ChatIdToOpenConversationIdResponse */ public function chatIdToOpenConversationId($chatId) { $runtime = new RuntimeOptions([]); $headers = new ChatIdToOpenConversationIdHeaders([]); return $this->chatIdToOpenConversationIdWithOptions($chatId, $headers, $runtime); } /** * @param ChatSubAdminUpdateRequest $request * @param ChatSubAdminUpdateHeaders $headers * @param RuntimeOptions $runtime * * @return ChatSubAdminUpdateResponse */ public function chatSubAdminUpdateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->role)) { $body['role'] = $request->role; } 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' => 'ChatSubAdminUpdate', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/subAdministrators', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ChatSubAdminUpdateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ChatSubAdminUpdateRequest $request * * @return ChatSubAdminUpdateResponse */ public function chatSubAdminUpdate($request) { $runtime = new RuntimeOptions([]); $headers = new ChatSubAdminUpdateHeaders([]); return $this->chatSubAdminUpdateWithOptions($request, $headers, $runtime); } /** * @param CheckUserIsGroupMemberRequest $request * @param CheckUserIsGroupMemberHeaders $headers * @param RuntimeOptions $runtime * * @return CheckUserIsGroupMemberResponse */ public function checkUserIsGroupMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } 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' => 'CheckUserIsGroupMember', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/innerGroups/members/check', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CheckUserIsGroupMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CheckUserIsGroupMemberRequest $request * * @return CheckUserIsGroupMemberResponse */ public function checkUserIsGroupMember($request) { $runtime = new RuntimeOptions([]); $headers = new CheckUserIsGroupMemberHeaders([]); return $this->checkUserIsGroupMemberWithOptions($request, $headers, $runtime); } /** * @param CreateCoupleGroupConversationRequest $request * @param CreateCoupleGroupConversationHeaders $headers * @param RuntimeOptions $runtime * * @return CreateCoupleGroupConversationResponse */ public function createCoupleGroupConversationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appUserId)) { $body['appUserId'] = $request->appUserId; } if (!Utils::isUnset($request->groupAvatar)) { $body['groupAvatar'] = $request->groupAvatar; } if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } if (!Utils::isUnset($request->groupOwnerId)) { $body['groupOwnerId'] = $request->groupOwnerId; } if (!Utils::isUnset($request->groupTemplateId)) { $body['groupTemplateId'] = $request->groupTemplateId; } if (!Utils::isUnset($request->operatorId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateCoupleGroupConversation', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/coupleGroups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateCoupleGroupConversationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateCoupleGroupConversationRequest $request * * @return CreateCoupleGroupConversationResponse */ public function createCoupleGroupConversation($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCoupleGroupConversationHeaders([]); return $this->createCoupleGroupConversationWithOptions($request, $headers, $runtime); } /** * @param CreateGroupConversationRequest $request * @param CreateGroupConversationHeaders $headers * @param RuntimeOptions $runtime * * @return CreateGroupConversationResponse */ public function createGroupConversationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appUserIds)) { $body['appUserIds'] = $request->appUserIds; } if (!Utils::isUnset($request->groupAvatar)) { $body['groupAvatar'] = $request->groupAvatar; } if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } if (!Utils::isUnset($request->groupOwnerId)) { $body['groupOwnerId'] = $request->groupOwnerId; } if (!Utils::isUnset($request->groupOwnerType)) { $body['groupOwnerType'] = $request->groupOwnerType; } if (!Utils::isUnset($request->groupTemplateId)) { $body['groupTemplateId'] = $request->groupTemplateId; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } 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' => 'CreateGroupConversation', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/groups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateGroupConversationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateGroupConversationRequest $request * * @return CreateGroupConversationResponse */ public function createGroupConversation($request) { $runtime = new RuntimeOptions([]); $headers = new CreateGroupConversationHeaders([]); return $this->createGroupConversationWithOptions($request, $headers, $runtime); } /** * @param CreateInterconnectionRequest $request * @param CreateInterconnectionHeaders $headers * @param RuntimeOptions $runtime * * @return CreateInterconnectionResponse */ public function createInterconnectionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->interconnections)) { $body['interconnections'] = $request->interconnections; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateInterconnection', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateInterconnectionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateInterconnectionRequest $request * * @return CreateInterconnectionResponse */ public function createInterconnection($request) { $runtime = new RuntimeOptions([]); $headers = new CreateInterconnectionHeaders([]); return $this->createInterconnectionWithOptions($request, $headers, $runtime); } /** * @param CreateSceneGroupConversationRequest $request * @param CreateSceneGroupConversationHeaders $headers * @param RuntimeOptions $runtime * * @return CreateSceneGroupConversationResponse */ public function createSceneGroupConversationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->features)) { $body['features'] = $request->features; } if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } if (!Utils::isUnset($request->groupOwnerId)) { $body['groupOwnerId'] = $request->groupOwnerId; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->managementOptions)) { $body['managementOptions'] = $request->managementOptions; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } if (!Utils::isUnset($request->userIdList)) { $body['userIdList'] = $request->userIdList; } 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' => 'CreateSceneGroupConversation', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/sceneGroups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateSceneGroupConversationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateSceneGroupConversationRequest $request * * @return CreateSceneGroupConversationResponse */ public function createSceneGroupConversation($request) { $runtime = new RuntimeOptions([]); $headers = new CreateSceneGroupConversationHeaders([]); return $this->createSceneGroupConversationWithOptions($request, $headers, $runtime); } /** * @param CreateStoreGroupConversationRequest $request * @param CreateStoreGroupConversationHeaders $headers * @param RuntimeOptions $runtime * * @return CreateStoreGroupConversationResponse */ public function createStoreGroupConversationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appUserId)) { $body['appUserId'] = $request->appUserId; } if (!Utils::isUnset($request->businessUniqueKey)) { $body['businessUniqueKey'] = $request->businessUniqueKey; } if (!Utils::isUnset($request->groupAvatar)) { $body['groupAvatar'] = $request->groupAvatar; } if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } if (!Utils::isUnset($request->groupTemplateId)) { $body['groupTemplateId'] = $request->groupTemplateId; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } 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' => 'CreateStoreGroupConversation', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/storeGroups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateStoreGroupConversationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateStoreGroupConversationRequest $request * * @return CreateStoreGroupConversationResponse */ public function createStoreGroupConversation($request) { $runtime = new RuntimeOptions([]); $headers = new CreateStoreGroupConversationHeaders([]); return $this->createStoreGroupConversationWithOptions($request, $headers, $runtime); } /** * @param DeleteOrgTextEmotionRequest $request * @param DeleteOrgTextEmotionHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteOrgTextEmotionResponse */ public function deleteOrgTextEmotionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } if (!Utils::isUnset($request->emotionIds)) { $body['emotionIds'] = $request->emotionIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeleteOrgTextEmotion', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/organizations/textEmotions/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteOrgTextEmotionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteOrgTextEmotionRequest $request * * @return DeleteOrgTextEmotionResponse */ public function deleteOrgTextEmotion($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteOrgTextEmotionHeaders([]); return $this->deleteOrgTextEmotionWithOptions($request, $headers, $runtime); } /** * @param DismissGroupConversationRequest $request * @param DismissGroupConversationHeaders $headers * @param RuntimeOptions $runtime * * @return DismissGroupConversationResponse */ public function dismissGroupConversationWithOptions($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' => 'DismissGroupConversation', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/groups/dismiss', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DismissGroupConversationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DismissGroupConversationRequest $request * * @return DismissGroupConversationResponse */ public function dismissGroupConversation($request) { $runtime = new RuntimeOptions([]); $headers = new DismissGroupConversationHeaders([]); return $this->dismissGroupConversationWithOptions($request, $headers, $runtime); } /** * @param GetConversationUrlRequest $request * @param GetConversationUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetConversationUrlResponse */ public function getConversationUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appUserId)) { $body['appUserId'] = $request->appUserId; } if (!Utils::isUnset($request->channelCode)) { $body['channelCode'] = $request->channelCode; } if (!Utils::isUnset($request->deviceId)) { $body['deviceId'] = $request->deviceId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } 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' => 'GetConversationUrl', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/conversations/urls', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetConversationUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetConversationUrlRequest $request * * @return GetConversationUrlResponse */ public function getConversationUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetConversationUrlHeaders([]); return $this->getConversationUrlWithOptions($request, $headers, $runtime); } /** * @param GetFamilySchoolConversationMsgRequest $request * @param GetFamilySchoolConversationMsgHeaders $headers * @param RuntimeOptions $runtime * * @return GetFamilySchoolConversationMsgResponse */ public function getFamilySchoolConversationMsgWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->msgTypes)) { $body['msgTypes'] = $request->msgTypes; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } 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' => 'GetFamilySchoolConversationMsg', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/conversations/familySchools/messages/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFamilySchoolConversationMsgResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetFamilySchoolConversationMsgRequest $request * * @return GetFamilySchoolConversationMsgResponse */ public function getFamilySchoolConversationMsg($request) { $runtime = new RuntimeOptions([]); $headers = new GetFamilySchoolConversationMsgHeaders([]); return $this->getFamilySchoolConversationMsgWithOptions($request, $headers, $runtime); } /** * @param GetFamilySchoolConversationsRequest $request * @param GetFamilySchoolConversationsHeaders $headers * @param RuntimeOptions $runtime * * @return GetFamilySchoolConversationsResponse */ public function getFamilySchoolConversationsWithOptions($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->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' => 'GetFamilySchoolConversations', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/conversations/familySchools/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFamilySchoolConversationsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetFamilySchoolConversationsRequest $request * * @return GetFamilySchoolConversationsResponse */ public function getFamilySchoolConversations($request) { $runtime = new RuntimeOptions([]); $headers = new GetFamilySchoolConversationsHeaders([]); return $this->getFamilySchoolConversationsWithOptions($request, $headers, $runtime); } /** * @param GetInnerGroupMembersRequest $request * @param GetInnerGroupMembersHeaders $headers * @param RuntimeOptions $runtime * * @return GetInnerGroupMembersResponse */ public function getInnerGroupMembersWithOptions($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->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } 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' => 'GetInnerGroupMembers', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/innerGroups/members/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetInnerGroupMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetInnerGroupMembersRequest $request * * @return GetInnerGroupMembersResponse */ public function getInnerGroupMembers($request) { $runtime = new RuntimeOptions([]); $headers = new GetInnerGroupMembersHeaders([]); return $this->getInnerGroupMembersWithOptions($request, $headers, $runtime); } /** * @param GetInterconnectionUrlRequest $request * @param GetInterconnectionUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetInterconnectionUrlResponse */ public function getInterconnectionUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appUserAvatar)) { $body['appUserAvatar'] = $request->appUserAvatar; } if (!Utils::isUnset($request->appUserAvatarType)) { $body['appUserAvatarType'] = $request->appUserAvatarType; } if (!Utils::isUnset($request->appUserId)) { $body['appUserId'] = $request->appUserId; } if (!Utils::isUnset($request->appUserMobileNumber)) { $body['appUserMobileNumber'] = $request->appUserMobileNumber; } if (!Utils::isUnset($request->appUserName)) { $body['appUserName'] = $request->appUserName; } if (!Utils::isUnset($request->msgPageType)) { $body['msgPageType'] = $request->msgPageType; } if (!Utils::isUnset($request->qrCode)) { $body['qrCode'] = $request->qrCode; } if (!Utils::isUnset($request->signature)) { $body['signature'] = $request->signature; } if (!Utils::isUnset($request->sourceCode)) { $body['sourceCode'] = $request->sourceCode; } if (!Utils::isUnset($request->sourceType)) { $body['sourceType'] = $request->sourceType; } 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' => 'GetInterconnectionUrl', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/sessions/urls', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetInterconnectionUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetInterconnectionUrlRequest $request * * @return GetInterconnectionUrlResponse */ public function getInterconnectionUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetInterconnectionUrlHeaders([]); return $this->getInterconnectionUrlWithOptions($request, $headers, $runtime); } /** * @param GetNewestInnerGroupsRequest $request * @param GetNewestInnerGroupsHeaders $headers * @param RuntimeOptions $runtime * * @return GetNewestInnerGroupsResponse */ public function getNewestInnerGroupsWithOptions($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' => 'GetNewestInnerGroups', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/activities/innerGroups', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetNewestInnerGroupsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetNewestInnerGroupsRequest $request * * @return GetNewestInnerGroupsResponse */ public function getNewestInnerGroups($request) { $runtime = new RuntimeOptions([]); $headers = new GetNewestInnerGroupsHeaders([]); return $this->getNewestInnerGroupsWithOptions($request, $headers, $runtime); } /** * @param GetSceneGroupInfoRequest $request * @param GetSceneGroupInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetSceneGroupInfoResponse */ public function getSceneGroupInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->coolAppCode)) { $body['coolAppCode'] = $request->coolAppCode; } 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' => 'GetSceneGroupInfo', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/sceneGroups/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSceneGroupInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSceneGroupInfoRequest $request * * @return GetSceneGroupInfoResponse */ public function getSceneGroupInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetSceneGroupInfoHeaders([]); return $this->getSceneGroupInfoWithOptions($request, $headers, $runtime); } /** * @param GetSceneGroupMembersRequest $request * @param GetSceneGroupMembersHeaders $headers * @param RuntimeOptions $runtime * * @return GetSceneGroupMembersResponse */ public function getSceneGroupMembersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->coolAppCode)) { $body['coolAppCode'] = $request->coolAppCode; } if (!Utils::isUnset($request->cursor)) { $body['cursor'] = $request->cursor; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } 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' => 'GetSceneGroupMembers', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/sceneGroups/members/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSceneGroupMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSceneGroupMembersRequest $request * * @return GetSceneGroupMembersResponse */ public function getSceneGroupMembers($request) { $runtime = new RuntimeOptions([]); $headers = new GetSceneGroupMembersHeaders([]); return $this->getSceneGroupMembersWithOptions($request, $headers, $runtime); } /** * @param GroupBanWordsRequest $request * @param GroupBanWordsHeaders $headers * @param RuntimeOptions $runtime * * @return GroupBanWordsResponse */ public function groupBanWordsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->banWordsMode)) { $body['banWordsMode'] = $request->banWordsMode; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->options)) { $body['options'] = $request->options; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GroupBanWords', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/groups/words/ban', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return GroupBanWordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GroupBanWordsRequest $request * * @return GroupBanWordsResponse */ public function groupBanWords($request) { $runtime = new RuntimeOptions([]); $headers = new GroupBanWordsHeaders([]); return $this->groupBanWordsWithOptions($request, $headers, $runtime); } /** * @param GroupCapacityInquiryRequest $request * @param GroupCapacityInquiryHeaders $headers * @param RuntimeOptions $runtime * * @return GroupCapacityInquiryResponse */ public function groupCapacityInquiryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->effectiveDuration)) { $body['effectiveDuration'] = $request->effectiveDuration; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } if (!Utils::isUnset($request->options)) { $body['options'] = $request->options; } if (!Utils::isUnset($request->targetCapacity)) { $body['targetCapacity'] = $request->targetCapacity; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GroupCapacityInquiry', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/groups/capacities/inquiries/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GroupCapacityInquiryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GroupCapacityInquiryRequest $request * * @return GroupCapacityInquiryResponse */ public function groupCapacityInquiry($request) { $runtime = new RuntimeOptions([]); $headers = new GroupCapacityInquiryHeaders([]); return $this->groupCapacityInquiryWithOptions($request, $headers, $runtime); } /** * @param GroupCapacityOrderConfirmRequest $request * @param GroupCapacityOrderConfirmHeaders $headers * @param RuntimeOptions $runtime * * @return GroupCapacityOrderConfirmResponse */ public function groupCapacityOrderConfirmWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } 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' => 'GroupCapacityOrderConfirm', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/groups/capacities/orders/confirm', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GroupCapacityOrderConfirmResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GroupCapacityOrderConfirmRequest $request * * @return GroupCapacityOrderConfirmResponse */ public function groupCapacityOrderConfirm($request) { $runtime = new RuntimeOptions([]); $headers = new GroupCapacityOrderConfirmHeaders([]); return $this->groupCapacityOrderConfirmWithOptions($request, $headers, $runtime); } /** * @param GroupCapacityOrderPlaceRequest $request * @param GroupCapacityOrderPlaceHeaders $headers * @param RuntimeOptions $runtime * * @return GroupCapacityOrderPlaceResponse */ public function groupCapacityOrderPlaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->actualPrice)) { $body['actualPrice'] = $request->actualPrice; } if (!Utils::isUnset($request->currentCapacity)) { $body['currentCapacity'] = $request->currentCapacity; } if (!Utils::isUnset($request->currentEffectUntil)) { $body['currentEffectUntil'] = $request->currentEffectUntil; } if (!Utils::isUnset($request->discount)) { $body['discount'] = $request->discount; } if (!Utils::isUnset($request->extInfo)) { $body['extInfo'] = $request->extInfo; } if (!Utils::isUnset($request->markedPrice)) { $body['markedPrice'] = $request->markedPrice; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } if (!Utils::isUnset($request->targetCapacity)) { $body['targetCapacity'] = $request->targetCapacity; } if (!Utils::isUnset($request->targetEffectUntil)) { $body['targetEffectUntil'] = $request->targetEffectUntil; } if (!Utils::isUnset($request->token)) { $body['token'] = $request->token; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GroupCapacityOrderPlace', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/groups/capacities/orders/place', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GroupCapacityOrderPlaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GroupCapacityOrderPlaceRequest $request * * @return GroupCapacityOrderPlaceResponse */ public function groupCapacityOrderPlace($request) { $runtime = new RuntimeOptions([]); $headers = new GroupCapacityOrderPlaceHeaders([]); return $this->groupCapacityOrderPlaceWithOptions($request, $headers, $runtime); } /** * @param GroupManageQueryRequest $request * @param GroupManageQueryHeaders $headers * @param RuntimeOptions $runtime * * @return GroupManageQueryResponse */ public function groupManageQueryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->createdAfter)) { $body['createdAfter'] = $request->createdAfter; } if (!Utils::isUnset($request->groupId)) { $body['groupId'] = $request->groupId; } if (!Utils::isUnset($request->groupMemberSamples)) { $body['groupMemberSamples'] = $request->groupMemberSamples; } if (!Utils::isUnset($request->groupOwner)) { $body['groupOwner'] = $request->groupOwner; } if (!Utils::isUnset($request->groupTitleKeywords)) { $body['groupTitleKeywords'] = $request->groupTitleKeywords; } if (!Utils::isUnset($request->groupUrl)) { $body['groupUrl'] = $request->groupUrl; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->membersOver)) { $body['membersOver'] = $request->membersOver; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } 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' => 'GroupManageQuery', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/groups/managements/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GroupManageQueryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GroupManageQueryRequest $request * * @return GroupManageQueryResponse */ public function groupManageQuery($request) { $runtime = new RuntimeOptions([]); $headers = new GroupManageQueryHeaders([]); return $this->groupManageQueryWithOptions($request, $headers, $runtime); } /** * @param GroupManageReduceRequest $request * @param GroupManageReduceHeaders $headers * @param RuntimeOptions $runtime * * @return GroupManageReduceResponse */ public function groupManageReduceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->capacityLimit)) { $body['capacityLimit'] = $request->capacityLimit; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->options)) { $body['options'] = $request->options; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GroupManageReduce', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/groups/capacities/reduce', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return GroupManageReduceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GroupManageReduceRequest $request * * @return GroupManageReduceResponse */ public function groupManageReduce($request) { $runtime = new RuntimeOptions([]); $headers = new GroupManageReduceHeaders([]); return $this->groupManageReduceWithOptions($request, $headers, $runtime); } /** * @param InstallRobotToOrgRequest $request * @param InstallRobotToOrgHeaders $headers * @param RuntimeOptions $runtime * * @return InstallRobotToOrgResponse */ public function installRobotToOrgWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->brief)) { $body['brief'] = $request->brief; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->outgoingToken)) { $body['outgoingToken'] = $request->outgoingToken; } if (!Utils::isUnset($request->outgoingUrl)) { $body['outgoingUrl'] = $request->outgoingUrl; } if (!Utils::isUnset($request->previewMediaId)) { $body['previewMediaId'] = $request->previewMediaId; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'InstallRobotToOrg', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/organizations/robots/install', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InstallRobotToOrgResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param InstallRobotToOrgRequest $request * * @return InstallRobotToOrgResponse */ public function installRobotToOrg($request) { $runtime = new RuntimeOptions([]); $headers = new InstallRobotToOrgHeaders([]); return $this->installRobotToOrgWithOptions($request, $headers, $runtime); } /** * @param InteractiveCardCreateInstanceRequest $request * @param InteractiveCardCreateInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return InteractiveCardCreateInstanceResponse */ public function interactiveCardCreateInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->callbackRouteKey)) { $body['callbackRouteKey'] = $request->callbackRouteKey; } if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->cardTemplateId)) { $body['cardTemplateId'] = $request->cardTemplateId; } if (!Utils::isUnset($request->chatBotId)) { $body['chatBotId'] = $request->chatBotId; } if (!Utils::isUnset($request->conversationType)) { $body['conversationType'] = $request->conversationType; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->privateData)) { $body['privateData'] = $request->privateData; } if (!Utils::isUnset($request->pullStrategy)) { $body['pullStrategy'] = $request->pullStrategy; } if (!Utils::isUnset($request->receiverUserIdList)) { $body['receiverUserIdList'] = $request->receiverUserIdList; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } 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' => 'InteractiveCardCreateInstance', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interactiveCards/instances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InteractiveCardCreateInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param InteractiveCardCreateInstanceRequest $request * * @return InteractiveCardCreateInstanceResponse */ public function interactiveCardCreateInstance($request) { $runtime = new RuntimeOptions([]); $headers = new InteractiveCardCreateInstanceHeaders([]); return $this->interactiveCardCreateInstanceWithOptions($request, $headers, $runtime); } /** * @param ListOrgTextEmotionHeaders $headers * @param RuntimeOptions $runtime * * @return ListOrgTextEmotionResponse */ public function listOrgTextEmotionWithOptions($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' => 'ListOrgTextEmotion', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/organizations/textEmotions', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListOrgTextEmotionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return ListOrgTextEmotionResponse */ public function listOrgTextEmotion() { $runtime = new RuntimeOptions([]); $headers = new ListOrgTextEmotionHeaders([]); return $this->listOrgTextEmotionWithOptions($headers, $runtime); } /** * @param QueryGroupInfoByMemberAuthRequest $request * @param QueryGroupInfoByMemberAuthHeaders $headers * @param RuntimeOptions $runtime * * @return QueryGroupInfoByMemberAuthResponse */ public function queryGroupInfoByMemberAuthWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->coolAppCode)) { $body['coolAppCode'] = $request->coolAppCode; } 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' => 'QueryGroupInfoByMemberAuth', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/memberAuthorizations/groups/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryGroupInfoByMemberAuthResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryGroupInfoByMemberAuthRequest $request * * @return QueryGroupInfoByMemberAuthResponse */ public function queryGroupInfoByMemberAuth($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGroupInfoByMemberAuthHeaders([]); return $this->queryGroupInfoByMemberAuthWithOptions($request, $headers, $runtime); } /** * @param QueryGroupMemberRequest $request * @param QueryGroupMemberHeaders $headers * @param RuntimeOptions $runtime * * @return QueryGroupMemberResponse */ public function queryGroupMemberWithOptions($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' => 'QueryGroupMember', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/conversations/members', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryGroupMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryGroupMemberRequest $request * * @return QueryGroupMemberResponse */ public function queryGroupMember($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGroupMemberHeaders([]); return $this->queryGroupMemberWithOptions($request, $headers, $runtime); } /** * @param QueryGroupMemberByMemberAuthRequest $request * @param QueryGroupMemberByMemberAuthHeaders $headers * @param RuntimeOptions $runtime * * @return QueryGroupMemberByMemberAuthResponse */ public function queryGroupMemberByMemberAuthWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->coolAppCode)) { $body['coolAppCode'] = $request->coolAppCode; } 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' => 'QueryGroupMemberByMemberAuth', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/memberAuthorizations/groups/members/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryGroupMemberByMemberAuthResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryGroupMemberByMemberAuthRequest $request * * @return QueryGroupMemberByMemberAuthResponse */ public function queryGroupMemberByMemberAuth($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGroupMemberByMemberAuthHeaders([]); return $this->queryGroupMemberByMemberAuthWithOptions($request, $headers, $runtime); } /** * @param QueryGroupMuteStatusRequest $request * @param QueryGroupMuteStatusHeaders $headers * @param RuntimeOptions $runtime * * @return QueryGroupMuteStatusResponse */ public function queryGroupMuteStatusWithOptions($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; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryGroupMuteStatus', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/sceneGroups/muteSettings', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryGroupMuteStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryGroupMuteStatusRequest $request * * @return QueryGroupMuteStatusResponse */ public function queryGroupMuteStatus($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGroupMuteStatusHeaders([]); return $this->queryGroupMuteStatusWithOptions($request, $headers, $runtime); } /** * @param QueryMembersOfGroupRoleRequest $request * @param QueryMembersOfGroupRoleHeaders $headers * @param RuntimeOptions $runtime * * @return QueryMembersOfGroupRoleResponse */ public function queryMembersOfGroupRoleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openRoleId)) { $body['openRoleId'] = $request->openRoleId; } if (!Utils::isUnset($request->timestamp)) { $body['timestamp'] = $request->timestamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryMembersOfGroupRole', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/sceneGroups/roles/members/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryMembersOfGroupRoleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryMembersOfGroupRoleRequest $request * * @return QueryMembersOfGroupRoleResponse */ public function queryMembersOfGroupRole($request) { $runtime = new RuntimeOptions([]); $headers = new QueryMembersOfGroupRoleHeaders([]); return $this->queryMembersOfGroupRoleWithOptions($request, $headers, $runtime); } /** * @param QuerySceneGroupTemplateRobotRequest $request * @param QuerySceneGroupTemplateRobotHeaders $headers * @param RuntimeOptions $runtime * * @return QuerySceneGroupTemplateRobotResponse */ public function querySceneGroupTemplateRobotWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->openConversationId)) { $query['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->robotCode)) { $query['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QuerySceneGroupTemplateRobot', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/sceneGroups/templates/robots', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QuerySceneGroupTemplateRobotResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QuerySceneGroupTemplateRobotRequest $request * * @return QuerySceneGroupTemplateRobotResponse */ public function querySceneGroupTemplateRobot($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySceneGroupTemplateRobotHeaders([]); return $this->querySceneGroupTemplateRobotWithOptions($request, $headers, $runtime); } /** * @param QuerySingleGroupRequest $request * @param QuerySingleGroupHeaders $headers * @param RuntimeOptions $runtime * * @return QuerySingleGroupResponse */ public function querySingleGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupMembers)) { $body['groupMembers'] = $request->groupMembers; } if (!Utils::isUnset($request->groupTemplateId)) { $body['groupTemplateId'] = $request->groupTemplateId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QuerySingleGroup', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/doubleGroups/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QuerySingleGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QuerySingleGroupRequest $request * * @return QuerySingleGroupResponse */ public function querySingleGroup($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySingleGroupHeaders([]); return $this->querySingleGroupWithOptions($request, $headers, $runtime); } /** * @param QueryUnReadMessageRequest $request * @param QueryUnReadMessageHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUnReadMessageResponse */ public function queryUnReadMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appUserId)) { $body['appUserId'] = $request->appUserId; } 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' => 'QueryUnReadMessage', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/unReadMsgs/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUnReadMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryUnReadMessageRequest $request * * @return QueryUnReadMessageResponse */ public function queryUnReadMessage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUnReadMessageHeaders([]); return $this->queryUnReadMessageWithOptions($request, $headers, $runtime); } /** * @param RemoveRobotFromConversationRequest $request * @param RemoveRobotFromConversationHeaders $headers * @param RuntimeOptions $runtime * * @return RemoveRobotFromConversationResponse */ public function removeRobotFromConversationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->chatBotUserId)) { $body['chatBotUserId'] = $request->chatBotUserId; } 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' => 'RemoveRobotFromConversation', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/conversations/robots/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RemoveRobotFromConversationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RemoveRobotFromConversationRequest $request * * @return RemoveRobotFromConversationResponse */ public function removeRobotFromConversation($request) { $runtime = new RuntimeOptions([]); $headers = new RemoveRobotFromConversationHeaders([]); return $this->removeRobotFromConversationWithOptions($request, $headers, $runtime); } /** * @param SearchInnerGroupsRequest $request * @param SearchInnerGroupsHeaders $headers * @param RuntimeOptions $runtime * * @return SearchInnerGroupsResponse */ public function searchInnerGroupsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->searchKey)) { $body['searchKey'] = $request->searchKey; } 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' => 'SearchInnerGroups', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/innerGroups/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchInnerGroupsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchInnerGroupsRequest $request * * @return SearchInnerGroupsResponse */ public function searchInnerGroups($request) { $runtime = new RuntimeOptions([]); $headers = new SearchInnerGroupsHeaders([]); return $this->searchInnerGroupsWithOptions($request, $headers, $runtime); } /** * @param SendInteractiveCardRequest $request * @param SendInteractiveCardHeaders $headers * @param RuntimeOptions $runtime * * @return SendInteractiveCardResponse */ public function sendInteractiveCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->atOpenIds)) { $body['atOpenIds'] = $request->atOpenIds; } if (!Utils::isUnset($request->callbackRouteKey)) { $body['callbackRouteKey'] = $request->callbackRouteKey; } if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->cardOptions)) { $body['cardOptions'] = $request->cardOptions; } if (!Utils::isUnset($request->cardTemplateId)) { $body['cardTemplateId'] = $request->cardTemplateId; } if (!Utils::isUnset($request->chatBotId)) { $body['chatBotId'] = $request->chatBotId; } if (!Utils::isUnset($request->conversationType)) { $body['conversationType'] = $request->conversationType; } if (!Utils::isUnset($request->digitalWorkerCode)) { $body['digitalWorkerCode'] = $request->digitalWorkerCode; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->privateData)) { $body['privateData'] = $request->privateData; } if (!Utils::isUnset($request->pullStrategy)) { $body['pullStrategy'] = $request->pullStrategy; } if (!Utils::isUnset($request->receiverUserIdList)) { $body['receiverUserIdList'] = $request->receiverUserIdList; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } 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' => 'SendInteractiveCard', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interactiveCards/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendInteractiveCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendInteractiveCardRequest $request * * @return SendInteractiveCardResponse */ public function sendInteractiveCard($request) { $runtime = new RuntimeOptions([]); $headers = new SendInteractiveCardHeaders([]); return $this->sendInteractiveCardWithOptions($request, $headers, $runtime); } /** * @param SendOTOInteractiveCardRequest $request * @param SendOTOInteractiveCardHeaders $headers * @param RuntimeOptions $runtime * * @return SendOTOInteractiveCardResponse */ public function sendOTOInteractiveCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->atOpenIds)) { $body['atOpenIds'] = $request->atOpenIds; } if (!Utils::isUnset($request->callbackRouteKey)) { $body['callbackRouteKey'] = $request->callbackRouteKey; } if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->cardOptions)) { $body['cardOptions'] = $request->cardOptions; } if (!Utils::isUnset($request->cardTemplateId)) { $body['cardTemplateId'] = $request->cardTemplateId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->privateData)) { $body['privateData'] = $request->privateData; } if (!Utils::isUnset($request->pullStrategy)) { $body['pullStrategy'] = $request->pullStrategy; } if (!Utils::isUnset($request->receiverUserIdList)) { $body['receiverUserIdList'] = $request->receiverUserIdList; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } 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' => 'SendOTOInteractiveCard', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/privateChat/interactiveCards/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendOTOInteractiveCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendOTOInteractiveCardRequest $request * * @return SendOTOInteractiveCardResponse */ public function sendOTOInteractiveCard($request) { $runtime = new RuntimeOptions([]); $headers = new SendOTOInteractiveCardHeaders([]); return $this->sendOTOInteractiveCardWithOptions($request, $headers, $runtime); } /** * @param SendRobotInteractiveCardRequest $request * @param SendRobotInteractiveCardHeaders $headers * @param RuntimeOptions $runtime * * @return SendRobotInteractiveCardResponse */ public function sendRobotInteractiveCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->callbackUrl)) { $body['callbackUrl'] = $request->callbackUrl; } if (!Utils::isUnset($request->cardBizId)) { $body['cardBizId'] = $request->cardBizId; } if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->cardTemplateId)) { $body['cardTemplateId'] = $request->cardTemplateId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->pullStrategy)) { $body['pullStrategy'] = $request->pullStrategy; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } if (!Utils::isUnset($request->sendOptions)) { $body['sendOptions'] = $request->sendOptions; } if (!Utils::isUnset($request->singleChatReceiver)) { $body['singleChatReceiver'] = $request->singleChatReceiver; } if (!Utils::isUnset($request->unionIdPrivateDataMap)) { $body['unionIdPrivateDataMap'] = $request->unionIdPrivateDataMap; } if (!Utils::isUnset($request->userIdPrivateDataMap)) { $body['userIdPrivateDataMap'] = $request->userIdPrivateDataMap; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendRobotInteractiveCard', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/v1.0/robot/interactiveCards/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendRobotInteractiveCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendRobotInteractiveCardRequest $request * * @return SendRobotInteractiveCardResponse */ public function sendRobotInteractiveCard($request) { $runtime = new RuntimeOptions([]); $headers = new SendRobotInteractiveCardHeaders([]); return $this->sendRobotInteractiveCardWithOptions($request, $headers, $runtime); } /** * @param SendRobotMessageRequest $request * @param SendRobotMessageHeaders $headers * @param RuntimeOptions $runtime * * @return SendRobotMessageResponse */ public function sendRobotMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->atAll)) { $body['atAll'] = $request->atAll; } if (!Utils::isUnset($request->atAppUserId)) { $body['atAppUserId'] = $request->atAppUserId; } if (!Utils::isUnset($request->atDingUserId)) { $body['atDingUserId'] = $request->atDingUserId; } if (!Utils::isUnset($request->msgContent)) { $body['msgContent'] = $request->msgContent; } if (!Utils::isUnset($request->msgType)) { $body['msgType'] = $request->msgType; } if (!Utils::isUnset($request->openConversationIds)) { $body['openConversationIds'] = $request->openConversationIds; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendRobotMessage', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/robotMessages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendRobotMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendRobotMessageRequest $request * * @return SendRobotMessageResponse */ public function sendRobotMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendRobotMessageHeaders([]); return $this->sendRobotMessageWithOptions($request, $headers, $runtime); } /** * @param SendTemplateInteractiveCardRequest $request * @param SendTemplateInteractiveCardHeaders $headers * @param RuntimeOptions $runtime * * @return SendTemplateInteractiveCardResponse */ public function sendTemplateInteractiveCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->callbackUrl)) { $body['callbackUrl'] = $request->callbackUrl; } if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->cardTemplateId)) { $body['cardTemplateId'] = $request->cardTemplateId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } if (!Utils::isUnset($request->sendOptions)) { $body['sendOptions'] = $request->sendOptions; } if (!Utils::isUnset($request->singleChatReceiver)) { $body['singleChatReceiver'] = $request->singleChatReceiver; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendTemplateInteractiveCard', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interactiveCards/templates/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendTemplateInteractiveCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendTemplateInteractiveCardRequest $request * * @return SendTemplateInteractiveCardResponse */ public function sendTemplateInteractiveCard($request) { $runtime = new RuntimeOptions([]); $headers = new SendTemplateInteractiveCardHeaders([]); return $this->sendTemplateInteractiveCardWithOptions($request, $headers, $runtime); } /** * @param SetRightPanelRequest $request * @param SetRightPanelHeaders $headers * @param RuntimeOptions $runtime * * @return SetRightPanelResponse */ public function setRightPanelWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->rightPanelClosePermitted)) { $body['rightPanelClosePermitted'] = $request->rightPanelClosePermitted; } if (!Utils::isUnset($request->rightPanelOpenStatus)) { $body['rightPanelOpenStatus'] = $request->rightPanelOpenStatus; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } if (!Utils::isUnset($request->webWndParams)) { $body['webWndParams'] = $request->webWndParams; } if (!Utils::isUnset($request->width)) { $body['width'] = $request->width; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SetRightPanel', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/rightPanels/set', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SetRightPanelResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SetRightPanelRequest $request * * @return SetRightPanelResponse */ public function setRightPanel($request) { $runtime = new RuntimeOptions([]); $headers = new SetRightPanelHeaders([]); return $this->setRightPanelWithOptions($request, $headers, $runtime); } /** * @param TopboxCloseRequest $request * @param TopboxCloseHeaders $headers * @param RuntimeOptions $runtime * * @return TopboxCloseResponse */ public function topboxCloseWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationType)) { $body['conversationType'] = $request->conversationType; } if (!Utils::isUnset($request->coolAppCode)) { $body['coolAppCode'] = $request->coolAppCode; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->receiverUserIdList)) { $body['receiverUserIdList'] = $request->receiverUserIdList; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'TopboxClose', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/topBoxes/close', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return TopboxCloseResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param TopboxCloseRequest $request * * @return TopboxCloseResponse */ public function topboxClose($request) { $runtime = new RuntimeOptions([]); $headers = new TopboxCloseHeaders([]); return $this->topboxCloseWithOptions($request, $headers, $runtime); } /** * @param TopboxOpenRequest $request * @param TopboxOpenHeaders $headers * @param RuntimeOptions $runtime * * @return TopboxOpenResponse */ public function topboxOpenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationType)) { $body['conversationType'] = $request->conversationType; } if (!Utils::isUnset($request->coolAppCode)) { $body['coolAppCode'] = $request->coolAppCode; } if (!Utils::isUnset($request->expiredTime)) { $body['expiredTime'] = $request->expiredTime; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->platforms)) { $body['platforms'] = $request->platforms; } if (!Utils::isUnset($request->receiverUserIdList)) { $body['receiverUserIdList'] = $request->receiverUserIdList; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'TopboxOpen', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/topBoxes/open', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return TopboxOpenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param TopboxOpenRequest $request * * @return TopboxOpenResponse */ public function topboxOpen($request) { $runtime = new RuntimeOptions([]); $headers = new TopboxOpenHeaders([]); return $this->topboxOpenWithOptions($request, $headers, $runtime); } /** * @param UpdateGroupAvatarRequest $request * @param UpdateGroupAvatarHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateGroupAvatarResponse */ public function updateGroupAvatarWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupAvatar)) { $body['groupAvatar'] = $request->groupAvatar; } 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' => 'UpdateGroupAvatar', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/groups/avatars', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateGroupAvatarResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateGroupAvatarRequest $request * * @return UpdateGroupAvatarResponse */ public function updateGroupAvatar($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateGroupAvatarHeaders([]); return $this->updateGroupAvatarWithOptions($request, $headers, $runtime); } /** * @param UpdateGroupNameRequest $request * @param UpdateGroupNameHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateGroupNameResponse */ public function updateGroupNameWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } 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' => 'UpdateGroupName', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/groups/names', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateGroupNameResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateGroupNameRequest $request * * @return UpdateGroupNameResponse */ public function updateGroupName($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateGroupNameHeaders([]); return $this->updateGroupNameWithOptions($request, $headers, $runtime); } /** * @param UpdateGroupPermissionRequest $request * @param UpdateGroupPermissionHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateGroupPermissionResponse */ public function updateGroupPermissionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->permissionGroup)) { $body['permissionGroup'] = $request->permissionGroup; } 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' => 'UpdateGroupPermission', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/sceneGroups/permissions', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateGroupPermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateGroupPermissionRequest $request * * @return UpdateGroupPermissionResponse */ public function updateGroupPermission($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateGroupPermissionHeaders([]); return $this->updateGroupPermissionWithOptions($request, $headers, $runtime); } /** * @param UpdateGroupSubAdminRequest $request * @param UpdateGroupSubAdminHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateGroupSubAdminResponse */ public function updateGroupSubAdminWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->role)) { $body['role'] = $request->role; } 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' => 'UpdateGroupSubAdmin', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/sceneGroups/subAdmins', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateGroupSubAdminResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateGroupSubAdminRequest $request * * @return UpdateGroupSubAdminResponse */ public function updateGroupSubAdmin($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateGroupSubAdminHeaders([]); return $this->updateGroupSubAdminWithOptions($request, $headers, $runtime); } /** * @param UpdateInteractiveCardRequest $request * @param UpdateInteractiveCardHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateInteractiveCardResponse */ public function updateInteractiveCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->cardOptions)) { $body['cardOptions'] = $request->cardOptions; } 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' => 'UpdateInteractiveCard', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interactiveCards', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateInteractiveCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateInteractiveCardRequest $request * * @return UpdateInteractiveCardResponse */ public function updateInteractiveCard($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInteractiveCardHeaders([]); return $this->updateInteractiveCardWithOptions($request, $headers, $runtime); } /** * @param UpdateMemberBanWordsRequest $request * @param UpdateMemberBanWordsHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateMemberBanWordsResponse */ public function updateMemberBanWordsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->muteDuration)) { $body['muteDuration'] = $request->muteDuration; } if (!Utils::isUnset($request->muteStatus)) { $body['muteStatus'] = $request->muteStatus; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } 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' => 'UpdateMemberBanWords', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/sceneGroups/muteMembers/set', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return UpdateMemberBanWordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateMemberBanWordsRequest $request * * @return UpdateMemberBanWordsResponse */ public function updateMemberBanWords($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateMemberBanWordsHeaders([]); return $this->updateMemberBanWordsWithOptions($request, $headers, $runtime); } /** * @param UpdateMemberGroupNickRequest $request * @param UpdateMemberGroupNickHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateMemberGroupNickResponse */ public function updateMemberGroupNickWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupNick)) { $body['groupNick'] = $request->groupNick; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } 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' => 'UpdateMemberGroupNick', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/sceneGroups/members/groupNicks', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateMemberGroupNickResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateMemberGroupNickRequest $request * * @return UpdateMemberGroupNickResponse */ public function updateMemberGroupNick($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateMemberGroupNickHeaders([]); return $this->updateMemberGroupNickWithOptions($request, $headers, $runtime); } /** * @param UpdateRobotInOrgRequest $request * @param UpdateRobotInOrgHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateRobotInOrgResponse */ public function updateRobotInOrgWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->brief)) { $body['brief'] = $request->brief; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->outgoingToken)) { $body['outgoingToken'] = $request->outgoingToken; } if (!Utils::isUnset($request->outgoingUrl)) { $body['outgoingUrl'] = $request->outgoingUrl; } if (!Utils::isUnset($request->previewMediaId)) { $body['previewMediaId'] = $request->previewMediaId; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateRobotInOrg', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/organizations/robots', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateRobotInOrgResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateRobotInOrgRequest $request * * @return UpdateRobotInOrgResponse */ public function updateRobotInOrg($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateRobotInOrgHeaders([]); return $this->updateRobotInOrgWithOptions($request, $headers, $runtime); } /** * @param UpdateRobotInteractiveCardRequest $request * @param UpdateRobotInteractiveCardHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateRobotInteractiveCardResponse */ public function updateRobotInteractiveCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->cardBizId)) { $body['cardBizId'] = $request->cardBizId; } if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->unionIdPrivateDataMap)) { $body['unionIdPrivateDataMap'] = $request->unionIdPrivateDataMap; } if (!Utils::isUnset($request->updateOptions)) { $body['updateOptions'] = $request->updateOptions; } if (!Utils::isUnset($request->userIdPrivateDataMap)) { $body['userIdPrivateDataMap'] = $request->userIdPrivateDataMap; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateRobotInteractiveCard', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/robots/interactiveCards', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateRobotInteractiveCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateRobotInteractiveCardRequest $request * * @return UpdateRobotInteractiveCardResponse */ public function updateRobotInteractiveCard($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateRobotInteractiveCardHeaders([]); return $this->updateRobotInteractiveCardWithOptions($request, $headers, $runtime); } /** * @param UpdateTheGroupRolesOfGroupMemberRequest $request * @param UpdateTheGroupRolesOfGroupMemberHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateTheGroupRolesOfGroupMemberResponse */ public function updateTheGroupRolesOfGroupMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openRoleIds)) { $body['openRoleIds'] = $request->openRoleIds; } 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' => 'UpdateTheGroupRolesOfGroupMember', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/sceneGroups/members/groupRoles', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTheGroupRolesOfGroupMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateTheGroupRolesOfGroupMemberRequest $request * * @return UpdateTheGroupRolesOfGroupMemberResponse */ public function updateTheGroupRolesOfGroupMember($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTheGroupRolesOfGroupMemberHeaders([]); return $this->updateTheGroupRolesOfGroupMemberWithOptions($request, $headers, $runtime); } /** * @param AddGroupMemberRequest $request * @param AddGroupMemberHeaders $headers * @param RuntimeOptions $runtime * * @return AddGroupMemberResponse */ public function addGroupMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appUserIds)) { $body['appUserIds'] = $request->appUserIds; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } 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' => 'addGroupMember', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/groups/members', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddGroupMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddGroupMemberRequest $request * * @return AddGroupMemberResponse */ public function addGroupMember($request) { $runtime = new RuntimeOptions([]); $headers = new AddGroupMemberHeaders([]); return $this->addGroupMemberWithOptions($request, $headers, $runtime); } /** * @param RemoveGroupMemberRequest $request * @param RemoveGroupMemberHeaders $headers * @param RuntimeOptions $runtime * * @return RemoveGroupMemberResponse */ public function removeGroupMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appUserIds)) { $body['appUserIds'] = $request->appUserIds; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } 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' => 'removeGroupMember', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/groups/members/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RemoveGroupMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RemoveGroupMemberRequest $request * * @return RemoveGroupMemberResponse */ public function removeGroupMember($request) { $runtime = new RuntimeOptions([]); $headers = new RemoveGroupMemberHeaders([]); return $this->removeGroupMemberWithOptions($request, $headers, $runtime); } /** * @param SendDingMessageRequest $request * @param SendDingMessageHeaders $headers * @param RuntimeOptions $runtime * * @return SendDingMessageResponse */ public function sendDingMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->code)) { $body['code'] = $request->code; } if (!Utils::isUnset($request->message)) { $body['message'] = $request->message; } if (!Utils::isUnset($request->messageType)) { $body['messageType'] = $request->messageType; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->receiverId)) { $body['receiverId'] = $request->receiverId; } if (!Utils::isUnset($request->senderId)) { $body['senderId'] = $request->senderId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'sendDingMessage', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/dingMessages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendDingMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendDingMessageRequest $request * * @return SendDingMessageResponse */ public function sendDingMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendDingMessageHeaders([]); return $this->sendDingMessageWithOptions($request, $headers, $runtime); } /** * @param SendMessageRequest $request * @param SendMessageHeaders $headers * @param RuntimeOptions $runtime * * @return SendMessageResponse */ public function sendMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->message)) { $body['message'] = $request->message; } if (!Utils::isUnset($request->messageType)) { $body['messageType'] = $request->messageType; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->receiverId)) { $body['receiverId'] = $request->receiverId; } if (!Utils::isUnset($request->senderId)) { $body['senderId'] = $request->senderId; } if (!Utils::isUnset($request->sourceInfos)) { $body['sourceInfos'] = $request->sourceInfos; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'sendMessage', 'version' => 'im_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/im/interconnections/messages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendMessageRequest $request * * @return SendMessageResponse */ public function sendMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendMessageHeaders([]); return $this->sendMessageWithOptions($request, $headers, $runtime); } } src/im_1_0/Models/AddGroupMemberHeaders.php000064400000002326146412132660014474 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddGroupMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/AddGroupMemberRequest.php000064400000003772146412132660014557 0ustar00 'appUserIds', 'openConversationId' => 'openConversationId', 'operatorId' => 'operatorId', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserIds) { $res['appUserIds'] = $this->appUserIds; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return AddGroupMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserIds'])) { if (!empty($map['appUserIds'])) { $model->appUserIds = $map['appUserIds']; } } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/im_1_0/Models/AddGroupMemberResponse.php000064400000002720146412132660014715 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddGroupMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddGroupMemberResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/AddGroupMemberResponseBody.php000064400000002370146412132660015534 0ustar00 'appUserIds', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserIds) { $res['appUserIds'] = $this->appUserIds; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return AddGroupMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserIds'])) { if (!empty($map['appUserIds'])) { $model->appUserIds = $map['appUserIds']; } } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/im_1_0/Models/AddOrgTextEmotionHeaders.php000064400000002334146412132660015176 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddOrgTextEmotionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/AddOrgTextEmotionRequest.php000064400000004075146412132660015257 0ustar00 'backgroundMediaId', 'backgroundMediaIdForPanel' => 'backgroundMediaIdForPanel', 'deptId' => 'deptId', 'emotionName' => 'emotionName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->backgroundMediaId) { $res['backgroundMediaId'] = $this->backgroundMediaId; } if (null !== $this->backgroundMediaIdForPanel) { $res['backgroundMediaIdForPanel'] = $this->backgroundMediaIdForPanel; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->emotionName) { $res['emotionName'] = $this->emotionName; } return $res; } /** * @param array $map * * @return AddOrgTextEmotionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['backgroundMediaId'])) { $model->backgroundMediaId = $map['backgroundMediaId']; } if (isset($map['backgroundMediaIdForPanel'])) { $model->backgroundMediaIdForPanel = $map['backgroundMediaIdForPanel']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['emotionName'])) { $model->emotionName = $map['emotionName']; } return $model; } } src/im_1_0/Models/AddOrgTextEmotionResponse.php000064400000002734146412132660015425 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddOrgTextEmotionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddOrgTextEmotionResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/AddOrgTextEmotionResponseBody.php000064400000002342146412132660016236 0ustar00 '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 AddOrgTextEmotionResponseBody */ 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/im_1_0/Models/AddOrgTextEmotionResponseBody/result.php000064400000001555146412132660017561 0ustar00 'emotionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->emotionId) { $res['emotionId'] = $this->emotionId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['emotionId'])) { $model->emotionId = $map['emotionId']; } return $model; } } src/im_1_0/Models/AddRobotToConversationHeaders.php000064400000002346146412132660016235 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddRobotToConversationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/AddRobotToConversationRequest.php000064400000003560146412132660016311 0ustar00 'icon', 'name' => 'name', 'openConversationId' => 'openConversationId', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return AddRobotToConversationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/im_1_0/Models/AddRobotToConversationResponse.php000064400000002760146412132660016460 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddRobotToConversationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddRobotToConversationResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/AddRobotToConversationResponseBody.php000064400000001610146412132660017267 0ustar00 'chatBotUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatBotUserId) { $res['chatBotUserId'] = $this->chatBotUserId; } return $res; } /** * @param array $map * * @return AddRobotToConversationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatBotUserId'])) { $model->chatBotUserId = $map['chatBotUserId']; } return $model; } } src/im_1_0/Models/AutoOpenDingTalkConnectHeaders.php000064400000002350146412132660016316 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AutoOpenDingTalkConnectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/AutoOpenDingTalkConnectResponse.php000064400000002764146412132660016552 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AutoOpenDingTalkConnectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AutoOpenDingTalkConnectResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/AutoOpenDingTalkConnectResponseBody.php000064400000001524146412132660017361 0ustar00 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return AutoOpenDingTalkConnectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/im_1_0/Models/BatchQueryFamilySchoolMessageHeaders.php000064400000002364146412132660017527 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchQueryFamilySchoolMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/BatchQueryFamilySchoolMessageRequest.php000064400000003265146412132660017605 0ustar00 'openConversationId', 'openMessageIds' => 'openMessageIds', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openMessageIds) { $res['openMessageIds'] = $this->openMessageIds; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return BatchQueryFamilySchoolMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openMessageIds'])) { if (!empty($map['openMessageIds'])) { $model->openMessageIds = $map['openMessageIds']; } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/im_1_0/Models/BatchQueryFamilySchoolMessageResponse.php000064400000003014146412132660017743 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchQueryFamilySchoolMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchQueryFamilySchoolMessageResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/BatchQueryFamilySchoolMessageResponseBody.php000064400000002714146412132660020567 0ustar00 '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 BatchQueryFamilySchoolMessageResponseBody */ 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/im_1_0/Models/BatchQueryFamilySchoolMessageResponseBody/messages.php000064400000004624146412132660022400 0ustar00 'contentType', 'createAt' => 'createAt', 'mediaModels' => 'mediaModels', 'openMsgId' => 'openMsgId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->createAt) { $res['createAt'] = $this->createAt; } if (null !== $this->mediaModels) { $res['mediaModels'] = []; if (null !== $this->mediaModels && \is_array($this->mediaModels)) { $n = 0; foreach ($this->mediaModels as $item) { $res['mediaModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->openMsgId) { $res['openMsgId'] = $this->openMsgId; } return $res; } /** * @param array $map * * @return messages */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['createAt'])) { $model->createAt = $map['createAt']; } if (isset($map['mediaModels'])) { if (!empty($map['mediaModels'])) { $model->mediaModels = []; $n = 0; foreach ($map['mediaModels'] as $item) { $model->mediaModels[$n++] = null !== $item ? mediaModels::fromMap($item) : $item; } } } if (isset($map['openMsgId'])) { $model->openMsgId = $map['openMsgId']; } return $model; } } src/im_1_0/Models/BatchQueryFamilySchoolMessageResponseBody/messages/mediaModels.php000064400000004721146412132660024621 0ustar00 'fileName', 'fileType' => 'fileType', 'mediaId' => 'mediaId', 'size' => 'size', 'url' => 'url', 'videoPicMediaId' => 'videoPicMediaId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->videoPicMediaId) { $res['videoPicMediaId'] = $this->videoPicMediaId; } return $res; } /** * @param array $map * * @return mediaModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['videoPicMediaId'])) { $model->videoPicMediaId = $map['videoPicMediaId']; } return $model; } } src/im_1_0/Models/BatchQueryGroupMemberHeaders.php000064400000002344146412132660016053 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchQueryGroupMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/BatchQueryGroupMemberRequest.php000064400000003621146412132660016127 0ustar00 'coolAppCode', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return BatchQueryGroupMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/BatchQueryGroupMemberResponse.php000064400000002754146412132660016303 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchQueryGroupMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchQueryGroupMemberResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/BatchQueryGroupMemberResponseBody.php000064400000003624146412132660017116 0ustar00 'hasMore', 'memberUserIds' => 'memberUserIds', 'nextToken' => 'nextToken', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->memberUserIds) { $res['memberUserIds'] = $this->memberUserIds; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return BatchQueryGroupMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['memberUserIds'])) { if (!empty($map['memberUserIds'])) { $model->memberUserIds = $map['memberUserIds']; } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/im_1_0/Models/CardTemplateBuildActionHeaders.php000064400000002350146412132660016317 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CardTemplateBuildActionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/CardTemplateBuildActionRequest.php000064400000002320146412132660016371 0ustar00 'action', 'cardTemplateJson' => 'cardTemplateJson', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->cardTemplateJson) { $res['cardTemplateJson'] = $this->cardTemplateJson; } return $res; } /** * @param array $map * * @return CardTemplateBuildActionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['cardTemplateJson'])) { $model->cardTemplateJson = $map['cardTemplateJson']; } return $model; } } src/im_1_0/Models/CardTemplateBuildActionResponse.php000064400000002764146412132660016553 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CardTemplateBuildActionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CardTemplateBuildActionResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/CardTemplateBuildActionResponseBody.php000064400000001712146412132660017361 0ustar00 'cardTemplateJson', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardTemplateJson) { $res['cardTemplateJson'] = $this->cardTemplateJson; } return $res; } /** * @param array $map * * @return CardTemplateBuildActionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardTemplateJson'])) { $model->cardTemplateJson = $map['cardTemplateJson']; } return $model; } } src/im_1_0/Models/ChangeGroupOwnerHeaders.php000064400000002332146412132660015051 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ChangeGroupOwnerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/ChangeGroupOwnerRequest.php000064400000003241146412132660015126 0ustar00 'groupOwnerId', 'groupOwnerType' => 'groupOwnerType', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupOwnerId) { $res['groupOwnerId'] = $this->groupOwnerId; } if (null !== $this->groupOwnerType) { $res['groupOwnerType'] = $this->groupOwnerType; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return ChangeGroupOwnerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupOwnerId'])) { $model->groupOwnerId = $map['groupOwnerId']; } if (isset($map['groupOwnerType'])) { $model->groupOwnerType = $map['groupOwnerType']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/ChangeGroupOwnerResponse.php000064400000002730146412132660015276 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ChangeGroupOwnerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ChangeGroupOwnerResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/ChangeGroupOwnerResponseBody.php000064400000002376146412132660016122 0ustar00 'newGroupOwnerId', 'newGroupOwnerType' => 'newGroupOwnerType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->newGroupOwnerId) { $res['newGroupOwnerId'] = $this->newGroupOwnerId; } if (null !== $this->newGroupOwnerType) { $res['newGroupOwnerType'] = $this->newGroupOwnerType; } return $res; } /** * @param array $map * * @return ChangeGroupOwnerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['newGroupOwnerId'])) { $model->newGroupOwnerId = $map['newGroupOwnerId']; } if (isset($map['newGroupOwnerType'])) { $model->newGroupOwnerType = $map['newGroupOwnerType']; } return $model; } } src/im_1_0/Models/ChatIdToOpenConversationIdHeaders.php000064400000002356146412132660016773 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ChatIdToOpenConversationIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/ChatIdToOpenConversationIdResponse.php000064400000003000146412132660017201 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ChatIdToOpenConversationIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ChatIdToOpenConversationIdResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/ChatIdToOpenConversationIdResponseBody.php000064400000001760146412132660020032 0ustar00 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return ChatIdToOpenConversationIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/ChatSubAdminUpdateHeaders.php000064400000002336146412132660015305 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ChatSubAdminUpdateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/ChatSubAdminUpdateRequest.php000064400000003127146412132660015361 0ustar00 'openConversationId', 'role' => 'role', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return ChatSubAdminUpdateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/im_1_0/Models/ChatSubAdminUpdateResponse.php000064400000002740146412132660015527 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ChatSubAdminUpdateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ChatSubAdminUpdateResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/ChatSubAdminUpdateResponseBody.php000064400000001512146412132660016341 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ChatSubAdminUpdateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/im_1_0/Models/CheckUserIsGroupMemberHeaders.php000064400000002346146412132660016156 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CheckUserIsGroupMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/CheckUserIsGroupMemberRequest.php000064400000002412146412132660016225 0ustar00 'openConversationId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CheckUserIsGroupMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_1_0/Models/CheckUserIsGroupMemberResponse.php000064400000002760146412132660016401 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CheckUserIsGroupMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CheckUserIsGroupMemberResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/CheckUserIsGroupMemberResponseBody.php000064400000001507146412132660017215 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CheckUserIsGroupMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/im_1_0/Models/CreateCoupleGroupConversationHeaders.php000064400000002364146412132660017624 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateCoupleGroupConversationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/CreateCoupleGroupConversationRequest.php000064400000005220146412132660017673 0ustar00 'appUserId', 'groupAvatar' => 'groupAvatar', 'groupName' => 'groupName', 'groupOwnerId' => 'groupOwnerId', 'groupTemplateId' => 'groupTemplateId', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserId) { $res['appUserId'] = $this->appUserId; } if (null !== $this->groupAvatar) { $res['groupAvatar'] = $this->groupAvatar; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->groupOwnerId) { $res['groupOwnerId'] = $this->groupOwnerId; } if (null !== $this->groupTemplateId) { $res['groupTemplateId'] = $this->groupTemplateId; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return CreateCoupleGroupConversationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserId'])) { $model->appUserId = $map['appUserId']; } if (isset($map['groupAvatar'])) { $model->groupAvatar = $map['groupAvatar']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['groupOwnerId'])) { $model->groupOwnerId = $map['groupOwnerId']; } if (isset($map['groupTemplateId'])) { $model->groupTemplateId = $map['groupTemplateId']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/im_1_0/Models/CreateCoupleGroupConversationResponse.php000064400000003014146412132660020040 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateCoupleGroupConversationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateCoupleGroupConversationResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/CreateCoupleGroupConversationResponseBody.php000064400000002544146412132660020665 0ustar00 'conversationId', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return CreateCoupleGroupConversationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/CreateGroupConversationHeaders.php000064400000002350146412132660016447 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateGroupConversationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/CreateGroupConversationRequest.php000064400000006565146412132660016540 0ustar00 'appUserIds', 'groupAvatar' => 'groupAvatar', 'groupName' => 'groupName', 'groupOwnerId' => 'groupOwnerId', 'groupOwnerType' => 'groupOwnerType', 'groupTemplateId' => 'groupTemplateId', 'operatorId' => 'operatorId', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserIds) { $res['appUserIds'] = $this->appUserIds; } if (null !== $this->groupAvatar) { $res['groupAvatar'] = $this->groupAvatar; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->groupOwnerId) { $res['groupOwnerId'] = $this->groupOwnerId; } if (null !== $this->groupOwnerType) { $res['groupOwnerType'] = $this->groupOwnerType; } if (null !== $this->groupTemplateId) { $res['groupTemplateId'] = $this->groupTemplateId; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return CreateGroupConversationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserIds'])) { if (!empty($map['appUserIds'])) { $model->appUserIds = $map['appUserIds']; } } if (isset($map['groupAvatar'])) { $model->groupAvatar = $map['groupAvatar']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['groupOwnerId'])) { $model->groupOwnerId = $map['groupOwnerId']; } if (isset($map['groupOwnerType'])) { $model->groupOwnerType = $map['groupOwnerType']; } if (isset($map['groupTemplateId'])) { $model->groupTemplateId = $map['groupTemplateId']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/im_1_0/Models/CreateGroupConversationResponse.php000064400000002764146412132660016703 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateGroupConversationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateGroupConversationResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/CreateGroupConversationResponseBody.php000064400000004072146412132660017513 0ustar00 'appUserIds', 'conversationId' => 'conversationId', 'openConversationId' => 'openConversationId', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserIds) { $res['appUserIds'] = $this->appUserIds; } if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return CreateGroupConversationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserIds'])) { if (!empty($map['appUserIds'])) { $model->appUserIds = $map['appUserIds']; } } if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/im_1_0/Models/CreateInterconnectionHeaders.php000064400000002344146412132660016124 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateInterconnectionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/CreateInterconnectionRequest.php000064400000003065146412132660016202 0ustar00 'interconnections', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->interconnections) { $res['interconnections'] = []; if (null !== $this->interconnections && \is_array($this->interconnections)) { $n = 0; foreach ($this->interconnections as $item) { $res['interconnections'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CreateInterconnectionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['interconnections'])) { if (!empty($map['interconnections'])) { $model->interconnections = []; $n = 0; foreach ($map['interconnections'] as $item) { $model->interconnections[$n++] = null !== $item ? interconnections::fromMap($item) : $item; } } } return $model; } } src/im_1_0/Models/CreateInterconnectionRequest/interconnections.php000064400000006720146412132660021567 0ustar00 'appUserAvatar', 'appUserAvatarMediaType' => 'appUserAvatarMediaType', 'appUserDynamics' => 'appUserDynamics', 'appUserId' => 'appUserId', 'appUserMobile' => 'appUserMobile', 'appUserName' => 'appUserName', 'channelCode' => 'channelCode', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserAvatar) { $res['appUserAvatar'] = $this->appUserAvatar; } if (null !== $this->appUserAvatarMediaType) { $res['appUserAvatarMediaType'] = $this->appUserAvatarMediaType; } if (null !== $this->appUserDynamics) { $res['appUserDynamics'] = $this->appUserDynamics; } if (null !== $this->appUserId) { $res['appUserId'] = $this->appUserId; } if (null !== $this->appUserMobile) { $res['appUserMobile'] = $this->appUserMobile; } if (null !== $this->appUserName) { $res['appUserName'] = $this->appUserName; } if (null !== $this->channelCode) { $res['channelCode'] = $this->channelCode; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return interconnections */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserAvatar'])) { $model->appUserAvatar = $map['appUserAvatar']; } if (isset($map['appUserAvatarMediaType'])) { $model->appUserAvatarMediaType = $map['appUserAvatarMediaType']; } if (isset($map['appUserDynamics'])) { $model->appUserDynamics = $map['appUserDynamics']; } if (isset($map['appUserId'])) { $model->appUserId = $map['appUserId']; } if (isset($map['appUserMobile'])) { $model->appUserMobile = $map['appUserMobile']; } if (isset($map['appUserName'])) { $model->appUserName = $map['appUserName']; } if (isset($map['channelCode'])) { $model->channelCode = $map['channelCode']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_1_0/Models/CreateInterconnectionResponse.php000064400000002754146412132660016354 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateInterconnectionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateInterconnectionResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/CreateInterconnectionResponseBody.php000064400000002642146412132660017166 0ustar00 '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 CreateInterconnectionResponseBody */ 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/im_1_0/Models/CreateInterconnectionResponseBody/results.php000064400000002572146412132660020671 0ustar00 'appUserId', 'message' => 'message', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserId) { $res['appUserId'] = $this->appUserId; } if (null !== $this->message) { $res['message'] = $this->message; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return results */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserId'])) { $model->appUserId = $map['appUserId']; } if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_1_0/Models/CreateSceneGroupConversationHeaders.php000064400000002362146412132660017430 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateSceneGroupConversationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/CreateSceneGroupConversationRequest.php000064400000006606146412132660017512 0ustar00 'features', 'groupName' => 'groupName', 'groupOwnerId' => 'groupOwnerId', 'icon' => 'icon', 'managementOptions' => 'managementOptions', 'templateId' => 'templateId', 'userIdList' => 'userIdList', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->features) { $res['features'] = $this->features; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->groupOwnerId) { $res['groupOwnerId'] = $this->groupOwnerId; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->managementOptions) { $res['managementOptions'] = null !== $this->managementOptions ? $this->managementOptions->toMap() : null; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return CreateSceneGroupConversationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['features'])) { $model->features = $map['features']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['groupOwnerId'])) { $model->groupOwnerId = $map['groupOwnerId']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['managementOptions'])) { $model->managementOptions = managementOptions::fromMap($map['managementOptions']); } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/im_1_0/Models/CreateSceneGroupConversationRequest/managementOptions.php000064400000005135146412132660023176 0ustar00 'chatBannedType', 'managementType' => 'managementType', 'mentionAllAuthority' => 'mentionAllAuthority', 'searchable' => 'searchable', 'showHistoryType' => 'showHistoryType', 'validationType' => 'validationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatBannedType) { $res['chatBannedType'] = $this->chatBannedType; } if (null !== $this->managementType) { $res['managementType'] = $this->managementType; } if (null !== $this->mentionAllAuthority) { $res['mentionAllAuthority'] = $this->mentionAllAuthority; } if (null !== $this->searchable) { $res['searchable'] = $this->searchable; } if (null !== $this->showHistoryType) { $res['showHistoryType'] = $this->showHistoryType; } if (null !== $this->validationType) { $res['validationType'] = $this->validationType; } return $res; } /** * @param array $map * * @return managementOptions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatBannedType'])) { $model->chatBannedType = $map['chatBannedType']; } if (isset($map['managementType'])) { $model->managementType = $map['managementType']; } if (isset($map['mentionAllAuthority'])) { $model->mentionAllAuthority = $map['mentionAllAuthority']; } if (isset($map['searchable'])) { $model->searchable = $map['searchable']; } if (isset($map['showHistoryType'])) { $model->showHistoryType = $map['showHistoryType']; } if (isset($map['validationType'])) { $model->validationType = $map['validationType']; } return $model; } } src/im_1_0/Models/CreateSceneGroupConversationResponse.php000064400000003010146412132660017642 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateSceneGroupConversationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateSceneGroupConversationResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/CreateSceneGroupConversationResponseBody.php000064400000001744146412132660020474 0ustar00 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return CreateSceneGroupConversationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/CreateStoreGroupConversationHeaders.php000064400000002362146412132660017467 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateStoreGroupConversationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/CreateStoreGroupConversationRequest.php000064400000006034146412132660017544 0ustar00 'appUserId', 'businessUniqueKey' => 'businessUniqueKey', 'groupAvatar' => 'groupAvatar', 'groupName' => 'groupName', 'groupTemplateId' => 'groupTemplateId', 'operatorId' => 'operatorId', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserId) { $res['appUserId'] = $this->appUserId; } if (null !== $this->businessUniqueKey) { $res['businessUniqueKey'] = $this->businessUniqueKey; } if (null !== $this->groupAvatar) { $res['groupAvatar'] = $this->groupAvatar; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->groupTemplateId) { $res['groupTemplateId'] = $this->groupTemplateId; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return CreateStoreGroupConversationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserId'])) { $model->appUserId = $map['appUserId']; } if (isset($map['businessUniqueKey'])) { $model->businessUniqueKey = $map['businessUniqueKey']; } if (isset($map['groupAvatar'])) { $model->groupAvatar = $map['groupAvatar']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['groupTemplateId'])) { $model->groupTemplateId = $map['groupTemplateId']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/im_1_0/Models/CreateStoreGroupConversationResponse.php000064400000003010146412132660017701 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateStoreGroupConversationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateStoreGroupConversationResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/CreateStoreGroupConversationResponseBody.php000064400000002542146412132660020530 0ustar00 'conversationId', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return CreateStoreGroupConversationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/DeleteOrgTextEmotionHeaders.php000064400000002342146412132660015707 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteOrgTextEmotionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/DeleteOrgTextEmotionRequest.php000064400000002312146412132660015761 0ustar00 'deptId', 'emotionIds' => 'emotionIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->emotionIds) { $res['emotionIds'] = $this->emotionIds; } return $res; } /** * @param array $map * * @return DeleteOrgTextEmotionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['emotionIds'])) { if (!empty($map['emotionIds'])) { $model->emotionIds = $map['emotionIds']; } } return $model; } } src/im_1_0/Models/DeleteOrgTextEmotionResponse.php000064400000002750146412132660016135 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteOrgTextEmotionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteOrgTextEmotionResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/DeleteOrgTextEmotionResponseBody.php000064400000001514146412132660016750 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteOrgTextEmotionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/im_1_0/Models/DismissGroupConversationHeaders.php000064400000002352146412132660016661 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DismissGroupConversationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/DismissGroupConversationRequest.php000064400000001723146412132660016737 0ustar00 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return DismissGroupConversationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/DismissGroupConversationResponse.php000064400000002770146412132660017110 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DismissGroupConversationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DismissGroupConversationResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/DismissGroupConversationResponseBody.php000064400000001735146412132660017726 0ustar00 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return DismissGroupConversationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/GetConversationUrlHeaders.php000064400000002336146412132660015435 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetConversationUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/GetConversationUrlRequest.php000064400000004413146412132660015510 0ustar00 'appUserId', 'channelCode' => 'channelCode', 'deviceId' => 'deviceId', 'openConversationId' => 'openConversationId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserId) { $res['appUserId'] = $this->appUserId; } if (null !== $this->channelCode) { $res['channelCode'] = $this->channelCode; } if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetConversationUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserId'])) { $model->appUserId = $map['appUserId']; } if (isset($map['channelCode'])) { $model->channelCode = $map['channelCode']; } if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_1_0/Models/GetConversationUrlResponse.php000064400000002740146412132660015657 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetConversationUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetConversationUrlResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/GetConversationUrlResponseBody.php000064400000001446146412132660016477 0ustar00 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return GetConversationUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/im_1_0/Models/GetFamilySchoolConversationMsgHeaders.php000064400000002366146412132660017736 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFamilySchoolConversationMsgHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/GetFamilySchoolConversationMsgRequest.php000064400000004443146412132660020011 0ustar00 'maxResults', 'msgTypes' => 'msgTypes', 'nextToken' => 'nextToken', 'openConversationId' => 'openConversationId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->msgTypes) { $res['msgTypes'] = $this->msgTypes; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetFamilySchoolConversationMsgRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['msgTypes'])) { if (!empty($map['msgTypes'])) { $model->msgTypes = $map['msgTypes']; } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/im_1_0/Models/GetFamilySchoolConversationMsgResponse.php000064400000003020146412132660020145 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFamilySchoolConversationMsgResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFamilySchoolConversationMsgResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/GetFamilySchoolConversationMsgResponseBody.php000064400000005442146412132660020775 0ustar00 'corpId', 'hasMore' => 'hasMore', 'messages' => 'messages', 'nextToken' => 'nextToken', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } 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; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return GetFamilySchoolConversationMsgResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } 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; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/GetFamilySchoolConversationMsgResponseBody/messages.php000064400000004626146412132660022607 0ustar00 'contentType', 'createAt' => 'createAt', 'mediaModels' => 'mediaModels', 'openMsgId' => 'openMsgId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->createAt) { $res['createAt'] = $this->createAt; } if (null !== $this->mediaModels) { $res['mediaModels'] = []; if (null !== $this->mediaModels && \is_array($this->mediaModels)) { $n = 0; foreach ($this->mediaModels as $item) { $res['mediaModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->openMsgId) { $res['openMsgId'] = $this->openMsgId; } return $res; } /** * @param array $map * * @return messages */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['createAt'])) { $model->createAt = $map['createAt']; } if (isset($map['mediaModels'])) { if (!empty($map['mediaModels'])) { $model->mediaModels = []; $n = 0; foreach ($map['mediaModels'] as $item) { $model->mediaModels[$n++] = null !== $item ? mediaModels::fromMap($item) : $item; } } } if (isset($map['openMsgId'])) { $model->openMsgId = $map['openMsgId']; } return $model; } } src/im_1_0/Models/GetFamilySchoolConversationMsgResponseBody/messages/mediaModels.php000064400000004722146412132660025027 0ustar00 'fileName', 'fileType' => 'fileType', 'mediaId' => 'mediaId', 'size' => 'size', 'url' => 'url', 'videoPicMediaId' => 'videoPicMediaId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->videoPicMediaId) { $res['videoPicMediaId'] = $this->videoPicMediaId; } return $res; } /** * @param array $map * * @return mediaModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['videoPicMediaId'])) { $model->videoPicMediaId = $map['videoPicMediaId']; } return $model; } } src/im_1_0/Models/GetFamilySchoolConversationsHeaders.php000064400000002362146412132660017446 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFamilySchoolConversationsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/GetFamilySchoolConversationsRequest.php000064400000002742146412132660017525 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'unionId' => 'unionId', ]; 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->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetFamilySchoolConversationsRequest */ 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['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/im_1_0/Models/GetFamilySchoolConversationsResponse.php000064400000003010146412132660017660 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFamilySchoolConversationsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFamilySchoolConversationsResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/GetFamilySchoolConversationsResponseBody.php000064400000004257146412132660020514 0ustar00 'groupInfoList', 'hasMore' => 'hasMore', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupInfoList) { $res['groupInfoList'] = []; if (null !== $this->groupInfoList && \is_array($this->groupInfoList)) { $n = 0; foreach ($this->groupInfoList as $item) { $res['groupInfoList'][$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 GetFamilySchoolConversationsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupInfoList'])) { if (!empty($map['groupInfoList'])) { $model->groupInfoList = []; $n = 0; foreach ($map['groupInfoList'] as $item) { $model->groupInfoList[$n++] = null !== $item ? groupInfoList::fromMap($item) : $item; } } } if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/im_1_0/Models/GetFamilySchoolConversationsResponseBody/groupInfoList.php000064400000005230146412132660023310 0ustar00 'corpId', 'deptNameChain' => 'deptNameChain', 'groupName' => 'groupName', 'groupType' => 'groupType', 'joinGroupTime' => 'joinGroupTime', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deptNameChain) { $res['deptNameChain'] = $this->deptNameChain; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->groupType) { $res['groupType'] = $this->groupType; } if (null !== $this->joinGroupTime) { $res['joinGroupTime'] = $this->joinGroupTime; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return groupInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deptNameChain'])) { if (!empty($map['deptNameChain'])) { $model->deptNameChain = $map['deptNameChain']; } } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['groupType'])) { $model->groupType = $map['groupType']; } if (isset($map['joinGroupTime'])) { $model->joinGroupTime = $map['joinGroupTime']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/GetInnerGroupMembersHeaders.php000064400000002342146412132660015700 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetInnerGroupMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/GetInnerGroupMembersRequest.php000064400000003616146412132660015762 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'openConversationId' => 'openConversationId', '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->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetInnerGroupMembersRequest */ 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['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_1_0/Models/GetInnerGroupMembersResponse.php000064400000002750146412132660016126 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetInnerGroupMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetInnerGroupMembersResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/GetInnerGroupMembersResponseBody.php000064400000002757146412132660016753 0ustar00 'hasMore', 'nextToken' => 'nextToken', 'userIds' => 'userIds', ]; 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->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return GetInnerGroupMembersResponseBody */ 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['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/im_1_0/Models/GetInterconnectionUrlHeaders.php000064400000002344146412132660016123 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetInterconnectionUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/GetInterconnectionUrlRequest.php000064400000010007146412132660016173 0ustar00 'appUserAvatar', 'appUserAvatarType' => 'appUserAvatarType', 'appUserId' => 'appUserId', 'appUserMobileNumber' => 'appUserMobileNumber', 'appUserName' => 'appUserName', 'msgPageType' => 'msgPageType', 'qrCode' => 'qrCode', 'signature' => 'signature', 'sourceCode' => 'sourceCode', 'sourceType' => 'sourceType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserAvatar) { $res['appUserAvatar'] = $this->appUserAvatar; } if (null !== $this->appUserAvatarType) { $res['appUserAvatarType'] = $this->appUserAvatarType; } if (null !== $this->appUserId) { $res['appUserId'] = $this->appUserId; } if (null !== $this->appUserMobileNumber) { $res['appUserMobileNumber'] = $this->appUserMobileNumber; } if (null !== $this->appUserName) { $res['appUserName'] = $this->appUserName; } if (null !== $this->msgPageType) { $res['msgPageType'] = $this->msgPageType; } if (null !== $this->qrCode) { $res['qrCode'] = $this->qrCode; } if (null !== $this->signature) { $res['signature'] = $this->signature; } if (null !== $this->sourceCode) { $res['sourceCode'] = $this->sourceCode; } if (null !== $this->sourceType) { $res['sourceType'] = $this->sourceType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetInterconnectionUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserAvatar'])) { $model->appUserAvatar = $map['appUserAvatar']; } if (isset($map['appUserAvatarType'])) { $model->appUserAvatarType = $map['appUserAvatarType']; } if (isset($map['appUserId'])) { $model->appUserId = $map['appUserId']; } if (isset($map['appUserMobileNumber'])) { $model->appUserMobileNumber = $map['appUserMobileNumber']; } if (isset($map['appUserName'])) { $model->appUserName = $map['appUserName']; } if (isset($map['msgPageType'])) { $model->msgPageType = $map['msgPageType']; } if (isset($map['qrCode'])) { $model->qrCode = $map['qrCode']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } if (isset($map['sourceCode'])) { $model->sourceCode = $map['sourceCode']; } if (isset($map['sourceType'])) { $model->sourceType = $map['sourceType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_1_0/Models/GetInterconnectionUrlResponse.php000064400000002754146412132660016353 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetInterconnectionUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetInterconnectionUrlResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/GetInterconnectionUrlResponseBody.php000064400000001454146412132660017165 0ustar00 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return GetInterconnectionUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/im_1_0/Models/GetNewestInnerGroupsHeaders.php000064400000002342146412132660015736 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetNewestInnerGroupsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/GetNewestInnerGroupsRequest.php000064400000001533146412132660016014 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetNewestInnerGroupsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_1_0/Models/GetNewestInnerGroupsResponse.php000064400000002750146412132660016164 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetNewestInnerGroupsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetNewestInnerGroupsResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/GetNewestInnerGroupsResponseBody.php000064400000002725146412132660017004 0ustar00 'groupInfos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupInfos) { $res['groupInfos'] = []; if (null !== $this->groupInfos && \is_array($this->groupInfos)) { $n = 0; foreach ($this->groupInfos as $item) { $res['groupInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetNewestInnerGroupsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupInfos'])) { if (!empty($map['groupInfos'])) { $model->groupInfos = []; $n = 0; foreach ($map['groupInfos'] as $item) { $model->groupInfos[$n++] = null !== $item ? groupInfos::fromMap($item) : $item; } } } return $model; } } src/im_1_0/Models/GetNewestInnerGroupsResponseBody/groupInfos.php000064400000003632146412132660021135 0ustar00 'icon', 'memberAmount' => 'memberAmount', 'openConversationId' => 'openConversationId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->memberAmount) { $res['memberAmount'] = $this->memberAmount; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return groupInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['memberAmount'])) { $model->memberAmount = $map['memberAmount']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/im_1_0/Models/GetSceneGroupInfoHeaders.php000064400000002334146412132660015164 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSceneGroupInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/GetSceneGroupInfoRequest.php000064400000002405146412132660015240 0ustar00 'coolAppCode', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return GetSceneGroupInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/GetSceneGroupInfoResponse.php000064400000002734146412132660015413 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSceneGroupInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSceneGroupInfoResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/GetSceneGroupInfoResponseBody.php000064400000005712146412132660016230 0ustar00 'groupUrl', 'icon' => 'icon', 'openConversationId' => 'openConversationId', 'ownerUserId' => 'ownerUserId', 'status' => 'status', 'success' => 'success', 'templateId' => 'templateId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupUrl) { $res['groupUrl'] = $this->groupUrl; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->ownerUserId) { $res['ownerUserId'] = $this->ownerUserId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return GetSceneGroupInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupUrl'])) { $model->groupUrl = $map['groupUrl']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['ownerUserId'])) { $model->ownerUserId = $map['ownerUserId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/im_1_0/Models/GetSceneGroupMembersHeaders.php000064400000002342146412132660015662 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSceneGroupMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/GetSceneGroupMembersRequest.php000064400000003544146412132660015744 0ustar00 'coolAppCode', 'cursor' => 'cursor', 'openConversationId' => 'openConversationId', 'size' => 'size', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->cursor) { $res['cursor'] = $this->cursor; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->size) { $res['size'] = $this->size; } return $res; } /** * @param array $map * * @return GetSceneGroupMembersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['cursor'])) { $model->cursor = $map['cursor']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['size'])) { $model->size = $map['size']; } return $model; } } src/im_1_0/Models/GetSceneGroupMembersResponse.php000064400000002750146412132660016110 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSceneGroupMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSceneGroupMembersResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/GetSceneGroupMembersResponseBody.php000064400000003632146412132660016726 0ustar00 'hasMore', 'memberUserIds' => 'memberUserIds', 'nextCursor' => 'nextCursor', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->memberUserIds) { $res['memberUserIds'] = $this->memberUserIds; } if (null !== $this->nextCursor) { $res['nextCursor'] = $this->nextCursor; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GetSceneGroupMembersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['memberUserIds'])) { if (!empty($map['memberUserIds'])) { $model->memberUserIds = $map['memberUserIds']; } } if (isset($map['nextCursor'])) { $model->nextCursor = $map['nextCursor']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/im_1_0/Models/GroupBanWordsHeaders.php000064400000002324146412132660014371 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GroupBanWordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/GroupBanWordsRequest.php000064400000003100146412132660014437 0ustar00 'banWordsMode', 'openConversationId' => 'openConversationId', 'options' => 'options', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->banWordsMode) { $res['banWordsMode'] = $this->banWordsMode; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->options) { $res['options'] = $this->options; } return $res; } /** * @param array $map * * @return GroupBanWordsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['banWordsMode'])) { $model->banWordsMode = $map['banWordsMode']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['options'])) { $model->options = $map['options']; } return $model; } } src/im_1_0/Models/GroupBanWordsResponse.php000064400000002154146412132660014615 0ustar00 '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 GroupBanWordsResponse */ 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/im_1_0/Models/GroupCapacityInquiryHeaders.php000064400000002342146412132660015770 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GroupCapacityInquiryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/GroupCapacityInquiryRequest.php000064400000004516146412132660016052 0ustar00 'effectiveDuration', 'openConversationId' => 'openConversationId', 'operator' => 'operator', 'options' => 'options', 'targetCapacity' => 'targetCapacity', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->effectiveDuration) { $res['effectiveDuration'] = $this->effectiveDuration; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->options) { $res['options'] = $this->options; } if (null !== $this->targetCapacity) { $res['targetCapacity'] = $this->targetCapacity; } return $res; } /** * @param array $map * * @return GroupCapacityInquiryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['effectiveDuration'])) { $model->effectiveDuration = $map['effectiveDuration']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['options'])) { $model->options = $map['options']; } if (isset($map['targetCapacity'])) { $model->targetCapacity = $map['targetCapacity']; } return $model; } } src/im_1_0/Models/GroupCapacityInquiryResponse.php000064400000002750146412132660016216 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GroupCapacityInquiryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GroupCapacityInquiryResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/GroupCapacityInquiryResponseBody.php000064400000013453146412132660017036 0ustar00 'actualPrice', 'createdAt' => 'createdAt', 'currentCapacity' => 'currentCapacity', 'currentEffectUntil' => 'currentEffectUntil', 'discount' => 'discount', 'extInfo' => 'extInfo', 'groupOwner' => 'groupOwner', 'groupTitle' => 'groupTitle', 'markedPrice' => 'markedPrice', 'memberCount' => 'memberCount', 'openConversationId' => 'openConversationId', 'operator' => 'operator', 'targetCapacity' => 'targetCapacity', 'targetEffectUntil' => 'targetEffectUntil', 'token' => 'token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actualPrice) { $res['actualPrice'] = $this->actualPrice; } if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->currentCapacity) { $res['currentCapacity'] = $this->currentCapacity; } if (null !== $this->currentEffectUntil) { $res['currentEffectUntil'] = $this->currentEffectUntil; } if (null !== $this->discount) { $res['discount'] = $this->discount; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->groupOwner) { $res['groupOwner'] = $this->groupOwner; } if (null !== $this->groupTitle) { $res['groupTitle'] = $this->groupTitle; } if (null !== $this->markedPrice) { $res['markedPrice'] = $this->markedPrice; } if (null !== $this->memberCount) { $res['memberCount'] = $this->memberCount; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->targetCapacity) { $res['targetCapacity'] = $this->targetCapacity; } if (null !== $this->targetEffectUntil) { $res['targetEffectUntil'] = $this->targetEffectUntil; } if (null !== $this->token) { $res['token'] = $this->token; } return $res; } /** * @param array $map * * @return GroupCapacityInquiryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actualPrice'])) { $model->actualPrice = $map['actualPrice']; } if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['currentCapacity'])) { $model->currentCapacity = $map['currentCapacity']; } if (isset($map['currentEffectUntil'])) { $model->currentEffectUntil = $map['currentEffectUntil']; } if (isset($map['discount'])) { $model->discount = $map['discount']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['groupOwner'])) { $model->groupOwner = $map['groupOwner']; } if (isset($map['groupTitle'])) { $model->groupTitle = $map['groupTitle']; } if (isset($map['markedPrice'])) { $model->markedPrice = $map['markedPrice']; } if (isset($map['memberCount'])) { $model->memberCount = $map['memberCount']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['targetCapacity'])) { $model->targetCapacity = $map['targetCapacity']; } if (isset($map['targetEffectUntil'])) { $model->targetEffectUntil = $map['targetEffectUntil']; } if (isset($map['token'])) { $model->token = $map['token']; } return $model; } } src/im_1_0/Models/GroupCapacityOrderConfirmHeaders.php000064400000002354146412132660016724 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GroupCapacityOrderConfirmHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/GroupCapacityOrderConfirmRequest.php000064400000002303146412132660016773 0ustar00 'operator', 'orderId' => 'orderId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } return $res; } /** * @param array $map * * @return GroupCapacityOrderConfirmRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } return $model; } } src/im_1_0/Models/GroupCapacityOrderConfirmResponse.php000064400000002774146412132660017155 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GroupCapacityOrderConfirmResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GroupCapacityOrderConfirmResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/GroupCapacityOrderConfirmResponseBody.php000064400000001562146412132660017765 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GroupCapacityOrderConfirmResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/im_1_0/Models/GroupCapacityOrderPlaceHeaders.php000064400000002350146412132660016347 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GroupCapacityOrderPlaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/GroupCapacityOrderPlaceRequest.php000064400000010602146412132660016423 0ustar00 'actualPrice', 'currentCapacity' => 'currentCapacity', 'currentEffectUntil' => 'currentEffectUntil', 'discount' => 'discount', 'extInfo' => 'extInfo', 'markedPrice' => 'markedPrice', 'openConversationId' => 'openConversationId', 'operator' => 'operator', 'targetCapacity' => 'targetCapacity', 'targetEffectUntil' => 'targetEffectUntil', 'token' => 'token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actualPrice) { $res['actualPrice'] = $this->actualPrice; } if (null !== $this->currentCapacity) { $res['currentCapacity'] = $this->currentCapacity; } if (null !== $this->currentEffectUntil) { $res['currentEffectUntil'] = $this->currentEffectUntil; } if (null !== $this->discount) { $res['discount'] = $this->discount; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->markedPrice) { $res['markedPrice'] = $this->markedPrice; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->targetCapacity) { $res['targetCapacity'] = $this->targetCapacity; } if (null !== $this->targetEffectUntil) { $res['targetEffectUntil'] = $this->targetEffectUntil; } if (null !== $this->token) { $res['token'] = $this->token; } return $res; } /** * @param array $map * * @return GroupCapacityOrderPlaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actualPrice'])) { $model->actualPrice = $map['actualPrice']; } if (isset($map['currentCapacity'])) { $model->currentCapacity = $map['currentCapacity']; } if (isset($map['currentEffectUntil'])) { $model->currentEffectUntil = $map['currentEffectUntil']; } if (isset($map['discount'])) { $model->discount = $map['discount']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['markedPrice'])) { $model->markedPrice = $map['markedPrice']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['targetCapacity'])) { $model->targetCapacity = $map['targetCapacity']; } if (isset($map['targetEffectUntil'])) { $model->targetEffectUntil = $map['targetEffectUntil']; } if (isset($map['token'])) { $model->token = $map['token']; } return $model; } } src/im_1_0/Models/GroupCapacityOrderPlaceResponse.php000064400000002764146412132660016603 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GroupCapacityOrderPlaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GroupCapacityOrderPlaceResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/GroupCapacityOrderPlaceResponseBody.php000064400000011362146412132660017413 0ustar00 'actualPrice', 'currentCapacity' => 'currentCapacity', 'currentEffectUntil' => 'currentEffectUntil', 'discount' => 'discount', 'extInfo' => 'extInfo', 'markedPrice' => 'markedPrice', 'openConversationId' => 'openConversationId', 'operator' => 'operator', 'orderId' => 'orderId', 'targetCapacity' => 'targetCapacity', 'targetEffectUntil' => 'targetEffectUntil', 'token' => 'token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actualPrice) { $res['actualPrice'] = $this->actualPrice; } if (null !== $this->currentCapacity) { $res['currentCapacity'] = $this->currentCapacity; } if (null !== $this->currentEffectUntil) { $res['currentEffectUntil'] = $this->currentEffectUntil; } if (null !== $this->discount) { $res['discount'] = $this->discount; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->markedPrice) { $res['markedPrice'] = $this->markedPrice; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->targetCapacity) { $res['targetCapacity'] = $this->targetCapacity; } if (null !== $this->targetEffectUntil) { $res['targetEffectUntil'] = $this->targetEffectUntil; } if (null !== $this->token) { $res['token'] = $this->token; } return $res; } /** * @param array $map * * @return GroupCapacityOrderPlaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actualPrice'])) { $model->actualPrice = $map['actualPrice']; } if (isset($map['currentCapacity'])) { $model->currentCapacity = $map['currentCapacity']; } if (isset($map['currentEffectUntil'])) { $model->currentEffectUntil = $map['currentEffectUntil']; } if (isset($map['discount'])) { $model->discount = $map['discount']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['markedPrice'])) { $model->markedPrice = $map['markedPrice']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['targetCapacity'])) { $model->targetCapacity = $map['targetCapacity']; } if (isset($map['targetEffectUntil'])) { $model->targetEffectUntil = $map['targetEffectUntil']; } if (isset($map['token'])) { $model->token = $map['token']; } return $model; } } src/im_1_0/Models/GroupManageQueryHeaders.php000064400000002332146412132660015067 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GroupManageQueryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/GroupManageQueryRequest.php000064400000010451146412132660015145 0ustar00 'createdAfter', 'groupId' => 'groupId', 'groupMemberSamples' => 'groupMemberSamples', 'groupOwner' => 'groupOwner', 'groupTitleKeywords' => 'groupTitleKeywords', 'groupUrl' => 'groupUrl', 'maxResults' => 'maxResults', 'membersOver' => 'membersOver', 'nextToken' => 'nextToken', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createdAfter) { $res['createdAfter'] = $this->createdAfter; } if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->groupMemberSamples) { $res['groupMemberSamples'] = $this->groupMemberSamples; } if (null !== $this->groupOwner) { $res['groupOwner'] = $this->groupOwner; } if (null !== $this->groupTitleKeywords) { $res['groupTitleKeywords'] = $this->groupTitleKeywords; } if (null !== $this->groupUrl) { $res['groupUrl'] = $this->groupUrl; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->membersOver) { $res['membersOver'] = $this->membersOver; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return GroupManageQueryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createdAfter'])) { $model->createdAfter = $map['createdAfter']; } if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['groupMemberSamples'])) { if (!empty($map['groupMemberSamples'])) { $model->groupMemberSamples = $map['groupMemberSamples']; } } if (isset($map['groupOwner'])) { $model->groupOwner = $map['groupOwner']; } if (isset($map['groupTitleKeywords'])) { if (!empty($map['groupTitleKeywords'])) { $model->groupTitleKeywords = $map['groupTitleKeywords']; } } if (isset($map['groupUrl'])) { $model->groupUrl = $map['groupUrl']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['membersOver'])) { $model->membersOver = $map['membersOver']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/GroupManageQueryResponse.php000064400000002730146412132660015314 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GroupManageQueryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GroupManageQueryResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/GroupManageQueryResponseBody.php000064400000004176146412132660016140 0ustar00 'groupInfoList', 'hasMore' => 'hasMore', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupInfoList) { $res['groupInfoList'] = []; if (null !== $this->groupInfoList && \is_array($this->groupInfoList)) { $n = 0; foreach ($this->groupInfoList as $item) { $res['groupInfoList'][$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 GroupManageQueryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupInfoList'])) { if (!empty($map['groupInfoList'])) { $model->groupInfoList = []; $n = 0; foreach ($map['groupInfoList'] as $item) { $model->groupInfoList[$n++] = null !== $item ? groupInfoList::fromMap($item) : $item; } } } if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/im_1_0/Models/GroupManageQueryResponseBody/groupInfoList.php000064400000007734146412132660020747 0ustar00 'banWordsMode', 'capacity' => 'capacity', 'createdAt' => 'createdAt', 'extInfo' => 'extInfo', 'groupAdminList' => 'groupAdminList', 'groupOwner' => 'groupOwner', 'groupTitle' => 'groupTitle', 'memberCount' => 'memberCount', 'openConversationId' => 'openConversationId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->banWordsMode) { $res['banWordsMode'] = $this->banWordsMode; } if (null !== $this->capacity) { $res['capacity'] = $this->capacity; } if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->groupAdminList) { $res['groupAdminList'] = $this->groupAdminList; } if (null !== $this->groupOwner) { $res['groupOwner'] = $this->groupOwner; } if (null !== $this->groupTitle) { $res['groupTitle'] = $this->groupTitle; } if (null !== $this->memberCount) { $res['memberCount'] = $this->memberCount; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return groupInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['banWordsMode'])) { $model->banWordsMode = $map['banWordsMode']; } if (isset($map['capacity'])) { $model->capacity = $map['capacity']; } if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['groupAdminList'])) { if (!empty($map['groupAdminList'])) { $model->groupAdminList = $map['groupAdminList']; } } if (isset($map['groupOwner'])) { $model->groupOwner = $map['groupOwner']; } if (isset($map['groupTitle'])) { $model->groupTitle = $map['groupTitle']; } if (isset($map['memberCount'])) { $model->memberCount = $map['memberCount']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/im_1_0/Models/GroupManageReduceHeaders.php000064400000002334146412132660015173 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GroupManageReduceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/GroupManageReduceRequest.php000064400000003122146412132660015244 0ustar00 'capacityLimit', 'openConversationId' => 'openConversationId', 'options' => 'options', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->capacityLimit) { $res['capacityLimit'] = $this->capacityLimit; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->options) { $res['options'] = $this->options; } return $res; } /** * @param array $map * * @return GroupManageReduceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['capacityLimit'])) { $model->capacityLimit = $map['capacityLimit']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['options'])) { $model->options = $map['options']; } return $model; } } src/im_1_0/Models/GroupManageReduceResponse.php000064400000002164146412132660015417 0ustar00 '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 GroupManageReduceResponse */ 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/im_1_0/Models/InstallRobotToOrgHeaders.php000064400000002334146412132660015225 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InstallRobotToOrgHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/InstallRobotToOrgRequest.php000064400000006234146412132660015305 0ustar00 'brief', 'description' => 'description', 'icon' => 'icon', 'name' => 'name', 'outgoingToken' => 'outgoingToken', 'outgoingUrl' => 'outgoingUrl', 'previewMediaId' => 'previewMediaId', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; 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->outgoingToken) { $res['outgoingToken'] = $this->outgoingToken; } if (null !== $this->outgoingUrl) { $res['outgoingUrl'] = $this->outgoingUrl; } if (null !== $this->previewMediaId) { $res['previewMediaId'] = $this->previewMediaId; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return InstallRobotToOrgRequest */ public static function fromMap($map = []) { $model = new self(); 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['outgoingToken'])) { $model->outgoingToken = $map['outgoingToken']; } if (isset($map['outgoingUrl'])) { $model->outgoingUrl = $map['outgoingUrl']; } if (isset($map['previewMediaId'])) { $model->previewMediaId = $map['previewMediaId']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/im_1_0/Models/InstallRobotToOrgResponse.php000064400000002734146412132660015454 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InstallRobotToOrgResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InstallRobotToOrgResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/InstallRobotToOrgResponseBody.php000064400000001532146412132660016265 0ustar00 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return InstallRobotToOrgResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/im_1_0/Models/InteractiveCardCreateInstanceHeaders.php000064400000002364146412132660017521 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InteractiveCardCreateInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/InteractiveCardCreateInstanceRequest.php000064400000011716146412132660017577 0ustar00 'callbackRouteKey', 'cardData' => 'cardData', 'cardTemplateId' => 'cardTemplateId', 'chatBotId' => 'chatBotId', 'conversationType' => 'conversationType', 'openConversationId' => 'openConversationId', 'outTrackId' => 'outTrackId', 'privateData' => 'privateData', 'pullStrategy' => 'pullStrategy', 'receiverUserIdList' => 'receiverUserIdList', 'robotCode' => 'robotCode', 'userIdType' => 'userIdType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callbackRouteKey) { $res['callbackRouteKey'] = $this->callbackRouteKey; } if (null !== $this->cardData) { $res['cardData'] = null !== $this->cardData ? $this->cardData->toMap() : null; } if (null !== $this->cardTemplateId) { $res['cardTemplateId'] = $this->cardTemplateId; } if (null !== $this->chatBotId) { $res['chatBotId'] = $this->chatBotId; } if (null !== $this->conversationType) { $res['conversationType'] = $this->conversationType; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } 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->pullStrategy) { $res['pullStrategy'] = $this->pullStrategy; } if (null !== $this->receiverUserIdList) { $res['receiverUserIdList'] = $this->receiverUserIdList; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->userIdType) { $res['userIdType'] = $this->userIdType; } return $res; } /** * @param array $map * * @return InteractiveCardCreateInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callbackRouteKey'])) { $model->callbackRouteKey = $map['callbackRouteKey']; } if (isset($map['cardData'])) { $model->cardData = cardData::fromMap($map['cardData']); } if (isset($map['cardTemplateId'])) { $model->cardTemplateId = $map['cardTemplateId']; } if (isset($map['chatBotId'])) { $model->chatBotId = $map['chatBotId']; } if (isset($map['conversationType'])) { $model->conversationType = $map['conversationType']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['privateData'])) { $model->privateData = $map['privateData']; } if (isset($map['pullStrategy'])) { $model->pullStrategy = $map['pullStrategy']; } if (isset($map['receiverUserIdList'])) { if (!empty($map['receiverUserIdList'])) { $model->receiverUserIdList = $map['receiverUserIdList']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['userIdType'])) { $model->userIdType = $map['userIdType']; } return $model; } } src/im_1_0/Models/InteractiveCardCreateInstanceRequest/cardData.php000064400000002376146412132660021304 0ustar00 'cardMediaIdParamMap', 'cardParamMap' => 'cardParamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardMediaIdParamMap) { $res['cardMediaIdParamMap'] = $this->cardMediaIdParamMap; } 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['cardMediaIdParamMap'])) { $model->cardMediaIdParamMap = $map['cardMediaIdParamMap']; } if (isset($map['cardParamMap'])) { $model->cardParamMap = $map['cardParamMap']; } return $model; } } src/im_1_0/Models/InteractiveCardCreateInstanceResponse.php000064400000003014146412132660017735 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InteractiveCardCreateInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InteractiveCardCreateInstanceResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/InteractiveCardCreateInstanceResponseBody.php000064400000001706146412132660020561 0ustar00 'processQueryKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processQueryKey) { $res['processQueryKey'] = $this->processQueryKey; } return $res; } /** * @param array $map * * @return InteractiveCardCreateInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processQueryKey'])) { $model->processQueryKey = $map['processQueryKey']; } return $model; } } src/im_1_0/Models/ListOrgTextEmotionHeaders.php000064400000002336146412132660015423 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListOrgTextEmotionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/ListOrgTextEmotionResponse.php000064400000002740146412132660015645 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListOrgTextEmotionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListOrgTextEmotionResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/ListOrgTextEmotionResponseBody.php000064400000002345146412132660016464 0ustar00 '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 ListOrgTextEmotionResponseBody */ 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/im_1_0/Models/ListOrgTextEmotionResponseBody/result.php000064400000002641146412132660020001 0ustar00 'emotions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->emotions) { $res['emotions'] = []; if (null !== $this->emotions && \is_array($this->emotions)) { $n = 0; foreach ($this->emotions as $item) { $res['emotions'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['emotions'])) { if (!empty($map['emotions'])) { $model->emotions = []; $n = 0; foreach ($map['emotions'] as $item) { $model->emotions[$n++] = null !== $item ? emotions::fromMap($item) : $item; } } } return $model; } } src/im_1_0/Models/ListOrgTextEmotionResponseBody/result/emotions.php000064400000005326146412132660021641 0ustar00 'backgroundMediaId', 'backgroundMediaIdForPanel' => 'backgroundMediaIdForPanel', 'deptId' => 'deptId', 'emotionId' => 'emotionId', 'emotionName' => 'emotionName', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->backgroundMediaId) { $res['backgroundMediaId'] = $this->backgroundMediaId; } if (null !== $this->backgroundMediaIdForPanel) { $res['backgroundMediaIdForPanel'] = $this->backgroundMediaIdForPanel; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->emotionId) { $res['emotionId'] = $this->emotionId; } if (null !== $this->emotionName) { $res['emotionName'] = $this->emotionName; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return emotions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['backgroundMediaId'])) { $model->backgroundMediaId = $map['backgroundMediaId']; } if (isset($map['backgroundMediaIdForPanel'])) { $model->backgroundMediaIdForPanel = $map['backgroundMediaIdForPanel']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['emotionId'])) { $model->emotionId = $map['emotionId']; } if (isset($map['emotionName'])) { $model->emotionName = $map['emotionName']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/im_1_0/Models/PrivateDataValue.php000064400000002351146412132660013542 0ustar00 'cardParamMap', 'cardMediaIdParamMap' => 'cardMediaIdParamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardParamMap) { $res['cardParamMap'] = $this->cardParamMap; } if (null !== $this->cardMediaIdParamMap) { $res['cardMediaIdParamMap'] = $this->cardMediaIdParamMap; } return $res; } /** * @param array $map * * @return PrivateDataValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardParamMap'])) { $model->cardParamMap = $map['cardParamMap']; } if (isset($map['cardMediaIdParamMap'])) { $model->cardMediaIdParamMap = $map['cardMediaIdParamMap']; } return $model; } } src/im_1_0/Models/QueryGroupInfoByMemberAuthHeaders.php000064400000002356146412132660017045 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGroupInfoByMemberAuthHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/QueryGroupInfoByMemberAuthRequest.php000064400000002466146412132660017124 0ustar00 'coolAppCode', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return QueryGroupInfoByMemberAuthRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/QueryGroupInfoByMemberAuthResponse.php000064400000003000146412132660017253 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGroupInfoByMemberAuthResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGroupInfoByMemberAuthResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/QueryGroupInfoByMemberAuthResponseBody.php000064400000001625146412132660020104 0ustar00 'memberCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberCount) { $res['memberCount'] = $this->memberCount; } return $res; } /** * @param array $map * * @return QueryGroupInfoByMemberAuthResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberCount'])) { $model->memberCount = $map['memberCount']; } return $model; } } src/im_1_0/Models/QueryGroupMemberByMemberAuthHeaders.php000064400000002362146412132660017356 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGroupMemberByMemberAuthHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/QueryGroupMemberByMemberAuthRequest.php000064400000002472146412132660017435 0ustar00 'coolAppCode', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return QueryGroupMemberByMemberAuthRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/QueryGroupMemberByMemberAuthResponse.php000064400000003010146412132660017570 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGroupMemberByMemberAuthResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGroupMemberByMemberAuthResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/QueryGroupMemberByMemberAuthResponseBody.php000064400000003107146412132660020415 0ustar00 'groupMemberList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupMemberList) { $res['groupMemberList'] = []; if (null !== $this->groupMemberList && \is_array($this->groupMemberList)) { $n = 0; foreach ($this->groupMemberList as $item) { $res['groupMemberList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryGroupMemberByMemberAuthResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupMemberList'])) { if (!empty($map['groupMemberList'])) { $model->groupMemberList = []; $n = 0; foreach ($map['groupMemberList'] as $item) { $model->groupMemberList[$n++] = null !== $item ? groupMemberList::fromMap($item) : $item; } } } return $model; } } src/im_1_0/Models/QueryGroupMemberByMemberAuthResponseBody/groupMemberList.php000064400000003637146412132660023545 0ustar00 'groupNickName', 'orgName' => 'orgName', 'profilePhotoUrl' => 'profilePhotoUrl', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupNickName) { $res['groupNickName'] = $this->groupNickName; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->profilePhotoUrl) { $res['profilePhotoUrl'] = $this->profilePhotoUrl; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return groupMemberList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupNickName'])) { $model->groupNickName = $map['groupNickName']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['profilePhotoUrl'])) { $model->profilePhotoUrl = $map['profilePhotoUrl']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_1_0/Models/QueryGroupMemberHeaders.php000064400000002332146412132660015106 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGroupMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/QueryGroupMemberRequest.php000064400000001703146412132660015164 0ustar00 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return QueryGroupMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/QueryGroupMemberResponse.php000064400000002730146412132660015333 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGroupMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGroupMemberResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/QueryGroupMemberResponseBody.php000064400000003621146412132660016151 0ustar00 'groupMembers', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupMembers) { $res['groupMembers'] = []; if (null !== $this->groupMembers && \is_array($this->groupMembers)) { $n = 0; foreach ($this->groupMembers as $item) { $res['groupMembers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return QueryGroupMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupMembers'])) { if (!empty($map['groupMembers'])) { $model->groupMembers = []; $n = 0; foreach ($map['groupMembers'] as $item) { $model->groupMembers[$n++] = null !== $item ? groupMembers::fromMap($item) : $item; } } } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/QueryGroupMemberResponseBody/groupMembers.php000064400000004750146412132660020624 0ustar00 'groupMemberAvatar', 'groupMemberDynamics' => 'groupMemberDynamics', 'groupMemberId' => 'groupMemberId', 'groupMemberName' => 'groupMemberName', 'groupMemberType' => 'groupMemberType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupMemberAvatar) { $res['groupMemberAvatar'] = $this->groupMemberAvatar; } if (null !== $this->groupMemberDynamics) { $res['groupMemberDynamics'] = $this->groupMemberDynamics; } if (null !== $this->groupMemberId) { $res['groupMemberId'] = $this->groupMemberId; } if (null !== $this->groupMemberName) { $res['groupMemberName'] = $this->groupMemberName; } if (null !== $this->groupMemberType) { $res['groupMemberType'] = $this->groupMemberType; } return $res; } /** * @param array $map * * @return groupMembers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupMemberAvatar'])) { $model->groupMemberAvatar = $map['groupMemberAvatar']; } if (isset($map['groupMemberDynamics'])) { $model->groupMemberDynamics = $map['groupMemberDynamics']; } if (isset($map['groupMemberId'])) { $model->groupMemberId = $map['groupMemberId']; } if (isset($map['groupMemberName'])) { $model->groupMemberName = $map['groupMemberName']; } if (isset($map['groupMemberType'])) { $model->groupMemberType = $map['groupMemberType']; } return $model; } } src/im_1_0/Models/QueryGroupMuteStatusHeaders.php000064400000002342146412132660016016 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGroupMuteStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/QueryGroupMuteStatusRequest.php000064400000002425146412132660016075 0ustar00 'openConversationId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryGroupMuteStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_1_0/Models/QueryGroupMuteStatusResponse.php000064400000002750146412132660016244 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGroupMuteStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGroupMuteStatusResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/QueryGroupMuteStatusResponseBody.php000064400000002645146412132660017065 0ustar00 'groupMuteMode', 'userMuteResult' => 'userMuteResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupMuteMode) { $res['groupMuteMode'] = $this->groupMuteMode; } if (null !== $this->userMuteResult) { $res['userMuteResult'] = null !== $this->userMuteResult ? $this->userMuteResult->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGroupMuteStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupMuteMode'])) { $model->groupMuteMode = $map['groupMuteMode']; } if (isset($map['userMuteResult'])) { $model->userMuteResult = userMuteResult::fromMap($map['userMuteResult']); } return $model; } } src/im_1_0/Models/QueryGroupMuteStatusResponseBody/userMuteResult.php000064400000003141146412132660022065 0ustar00 'muteEndTime', 'muteStartTime' => 'muteStartTime', 'userMuteMode' => 'userMuteMode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->muteEndTime) { $res['muteEndTime'] = $this->muteEndTime; } if (null !== $this->muteStartTime) { $res['muteStartTime'] = $this->muteStartTime; } if (null !== $this->userMuteMode) { $res['userMuteMode'] = $this->userMuteMode; } return $res; } /** * @param array $map * * @return userMuteResult */ public static function fromMap($map = []) { $model = new self(); if (isset($map['muteEndTime'])) { $model->muteEndTime = $map['muteEndTime']; } if (isset($map['muteStartTime'])) { $model->muteStartTime = $map['muteStartTime']; } if (isset($map['userMuteMode'])) { $model->userMuteMode = $map['userMuteMode']; } return $model; } } src/im_1_0/Models/QueryMembersOfGroupRoleHeaders.php000064400000002350146412132660016400 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryMembersOfGroupRoleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/QueryMembersOfGroupRoleRequest.php000064400000003176146412132660016464 0ustar00 'openConversationId', 'openRoleId' => 'openRoleId', 'timestamp' => 'timestamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openRoleId) { $res['openRoleId'] = $this->openRoleId; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } return $res; } /** * @param array $map * * @return QueryMembersOfGroupRoleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openRoleId'])) { $model->openRoleId = $map['openRoleId']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } return $model; } } src/im_1_0/Models/QueryMembersOfGroupRoleResponse.php000064400000002764146412132660016634 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMembersOfGroupRoleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryMembersOfGroupRoleResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/QueryMembersOfGroupRoleResponseBody.php000064400000001623146412132660017443 0ustar00 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return QueryMembersOfGroupRoleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/im_1_0/Models/QuerySceneGroupTemplateRobotHeaders.php000064400000002362146412132660017441 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QuerySceneGroupTemplateRobotHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/QuerySceneGroupTemplateRobotRequest.php000064400000002504146412132660017514 0ustar00 'openConversationId', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return QuerySceneGroupTemplateRobotRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/im_1_0/Models/QuerySceneGroupTemplateRobotResponse.php000064400000003010146412132660017653 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QuerySceneGroupTemplateRobotResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QuerySceneGroupTemplateRobotResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/QuerySceneGroupTemplateRobotResponseBody.php000064400000002403146412132660020476 0ustar00 '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 QuerySceneGroupTemplateRobotResponseBody */ 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/im_1_0/Models/QuerySceneGroupTemplateRobotResponseBody/result.php000064400000002122146412132660022012 0ustar00 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } 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['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_1_0/Models/QuerySingleGroupHeaders.php000064400000002332146412132660015120 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QuerySingleGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/QuerySingleGroupRequest.php000064400000003610146412132660015175 0ustar00 'groupMembers', 'groupTemplateId' => 'groupTemplateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupMembers) { $res['groupMembers'] = []; if (null !== $this->groupMembers && \is_array($this->groupMembers)) { $n = 0; foreach ($this->groupMembers as $item) { $res['groupMembers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->groupTemplateId) { $res['groupTemplateId'] = $this->groupTemplateId; } return $res; } /** * @param array $map * * @return QuerySingleGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupMembers'])) { if (!empty($map['groupMembers'])) { $model->groupMembers = []; $n = 0; foreach ($map['groupMembers'] as $item) { $model->groupMembers[$n++] = null !== $item ? groupMembers::fromMap($item) : $item; } } } if (isset($map['groupTemplateId'])) { $model->groupTemplateId = $map['groupTemplateId']; } return $model; } } src/im_1_0/Models/QuerySingleGroupRequest/groupMembers.php000064400000002251146412132660017644 0ustar00 'appUserId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserId) { $res['appUserId'] = $this->appUserId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return groupMembers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserId'])) { $model->appUserId = $map['appUserId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_1_0/Models/QuerySingleGroupResponse.php000064400000002730146412132660015345 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QuerySingleGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QuerySingleGroupResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/QuerySingleGroupResponseBody.php000064400000003107146412132660016162 0ustar00 'openConversations', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversations) { $res['openConversations'] = []; if (null !== $this->openConversations && \is_array($this->openConversations)) { $n = 0; foreach ($this->openConversations as $item) { $res['openConversations'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QuerySingleGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversations'])) { if (!empty($map['openConversations'])) { $model->openConversations = []; $n = 0; foreach ($map['openConversations'] as $item) { $model->openConversations[$n++] = null !== $item ? openConversations::fromMap($item) : $item; } } } return $model; } } src/im_1_0/Models/QuerySingleGroupResponseBody/openConversations.php000064400000003150146412132660021677 0ustar00 'appUserId', 'openConversationId' => 'openConversationId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserId) { $res['appUserId'] = $this->appUserId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return openConversations */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserId'])) { $model->appUserId = $map['appUserId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_1_0/Models/QueryUnReadMessageHeaders.php000064400000002336146412132660015351 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUnReadMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/QueryUnReadMessageRequest.php000064400000002562146412132660015427 0ustar00 'appUserId', 'openConversationIds' => 'openConversationIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserId) { $res['appUserId'] = $this->appUserId; } if (null !== $this->openConversationIds) { $res['openConversationIds'] = $this->openConversationIds; } return $res; } /** * @param array $map * * @return QueryUnReadMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserId'])) { $model->appUserId = $map['appUserId']; } if (isset($map['openConversationIds'])) { if (!empty($map['openConversationIds'])) { $model->openConversationIds = $map['openConversationIds']; } } return $model; } } src/im_1_0/Models/QueryUnReadMessageResponse.php000064400000002740146412132660015573 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUnReadMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUnReadMessageResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/QueryUnReadMessageResponseBody.php000064400000003463146412132660016414 0ustar00 'unReadCount', 'unReadItems' => 'unReadItems', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unReadCount) { $res['unReadCount'] = $this->unReadCount; } if (null !== $this->unReadItems) { $res['unReadItems'] = []; if (null !== $this->unReadItems && \is_array($this->unReadItems)) { $n = 0; foreach ($this->unReadItems as $item) { $res['unReadItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryUnReadMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unReadCount'])) { $model->unReadCount = $map['unReadCount']; } if (isset($map['unReadItems'])) { if (!empty($map['unReadItems'])) { $model->unReadItems = []; $n = 0; foreach ($map['unReadItems'] as $item) { $model->unReadItems[$n++] = null !== $item ? unReadItems::fromMap($item) : $item; } } } return $model; } } src/im_1_0/Models/QueryUnReadMessageResponseBody/unReadItems.php000064400000002443146412132660020631 0ustar00 'openConversationId', 'unReadCount' => 'unReadCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->unReadCount) { $res['unReadCount'] = $this->unReadCount; } return $res; } /** * @param array $map * * @return unReadItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['unReadCount'])) { $model->unReadCount = $map['unReadCount']; } return $model; } } src/im_1_0/Models/RemoveGroupMemberHeaders.php000064400000002334146412132660015240 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveGroupMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/RemoveGroupMemberRequest.php000064400000003734146412132660015322 0ustar00 'appUserIds', 'openConversationId' => 'openConversationId', 'operatorId' => 'operatorId', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserIds) { $res['appUserIds'] = $this->appUserIds; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return RemoveGroupMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserIds'])) { if (!empty($map['appUserIds'])) { $model->appUserIds = $map['appUserIds']; } } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/im_1_0/Models/RemoveGroupMemberResponse.php000064400000002734146412132660015467 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RemoveGroupMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RemoveGroupMemberResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/RemoveGroupMemberResponseBody.php000064400000001554146412132660016304 0ustar00 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return RemoveGroupMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/im_1_0/Models/RemoveRobotFromConversationHeaders.php000064400000002360146412132660017317 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveRobotFromConversationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/RemoveRobotFromConversationRequest.php000064400000002502146412132660017372 0ustar00 'chatBotUserId', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatBotUserId) { $res['chatBotUserId'] = $this->chatBotUserId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return RemoveRobotFromConversationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatBotUserId'])) { $model->chatBotUserId = $map['chatBotUserId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/RemoveRobotFromConversationResponse.php000064400000003004146412132660017536 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RemoveRobotFromConversationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RemoveRobotFromConversationResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/RemoveRobotFromConversationResponseBody.php000064400000001622146412132660020360 0ustar00 'chatBotUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatBotUserId) { $res['chatBotUserId'] = $this->chatBotUserId; } return $res; } /** * @param array $map * * @return RemoveRobotFromConversationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatBotUserId'])) { $model->chatBotUserId = $map['chatBotUserId']; } return $model; } } src/im_1_0/Models/SearchInnerGroupsHeaders.php000064400000002334146412132660015237 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchInnerGroupsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/SearchInnerGroupsRequest.php000064400000002763146412132660015322 0ustar00 'maxResults', 'searchKey' => 'searchKey', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SearchInnerGroupsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_1_0/Models/SearchInnerGroupsResponse.php000064400000002734146412132660015466 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchInnerGroupsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchInnerGroupsResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/SearchInnerGroupsResponseBody.php000064400000002714146412132660016302 0ustar00 'groupInfos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupInfos) { $res['groupInfos'] = []; if (null !== $this->groupInfos && \is_array($this->groupInfos)) { $n = 0; foreach ($this->groupInfos as $item) { $res['groupInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return SearchInnerGroupsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupInfos'])) { if (!empty($map['groupInfos'])) { $model->groupInfos = []; $n = 0; foreach ($map['groupInfos'] as $item) { $model->groupInfos[$n++] = null !== $item ? groupInfos::fromMap($item) : $item; } } } return $model; } } src/im_1_0/Models/SearchInnerGroupsResponseBody/groupInfos.php000064400000003617146412132660020440 0ustar00 'icon', 'memberAmount' => 'memberAmount', 'openConversationId' => 'openConversationId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->memberAmount) { $res['memberAmount'] = $this->memberAmount; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return groupInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['memberAmount'])) { $model->memberAmount = $map['memberAmount']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/im_1_0/Models/SendDingMessageHeaders.php000064400000002330146412132660014632 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendDingMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/SendDingMessageRequest.php000064400000005023146412132660014711 0ustar00 'code', 'message' => 'message', 'messageType' => 'messageType', 'openConversationId' => 'openConversationId', 'receiverId' => 'receiverId', 'senderId' => 'senderId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->message) { $res['message'] = $this->message; } if (null !== $this->messageType) { $res['messageType'] = $this->messageType; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->receiverId) { $res['receiverId'] = $this->receiverId; } if (null !== $this->senderId) { $res['senderId'] = $this->senderId; } return $res; } /** * @param array $map * * @return SendDingMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['messageType'])) { $model->messageType = $map['messageType']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['receiverId'])) { $model->receiverId = $map['receiverId']; } if (isset($map['senderId'])) { $model->senderId = $map['senderId']; } return $model; } } src/im_1_0/Models/SendDingMessageResponse.php000064400000002724146412132660015064 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendDingMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendDingMessageResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/SendDingMessageResponseBody.php000064400000001526146412132660015701 0ustar00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return SendDingMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/im_1_0/Models/SendInteractiveCardHeaders.php000064400000002340146412132660015514 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendInteractiveCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/SendInteractiveCardRequest.php000064400000014066146412132660015601 0ustar00 'atOpenIds', 'callbackRouteKey' => 'callbackRouteKey', 'cardData' => 'cardData', 'cardOptions' => 'cardOptions', 'cardTemplateId' => 'cardTemplateId', 'chatBotId' => 'chatBotId', 'conversationType' => 'conversationType', 'digitalWorkerCode' => 'digitalWorkerCode', 'openConversationId' => 'openConversationId', 'outTrackId' => 'outTrackId', 'privateData' => 'privateData', 'pullStrategy' => 'pullStrategy', 'receiverUserIdList' => 'receiverUserIdList', 'robotCode' => 'robotCode', 'userIdType' => 'userIdType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atOpenIds) { $res['atOpenIds'] = $this->atOpenIds; } if (null !== $this->callbackRouteKey) { $res['callbackRouteKey'] = $this->callbackRouteKey; } if (null !== $this->cardData) { $res['cardData'] = null !== $this->cardData ? $this->cardData->toMap() : null; } if (null !== $this->cardOptions) { $res['cardOptions'] = null !== $this->cardOptions ? $this->cardOptions->toMap() : null; } if (null !== $this->cardTemplateId) { $res['cardTemplateId'] = $this->cardTemplateId; } if (null !== $this->chatBotId) { $res['chatBotId'] = $this->chatBotId; } if (null !== $this->conversationType) { $res['conversationType'] = $this->conversationType; } if (null !== $this->digitalWorkerCode) { $res['digitalWorkerCode'] = $this->digitalWorkerCode; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } 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->pullStrategy) { $res['pullStrategy'] = $this->pullStrategy; } if (null !== $this->receiverUserIdList) { $res['receiverUserIdList'] = $this->receiverUserIdList; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->userIdType) { $res['userIdType'] = $this->userIdType; } return $res; } /** * @param array $map * * @return SendInteractiveCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atOpenIds'])) { $model->atOpenIds = $map['atOpenIds']; } if (isset($map['callbackRouteKey'])) { $model->callbackRouteKey = $map['callbackRouteKey']; } if (isset($map['cardData'])) { $model->cardData = cardData::fromMap($map['cardData']); } if (isset($map['cardOptions'])) { $model->cardOptions = cardOptions::fromMap($map['cardOptions']); } if (isset($map['cardTemplateId'])) { $model->cardTemplateId = $map['cardTemplateId']; } if (isset($map['chatBotId'])) { $model->chatBotId = $map['chatBotId']; } if (isset($map['conversationType'])) { $model->conversationType = $map['conversationType']; } if (isset($map['digitalWorkerCode'])) { $model->digitalWorkerCode = $map['digitalWorkerCode']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['privateData'])) { $model->privateData = $map['privateData']; } if (isset($map['pullStrategy'])) { $model->pullStrategy = $map['pullStrategy']; } if (isset($map['receiverUserIdList'])) { if (!empty($map['receiverUserIdList'])) { $model->receiverUserIdList = $map['receiverUserIdList']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['userIdType'])) { $model->userIdType = $map['userIdType']; } return $model; } } src/im_1_0/Models/SendInteractiveCardRequest/cardData.php000064400000002364146412132660017302 0ustar00 'cardMediaIdParamMap', 'cardParamMap' => 'cardParamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardMediaIdParamMap) { $res['cardMediaIdParamMap'] = $this->cardMediaIdParamMap; } 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['cardMediaIdParamMap'])) { $model->cardMediaIdParamMap = $map['cardMediaIdParamMap']; } if (isset($map['cardParamMap'])) { $model->cardParamMap = $map['cardParamMap']; } return $model; } } src/im_1_0/Models/SendInteractiveCardRequest/cardOptions.php000064400000001574146412132660020066 0ustar00 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return cardOptions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/im_1_0/Models/SendInteractiveCardResponse.php000064400000002744146412132660015747 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendInteractiveCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendInteractiveCardResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/SendInteractiveCardResponseBody.php000064400000002350146412132660016556 0ustar00 '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 SendInteractiveCardResponseBody */ 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/im_1_0/Models/SendInteractiveCardResponseBody/result.php000064400000001640146412132660020075 0ustar00 'processQueryKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processQueryKey) { $res['processQueryKey'] = $this->processQueryKey; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processQueryKey'])) { $model->processQueryKey = $map['processQueryKey']; } return $model; } } src/im_1_0/Models/SendMessageHeaders.php000064400000002320146412132660014027 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/SendMessageRequest.php000064400000005701146412132660014112 0ustar00 'message', 'messageType' => 'messageType', 'openConversationId' => 'openConversationId', 'receiverId' => 'receiverId', 'senderId' => 'senderId', 'sourceInfos' => 'sourceInfos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->message) { $res['message'] = $this->message; } if (null !== $this->messageType) { $res['messageType'] = $this->messageType; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->receiverId) { $res['receiverId'] = $this->receiverId; } if (null !== $this->senderId) { $res['senderId'] = $this->senderId; } if (null !== $this->sourceInfos) { $res['sourceInfos'] = $this->sourceInfos; } return $res; } /** * @param array $map * * @return SendMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['messageType'])) { $model->messageType = $map['messageType']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['receiverId'])) { $model->receiverId = $map['receiverId']; } if (isset($map['senderId'])) { $model->senderId = $map['senderId']; } if (isset($map['sourceInfos'])) { $model->sourceInfos = $map['sourceInfos']; } return $model; } } src/im_1_0/Models/SendMessageResponse.php000064400000002704146412132660014260 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendMessageResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/SendMessageResponseBody.php000064400000001516146412132660015076 0ustar00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return SendMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/im_1_0/Models/SendOTOInteractiveCardHeaders.php000064400000002346146412132660016104 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendOTOInteractiveCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/SendOTOInteractiveCardRequest.php000064400000012067146412132660016162 0ustar00 'atOpenIds', 'callbackRouteKey' => 'callbackRouteKey', 'cardData' => 'cardData', 'cardOptions' => 'cardOptions', 'cardTemplateId' => 'cardTemplateId', 'openConversationId' => 'openConversationId', 'outTrackId' => 'outTrackId', 'privateData' => 'privateData', 'pullStrategy' => 'pullStrategy', 'receiverUserIdList' => 'receiverUserIdList', 'robotCode' => 'robotCode', 'userIdType' => 'userIdType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atOpenIds) { $res['atOpenIds'] = $this->atOpenIds; } if (null !== $this->callbackRouteKey) { $res['callbackRouteKey'] = $this->callbackRouteKey; } if (null !== $this->cardData) { $res['cardData'] = null !== $this->cardData ? $this->cardData->toMap() : null; } if (null !== $this->cardOptions) { $res['cardOptions'] = null !== $this->cardOptions ? $this->cardOptions->toMap() : null; } if (null !== $this->cardTemplateId) { $res['cardTemplateId'] = $this->cardTemplateId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } 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->pullStrategy) { $res['pullStrategy'] = $this->pullStrategy; } if (null !== $this->receiverUserIdList) { $res['receiverUserIdList'] = $this->receiverUserIdList; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->userIdType) { $res['userIdType'] = $this->userIdType; } return $res; } /** * @param array $map * * @return SendOTOInteractiveCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atOpenIds'])) { $model->atOpenIds = $map['atOpenIds']; } if (isset($map['callbackRouteKey'])) { $model->callbackRouteKey = $map['callbackRouteKey']; } if (isset($map['cardData'])) { $model->cardData = cardData::fromMap($map['cardData']); } if (isset($map['cardOptions'])) { $model->cardOptions = cardOptions::fromMap($map['cardOptions']); } if (isset($map['cardTemplateId'])) { $model->cardTemplateId = $map['cardTemplateId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['privateData'])) { $model->privateData = $map['privateData']; } if (isset($map['pullStrategy'])) { $model->pullStrategy = $map['pullStrategy']; } if (isset($map['receiverUserIdList'])) { if (!empty($map['receiverUserIdList'])) { $model->receiverUserIdList = $map['receiverUserIdList']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['userIdType'])) { $model->userIdType = $map['userIdType']; } return $model; } } src/im_1_0/Models/SendOTOInteractiveCardRequest/cardData.php000064400000001553146412132660017663 0ustar00 '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/im_1_0/Models/SendOTOInteractiveCardRequest/cardOptions.php000064400000001577146412132660020453 0ustar00 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return cardOptions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/im_1_0/Models/SendOTOInteractiveCardResponse.php000064400000002760146412132660016327 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendOTOInteractiveCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendOTOInteractiveCardResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/SendOTOInteractiveCardResponseBody.php000064400000002361146412132660017142 0ustar00 '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 SendOTOInteractiveCardResponseBody */ 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/im_1_0/Models/SendOTOInteractiveCardResponseBody/result.php000064400000001643146412132660020462 0ustar00 'processQueryKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processQueryKey) { $res['processQueryKey'] = $this->processQueryKey; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processQueryKey'])) { $model->processQueryKey = $map['processQueryKey']; } return $model; } } src/im_1_0/Models/SendRobotInteractiveCardHeaders.php000064400000002352146412132660016525 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendRobotInteractiveCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/SendRobotInteractiveCardRequest.php000064400000011422146412132660016600 0ustar00 'callbackUrl', 'cardBizId' => 'cardBizId', 'cardData' => 'cardData', 'cardTemplateId' => 'cardTemplateId', 'openConversationId' => 'openConversationId', 'pullStrategy' => 'pullStrategy', 'robotCode' => 'robotCode', 'sendOptions' => 'sendOptions', 'singleChatReceiver' => 'singleChatReceiver', 'unionIdPrivateDataMap' => 'unionIdPrivateDataMap', 'userIdPrivateDataMap' => 'userIdPrivateDataMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callbackUrl) { $res['callbackUrl'] = $this->callbackUrl; } if (null !== $this->cardBizId) { $res['cardBizId'] = $this->cardBizId; } if (null !== $this->cardData) { $res['cardData'] = $this->cardData; } if (null !== $this->cardTemplateId) { $res['cardTemplateId'] = $this->cardTemplateId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->pullStrategy) { $res['pullStrategy'] = $this->pullStrategy; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->sendOptions) { $res['sendOptions'] = null !== $this->sendOptions ? $this->sendOptions->toMap() : null; } if (null !== $this->singleChatReceiver) { $res['singleChatReceiver'] = $this->singleChatReceiver; } if (null !== $this->unionIdPrivateDataMap) { $res['unionIdPrivateDataMap'] = $this->unionIdPrivateDataMap; } if (null !== $this->userIdPrivateDataMap) { $res['userIdPrivateDataMap'] = $this->userIdPrivateDataMap; } return $res; } /** * @param array $map * * @return SendRobotInteractiveCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callbackUrl'])) { $model->callbackUrl = $map['callbackUrl']; } if (isset($map['cardBizId'])) { $model->cardBizId = $map['cardBizId']; } if (isset($map['cardData'])) { $model->cardData = $map['cardData']; } if (isset($map['cardTemplateId'])) { $model->cardTemplateId = $map['cardTemplateId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['pullStrategy'])) { $model->pullStrategy = $map['pullStrategy']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['sendOptions'])) { $model->sendOptions = sendOptions::fromMap($map['sendOptions']); } if (isset($map['singleChatReceiver'])) { $model->singleChatReceiver = $map['singleChatReceiver']; } if (isset($map['unionIdPrivateDataMap'])) { $model->unionIdPrivateDataMap = $map['unionIdPrivateDataMap']; } if (isset($map['userIdPrivateDataMap'])) { $model->userIdPrivateDataMap = $map['userIdPrivateDataMap']; } return $model; } } src/im_1_0/Models/SendRobotInteractiveCardRequest/sendOptions.php000064400000004125146412132660021107 0ustar00 'atAll', 'atUserListJson' => 'atUserListJson', 'cardPropertyJson' => 'cardPropertyJson', 'receiverListJson' => 'receiverListJson', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atAll) { $res['atAll'] = $this->atAll; } if (null !== $this->atUserListJson) { $res['atUserListJson'] = $this->atUserListJson; } if (null !== $this->cardPropertyJson) { $res['cardPropertyJson'] = $this->cardPropertyJson; } if (null !== $this->receiverListJson) { $res['receiverListJson'] = $this->receiverListJson; } return $res; } /** * @param array $map * * @return sendOptions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atAll'])) { $model->atAll = $map['atAll']; } if (isset($map['atUserListJson'])) { $model->atUserListJson = $map['atUserListJson']; } if (isset($map['cardPropertyJson'])) { $model->cardPropertyJson = $map['cardPropertyJson']; } if (isset($map['receiverListJson'])) { $model->receiverListJson = $map['receiverListJson']; } return $model; } } src/im_1_0/Models/SendRobotInteractiveCardResponse.php000064400000002770146412132660016754 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendRobotInteractiveCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendRobotInteractiveCardResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/SendRobotInteractiveCardResponseBody.php000064400000001674146412132660017574 0ustar00 'processQueryKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processQueryKey) { $res['processQueryKey'] = $this->processQueryKey; } return $res; } /** * @param array $map * * @return SendRobotInteractiveCardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processQueryKey'])) { $model->processQueryKey = $map['processQueryKey']; } return $model; } } src/im_1_0/Models/SendRobotMessageHeaders.php000064400000002332146412132660015040 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendRobotMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/SendRobotMessageRequest.php000064400000006011146412132660015113 0ustar00 'atAll', 'atAppUserId' => 'atAppUserId', 'atDingUserId' => 'atDingUserId', 'msgContent' => 'msgContent', 'msgType' => 'msgType', 'openConversationIds' => 'openConversationIds', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atAll) { $res['atAll'] = $this->atAll; } if (null !== $this->atAppUserId) { $res['atAppUserId'] = $this->atAppUserId; } if (null !== $this->atDingUserId) { $res['atDingUserId'] = $this->atDingUserId; } if (null !== $this->msgContent) { $res['msgContent'] = $this->msgContent; } if (null !== $this->msgType) { $res['msgType'] = $this->msgType; } if (null !== $this->openConversationIds) { $res['openConversationIds'] = $this->openConversationIds; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return SendRobotMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atAll'])) { $model->atAll = $map['atAll']; } if (isset($map['atAppUserId'])) { $model->atAppUserId = $map['atAppUserId']; } if (isset($map['atDingUserId'])) { $model->atDingUserId = $map['atDingUserId']; } if (isset($map['msgContent'])) { $model->msgContent = $map['msgContent']; } if (isset($map['msgType'])) { $model->msgType = $map['msgType']; } if (isset($map['openConversationIds'])) { if (!empty($map['openConversationIds'])) { $model->openConversationIds = $map['openConversationIds']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/im_1_0/Models/SendRobotMessageResponse.php000064400000002730146412132660015265 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendRobotMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendRobotMessageResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/SendRobotMessageResponseBody.php000064400000001504146412132660016101 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SendRobotMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/im_1_0/Models/SendTemplateInteractiveCardHeaders.php000064400000002360146412132660017212 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendTemplateInteractiveCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/SendTemplateInteractiveCardRequest.php000064400000007253146412132660017275 0ustar00 'callbackUrl', 'cardData' => 'cardData', 'cardTemplateId' => 'cardTemplateId', 'openConversationId' => 'openConversationId', 'outTrackId' => 'outTrackId', 'robotCode' => 'robotCode', 'sendOptions' => 'sendOptions', 'singleChatReceiver' => 'singleChatReceiver', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callbackUrl) { $res['callbackUrl'] = $this->callbackUrl; } if (null !== $this->cardData) { $res['cardData'] = $this->cardData; } if (null !== $this->cardTemplateId) { $res['cardTemplateId'] = $this->cardTemplateId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->sendOptions) { $res['sendOptions'] = null !== $this->sendOptions ? $this->sendOptions->toMap() : null; } if (null !== $this->singleChatReceiver) { $res['singleChatReceiver'] = $this->singleChatReceiver; } return $res; } /** * @param array $map * * @return SendTemplateInteractiveCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callbackUrl'])) { $model->callbackUrl = $map['callbackUrl']; } if (isset($map['cardData'])) { $model->cardData = $map['cardData']; } if (isset($map['cardTemplateId'])) { $model->cardTemplateId = $map['cardTemplateId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['sendOptions'])) { $model->sendOptions = sendOptions::fromMap($map['sendOptions']); } if (isset($map['singleChatReceiver'])) { $model->singleChatReceiver = $map['singleChatReceiver']; } return $model; } } src/im_1_0/Models/SendTemplateInteractiveCardRequest/sendOptions.php000064400000004130146412132660021571 0ustar00 'atAll', 'atUserListJson' => 'atUserListJson', 'cardPropertyJson' => 'cardPropertyJson', 'receiverListJson' => 'receiverListJson', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atAll) { $res['atAll'] = $this->atAll; } if (null !== $this->atUserListJson) { $res['atUserListJson'] = $this->atUserListJson; } if (null !== $this->cardPropertyJson) { $res['cardPropertyJson'] = $this->cardPropertyJson; } if (null !== $this->receiverListJson) { $res['receiverListJson'] = $this->receiverListJson; } return $res; } /** * @param array $map * * @return sendOptions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atAll'])) { $model->atAll = $map['atAll']; } if (isset($map['atUserListJson'])) { $model->atUserListJson = $map['atUserListJson']; } if (isset($map['cardPropertyJson'])) { $model->cardPropertyJson = $map['cardPropertyJson']; } if (isset($map['receiverListJson'])) { $model->receiverListJson = $map['receiverListJson']; } return $model; } } src/im_1_0/Models/SendTemplateInteractiveCardResponse.php000064400000003004146412132660017431 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendTemplateInteractiveCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendTemplateInteractiveCardResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/SendTemplateInteractiveCardResponseBody.php000064400000001702146412132660020252 0ustar00 'processQueryKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processQueryKey) { $res['processQueryKey'] = $this->processQueryKey; } return $res; } /** * @param array $map * * @return SendTemplateInteractiveCardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processQueryKey'])) { $model->processQueryKey = $map['processQueryKey']; } return $model; } } src/im_1_0/Models/SetRightPanelHeaders.php000064400000002324146412132660014346 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SetRightPanelHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/SetRightPanelRequest.php000064400000005571146412132660014432 0ustar00 'openConversationId', 'rightPanelClosePermitted' => 'rightPanelClosePermitted', 'rightPanelOpenStatus' => 'rightPanelOpenStatus', 'title' => 'title', 'webWndParams' => 'webWndParams', 'width' => 'width', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->rightPanelClosePermitted) { $res['rightPanelClosePermitted'] = $this->rightPanelClosePermitted; } if (null !== $this->rightPanelOpenStatus) { $res['rightPanelOpenStatus'] = $this->rightPanelOpenStatus; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->webWndParams) { $res['webWndParams'] = null !== $this->webWndParams ? $this->webWndParams->toMap() : null; } if (null !== $this->width) { $res['width'] = $this->width; } return $res; } /** * @param array $map * * @return SetRightPanelRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['rightPanelClosePermitted'])) { $model->rightPanelClosePermitted = $map['rightPanelClosePermitted']; } if (isset($map['rightPanelOpenStatus'])) { $model->rightPanelOpenStatus = $map['rightPanelOpenStatus']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['webWndParams'])) { $model->webWndParams = webWndParams::fromMap($map['webWndParams']); } if (isset($map['width'])) { $model->width = $map['width']; } return $model; } } src/im_1_0/Models/SetRightPanelRequest/webWndParams.php000064400000001576146412132660017025 0ustar00 'targetURL', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->targetURL) { $res['targetURL'] = $this->targetURL; } return $res; } /** * @param array $map * * @return webWndParams */ public static function fromMap($map = []) { $model = new self(); if (isset($map['targetURL'])) { $model->targetURL = $map['targetURL']; } return $model; } } src/im_1_0/Models/SetRightPanelResponse.php000064400000002714146412132660014574 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SetRightPanelResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SetRightPanelResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/SetRightPanelResponseBody.php000064400000001476146412132660015416 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SetRightPanelResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/im_1_0/Models/TopboxCloseHeaders.php000064400000002320146412132660014072 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return TopboxCloseHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/TopboxCloseRequest.php000064400000005246146412132660014161 0ustar00 'conversationType', 'coolAppCode' => 'coolAppCode', 'openConversationId' => 'openConversationId', 'outTrackId' => 'outTrackId', 'receiverUserIdList' => 'receiverUserIdList', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationType) { $res['conversationType'] = $this->conversationType; } if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->receiverUserIdList) { $res['receiverUserIdList'] = $this->receiverUserIdList; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return TopboxCloseRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationType'])) { $model->conversationType = $map['conversationType']; } if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['receiverUserIdList'])) { if (!empty($map['receiverUserIdList'])) { $model->receiverUserIdList = $map['receiverUserIdList']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/im_1_0/Models/TopboxCloseResponse.php000064400000002150146412132660014316 0ustar00 '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 TopboxCloseResponse */ 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/im_1_0/Models/TopboxOpenHeaders.php000064400000002316146412132660013733 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return TopboxOpenHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/TopboxOpenRequest.php000064400000006531146412132660014013 0ustar00 'conversationType', 'coolAppCode' => 'coolAppCode', 'expiredTime' => 'expiredTime', 'openConversationId' => 'openConversationId', 'outTrackId' => 'outTrackId', 'platforms' => 'platforms', 'receiverUserIdList' => 'receiverUserIdList', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationType) { $res['conversationType'] = $this->conversationType; } if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->expiredTime) { $res['expiredTime'] = $this->expiredTime; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->platforms) { $res['platforms'] = $this->platforms; } if (null !== $this->receiverUserIdList) { $res['receiverUserIdList'] = $this->receiverUserIdList; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return TopboxOpenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationType'])) { $model->conversationType = $map['conversationType']; } if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['expiredTime'])) { $model->expiredTime = $map['expiredTime']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['platforms'])) { $model->platforms = $map['platforms']; } if (isset($map['receiverUserIdList'])) { if (!empty($map['receiverUserIdList'])) { $model->receiverUserIdList = $map['receiverUserIdList']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/im_1_0/Models/TopboxOpenResponse.php000064400000002146146412132660014157 0ustar00 '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 TopboxOpenResponse */ 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/im_1_0/Models/UpdateGroupAvatarHeaders.php000064400000002334146412132660015234 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateGroupAvatarHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/UpdateGroupAvatarRequest.php000064400000002411146412132660015305 0ustar00 'groupAvatar', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupAvatar) { $res['groupAvatar'] = $this->groupAvatar; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return UpdateGroupAvatarRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupAvatar'])) { $model->groupAvatar = $map['groupAvatar']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/UpdateGroupAvatarResponse.php000064400000002734146412132660015463 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateGroupAvatarResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateGroupAvatarResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/UpdateGroupAvatarResponseBody.php000064400000001607146412132660016277 0ustar00 'newGroupAvatar', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->newGroupAvatar) { $res['newGroupAvatar'] = $this->newGroupAvatar; } return $res; } /** * @param array $map * * @return UpdateGroupAvatarResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['newGroupAvatar'])) { $model->newGroupAvatar = $map['newGroupAvatar']; } return $model; } } src/im_1_0/Models/UpdateGroupNameHeaders.php000064400000002330146412132660014672 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateGroupNameHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/UpdateGroupNameRequest.php000064400000002317146412132660014754 0ustar00 'groupName', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return UpdateGroupNameRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/im_1_0/Models/UpdateGroupNameResponse.php000064400000002724146412132660015124 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateGroupNameResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateGroupNameResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/UpdateGroupNameResponseBody.php000064400000001561146412132660015740 0ustar00 'newGroupName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->newGroupName) { $res['newGroupName'] = $this->newGroupName; } return $res; } /** * @param array $map * * @return UpdateGroupNameResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['newGroupName'])) { $model->newGroupName = $map['newGroupName']; } return $model; } } src/im_1_0/Models/UpdateGroupPermissionHeaders.php000064400000002344146412132660016147 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateGroupPermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/UpdateGroupPermissionRequest.php000064400000003107146412132660016222 0ustar00 'openConversationId', 'permissionGroup' => 'permissionGroup', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->permissionGroup) { $res['permissionGroup'] = $this->permissionGroup; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return UpdateGroupPermissionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['permissionGroup'])) { $model->permissionGroup = $map['permissionGroup']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/im_1_0/Models/UpdateGroupPermissionResponse.php000064400000002754146412132660016377 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateGroupPermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateGroupPermissionResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/UpdateGroupPermissionResponseBody.php000064400000001516146412132660017210 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateGroupPermissionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/im_1_0/Models/UpdateGroupSubAdminHeaders.php000064400000002340146412132660015515 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateGroupSubAdminHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/UpdateGroupSubAdminRequest.php000064400000003057146412132660015600 0ustar00 'openConversationId', 'role' => 'role', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return UpdateGroupSubAdminRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/im_1_0/Models/UpdateGroupSubAdminResponse.php000064400000002744146412132660015750 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateGroupSubAdminResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateGroupSubAdminResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/UpdateGroupSubAdminResponseBody.php000064400000001512146412132660016556 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateGroupSubAdminResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/im_1_0/Models/UpdateInteractiveCardHeaders.php000064400000002344146412132660016051 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInteractiveCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/UpdateInteractiveCardRequest.php000064400000005140146412132660016123 0ustar00 'cardData', 'cardOptions' => 'cardOptions', '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->cardOptions) { $res['cardOptions'] = null !== $this->cardOptions ? $this->cardOptions->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 UpdateInteractiveCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardData'])) { $model->cardData = cardData::fromMap($map['cardData']); } if (isset($map['cardOptions'])) { $model->cardOptions = cardOptions::fromMap($map['cardOptions']); } 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/im_1_0/Models/UpdateInteractiveCardRequest/cardData.php000064400000002366146412132660017635 0ustar00 'cardMediaIdParamMap', 'cardParamMap' => 'cardParamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardMediaIdParamMap) { $res['cardMediaIdParamMap'] = $this->cardMediaIdParamMap; } 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['cardMediaIdParamMap'])) { $model->cardMediaIdParamMap = $map['cardMediaIdParamMap']; } if (isset($map['cardParamMap'])) { $model->cardParamMap = $map['cardParamMap']; } return $model; } } src/im_1_0/Models/UpdateInteractiveCardRequest/cardOptions.php000064400000002512146412132660020410 0ustar00 '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 cardOptions */ 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/im_1_0/Models/UpdateInteractiveCardResponse.php000064400000002754146412132660016301 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInteractiveCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateInteractiveCardResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/UpdateInteractiveCardResponseBody.php000064400000001520146412132660017105 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateInteractiveCardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/im_1_0/Models/UpdateMemberBanWordsHeaders.php000064400000002342146412132660015647 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateMemberBanWordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/UpdateMemberBanWordsRequest.php000064400000004013146412132660015721 0ustar00 'muteDuration', 'muteStatus' => 'muteStatus', 'openConversationId' => 'openConversationId', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->muteDuration) { $res['muteDuration'] = $this->muteDuration; } if (null !== $this->muteStatus) { $res['muteStatus'] = $this->muteStatus; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return UpdateMemberBanWordsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['muteDuration'])) { $model->muteDuration = $map['muteDuration']; } if (isset($map['muteStatus'])) { $model->muteStatus = $map['muteStatus']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/im_1_0/Models/UpdateMemberBanWordsResponse.php000064400000002172146412132660016073 0ustar00 '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 UpdateMemberBanWordsResponse */ 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/im_1_0/Models/UpdateMemberGroupNickHeaders.php000064400000002344146412132660016033 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateMemberGroupNickHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/UpdateMemberGroupNickRequest.php000064400000003027146412132660016107 0ustar00 'groupNick', 'openConversationId' => 'openConversationId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupNick) { $res['groupNick'] = $this->groupNick; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateMemberGroupNickRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupNick'])) { $model->groupNick = $map['groupNick']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_1_0/Models/UpdateMemberGroupNickResponse.php000064400000002754146412132660016263 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateMemberGroupNickResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateMemberGroupNickResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/UpdateMemberGroupNickResponseBody.php000064400000001516146412132660017074 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateMemberGroupNickResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/im_1_0/Models/UpdateRobotInOrgHeaders.php000064400000002332146412132660015023 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateRobotInOrgHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/UpdateRobotInOrgRequest.php000064400000006216146412132660015105 0ustar00 'brief', 'description' => 'description', 'icon' => 'icon', 'name' => 'name', 'outgoingToken' => 'outgoingToken', 'outgoingUrl' => 'outgoingUrl', 'previewMediaId' => 'previewMediaId', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; 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->outgoingToken) { $res['outgoingToken'] = $this->outgoingToken; } if (null !== $this->outgoingUrl) { $res['outgoingUrl'] = $this->outgoingUrl; } if (null !== $this->previewMediaId) { $res['previewMediaId'] = $this->previewMediaId; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return UpdateRobotInOrgRequest */ public static function fromMap($map = []) { $model = new self(); 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['outgoingToken'])) { $model->outgoingToken = $map['outgoingToken']; } if (isset($map['outgoingUrl'])) { $model->outgoingUrl = $map['outgoingUrl']; } if (isset($map['previewMediaId'])) { $model->previewMediaId = $map['previewMediaId']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/im_1_0/Models/UpdateRobotInOrgResponse.php000064400000002730146412132660015250 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateRobotInOrgResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateRobotInOrgResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/UpdateRobotInOrgResponseBody.php000064400000001530146412132660016063 0ustar00 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return UpdateRobotInOrgResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/im_1_0/Models/UpdateRobotInteractiveCardHeaders.php000064400000002356146412132660017062 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateRobotInteractiveCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/UpdateRobotInteractiveCardRequest.php000064400000005050146412132660017131 0ustar00 'cardBizId', 'cardData' => 'cardData', 'unionIdPrivateDataMap' => 'unionIdPrivateDataMap', 'updateOptions' => 'updateOptions', 'userIdPrivateDataMap' => 'userIdPrivateDataMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardBizId) { $res['cardBizId'] = $this->cardBizId; } if (null !== $this->cardData) { $res['cardData'] = $this->cardData; } if (null !== $this->unionIdPrivateDataMap) { $res['unionIdPrivateDataMap'] = $this->unionIdPrivateDataMap; } if (null !== $this->updateOptions) { $res['updateOptions'] = null !== $this->updateOptions ? $this->updateOptions->toMap() : null; } if (null !== $this->userIdPrivateDataMap) { $res['userIdPrivateDataMap'] = $this->userIdPrivateDataMap; } return $res; } /** * @param array $map * * @return UpdateRobotInteractiveCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardBizId'])) { $model->cardBizId = $map['cardBizId']; } if (isset($map['cardData'])) { $model->cardData = $map['cardData']; } if (isset($map['unionIdPrivateDataMap'])) { $model->unionIdPrivateDataMap = $map['unionIdPrivateDataMap']; } if (isset($map['updateOptions'])) { $model->updateOptions = updateOptions::fromMap($map['updateOptions']); } if (isset($map['userIdPrivateDataMap'])) { $model->userIdPrivateDataMap = $map['userIdPrivateDataMap']; } return $model; } } src/im_1_0/Models/UpdateRobotInteractiveCardRequest/updateOptions.php000064400000002523146412132660021771 0ustar00 '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 updateOptions */ 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/im_1_0/Models/UpdateRobotInteractiveCardResponse.php000064400000003000146412132660017270 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateRobotInteractiveCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateRobotInteractiveCardResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/UpdateRobotInteractiveCardResponseBody.php000064400000001700146412132660020113 0ustar00 'processQueryKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processQueryKey) { $res['processQueryKey'] = $this->processQueryKey; } return $res; } /** * @param array $map * * @return UpdateRobotInteractiveCardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processQueryKey'])) { $model->processQueryKey = $map['processQueryKey']; } return $model; } } src/im_1_0/Models/UpdateTheGroupRolesOfGroupMemberHeaders.php000064400000002372146412132660020177 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTheGroupRolesOfGroupMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_1_0/Models/UpdateTheGroupRolesOfGroupMemberRequest.php000064400000003200146412132660020243 0ustar00 'openConversationId', 'openRoleIds' => 'openRoleIds', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openRoleIds) { $res['openRoleIds'] = $this->openRoleIds; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateTheGroupRolesOfGroupMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openRoleIds'])) { if (!empty($map['openRoleIds'])) { $model->openRoleIds = $map['openRoleIds']; } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_1_0/Models/UpdateTheGroupRolesOfGroupMemberResponse.php000064400000003030146412132660020412 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTheGroupRolesOfGroupMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateTheGroupRolesOfGroupMemberResponseBody::fromMap($map['body']); } return $model; } } src/im_1_0/Models/UpdateTheGroupRolesOfGroupMemberResponseBody.php000064400000001544146412132660021240 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateTheGroupRolesOfGroupMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/im_2_0/Dingtalk.php000064400000032725146412132660010664 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_signatureAlgorithm = 'v2'; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CloseTopboxRequest $request * @param CloseTopboxHeaders $headers * @param RuntimeOptions $runtime * * @return CloseTopboxResponse */ public function closeTopboxWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationType)) { $body['conversationType'] = $request->conversationType; } if (!Utils::isUnset($request->coolAppCode)) { $body['coolAppCode'] = $request->coolAppCode; } if (!Utils::isUnset($request->groupTemplateId)) { $body['groupTemplateId'] = $request->groupTemplateId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } if (!Utils::isUnset($request->unoinId)) { $body['unoinId'] = $request->unoinId; } 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' => 'CloseTopbox', 'version' => 'im_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/im/topBoxes/close', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CloseTopboxResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CloseTopboxRequest $request * * @return CloseTopboxResponse */ public function closeTopbox($request) { $runtime = new RuntimeOptions([]); $headers = new CloseTopboxHeaders([]); return $this->closeTopboxWithOptions($request, $headers, $runtime); } /** * @param CreateCoupleGroupRequest $request * @param CreateCoupleGroupHeaders $headers * @param RuntimeOptions $runtime * * @return CreateCoupleGroupResponse */ public function createCoupleGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupTemplateId)) { $body['groupTemplateId'] = $request->groupTemplateId; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->users)) { $body['users'] = $request->users; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateCoupleGroup', 'version' => 'im_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/im/interconnections/couples/groups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateCoupleGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateCoupleGroupRequest $request * * @return CreateCoupleGroupResponse */ public function createCoupleGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCoupleGroupHeaders([]); return $this->createCoupleGroupWithOptions($request, $headers, $runtime); } /** * @param CreateGroupRequest $request * @param CreateGroupHeaders $headers * @param RuntimeOptions $runtime * * @return CreateGroupResponse */ public function createGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupAvatar)) { $body['groupAvatar'] = $request->groupAvatar; } if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } if (!Utils::isUnset($request->groupTemplateId)) { $body['groupTemplateId'] = $request->groupTemplateId; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->users)) { $body['users'] = $request->users; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->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' => 'im_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/im/interconnections/groups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateGroupRequest $request * * @return CreateGroupResponse */ public function createGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CreateGroupHeaders([]); return $this->createGroupWithOptions($request, $headers, $runtime); } /** * @param CreateTopboxRequest $request * @param CreateTopboxHeaders $headers * @param RuntimeOptions $runtime * * @return CreateTopboxResponse */ public function createTopboxWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->callbackRouteKey)) { $body['callbackRouteKey'] = $request->callbackRouteKey; } if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->cardSettings)) { $body['cardSettings'] = $request->cardSettings; } if (!Utils::isUnset($request->cardTemplateId)) { $body['cardTemplateId'] = $request->cardTemplateId; } if (!Utils::isUnset($request->conversationType)) { $body['conversationType'] = $request->conversationType; } if (!Utils::isUnset($request->coolAppCode)) { $body['coolAppCode'] = $request->coolAppCode; } if (!Utils::isUnset($request->expiredTime)) { $body['expiredTime'] = $request->expiredTime; } if (!Utils::isUnset($request->groupTemplateId)) { $body['groupTemplateId'] = $request->groupTemplateId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->platforms)) { $body['platforms'] = $request->platforms; } if (!Utils::isUnset($request->receiverUnionIdList)) { $body['receiverUnionIdList'] = $request->receiverUnionIdList; } if (!Utils::isUnset($request->receiverUserIdList)) { $body['receiverUserIdList'] = $request->receiverUserIdList; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } if (!Utils::isUnset($request->unionIdPrivateDataMap)) { $body['unionIdPrivateDataMap'] = $request->unionIdPrivateDataMap; } if (!Utils::isUnset($request->unoinId)) { $body['unoinId'] = $request->unoinId; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->userIdPrivateDataMap)) { $body['userIdPrivateDataMap'] = $request->userIdPrivateDataMap; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateTopbox', 'version' => 'im_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/im/topBoxes', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateTopboxResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateTopboxRequest $request * * @return CreateTopboxResponse */ public function createTopbox($request) { $runtime = new RuntimeOptions([]); $headers = new CreateTopboxHeaders([]); return $this->createTopboxWithOptions($request, $headers, $runtime); } /** * @param string[] $headers * @param RuntimeOptions $runtime * * @return GroupManagerDeviceMarketResponse */ public function groupManagerDeviceMarketWithOptions($headers, $runtime) { $req = new OpenApiRequest([ 'headers' => $headers, ]); $params = new Params([ 'action' => 'GroupManagerDeviceMarket', 'version' => 'im_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/im/group/device/market/manager', 'method' => 'GET', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GroupManagerDeviceMarketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return GroupManagerDeviceMarketResponse */ public function groupManagerDeviceMarket() { $runtime = new RuntimeOptions([]); $headers = []; return $this->groupManagerDeviceMarketWithOptions($headers, $runtime); } } src/im_2_0/Models/CloseTopboxHeaders.php000064400000002320146412132660014073 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CloseTopboxHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_2_0/Models/CloseTopboxRequest.php000064400000006506146412132660014162 0ustar00 'conversationType', 'coolAppCode' => 'coolAppCode', 'groupTemplateId' => 'groupTemplateId', 'openConversationId' => 'openConversationId', 'outTrackId' => 'outTrackId', 'robotCode' => 'robotCode', 'unoinId' => 'unoinId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationType) { $res['conversationType'] = $this->conversationType; } if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->groupTemplateId) { $res['groupTemplateId'] = $this->groupTemplateId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->unoinId) { $res['unoinId'] = $this->unoinId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CloseTopboxRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationType'])) { $model->conversationType = $map['conversationType']; } if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['groupTemplateId'])) { $model->groupTemplateId = $map['groupTemplateId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['unoinId'])) { $model->unoinId = $map['unoinId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_2_0/Models/CloseTopboxResponse.php000064400000002704146412132660014324 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CloseTopboxResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CloseTopboxResponseBody::fromMap($map['body']); } return $model; } } src/im_2_0/Models/CloseTopboxResponseBody.php000064400000001472146412132660015143 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CloseTopboxResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/im_2_0/Models/CreateCoupleGroupHeaders.php000064400000002334146412132660015227 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateCoupleGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_2_0/Models/CreateCoupleGroupRequest.php000064400000004113146412132660015301 0ustar00 'groupTemplateId', 'operatorId' => 'operatorId', 'users' => 'users', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupTemplateId) { $res['groupTemplateId'] = $this->groupTemplateId; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } 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 CreateCoupleGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupTemplateId'])) { $model->groupTemplateId = $map['groupTemplateId']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } 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/im_2_0/Models/CreateCoupleGroupRequest/users.php000064400000002716146412132660016451 0ustar00 'appUserId', 'groupOwner' => 'groupOwner', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserId) { $res['appUserId'] = $this->appUserId; } if (null !== $this->groupOwner) { $res['groupOwner'] = $this->groupOwner; } 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['appUserId'])) { $model->appUserId = $map['appUserId']; } if (isset($map['groupOwner'])) { $model->groupOwner = $map['groupOwner']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_2_0/Models/CreateCoupleGroupResponse.php000064400000002734146412132660015456 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateCoupleGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateCoupleGroupResponseBody::fromMap($map['body']); } return $model; } } src/im_2_0/Models/CreateCoupleGroupResponseBody.php000064400000004057146412132660016274 0ustar00 'appUserIds', 'conversationId' => 'conversationId', 'openConversationId' => 'openConversationId', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserIds) { $res['appUserIds'] = $this->appUserIds; } if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return CreateCoupleGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserIds'])) { if (!empty($map['appUserIds'])) { $model->appUserIds = $map['appUserIds']; } } if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/im_2_0/Models/CreateGroupHeaders.php000064400000002320146412132660014052 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/im_2_0/Models/CreateGroupRequest.php000064400000005356146412132660014143 0ustar00 'groupAvatar', 'groupName' => 'groupName', 'groupTemplateId' => 'groupTemplateId', 'operatorId' => 'operatorId', 'users' => 'users', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupAvatar) { $res['groupAvatar'] = $this->groupAvatar; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->groupTemplateId) { $res['groupTemplateId'] = $this->groupTemplateId; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } 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 CreateGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupAvatar'])) { $model->groupAvatar = $map['groupAvatar']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['groupTemplateId'])) { $model->groupTemplateId = $map['groupTemplateId']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } 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/im_2_0/Models/CreateGroupRequest/users.php000064400000002710146412132660015273 0ustar00 'appUserId', 'groupOwner' => 'groupOwner', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserId) { $res['appUserId'] = $this->appUserId; } if (null !== $this->groupOwner) { $res['groupOwner'] = $this->groupOwner; } 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['appUserId'])) { $model->appUserId = $map['appUserId']; } if (isset($map['groupOwner'])) { $model->groupOwner = $map['groupOwner']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/im_2_0/Models/CreateGroupResponse.php000064400000002704146412132660014303 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/im_2_0/Models/CreateGroupResponseBody.php000064400000004043146412132660015117 0ustar00 'appUserIds', 'conversationId' => 'conversationId', 'openConversationId' => 'openConversationId', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUserIds) { $res['appUserIds'] = $this->appUserIds; } if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return CreateGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUserIds'])) { if (!empty($map['appUserIds'])) { $model->appUserIds = $map['appUserIds']; } } if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/im_2_0/Models/CreateTopboxHeaders.php000064400000002322146412132660014233 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateTopboxHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/im_2_0/Models/CreateTopboxRequest.php000064400000017713146412132660014322 0ustar00 'callbackRouteKey', 'cardData' => 'cardData', 'cardSettings' => 'cardSettings', 'cardTemplateId' => 'cardTemplateId', 'conversationType' => 'conversationType', 'coolAppCode' => 'coolAppCode', 'expiredTime' => 'expiredTime', 'groupTemplateId' => 'groupTemplateId', 'openConversationId' => 'openConversationId', 'outTrackId' => 'outTrackId', 'platforms' => 'platforms', 'receiverUnionIdList' => 'receiverUnionIdList', 'receiverUserIdList' => 'receiverUserIdList', 'robotCode' => 'robotCode', 'unionIdPrivateDataMap' => 'unionIdPrivateDataMap', 'unoinId' => 'unoinId', 'userId' => 'userId', 'userIdPrivateDataMap' => 'userIdPrivateDataMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callbackRouteKey) { $res['callbackRouteKey'] = $this->callbackRouteKey; } if (null !== $this->cardData) { $res['cardData'] = null !== $this->cardData ? $this->cardData->toMap() : null; } if (null !== $this->cardSettings) { $res['cardSettings'] = null !== $this->cardSettings ? $this->cardSettings->toMap() : null; } if (null !== $this->cardTemplateId) { $res['cardTemplateId'] = $this->cardTemplateId; } if (null !== $this->conversationType) { $res['conversationType'] = $this->conversationType; } if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->expiredTime) { $res['expiredTime'] = $this->expiredTime; } if (null !== $this->groupTemplateId) { $res['groupTemplateId'] = $this->groupTemplateId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->platforms) { $res['platforms'] = $this->platforms; } if (null !== $this->receiverUnionIdList) { $res['receiverUnionIdList'] = $this->receiverUnionIdList; } if (null !== $this->receiverUserIdList) { $res['receiverUserIdList'] = $this->receiverUserIdList; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->unionIdPrivateDataMap) { $res['unionIdPrivateDataMap'] = []; if (null !== $this->unionIdPrivateDataMap && \is_array($this->unionIdPrivateDataMap)) { foreach ($this->unionIdPrivateDataMap as $key => $val) { $res['unionIdPrivateDataMap'][$key] = null !== $val ? $val->toMap() : $val; } } } if (null !== $this->unoinId) { $res['unoinId'] = $this->unoinId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userIdPrivateDataMap) { $res['userIdPrivateDataMap'] = []; if (null !== $this->userIdPrivateDataMap && \is_array($this->userIdPrivateDataMap)) { foreach ($this->userIdPrivateDataMap as $key => $val) { $res['userIdPrivateDataMap'][$key] = null !== $val ? $val->toMap() : $val; } } } return $res; } /** * @param array $map * * @return CreateTopboxRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callbackRouteKey'])) { $model->callbackRouteKey = $map['callbackRouteKey']; } if (isset($map['cardData'])) { $model->cardData = cardData::fromMap($map['cardData']); } if (isset($map['cardSettings'])) { $model->cardSettings = cardSettings::fromMap($map['cardSettings']); } if (isset($map['cardTemplateId'])) { $model->cardTemplateId = $map['cardTemplateId']; } if (isset($map['conversationType'])) { $model->conversationType = $map['conversationType']; } if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['expiredTime'])) { $model->expiredTime = $map['expiredTime']; } if (isset($map['groupTemplateId'])) { $model->groupTemplateId = $map['groupTemplateId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['platforms'])) { $model->platforms = $map['platforms']; } if (isset($map['receiverUnionIdList'])) { if (!empty($map['receiverUnionIdList'])) { $model->receiverUnionIdList = $map['receiverUnionIdList']; } } if (isset($map['receiverUserIdList'])) { if (!empty($map['receiverUserIdList'])) { $model->receiverUserIdList = $map['receiverUserIdList']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['unionIdPrivateDataMap'])) { $model->unionIdPrivateDataMap = $map['unionIdPrivateDataMap']; } if (isset($map['unoinId'])) { $model->unoinId = $map['unoinId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userIdPrivateDataMap'])) { $model->userIdPrivateDataMap = $map['userIdPrivateDataMap']; } return $model; } } src/im_2_0/Models/CreateTopboxRequest/cardData.php000064400000001541146412132660016015 0ustar00 '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/im_2_0/Models/CreateTopboxRequest/cardSettings.php000064400000001545146412132660016750 0ustar00 'pullStrategy', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pullStrategy) { $res['pullStrategy'] = $this->pullStrategy; } return $res; } /** * @param array $map * * @return cardSettings */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pullStrategy'])) { $model->pullStrategy = $map['pullStrategy']; } return $model; } } src/im_2_0/Models/CreateTopboxResponse.php000064400000002710146412132660014457 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTopboxResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateTopboxResponseBody::fromMap($map['body']); } return $model; } } src/im_2_0/Models/CreateTopboxResponseBody.php000064400000001474146412132660015303 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateTopboxResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/im_2_0/Models/GroupManagerDeviceMarketResponse.php000064400000002770146412132660016741 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GroupManagerDeviceMarketResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GroupManagerDeviceMarketResponseBody::fromMap($map['body']); } return $model; } } src/im_2_0/Models/GroupManagerDeviceMarketResponseBody.php000064400000001550146412132660017552 0ustar00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return GroupManagerDeviceMarketResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/im_2_0/Models/UnionIdPrivateDataMapValue.php000064400000001561146412132660015471 0ustar00 'cardParamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardParamMap) { $res['cardParamMap'] = $this->cardParamMap; } return $res; } /** * @param array $map * * @return UnionIdPrivateDataMapValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardParamMap'])) { $model->cardParamMap = $map['cardParamMap']; } return $model; } } src/im_2_0/Models/UserIdPrivateDataMapValue.php000064400000001557146412132660015324 0ustar00 'cardParamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardParamMap) { $res['cardParamMap'] = $this->cardParamMap; } return $res; } /** * @param array $map * * @return UserIdPrivateDataMapValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardParamMap'])) { $model->cardParamMap = $map['cardParamMap']; } return $model; } } src/impaas_1_0/Dingtalk.php000064400000140475146412132660011532 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddGroupMembersRequest $request * @param AddGroupMembersHeaders $headers * @param RuntimeOptions $runtime * * @return AddGroupMembersResponse */ public function addGroupMembersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->operatorUid)) { $body['operatorUid'] = $request->operatorUid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->operationSource)) { $realHeaders['operationSource'] = Utils::toJSONString($headers->operationSource); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddGroupMembers', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/groups/members/batchAdd', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AddGroupMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddGroupMembersRequest $request * * @return AddGroupMembersResponse */ public function addGroupMembers($request) { $runtime = new RuntimeOptions([]); $headers = new AddGroupMembersHeaders([]); return $this->addGroupMembersWithOptions($request, $headers, $runtime); } /** * @param AddProfileRequest $request * @param AddProfileHeaders $headers * @param RuntimeOptions $runtime * * @return AddProfileResponse */ public function addProfileWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appUid)) { $body['appUid'] = $request->appUid; } if (!Utils::isUnset($request->avatarMediaId)) { $body['avatarMediaId'] = $request->avatarMediaId; } if (!Utils::isUnset($request->mobileNumber)) { $body['mobileNumber'] = $request->mobileNumber; } if (!Utils::isUnset($request->nick)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddProfile', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/users/profiles', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return AddProfileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddProfileRequest $request * * @return AddProfileResponse */ public function addProfile($request) { $runtime = new RuntimeOptions([]); $headers = new AddProfileHeaders([]); return $this->addProfileWithOptions($request, $headers, $runtime); } /** * @param BatchSendRequest $request * @param BatchSendHeaders $headers * @param RuntimeOptions $runtime * * @return BatchSendResponse */ public function batchSendWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appUids)) { $body['appUids'] = $request->appUids; } if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->conversationIds)) { $body['conversationIds'] = $request->conversationIds; } 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' => 'BatchSend', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/messages/batchSend', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchSendResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchSendRequest $request * * @return BatchSendResponse */ public function batchSend($request) { $runtime = new RuntimeOptions([]); $headers = new BatchSendHeaders([]); return $this->batchSendWithOptions($request, $headers, $runtime); } /** * @param CreateGroupRequest $request * @param CreateGroupHeaders $headers * @param RuntimeOptions $runtime * * @return CreateGroupResponse */ public function createGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->channel)) { $body['channel'] = $request->channel; } if (!Utils::isUnset($request->creatorUid)) { $body['creatorUid'] = $request->creatorUid; } if (!Utils::isUnset($request->iconMediaId)) { $body['iconMediaId'] = $request->iconMediaId; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->properties)) { $body['properties'] = $request->properties; } if (!Utils::isUnset($request->uuid)) { $body['uuid'] = $request->uuid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->operationSource)) { $realHeaders['operationSource'] = Utils::toJSONString($headers->operationSource); } if (!Utils::isUnset($headers->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' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/groups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateGroupRequest $request * * @return CreateGroupResponse */ public function createGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CreateGroupHeaders([]); return $this->createGroupWithOptions($request, $headers, $runtime); } /** * @param CreateTrustGroupRequest $request * @param CreateTrustGroupHeaders $headers * @param RuntimeOptions $runtime * * @return CreateTrustGroupResponse */ public function createTrustGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->channel)) { $body['channel'] = $request->channel; } if (!Utils::isUnset($request->iconMediaId)) { $body['iconMediaId'] = $request->iconMediaId; } if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->properties)) { $body['properties'] = $request->properties; } if (!Utils::isUnset($request->systemMsg)) { $body['systemMsg'] = $request->systemMsg; } if (!Utils::isUnset($request->uuid)) { $body['uuid'] = $request->uuid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->operationSource)) { $realHeaders['operationSource'] = Utils::toJSONString($headers->operationSource); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateTrustGroup', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/groups/trusts', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateTrustGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateTrustGroupRequest $request * * @return CreateTrustGroupResponse */ public function createTrustGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CreateTrustGroupHeaders([]); return $this->createTrustGroupWithOptions($request, $headers, $runtime); } /** * @param DismissGroupRequest $request * @param DismissGroupHeaders $headers * @param RuntimeOptions $runtime * * @return DismissGroupResponse */ public function dismissGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } if (!Utils::isUnset($request->operatorUid)) { $body['operatorUid'] = $request->operatorUid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->operationSource)) { $realHeaders['operationSource'] = Utils::toJSONString($headers->operationSource); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DismissGroup', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/groups/dismiss', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DismissGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DismissGroupRequest $request * * @return DismissGroupResponse */ public function dismissGroup($request) { $runtime = new RuntimeOptions([]); $headers = new DismissGroupHeaders([]); return $this->dismissGroupWithOptions($request, $headers, $runtime); } /** * @param GetConversationIdRequest $request * @param GetConversationIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetConversationIdResponse */ public function getConversationIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appUid)) { $body['appUid'] = $request->appUid; } 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' => 'GetConversationId', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/conversations', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetConversationIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetConversationIdRequest $request * * @return GetConversationIdResponse */ public function getConversationId($request) { $runtime = new RuntimeOptions([]); $headers = new GetConversationIdHeaders([]); return $this->getConversationIdWithOptions($request, $headers, $runtime); } /** * @param GetMediaUrlRequest $request * @param GetMediaUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetMediaUrlResponse */ public function getMediaUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->mediaId)) { $body['mediaId'] = $request->mediaId; } if (!Utils::isUnset($request->urlExpireTime)) { $body['urlExpireTime'] = $request->urlExpireTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetMediaUrl', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/medium/urls', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetMediaUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetMediaUrlRequest $request * * @return GetMediaUrlResponse */ public function getMediaUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetMediaUrlHeaders([]); return $this->getMediaUrlWithOptions($request, $headers, $runtime); } /** * @param GetMediaUrlsRequest $request * @param GetMediaUrlsHeaders $headers * @param RuntimeOptions $runtime * * @return GetMediaUrlsResponse */ public function getMediaUrlsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->mediaIds)) { $body['mediaIds'] = $request->mediaIds; } if (!Utils::isUnset($request->urlExpireTime)) { $body['urlExpireTime'] = $request->urlExpireTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetMediaUrls', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/mediaUrls/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetMediaUrlsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetMediaUrlsRequest $request * * @return GetMediaUrlsResponse */ public function getMediaUrls($request) { $runtime = new RuntimeOptions([]); $headers = new GetMediaUrlsHeaders([]); return $this->getMediaUrlsWithOptions($request, $headers, $runtime); } /** * @param GetSpaceFileUrlRequest $request * @param GetSpaceFileUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetSpaceFileUrlResponse */ public function getSpaceFileUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->fileId)) { $query['fileId'] = $request->fileId; } if (!Utils::isUnset($request->senderUid)) { $query['senderUid'] = $request->senderUid; } if (!Utils::isUnset($request->spaceId)) { $query['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), ]); $params = new Params([ 'action' => 'GetSpaceFileUrl', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/spaces/files/urls', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSpaceFileUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSpaceFileUrlRequest $request * * @return GetSpaceFileUrlResponse */ public function getSpaceFileUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetSpaceFileUrlHeaders([]); return $this->getSpaceFileUrlWithOptions($request, $headers, $runtime); } /** * @param ListGroupStaffMembersRequest $request * @param ListGroupStaffMembersHeaders $headers * @param RuntimeOptions $runtime * * @return ListGroupStaffMembersResponse */ public function listGroupStaffMembersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ListGroupStaffMembers', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/groups/staffMemers/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListGroupStaffMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListGroupStaffMembersRequest $request * * @return ListGroupStaffMembersResponse */ public function listGroupStaffMembers($request) { $runtime = new RuntimeOptions([]); $headers = new ListGroupStaffMembersHeaders([]); return $this->listGroupStaffMembersWithOptions($request, $headers, $runtime); } /** * @param QueryBatchSendResultRequest $request * @param QueryBatchSendResultHeaders $headers * @param RuntimeOptions $runtime * * @return QueryBatchSendResultResponse */ public function queryBatchSendResultWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->senderUserId)) { $query['senderUserId'] = $request->senderUserId; } if (!Utils::isUnset($request->taskId)) { $query['taskId'] = $request->taskId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryBatchSendResult', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/messages/batchSendResults', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryBatchSendResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryBatchSendResultRequest $request * * @return QueryBatchSendResultResponse */ public function queryBatchSendResult($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBatchSendResultHeaders([]); return $this->queryBatchSendResultWithOptions($request, $headers, $runtime); } /** * @param ReadMessageRequest $request * @param ReadMessageHeaders $headers * @param RuntimeOptions $runtime * * @return ReadMessageResponse */ public function readMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->messageId)) { $body['messageId'] = $request->messageId; } if (!Utils::isUnset($request->operatorUid)) { $body['operatorUid'] = $request->operatorUid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->operationSource)) { $realHeaders['operationSource'] = Utils::toJSONString($headers->operationSource); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ReadMessage', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/messages/read', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return ReadMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ReadMessageRequest $request * * @return ReadMessageResponse */ public function readMessage($request) { $runtime = new RuntimeOptions([]); $headers = new ReadMessageHeaders([]); return $this->readMessageWithOptions($request, $headers, $runtime); } /** * @param RecallMessageRequest $request * @param RecallMessageHeaders $headers * @param RuntimeOptions $runtime * * @return RecallMessageResponse */ public function recallMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->messageId)) { $body['messageId'] = $request->messageId; } if (!Utils::isUnset($request->operatorUid)) { $body['operatorUid'] = $request->operatorUid; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->operationSource)) { $realHeaders['operationSource'] = Utils::toJSONString($headers->operationSource); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RecallMessage', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/messages/recall', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return RecallMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RecallMessageRequest $request * * @return RecallMessageResponse */ public function recallMessage($request) { $runtime = new RuntimeOptions([]); $headers = new RecallMessageHeaders([]); return $this->recallMessageWithOptions($request, $headers, $runtime); } /** * @param RemoveGroupMembersRequest $request * @param RemoveGroupMembersHeaders $headers * @param RuntimeOptions $runtime * * @return RemoveGroupMembersResponse */ public function removeGroupMembersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } if (!Utils::isUnset($request->memberUids)) { $body['memberUids'] = $request->memberUids; } if (!Utils::isUnset($request->operatorUid)) { $body['operatorUid'] = $request->operatorUid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->operationSource)) { $realHeaders['operationSource'] = Utils::toJSONString($headers->operationSource); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RemoveGroupMembers', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/groups/members/batchRemove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return RemoveGroupMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RemoveGroupMembersRequest $request * * @return RemoveGroupMembersResponse */ public function removeGroupMembers($request) { $runtime = new RuntimeOptions([]); $headers = new RemoveGroupMembersHeaders([]); return $this->removeGroupMembersWithOptions($request, $headers, $runtime); } /** * @param SendMessageRequest $request * @param SendMessageHeaders $headers * @param RuntimeOptions $runtime * * @return SendMessageResponse */ public function sendMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } if (!Utils::isUnset($request->createTime)) { $body['createTime'] = $request->createTime; } if (!Utils::isUnset($request->receiverUid)) { $body['receiverUid'] = $request->receiverUid; } if (!Utils::isUnset($request->senderUid)) { $body['senderUid'] = $request->senderUid; } if (!Utils::isUnset($request->uuid)) { $body['uuid'] = $request->uuid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->operationSource)) { $realHeaders['operationSource'] = Utils::toJSONString($headers->operationSource); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendMessage', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/messages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendMessageRequest $request * * @return SendMessageResponse */ public function sendMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendMessageHeaders([]); return $this->sendMessageWithOptions($request, $headers, $runtime); } /** * @param SendRobotMessageRequest $request * @param SendRobotMessageHeaders $headers * @param RuntimeOptions $runtime * * @return SendRobotMessageResponse */ public function sendRobotMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->atAll)) { $body['atAll'] = $request->atAll; } if (!Utils::isUnset($request->atAppUids)) { $body['atAppUids'] = $request->atAppUids; } if (!Utils::isUnset($request->atMobiles)) { $body['atMobiles'] = $request->atMobiles; } if (!Utils::isUnset($request->atUnionIds)) { $body['atUnionIds'] = $request->atUnionIds; } if (!Utils::isUnset($request->atUsers)) { $body['atUsers'] = $request->atUsers; } if (!Utils::isUnset($request->channel)) { $body['channel'] = $request->channel; } if (!Utils::isUnset($request->msgMediaIdParamMap)) { $body['msgMediaIdParamMap'] = $request->msgMediaIdParamMap; } if (!Utils::isUnset($request->msgParamMap)) { $body['msgParamMap'] = $request->msgParamMap; } if (!Utils::isUnset($request->msgTemplateId)) { $body['msgTemplateId'] = $request->msgTemplateId; } if (!Utils::isUnset($request->receiverAppUids)) { $body['receiverAppUids'] = $request->receiverAppUids; } if (!Utils::isUnset($request->receiverMobiles)) { $body['receiverMobiles'] = $request->receiverMobiles; } if (!Utils::isUnset($request->receiverUnionIds)) { $body['receiverUnionIds'] = $request->receiverUnionIds; } if (!Utils::isUnset($request->receiverUserIds)) { $body['receiverUserIds'] = $request->receiverUserIds; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } if (!Utils::isUnset($request->targetOpenConversationId)) { $body['targetOpenConversationId'] = $request->targetOpenConversationId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendRobotMessage', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/robots/messages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendRobotMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendRobotMessageRequest $request * * @return SendRobotMessageResponse */ public function sendRobotMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendRobotMessageHeaders([]); return $this->sendRobotMessageWithOptions($request, $headers, $runtime); } /** * @param UpdateGroupNameRequest $request * @param UpdateGroupNameHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateGroupNameResponse */ public function updateGroupNameWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->operatorUid)) { $body['operatorUid'] = $request->operatorUid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->operationSource)) { $realHeaders['operationSource'] = Utils::toJSONString($headers->operationSource); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateGroupName', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/groups/names', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateGroupNameResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateGroupNameRequest $request * * @return UpdateGroupNameResponse */ public function updateGroupName($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateGroupNameHeaders([]); return $this->updateGroupNameWithOptions($request, $headers, $runtime); } /** * @param UpdateGroupOwnerRequest $request * @param UpdateGroupOwnerHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateGroupOwnerResponse */ public function updateGroupOwnerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } if (!Utils::isUnset($request->operatorUid)) { $body['operatorUid'] = $request->operatorUid; } if (!Utils::isUnset($request->ownerUid)) { $body['ownerUid'] = $request->ownerUid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateGroupOwner', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/groups/owners', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateGroupOwnerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateGroupOwnerRequest $request * * @return UpdateGroupOwnerResponse */ public function updateGroupOwner($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateGroupOwnerHeaders([]); return $this->updateGroupOwnerWithOptions($request, $headers, $runtime); } /** * @param UploadFileRequest $request * @param UploadFileHeaders $headers * @param RuntimeOptions $runtime * * @return UploadFileResponse */ public function uploadFileWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->fileName)) { $body['fileName'] = $request->fileName; } if (!Utils::isUnset($request->fileType)) { $body['fileType'] = $request->fileType; } if (!Utils::isUnset($request->fileUrl)) { $body['fileUrl'] = $request->fileUrl; } if (!Utils::isUnset($request->senderUid)) { $body['senderUid'] = $request->senderUid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UploadFile', 'version' => 'impaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/impaas/interconnections/files/upload', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UploadFileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UploadFileRequest $request * * @return UploadFileResponse */ public function uploadFile($request) { $runtime = new RuntimeOptions([]); $headers = new UploadFileHeaders([]); return $this->uploadFileWithOptions($request, $headers, $runtime); } } src/impaas_1_0/Models/AddGroupMembersHeaders.php000064400000003103146412132660015516 0ustar00 'operationSource', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->operationSource) { $res['operationSource'] = $this->operationSource; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddGroupMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['operationSource'])) { $model->operationSource = $map['operationSource']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/AddGroupMembersRequest.php000064400000004044146412132660015600 0ustar00 'conversationId', 'members' => 'members', 'operatorUid' => 'operatorUid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } 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->operatorUid) { $res['operatorUid'] = $this->operatorUid; } return $res; } /** * @param array $map * * @return AddGroupMembersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } 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['operatorUid'])) { $model->operatorUid = $map['operatorUid']; } return $model; } } src/impaas_1_0/Models/AddGroupMembersRequest/members.php000064400000002020146412132660017222 0ustar00 'nick', 'uid' => 'uid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->uid) { $res['uid'] = $this->uid; } return $res; } /** * @param array $map * * @return members */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['uid'])) { $model->uid = $map['uid']; } return $model; } } src/impaas_1_0/Models/AddGroupMembersResponse.php000064400000002730146412132660015746 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddGroupMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddGroupMembersResponseBody::fromMap($map['body']); } return $model; } } src/impaas_1_0/Models/AddGroupMembersResponseBody.php000064400000001645146412132660016570 0ustar00 'memberUids', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberUids) { $res['memberUids'] = $this->memberUids; } return $res; } /** * @param array $map * * @return AddGroupMembersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberUids'])) { if (!empty($map['memberUids'])) { $model->memberUids = $map['memberUids']; } } return $model; } } src/impaas_1_0/Models/AddProfileHeaders.php000064400000002322146412132660014511 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddProfileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/AddProfileRequest.php000064400000003351146412132660014571 0ustar00 'appUid', 'avatarMediaId' => 'avatarMediaId', 'mobileNumber' => 'mobileNumber', 'nick' => 'nick', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUid) { $res['appUid'] = $this->appUid; } if (null !== $this->avatarMediaId) { $res['avatarMediaId'] = $this->avatarMediaId; } if (null !== $this->mobileNumber) { $res['mobileNumber'] = $this->mobileNumber; } if (null !== $this->nick) { $res['nick'] = $this->nick; } return $res; } /** * @param array $map * * @return AddProfileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUid'])) { $model->appUid = $map['appUid']; } if (isset($map['avatarMediaId'])) { $model->avatarMediaId = $map['avatarMediaId']; } if (isset($map['mobileNumber'])) { $model->mobileNumber = $map['mobileNumber']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } return $model; } } src/impaas_1_0/Models/AddProfileResponse.php000064400000002152146412132660014735 0ustar00 '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 AddProfileResponse */ 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/impaas_1_0/Models/BatchSendHeaders.php000064400000002320146412132660014331 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchSendHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/BatchSendRequest.php000064400000003601146412132660014411 0ustar00 'appUids', 'content' => 'content', 'conversationIds' => 'conversationIds', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUids) { $res['appUids'] = $this->appUids; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->conversationIds) { $res['conversationIds'] = $this->conversationIds; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return BatchSendRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUids'])) { if (!empty($map['appUids'])) { $model->appUids = $map['appUids']; } } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['conversationIds'])) { if (!empty($map['conversationIds'])) { $model->conversationIds = $map['conversationIds']; } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/impaas_1_0/Models/BatchSendResponse.php000064400000002700146412132660014556 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchSendResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchSendResponseBody::fromMap($map['body']); } return $model; } } src/impaas_1_0/Models/BatchSendResponseBody.php000064400000001523146412132660015376 0ustar00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return BatchSendResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/impaas_1_0/Models/CreateGroupHeaders.php000064400000003073146412132660014724 0ustar00 'operationSource', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->operationSource) { $res['operationSource'] = $this->operationSource; } 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['operationSource'])) { $model->operationSource = $map['operationSource']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/CreateGroupRequest.php000064400000004343146412132660015002 0ustar00 'channel', 'creatorUid' => 'creatorUid', 'iconMediaId' => 'iconMediaId', 'name' => 'name', 'properties' => 'properties', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->channel) { $res['channel'] = $this->channel; } if (null !== $this->creatorUid) { $res['creatorUid'] = $this->creatorUid; } if (null !== $this->iconMediaId) { $res['iconMediaId'] = $this->iconMediaId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->properties) { $res['properties'] = $this->properties; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return CreateGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['channel'])) { $model->channel = $map['channel']; } if (isset($map['creatorUid'])) { $model->creatorUid = $map['creatorUid']; } if (isset($map['iconMediaId'])) { $model->iconMediaId = $map['iconMediaId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['properties'])) { $model->properties = $map['properties']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/impaas_1_0/Models/CreateGroupResponse.php000064400000002710146412132660015144 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/impaas_1_0/Models/CreateGroupResponseBody.php000064400000002710146412132660015762 0ustar00 'chatId', 'conversationId' => 'conversationId', 'createTime' => 'createTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatId) { $res['chatId'] = $this->chatId; } if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } return $res; } /** * @param array $map * * @return CreateGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatId'])) { $model->chatId = $map['chatId']; } if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } return $model; } } src/impaas_1_0/Models/CreateTrustGroupHeaders.php000064400000003105146412132660015762 0ustar00 'operationSource', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->operationSource) { $res['operationSource'] = $this->operationSource; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateTrustGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['operationSource'])) { $model->operationSource = $map['operationSource']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/CreateTrustGroupRequest.php000064400000006415146412132660016046 0ustar00 'channel', 'iconMediaId' => 'iconMediaId', 'members' => 'members', 'name' => 'name', 'properties' => 'properties', 'systemMsg' => 'systemMsg', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->channel) { $res['channel'] = $this->channel; } if (null !== $this->iconMediaId) { $res['iconMediaId'] = $this->iconMediaId; } 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->name) { $res['name'] = $this->name; } if (null !== $this->properties) { $res['properties'] = $this->properties; } if (null !== $this->systemMsg) { $res['systemMsg'] = $this->systemMsg; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return CreateTrustGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['channel'])) { $model->channel = $map['channel']; } if (isset($map['iconMediaId'])) { $model->iconMediaId = $map['iconMediaId']; } 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['name'])) { $model->name = $map['name']; } if (isset($map['properties'])) { $model->properties = $map['properties']; } if (isset($map['systemMsg'])) { $model->systemMsg = $map['systemMsg']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/impaas_1_0/Models/CreateTrustGroupRequest/members.php000064400000002021146412132660017465 0ustar00 'nick', 'uid' => 'uid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->uid) { $res['uid'] = $this->uid; } return $res; } /** * @param array $map * * @return members */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['uid'])) { $model->uid = $map['uid']; } return $model; } } src/impaas_1_0/Models/CreateTrustGroupResponse.php000064400000002734146412132660016214 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTrustGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateTrustGroupResponseBody::fromMap($map['body']); } return $model; } } src/impaas_1_0/Models/CreateTrustGroupResponseBody.php000064400000002776146412132660017040 0ustar00 'chatId', 'createTime' => 'createTime', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatId) { $res['chatId'] = $this->chatId; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return CreateTrustGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatId'])) { $model->chatId = $map['chatId']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/impaas_1_0/Models/DismissGroupHeaders.php000064400000003075146412132660015136 0ustar00 'operationSource', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->operationSource) { $res['operationSource'] = $this->operationSource; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DismissGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['operationSource'])) { $model->operationSource = $map['operationSource']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/DismissGroupRequest.php000064400000002265146412132660015213 0ustar00 'conversationId', 'operatorUid' => 'operatorUid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->operatorUid) { $res['operatorUid'] = $this->operatorUid; } return $res; } /** * @param array $map * * @return DismissGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['operatorUid'])) { $model->operatorUid = $map['operatorUid']; } return $model; } } src/impaas_1_0/Models/DismissGroupResponse.php000064400000002156146412132660015360 0ustar00 '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 DismissGroupResponse */ 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/impaas_1_0/Models/GetConversationIdHeaders.php000064400000002340146412132660016067 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetConversationIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/GetConversationIdRequest.php000064400000002107146412132660016145 0ustar00 'appUid', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUid) { $res['appUid'] = $this->appUid; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetConversationIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUid'])) { $model->appUid = $map['appUid']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/impaas_1_0/Models/GetConversationIdResponse.php000064400000002740146412132660016316 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetConversationIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetConversationIdResponseBody::fromMap($map['body']); } return $model; } } src/impaas_1_0/Models/GetConversationIdResponseBody.php000064400000001613146412132660017132 0ustar00 'conversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } return $res; } /** * @param array $map * * @return GetConversationIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } return $model; } } src/impaas_1_0/Models/GetMediaUrlHeaders.php000064400000002324146412132660014644 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMediaUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/GetMediaUrlRequest.php000064400000002307146412132660014722 0ustar00 'mediaId', 'urlExpireTime' => 'urlExpireTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->urlExpireTime) { $res['urlExpireTime'] = $this->urlExpireTime; } return $res; } /** * @param array $map * * @return GetMediaUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['urlExpireTime'])) { $model->urlExpireTime = $map['urlExpireTime']; } return $model; } } src/impaas_1_0/Models/GetMediaUrlResponse.php000064400000002710146412132660015066 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMediaUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMediaUrlResponseBody::fromMap($map['body']); } return $model; } } src/impaas_1_0/Models/GetMediaUrlResponseBody.php000064400000001434146412132660015706 0ustar00 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return GetMediaUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/impaas_1_0/Models/GetMediaUrlsHeaders.php000064400000002326146412132660015031 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMediaUrlsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/GetMediaUrlsRequest.php000064400000002355146412132660015110 0ustar00 'mediaIds', 'urlExpireTime' => 'urlExpireTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mediaIds) { $res['mediaIds'] = $this->mediaIds; } if (null !== $this->urlExpireTime) { $res['urlExpireTime'] = $this->urlExpireTime; } return $res; } /** * @param array $map * * @return GetMediaUrlsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mediaIds'])) { if (!empty($map['mediaIds'])) { $model->mediaIds = $map['mediaIds']; } } if (isset($map['urlExpireTime'])) { $model->urlExpireTime = $map['urlExpireTime']; } return $model; } } src/impaas_1_0/Models/GetMediaUrlsResponse.php000064400000002714146412132660015255 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMediaUrlsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMediaUrlsResponseBody::fromMap($map['body']); } return $model; } } src/impaas_1_0/Models/GetMediaUrlsResponseBody.php000064400000001450146412132660016067 0ustar00 'urls', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->urls) { $res['urls'] = $this->urls; } return $res; } /** * @param array $map * * @return GetMediaUrlsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['urls'])) { $model->urls = $map['urls']; } return $model; } } src/impaas_1_0/Models/GetSpaceFileUrlHeaders.php000064400000002334146412132660015461 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSpaceFileUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/GetSpaceFileUrlRequest.php000064400000002730146412132660015536 0ustar00 'fileId', 'senderUid' => 'senderUid', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->senderUid) { $res['senderUid'] = $this->senderUid; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return GetSpaceFileUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['senderUid'])) { $model->senderUid = $map['senderUid']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/impaas_1_0/Models/GetSpaceFileUrlResponse.php000064400000002730146412132660015704 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSpaceFileUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSpaceFileUrlResponseBody::fromMap($map['body']); } return $model; } } src/impaas_1_0/Models/GetSpaceFileUrlResponseBody.php000064400000003033146412132660016517 0ustar00 'headers', 'internalResourceUrl' => 'internalResourceUrl', 'resourceUrl' => 'resourceUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->internalResourceUrl) { $res['internalResourceUrl'] = $this->internalResourceUrl; } if (null !== $this->resourceUrl) { $res['resourceUrl'] = $this->resourceUrl; } return $res; } /** * @param array $map * * @return GetSpaceFileUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['internalResourceUrl'])) { $model->internalResourceUrl = $map['internalResourceUrl']; } if (isset($map['resourceUrl'])) { $model->resourceUrl = $map['resourceUrl']; } return $model; } } src/impaas_1_0/Models/ListGroupStaffMembersHeaders.php000064400000002350146412132660016730 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListGroupStaffMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/ListGroupStaffMembersRequest.php000064400000001611146412132660017004 0ustar00 'conversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } return $res; } /** * @param array $map * * @return ListGroupStaffMembersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } return $model; } } src/impaas_1_0/Models/ListGroupStaffMembersResponse.php000064400000002760146412132660017160 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListGroupStaffMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListGroupStaffMembersResponseBody::fromMap($map['body']); } return $model; } } src/impaas_1_0/Models/ListGroupStaffMembersResponseBody.php000064400000002652146412132660017776 0ustar00 '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 ListGroupStaffMembersResponseBody */ 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/impaas_1_0/Models/ListGroupStaffMembersResponseBody/members.php000064400000002033146412132660021421 0ustar00 'nick', 'uid' => 'uid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->uid) { $res['uid'] = $this->uid; } return $res; } /** * @param array $map * * @return members */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['uid'])) { $model->uid = $map['uid']; } return $model; } } src/impaas_1_0/Models/QueryBatchSendResultHeaders.php000064400000002346146412132660016566 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryBatchSendResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/QueryBatchSendResultRequest.php000064400000002327146412132660016642 0ustar00 'senderUserId', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->senderUserId) { $res['senderUserId'] = $this->senderUserId; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return QueryBatchSendResultRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['senderUserId'])) { $model->senderUserId = $map['senderUserId']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/impaas_1_0/Models/QueryBatchSendResultResponse.php000064400000002754146412132660017014 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryBatchSendResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryBatchSendResultResponseBody::fromMap($map['body']); } return $model; } } src/impaas_1_0/Models/QueryBatchSendResultResponseBody.php000064400000003314146412132660017623 0ustar00 'results', 'status' => 'status', ]; 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; } } } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return QueryBatchSendResultResponseBody */ 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; } } } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/impaas_1_0/Models/QueryBatchSendResultResponseBody/results.php000064400000004301146412132660021321 0ustar00 'appUid', 'conversationId' => 'conversationId', 'errorCode' => 'errorCode', 'errorMessage' => 'errorMessage', 'msgId' => 'msgId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUid) { $res['appUid'] = $this->appUid; } if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMessage) { $res['errorMessage'] = $this->errorMessage; } if (null !== $this->msgId) { $res['msgId'] = $this->msgId; } return $res; } /** * @param array $map * * @return results */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUid'])) { $model->appUid = $map['appUid']; } if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMessage'])) { $model->errorMessage = $map['errorMessage']; } if (isset($map['msgId'])) { $model->msgId = $map['msgId']; } return $model; } } src/impaas_1_0/Models/ReadMessageHeaders.php000064400000003073146412132660014664 0ustar00 'operationSource', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->operationSource) { $res['operationSource'] = $this->operationSource; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReadMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['operationSource'])) { $model->operationSource = $map['operationSource']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/ReadMessageRequest.php000064400000002205146412132660014735 0ustar00 'messageId', 'operatorUid' => 'operatorUid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messageId) { $res['messageId'] = $this->messageId; } if (null !== $this->operatorUid) { $res['operatorUid'] = $this->operatorUid; } return $res; } /** * @param array $map * * @return ReadMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messageId'])) { $model->messageId = $map['messageId']; } if (isset($map['operatorUid'])) { $model->operatorUid = $map['operatorUid']; } return $model; } } src/impaas_1_0/Models/ReadMessageResponse.php000064400000002154146412132660015106 0ustar00 '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 ReadMessageResponse */ 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/impaas_1_0/Models/RecallMessageHeaders.php000064400000003077146412132660015217 0ustar00 'operationSource', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->operationSource) { $res['operationSource'] = $this->operationSource; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RecallMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['operationSource'])) { $model->operationSource = $map['operationSource']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/RecallMessageRequest.php000064400000002611146412132660015265 0ustar00 'messageId', 'operatorUid' => 'operatorUid', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messageId) { $res['messageId'] = $this->messageId; } if (null !== $this->operatorUid) { $res['operatorUid'] = $this->operatorUid; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return RecallMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messageId'])) { $model->messageId = $map['messageId']; } if (isset($map['operatorUid'])) { $model->operatorUid = $map['operatorUid']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/impaas_1_0/Models/RecallMessageResponse.php000064400000002160146412132660015432 0ustar00 '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 RecallMessageResponse */ 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/impaas_1_0/Models/RemoveGroupMembersHeaders.php000064400000003111146412132660016262 0ustar00 'operationSource', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->operationSource) { $res['operationSource'] = $this->operationSource; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveGroupMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['operationSource'])) { $model->operationSource = $map['operationSource']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/RemoveGroupMembersRequest.php000064400000003071146412132660016344 0ustar00 'conversationId', 'memberUids' => 'memberUids', 'operatorUid' => 'operatorUid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->memberUids) { $res['memberUids'] = $this->memberUids; } if (null !== $this->operatorUid) { $res['operatorUid'] = $this->operatorUid; } return $res; } /** * @param array $map * * @return RemoveGroupMembersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['memberUids'])) { if (!empty($map['memberUids'])) { $model->memberUids = $map['memberUids']; } } if (isset($map['operatorUid'])) { $model->operatorUid = $map['operatorUid']; } return $model; } } src/impaas_1_0/Models/RemoveGroupMembersResponse.php000064400000002172146412132660016513 0ustar00 '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 RemoveGroupMembersResponse */ 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/impaas_1_0/Models/SendMessageHeaders.php000064400000003073146412132660014702 0ustar00 'operationSource', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->operationSource) { $res['operationSource'] = $this->operationSource; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['operationSource'])) { $model->operationSource = $map['operationSource']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/SendMessageRequest.php000064400000004470146412132660014761 0ustar00 'content', 'conversationId' => 'conversationId', 'createTime' => 'createTime', 'receiverUid' => 'receiverUid', 'senderUid' => 'senderUid', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->receiverUid) { $res['receiverUid'] = $this->receiverUid; } if (null !== $this->senderUid) { $res['senderUid'] = $this->senderUid; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return SendMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['receiverUid'])) { $model->receiverUid = $map['receiverUid']; } if (isset($map['senderUid'])) { $model->senderUid = $map['senderUid']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/impaas_1_0/Models/SendMessageResponse.php000064400000002710146412132660015122 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendMessageResponseBody::fromMap($map['body']); } return $model; } } src/impaas_1_0/Models/SendMessageResponseBody.php000064400000002614146412132660015743 0ustar00 'createTime', 'messageId' => 'messageId', 'msgId' => 'msgId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->messageId) { $res['messageId'] = $this->messageId; } if (null !== $this->msgId) { $res['msgId'] = $this->msgId; } return $res; } /** * @param array $map * * @return SendMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['messageId'])) { $model->messageId = $map['messageId']; } if (isset($map['msgId'])) { $model->msgId = $map['msgId']; } return $model; } } src/impaas_1_0/Models/SendRobotMessageHeaders.php000064400000002336146412132660015711 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendRobotMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/SendRobotMessageRequest.php000064400000014430146412132660015764 0ustar00 'atAll', 'atAppUids' => 'atAppUids', 'atMobiles' => 'atMobiles', 'atUnionIds' => 'atUnionIds', 'atUsers' => 'atUsers', 'channel' => 'channel', 'msgMediaIdParamMap' => 'msgMediaIdParamMap', 'msgParamMap' => 'msgParamMap', 'msgTemplateId' => 'msgTemplateId', 'receiverAppUids' => 'receiverAppUids', 'receiverMobiles' => 'receiverMobiles', 'receiverUnionIds' => 'receiverUnionIds', 'receiverUserIds' => 'receiverUserIds', 'robotCode' => 'robotCode', 'targetOpenConversationId' => 'targetOpenConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atAll) { $res['atAll'] = $this->atAll; } if (null !== $this->atAppUids) { $res['atAppUids'] = $this->atAppUids; } if (null !== $this->atMobiles) { $res['atMobiles'] = $this->atMobiles; } if (null !== $this->atUnionIds) { $res['atUnionIds'] = $this->atUnionIds; } if (null !== $this->atUsers) { $res['atUsers'] = $this->atUsers; } if (null !== $this->channel) { $res['channel'] = $this->channel; } if (null !== $this->msgMediaIdParamMap) { $res['msgMediaIdParamMap'] = $this->msgMediaIdParamMap; } if (null !== $this->msgParamMap) { $res['msgParamMap'] = $this->msgParamMap; } if (null !== $this->msgTemplateId) { $res['msgTemplateId'] = $this->msgTemplateId; } if (null !== $this->receiverAppUids) { $res['receiverAppUids'] = $this->receiverAppUids; } if (null !== $this->receiverMobiles) { $res['receiverMobiles'] = $this->receiverMobiles; } if (null !== $this->receiverUnionIds) { $res['receiverUnionIds'] = $this->receiverUnionIds; } if (null !== $this->receiverUserIds) { $res['receiverUserIds'] = $this->receiverUserIds; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->targetOpenConversationId) { $res['targetOpenConversationId'] = $this->targetOpenConversationId; } return $res; } /** * @param array $map * * @return SendRobotMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atAll'])) { $model->atAll = $map['atAll']; } if (isset($map['atAppUids'])) { if (!empty($map['atAppUids'])) { $model->atAppUids = $map['atAppUids']; } } if (isset($map['atMobiles'])) { if (!empty($map['atMobiles'])) { $model->atMobiles = $map['atMobiles']; } } if (isset($map['atUnionIds'])) { if (!empty($map['atUnionIds'])) { $model->atUnionIds = $map['atUnionIds']; } } if (isset($map['atUsers'])) { if (!empty($map['atUsers'])) { $model->atUsers = $map['atUsers']; } } if (isset($map['channel'])) { $model->channel = $map['channel']; } if (isset($map['msgMediaIdParamMap'])) { $model->msgMediaIdParamMap = $map['msgMediaIdParamMap']; } if (isset($map['msgParamMap'])) { $model->msgParamMap = $map['msgParamMap']; } if (isset($map['msgTemplateId'])) { $model->msgTemplateId = $map['msgTemplateId']; } if (isset($map['receiverAppUids'])) { if (!empty($map['receiverAppUids'])) { $model->receiverAppUids = $map['receiverAppUids']; } } if (isset($map['receiverMobiles'])) { if (!empty($map['receiverMobiles'])) { $model->receiverMobiles = $map['receiverMobiles']; } } if (isset($map['receiverUnionIds'])) { if (!empty($map['receiverUnionIds'])) { $model->receiverUnionIds = $map['receiverUnionIds']; } } if (isset($map['receiverUserIds'])) { if (!empty($map['receiverUserIds'])) { $model->receiverUserIds = $map['receiverUserIds']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['targetOpenConversationId'])) { $model->targetOpenConversationId = $map['targetOpenConversationId']; } return $model; } } src/impaas_1_0/Models/SendRobotMessageResponse.php000064400000002734146412132660016136 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendRobotMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendRobotMessageResponseBody::fromMap($map['body']); } return $model; } } src/impaas_1_0/Models/SendRobotMessageResponseBody.php000064400000001534146412132660016751 0ustar00 'openMsgId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openMsgId) { $res['openMsgId'] = $this->openMsgId; } return $res; } /** * @param array $map * * @return SendRobotMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openMsgId'])) { $model->openMsgId = $map['openMsgId']; } return $model; } } src/impaas_1_0/Models/UpdateGroupNameHeaders.php000064400000003103146412132660015536 0ustar00 'operationSource', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->operationSource) { $res['operationSource'] = $this->operationSource; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateGroupNameHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['operationSource'])) { $model->operationSource = $map['operationSource']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/UpdateGroupNameRequest.php000064400000002701146412132660015616 0ustar00 'conversationId', 'name' => 'name', 'operatorUid' => 'operatorUid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->operatorUid) { $res['operatorUid'] = $this->operatorUid; } return $res; } /** * @param array $map * * @return UpdateGroupNameRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['operatorUid'])) { $model->operatorUid = $map['operatorUid']; } return $model; } } src/impaas_1_0/Models/UpdateGroupNameResponse.php000064400000002164146412132660015767 0ustar00 '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 UpdateGroupNameResponse */ 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/impaas_1_0/Models/UpdateGroupOwnerHeaders.php000064400000002336146412132660015757 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateGroupOwnerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/UpdateGroupOwnerRequest.php000064400000002743146412132660016036 0ustar00 'conversationId', 'operatorUid' => 'operatorUid', 'ownerUid' => 'ownerUid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->operatorUid) { $res['operatorUid'] = $this->operatorUid; } if (null !== $this->ownerUid) { $res['ownerUid'] = $this->ownerUid; } return $res; } /** * @param array $map * * @return UpdateGroupOwnerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['operatorUid'])) { $model->operatorUid = $map['operatorUid']; } if (isset($map['ownerUid'])) { $model->ownerUid = $map['ownerUid']; } return $model; } } src/impaas_1_0/Models/UpdateGroupOwnerResponse.php000064400000002734146412132660016204 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateGroupOwnerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateGroupOwnerResponseBody::fromMap($map['body']); } return $model; } } src/impaas_1_0/Models/UpdateGroupOwnerResponseBody.php000064400000001533146412132660017016 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateGroupOwnerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/impaas_1_0/Models/UploadFileHeaders.php000064400000002322146412132660014524 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UploadFileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/impaas_1_0/Models/UploadFileRequest.php000064400000003467146412132660014614 0ustar00 'fileName', 'fileType' => 'fileType', 'fileUrl' => 'fileUrl', 'senderUid' => 'senderUid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->fileUrl) { $res['fileUrl'] = $this->fileUrl; } if (null !== $this->senderUid) { $res['senderUid'] = $this->senderUid; } return $res; } /** * @param array $map * * @return UploadFileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['fileUrl'])) { $model->fileUrl = $map['fileUrl']; } if (isset($map['senderUid'])) { $model->senderUid = $map['senderUid']; } return $model; } } src/impaas_1_0/Models/UploadFileResponse.php000064400000002704146412132660014753 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UploadFileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UploadFileResponseBody::fromMap($map['body']); } return $model; } } src/impaas_1_0/Models/UploadFileResponseBody.php000064400000001545146412132660015573 0ustar00 'mediaId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } return $res; } /** * @param array $map * * @return UploadFileResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } return $model; } } src/industry_1_0/Dingtalk.php000064400001322107146412132660012134 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param BusinessMatchRequest $request * @param BusinessMatchHeaders $headers * @param RuntimeOptions $runtime * * @return BusinessMatchResponse */ public function businessMatchWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->businessInfo)) { $body['businessInfo'] = $request->businessInfo; } if (!Utils::isUnset($request->corpName)) { $body['corpName'] = $request->corpName; } 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' => 'BusinessMatch', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/me/businesses/matching', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BusinessMatchResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BusinessMatchRequest $request * * @return BusinessMatchResponse */ public function businessMatch($request) { $runtime = new RuntimeOptions([]); $headers = new BusinessMatchHeaders([]); return $this->businessMatchWithOptions($request, $headers, $runtime); } /** * @param BusinessMatchResultRequest $request * @param BusinessMatchResultHeaders $headers * @param RuntimeOptions $runtime * * @return BusinessMatchResultResponse */ public function businessMatchResultWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->taskId)) { $query['taskId'] = $request->taskId; } 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' => 'BusinessMatchResult', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/me/businesses/matchingResults', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BusinessMatchResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BusinessMatchResultRequest $request * * @return BusinessMatchResultResponse */ public function businessMatchResult($request) { $runtime = new RuntimeOptions([]); $headers = new BusinessMatchResultHeaders([]); return $this->businessMatchResultWithOptions($request, $headers, $runtime); } /** * @param CampusAddRenterMemberRequest $request * @param CampusAddRenterMemberHeaders $headers * @param RuntimeOptions $runtime * * @return CampusAddRenterMemberResponse */ public function campusAddRenterMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->extend)) { $body['extend'] = $request->extend; } if (!Utils::isUnset($request->mobile)) { $body['mobile'] = $request->mobile; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->renterId)) { $body['renterId'] = $request->renterId; } 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' => 'CampusAddRenterMember', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/renters/members', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusAddRenterMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusAddRenterMemberRequest $request * * @return CampusAddRenterMemberResponse */ public function campusAddRenterMember($request) { $runtime = new RuntimeOptions([]); $headers = new CampusAddRenterMemberHeaders([]); return $this->campusAddRenterMemberWithOptions($request, $headers, $runtime); } /** * @param CampusCreateCampusRequest $request * @param CampusCreateCampusHeaders $headers * @param RuntimeOptions $runtime * * @return CampusCreateCampusResponse */ public function campusCreateCampusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->address)) { $body['address'] = $request->address; } if (!Utils::isUnset($request->area)) { $body['area'] = $request->area; } if (!Utils::isUnset($request->belongProjectGroupId)) { $body['belongProjectGroupId'] = $request->belongProjectGroupId; } if (!Utils::isUnset($request->campusName)) { $body['campusName'] = $request->campusName; } if (!Utils::isUnset($request->capacity)) { $body['capacity'] = $request->capacity; } if (!Utils::isUnset($request->cityId)) { $body['cityId'] = $request->cityId; } if (!Utils::isUnset($request->country)) { $body['country'] = $request->country; } if (!Utils::isUnset($request->countyId)) { $body['countyId'] = $request->countyId; } if (!Utils::isUnset($request->creatorUnionId)) { $body['creatorUnionId'] = $request->creatorUnionId; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->extend)) { $body['extend'] = $request->extend; } if (!Utils::isUnset($request->location)) { $body['location'] = $request->location; } if (!Utils::isUnset($request->orderEndTime)) { $body['orderEndTime'] = $request->orderEndTime; } if (!Utils::isUnset($request->orderInfo)) { $body['orderInfo'] = $request->orderInfo; } if (!Utils::isUnset($request->orderStartTime)) { $body['orderStartTime'] = $request->orderStartTime; } if (!Utils::isUnset($request->provId)) { $body['provId'] = $request->provId; } if (!Utils::isUnset($request->telephone)) { $body['telephone'] = $request->telephone; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CampusCreateCampus', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/projects', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusCreateCampusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusCreateCampusRequest $request * * @return CampusCreateCampusResponse */ public function campusCreateCampus($request) { $runtime = new RuntimeOptions([]); $headers = new CampusCreateCampusHeaders([]); return $this->campusCreateCampusWithOptions($request, $headers, $runtime); } /** * @param CampusCreateCampusGroupRequest $request * @param CampusCreateCampusGroupHeaders $headers * @param RuntimeOptions $runtime * * @return CampusCreateCampusGroupResponse */ public function campusCreateCampusGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->extend)) { $body['extend'] = $request->extend; } if (!Utils::isUnset($request->name)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CampusCreateCampusGroup', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/projects/groups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusCreateCampusGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusCreateCampusGroupRequest $request * * @return CampusCreateCampusGroupResponse */ public function campusCreateCampusGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CampusCreateCampusGroupHeaders([]); return $this->campusCreateCampusGroupWithOptions($request, $headers, $runtime); } /** * @param CampusCreateRenterRequest $request * @param CampusCreateRenterHeaders $headers * @param RuntimeOptions $runtime * * @return CampusCreateRenterResponse */ public function campusCreateRenterWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->creditCode)) { $body['creditCode'] = $request->creditCode; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->extend)) { $body['extend'] = $request->extend; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->state)) { $body['state'] = $request->state; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CampusCreateRenter', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/renters', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusCreateRenterResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusCreateRenterRequest $request * * @return CampusCreateRenterResponse */ public function campusCreateRenter($request) { $runtime = new RuntimeOptions([]); $headers = new CampusCreateRenterHeaders([]); return $this->campusCreateRenterWithOptions($request, $headers, $runtime); } /** * @param CampusDelRenterMemberRequest $request * @param CampusDelRenterMemberHeaders $headers * @param RuntimeOptions $runtime * * @return CampusDelRenterMemberResponse */ public function campusDelRenterMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->renterId)) { $query['renterId'] = $request->renterId; } 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' => 'CampusDelRenterMember', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/renters/members', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusDelRenterMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusDelRenterMemberRequest $request * * @return CampusDelRenterMemberResponse */ public function campusDelRenterMember($request) { $runtime = new RuntimeOptions([]); $headers = new CampusDelRenterMemberHeaders([]); return $this->campusDelRenterMemberWithOptions($request, $headers, $runtime); } /** * @param CampusDeleteCampusGroupRequest $request * @param CampusDeleteCampusGroupHeaders $headers * @param RuntimeOptions $runtime * * @return CampusDeleteCampusGroupResponse */ public function campusDeleteCampusGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->campusProjectGroupId)) { $query['campusProjectGroupId'] = $request->campusProjectGroupId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CampusDeleteCampusGroup', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/projects/groups', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusDeleteCampusGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusDeleteCampusGroupRequest $request * * @return CampusDeleteCampusGroupResponse */ public function campusDeleteCampusGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CampusDeleteCampusGroupHeaders([]); return $this->campusDeleteCampusGroupWithOptions($request, $headers, $runtime); } /** * @param CampusDeleteRenterRequest $request * @param CampusDeleteRenterHeaders $headers * @param RuntimeOptions $runtime * * @return CampusDeleteRenterResponse */ public function campusDeleteRenterWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->renterId)) { $query['renterId'] = $request->renterId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CampusDeleteRenter', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/renters', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return CampusDeleteRenterResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusDeleteRenterRequest $request * * @return CampusDeleteRenterResponse */ public function campusDeleteRenter($request) { $runtime = new RuntimeOptions([]); $headers = new CampusDeleteRenterHeaders([]); return $this->campusDeleteRenterWithOptions($request, $headers, $runtime); } /** * @param CampusGetCampusRequest $request * @param CampusGetCampusHeaders $headers * @param RuntimeOptions $runtime * * @return CampusGetCampusResponse */ public function campusGetCampusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->campusDeptId)) { $query['campusDeptId'] = $request->campusDeptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CampusGetCampus', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/projectInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusGetCampusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusGetCampusRequest $request * * @return CampusGetCampusResponse */ public function campusGetCampus($request) { $runtime = new RuntimeOptions([]); $headers = new CampusGetCampusHeaders([]); return $this->campusGetCampusWithOptions($request, $headers, $runtime); } /** * @param CampusGetCampusGroupRequest $request * @param CampusGetCampusGroupHeaders $headers * @param RuntimeOptions $runtime * * @return CampusGetCampusGroupResponse */ public function campusGetCampusGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->groupId)) { $query['groupId'] = $request->groupId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CampusGetCampusGroup', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/projects/groupInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusGetCampusGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusGetCampusGroupRequest $request * * @return CampusGetCampusGroupResponse */ public function campusGetCampusGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CampusGetCampusGroupHeaders([]); return $this->campusGetCampusGroupWithOptions($request, $headers, $runtime); } /** * @param CampusGetRenterRequest $request * @param CampusGetRenterHeaders $headers * @param RuntimeOptions $runtime * * @return CampusGetRenterResponse */ public function campusGetRenterWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->renterId)) { $query['renterId'] = $request->renterId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CampusGetRenter', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/renterInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusGetRenterResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusGetRenterRequest $request * * @return CampusGetRenterResponse */ public function campusGetRenter($request) { $runtime = new RuntimeOptions([]); $headers = new CampusGetRenterHeaders([]); return $this->campusGetRenterWithOptions($request, $headers, $runtime); } /** * @param CampusGetRenterMemberRequest $request * @param CampusGetRenterMemberHeaders $headers * @param RuntimeOptions $runtime * * @return CampusGetRenterMemberResponse */ public function campusGetRenterMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->renterId)) { $query['renterId'] = $request->renterId; } 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' => 'CampusGetRenterMember', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/renters/memberInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusGetRenterMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusGetRenterMemberRequest $request * * @return CampusGetRenterMemberResponse */ public function campusGetRenterMember($request) { $runtime = new RuntimeOptions([]); $headers = new CampusGetRenterMemberHeaders([]); return $this->campusGetRenterMemberWithOptions($request, $headers, $runtime); } /** * @param CampusListCampusRequest $request * @param CampusListCampusHeaders $headers * @param RuntimeOptions $runtime * * @return CampusListCampusResponse */ public function campusListCampusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->groupDeptId)) { $query['groupDeptId'] = $request->groupDeptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CampusListCampus', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/projects', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusListCampusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusListCampusRequest $request * * @return CampusListCampusResponse */ public function campusListCampus($request) { $runtime = new RuntimeOptions([]); $headers = new CampusListCampusHeaders([]); return $this->campusListCampusWithOptions($request, $headers, $runtime); } /** * @param CampusListCampusGroupHeaders $headers * @param RuntimeOptions $runtime * * @return CampusListCampusGroupResponse */ public function campusListCampusGroupWithOptions($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' => 'CampusListCampusGroup', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/projects/groups', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusListCampusGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return CampusListCampusGroupResponse */ public function campusListCampusGroup() { $runtime = new RuntimeOptions([]); $headers = new CampusListCampusGroupHeaders([]); return $this->campusListCampusGroupWithOptions($headers, $runtime); } /** * @param CampusListRenterHeaders $headers * @param RuntimeOptions $runtime * * @return CampusListRenterResponse */ public function campusListRenterWithOptions($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' => 'CampusListRenter', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/renters', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusListRenterResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return CampusListRenterResponse */ public function campusListRenter() { $runtime = new RuntimeOptions([]); $headers = new CampusListRenterHeaders([]); return $this->campusListRenterWithOptions($headers, $runtime); } /** * @param CampusListRenterMembersRequest $request * @param CampusListRenterMembersHeaders $headers * @param RuntimeOptions $runtime * * @return CampusListRenterMembersResponse */ public function campusListRenterMembersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->renterId)) { $query['renterId'] = $request->renterId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CampusListRenterMembers', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/renters/members', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusListRenterMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusListRenterMembersRequest $request * * @return CampusListRenterMembersResponse */ public function campusListRenterMembers($request) { $runtime = new RuntimeOptions([]); $headers = new CampusListRenterMembersHeaders([]); return $this->campusListRenterMembersWithOptions($request, $headers, $runtime); } /** * @param CampusUpdateCampusRequest $request * @param CampusUpdateCampusHeaders $headers * @param RuntimeOptions $runtime * * @return CampusUpdateCampusResponse */ public function campusUpdateCampusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->address)) { $body['address'] = $request->address; } if (!Utils::isUnset($request->area)) { $body['area'] = $request->area; } if (!Utils::isUnset($request->belongProjectGroupId)) { $body['belongProjectGroupId'] = $request->belongProjectGroupId; } if (!Utils::isUnset($request->campusDeptId)) { $body['campusDeptId'] = $request->campusDeptId; } if (!Utils::isUnset($request->campusName)) { $body['campusName'] = $request->campusName; } if (!Utils::isUnset($request->capacity)) { $body['capacity'] = $request->capacity; } if (!Utils::isUnset($request->cityId)) { $body['cityId'] = $request->cityId; } if (!Utils::isUnset($request->country)) { $body['country'] = $request->country; } if (!Utils::isUnset($request->countyId)) { $body['countyId'] = $request->countyId; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->extend)) { $body['extend'] = $request->extend; } if (!Utils::isUnset($request->orderEndTime)) { $body['orderEndTime'] = $request->orderEndTime; } if (!Utils::isUnset($request->orderInfo)) { $body['orderInfo'] = $request->orderInfo; } if (!Utils::isUnset($request->orderStartTime)) { $body['orderStartTime'] = $request->orderStartTime; } if (!Utils::isUnset($request->provId)) { $body['provId'] = $request->provId; } if (!Utils::isUnset($request->telephone)) { $body['telephone'] = $request->telephone; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CampusUpdateCampus', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/projects', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusUpdateCampusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusUpdateCampusRequest $request * * @return CampusUpdateCampusResponse */ public function campusUpdateCampus($request) { $runtime = new RuntimeOptions([]); $headers = new CampusUpdateCampusHeaders([]); return $this->campusUpdateCampusWithOptions($request, $headers, $runtime); } /** * @param CampusUpdateCampusGroupRequest $request * @param CampusUpdateCampusGroupHeaders $headers * @param RuntimeOptions $runtime * * @return CampusUpdateCampusGroupResponse */ public function campusUpdateCampusGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->campusProjectGroupId)) { $body['campusProjectGroupId'] = $request->campusProjectGroupId; } if (!Utils::isUnset($request->extend)) { $body['extend'] = $request->extend; } if (!Utils::isUnset($request->name)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CampusUpdateCampusGroup', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/projects/groups', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusUpdateCampusGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusUpdateCampusGroupRequest $request * * @return CampusUpdateCampusGroupResponse */ public function campusUpdateCampusGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CampusUpdateCampusGroupHeaders([]); return $this->campusUpdateCampusGroupWithOptions($request, $headers, $runtime); } /** * @param CampusUpdateRenterRequest $request * @param CampusUpdateRenterHeaders $headers * @param RuntimeOptions $runtime * * @return CampusUpdateRenterResponse */ public function campusUpdateRenterWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->creditCode)) { $body['creditCode'] = $request->creditCode; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->extend)) { $body['extend'] = $request->extend; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->renterId)) { $body['renterId'] = $request->renterId; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->state)) { $body['state'] = $request->state; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CampusUpdateRenter', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/renters', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusUpdateRenterResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusUpdateRenterRequest $request * * @return CampusUpdateRenterResponse */ public function campusUpdateRenter($request) { $runtime = new RuntimeOptions([]); $headers = new CampusUpdateRenterHeaders([]); return $this->campusUpdateRenterWithOptions($request, $headers, $runtime); } /** * @param CampusUpdateRenterMemberRequest $request * @param CampusUpdateRenterMemberHeaders $headers * @param RuntimeOptions $runtime * * @return CampusUpdateRenterMemberResponse */ public function campusUpdateRenterMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->extend)) { $body['extend'] = $request->extend; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->renterId)) { $body['renterId'] = $request->renterId; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } 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' => 'CampusUpdateRenterMember', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/campuses/renters/members', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CampusUpdateRenterMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CampusUpdateRenterMemberRequest $request * * @return CampusUpdateRenterMemberResponse */ public function campusUpdateRenterMember($request) { $runtime = new RuntimeOptions([]); $headers = new CampusUpdateRenterMemberHeaders([]); return $this->campusUpdateRenterMemberWithOptions($request, $headers, $runtime); } /** * @param ChatFormGetDataForApiAccessRequest $request * @param ChatFormGetDataForApiAccessHeaders $headers * @param RuntimeOptions $runtime * * @return ChatFormGetDataForApiAccessResponse */ public function chatFormGetDataForApiAccessWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->dingTalkTraceId)) { $query['dingTalkTraceId'] = $request->dingTalkTraceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ChatFormGetDataForApiAccess', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/chatform/datas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ChatFormGetDataForApiAccessResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ChatFormGetDataForApiAccessRequest $request * * @return ChatFormGetDataForApiAccessResponse */ public function chatFormGetDataForApiAccess($request) { $runtime = new RuntimeOptions([]); $headers = new ChatFormGetDataForApiAccessHeaders([]); return $this->chatFormGetDataForApiAccessWithOptions($request, $headers, $runtime); } /** * @param ChatMemoAddGeneralFileRequest $request * @param ChatMemoAddGeneralFileHeaders $headers * @param RuntimeOptions $runtime * * @return ChatMemoAddGeneralFileResponse */ public function chatMemoAddGeneralFileWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->datasetId)) { $body['datasetId'] = $request->datasetId; } if (!Utils::isUnset($request->downloadUrl)) { $body['downloadUrl'] = $request->downloadUrl; } if (!Utils::isUnset($request->fileDesc)) { $body['fileDesc'] = $request->fileDesc; } if (!Utils::isUnset($request->fileName)) { $body['fileName'] = $request->fileName; } if (!Utils::isUnset($request->tagList)) { $body['tagList'] = $request->tagList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ChatMemoAddGeneralFile', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/chatmemo/files', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ChatMemoAddGeneralFileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ChatMemoAddGeneralFileRequest $request * * @return ChatMemoAddGeneralFileResponse */ public function chatMemoAddGeneralFile($request) { $runtime = new RuntimeOptions([]); $headers = new ChatMemoAddGeneralFileHeaders([]); return $this->chatMemoAddGeneralFileWithOptions($request, $headers, $runtime); } /** * @param ChatMemoDeleteGeneralFileRequest $request * @param ChatMemoDeleteGeneralFileHeaders $headers * @param RuntimeOptions $runtime * * @return ChatMemoDeleteGeneralFileResponse */ public function chatMemoDeleteGeneralFileWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->datasetId)) { $body['datasetId'] = $request->datasetId; } 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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ChatMemoDeleteGeneralFile', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/chatmemo/files/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ChatMemoDeleteGeneralFileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ChatMemoDeleteGeneralFileRequest $request * * @return ChatMemoDeleteGeneralFileResponse */ public function chatMemoDeleteGeneralFile($request) { $runtime = new RuntimeOptions([]); $headers = new ChatMemoDeleteGeneralFileHeaders([]); return $this->chatMemoDeleteGeneralFileWithOptions($request, $headers, $runtime); } /** * @param ChatMemoFaqAddRequest $request * @param ChatMemoFaqAddHeaders $headers * @param RuntimeOptions $runtime * * @return ChatMemoFaqAddResponse */ public function chatMemoFaqAddWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->answer)) { $body['answer'] = $request->answer; } if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->datasetId)) { $body['datasetId'] = $request->datasetId; } if (!Utils::isUnset($request->question)) { $body['question'] = $request->question; } if (!Utils::isUnset($request->redirection)) { $body['redirection'] = $request->redirection; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ChatMemoFaqAdd', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/chatmemo/faq', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ChatMemoFaqAddResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ChatMemoFaqAddRequest $request * * @return ChatMemoFaqAddResponse */ public function chatMemoFaqAdd($request) { $runtime = new RuntimeOptions([]); $headers = new ChatMemoFaqAddHeaders([]); return $this->chatMemoFaqAddWithOptions($request, $headers, $runtime); } /** * @param ChatMemoFaqDeleteRequest $request * @param ChatMemoFaqDeleteHeaders $headers * @param RuntimeOptions $runtime * * @return ChatMemoFaqDeleteResponse */ public function chatMemoFaqDeleteWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->datasetId)) { $body['datasetId'] = $request->datasetId; } 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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ChatMemoFaqDelete', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/chatmemo/faq/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ChatMemoFaqDeleteResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ChatMemoFaqDeleteRequest $request * * @return ChatMemoFaqDeleteResponse */ public function chatMemoFaqDelete($request) { $runtime = new RuntimeOptions([]); $headers = new ChatMemoFaqDeleteHeaders([]); return $this->chatMemoFaqDeleteWithOptions($request, $headers, $runtime); } /** * @param ChatMemoFaqListRequest $request * @param ChatMemoFaqListHeaders $headers * @param RuntimeOptions $runtime * * @return ChatMemoFaqListResponse */ public function chatMemoFaqListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->datasetId)) { $query['datasetId'] = $request->datasetId; } 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' => 'ChatMemoFaqList', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/chatmemo/faq/lists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ChatMemoFaqListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ChatMemoFaqListRequest $request * * @return ChatMemoFaqListResponse */ public function chatMemoFaqList($request) { $runtime = new RuntimeOptions([]); $headers = new ChatMemoFaqListHeaders([]); return $this->chatMemoFaqListWithOptions($request, $headers, $runtime); } /** * @param ChatMemoGetFileListRequest $request * @param ChatMemoGetFileListHeaders $headers * @param RuntimeOptions $runtime * * @return ChatMemoGetFileListResponse */ public function chatMemoGetFileListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->datasetId)) { $query['datasetId'] = $request->datasetId; } 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' => 'ChatMemoGetFileList', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/chatmemo/file/lists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ChatMemoGetFileListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ChatMemoGetFileListRequest $request * * @return ChatMemoGetFileListResponse */ public function chatMemoGetFileList($request) { $runtime = new RuntimeOptions([]); $headers = new ChatMemoGetFileListHeaders([]); return $this->chatMemoGetFileListWithOptions($request, $headers, $runtime); } /** * @param ChatMemoGetFileStatusRequest $request * @param ChatMemoGetFileStatusHeaders $headers * @param RuntimeOptions $runtime * * @return ChatMemoGetFileStatusResponse */ public function chatMemoGetFileStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->datasetId)) { $body['datasetId'] = $request->datasetId; } 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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ChatMemoGetFileStatus', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/chatmemo/files/statuses/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ChatMemoGetFileStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ChatMemoGetFileStatusRequest $request * * @return ChatMemoGetFileStatusResponse */ public function chatMemoGetFileStatus($request) { $runtime = new RuntimeOptions([]); $headers = new ChatMemoGetFileStatusHeaders([]); return $this->chatMemoGetFileStatusWithOptions($request, $headers, $runtime); } /** * @param CollegeActiveCollegeDeptGroupRequest $request * @param CollegeActiveCollegeDeptGroupHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeActiveCollegeDeptGroupResponse */ public function collegeActiveCollegeDeptGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CollegeActiveCollegeDeptGroup', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/depts/groups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeActiveCollegeDeptGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeActiveCollegeDeptGroupRequest $request * * @return CollegeActiveCollegeDeptGroupResponse */ public function collegeActiveCollegeDeptGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeActiveCollegeDeptGroupHeaders([]); return $this->collegeActiveCollegeDeptGroupWithOptions($request, $headers, $runtime); } /** * @param CollegeAddCollegeDeptRequest $request * @param CollegeAddCollegeDeptHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeAddCollegeDeptResponse */ public function collegeAddCollegeDeptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptName)) { $query['deptName'] = $request->deptName; } if (!Utils::isUnset($request->deptType)) { $query['deptType'] = $request->deptType; } if (!Utils::isUnset($request->sortFactor)) { $query['sortFactor'] = $request->sortFactor; } if (!Utils::isUnset($request->superId)) { $query['superId'] = $request->superId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CollegeAddCollegeDept', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/depts', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeAddCollegeDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeAddCollegeDeptRequest $request * * @return CollegeAddCollegeDeptResponse */ public function collegeAddCollegeDept($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeAddCollegeDeptHeaders([]); return $this->collegeAddCollegeDeptWithOptions($request, $headers, $runtime); } /** * @param CollegeAddManagerRequest $request * @param CollegeAddManagerHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeAddManagerResponse */ public function collegeAddManagerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } 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' => 'CollegeAddManager', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/members/depts/managers', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeAddManagerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeAddManagerRequest $request * * @return CollegeAddManagerResponse */ public function collegeAddManager($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeAddManagerHeaders([]); return $this->collegeAddManagerWithOptions($request, $headers, $runtime); } /** * @param CollegeAddStudentRequest $request * @param CollegeAddStudentHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeAddStudentResponse */ public function collegeAddStudentWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } if (!Utils::isUnset($request->empExtension)) { $body['empExtension'] = $request->empExtension; } if (!Utils::isUnset($request->gender)) { $body['gender'] = $request->gender; } if (!Utils::isUnset($request->identifyId)) { $body['identifyId'] = $request->identifyId; } if (!Utils::isUnset($request->mobile)) { $body['mobile'] = $request->mobile; } if (!Utils::isUnset($request->startYear)) { $body['startYear'] = $request->startYear; } if (!Utils::isUnset($request->studentName)) { $body['studentName'] = $request->studentName; } if (!Utils::isUnset($request->studentNumber)) { $body['studentNumber'] = $request->studentNumber; } 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' => 'CollegeAddStudent', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/members/depts/students', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeAddStudentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeAddStudentRequest $request * * @return CollegeAddStudentResponse */ public function collegeAddStudent($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeAddStudentHeaders([]); return $this->collegeAddStudentWithOptions($request, $headers, $runtime); } /** * @param CollegeChangeStudentDeptRequest $request * @param CollegeChangeStudentDeptHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeChangeStudentDeptResponse */ public function collegeChangeStudentDeptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } if (!Utils::isUnset($request->newDeptId)) { $query['newDeptId'] = $request->newDeptId; } if (!Utils::isUnset($request->studentId)) { $query['studentId'] = $request->studentId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CollegeChangeStudentDept', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/members/depts/students/move', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeChangeStudentDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeChangeStudentDeptRequest $request * * @return CollegeChangeStudentDeptResponse */ public function collegeChangeStudentDept($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeChangeStudentDeptHeaders([]); return $this->collegeChangeStudentDeptWithOptions($request, $headers, $runtime); } /** * @param CollegeDeleteCollegeDeptRequest $request * @param CollegeDeleteCollegeDeptHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeDeleteCollegeDeptResponse */ public function collegeDeleteCollegeDeptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CollegeDeleteCollegeDept', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/depts', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeDeleteCollegeDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeDeleteCollegeDeptRequest $request * * @return CollegeDeleteCollegeDeptResponse */ public function collegeDeleteCollegeDept($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeDeleteCollegeDeptHeaders([]); return $this->collegeDeleteCollegeDeptWithOptions($request, $headers, $runtime); } /** * @param CollegeListCollegeSubDeptRequest $request * @param CollegeListCollegeSubDeptHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeListCollegeSubDeptResponse */ public function collegeListCollegeSubDeptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CollegeListCollegeSubDept', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/subDepts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeListCollegeSubDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeListCollegeSubDeptRequest $request * * @return CollegeListCollegeSubDeptResponse */ public function collegeListCollegeSubDept($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeListCollegeSubDeptHeaders([]); return $this->collegeListCollegeSubDeptWithOptions($request, $headers, $runtime); } /** * @param CollegeListDeptManagerRequest $request * @param CollegeListDeptManagerHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeListDeptManagerResponse */ public function collegeListDeptManagerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } 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' => 'CollegeListDeptManager', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/members/depts/managers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeListDeptManagerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeListDeptManagerRequest $request * * @return CollegeListDeptManagerResponse */ public function collegeListDeptManager($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeListDeptManagerHeaders([]); return $this->collegeListDeptManagerWithOptions($request, $headers, $runtime); } /** * @param CollegeListStudentInfoRequest $request * @param CollegeListStudentInfoHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeListStudentInfoResponse */ public function collegeListStudentInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } if (!Utils::isUnset($request->dingStudentStatus)) { $query['dingStudentStatus'] = $request->dingStudentStatus; } 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' => 'CollegeListStudentInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/members/depts/students', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeListStudentInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeListStudentInfoRequest $request * * @return CollegeListStudentInfoResponse */ public function collegeListStudentInfo($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeListStudentInfoHeaders([]); return $this->collegeListStudentInfoWithOptions($request, $headers, $runtime); } /** * @param CollegeListUncheckedStudentRequest $request * @param CollegeListUncheckedStudentHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeListUncheckedStudentResponse */ public function collegeListUncheckedStudentWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } 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' => 'CollegeListUncheckedStudent', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/members/organizations/unjoinedStudents', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeListUncheckedStudentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeListUncheckedStudentRequest $request * * @return CollegeListUncheckedStudentResponse */ public function collegeListUncheckedStudent($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeListUncheckedStudentHeaders([]); return $this->collegeListUncheckedStudentWithOptions($request, $headers, $runtime); } /** * @param CollegeQueryCollegeDeptGroupInfoRequest $request * @param CollegeQueryCollegeDeptGroupInfoHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeQueryCollegeDeptGroupInfoResponse */ public function collegeQueryCollegeDeptGroupInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CollegeQueryCollegeDeptGroupInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/depts/groupInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeQueryCollegeDeptGroupInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeQueryCollegeDeptGroupInfoRequest $request * * @return CollegeQueryCollegeDeptGroupInfoResponse */ public function collegeQueryCollegeDeptGroupInfo($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeQueryCollegeDeptGroupInfoHeaders([]); return $this->collegeQueryCollegeDeptGroupInfoWithOptions($request, $headers, $runtime); } /** * @param CollegeQueryCollegeDeptInfoRequest $request * @param CollegeQueryCollegeDeptInfoHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeQueryCollegeDeptInfoResponse */ public function collegeQueryCollegeDeptInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CollegeQueryCollegeDeptInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/deptInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeQueryCollegeDeptInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeQueryCollegeDeptInfoRequest $request * * @return CollegeQueryCollegeDeptInfoResponse */ public function collegeQueryCollegeDeptInfo($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeQueryCollegeDeptInfoHeaders([]); return $this->collegeQueryCollegeDeptInfoWithOptions($request, $headers, $runtime); } /** * @param CollegeQueryStudentInfoByDeptRequest $request * @param CollegeQueryStudentInfoByDeptHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeQueryStudentInfoByDeptResponse */ public function collegeQueryStudentInfoByDeptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } if (!Utils::isUnset($request->studentId)) { $query['studentId'] = $request->studentId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CollegeQueryStudentInfoByDept', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/members/depts/studentinfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeQueryStudentInfoByDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeQueryStudentInfoByDeptRequest $request * * @return CollegeQueryStudentInfoByDeptResponse */ public function collegeQueryStudentInfoByDept($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeQueryStudentInfoByDeptHeaders([]); return $this->collegeQueryStudentInfoByDeptWithOptions($request, $headers, $runtime); } /** * @param CollegeQueryStudentInfoByMobileRequest $request * @param CollegeQueryStudentInfoByMobileHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeQueryStudentInfoByMobileResponse */ public function collegeQueryStudentInfoByMobileWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->mobile)) { $query['mobile'] = $request->mobile; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CollegeQueryStudentInfoByMobile', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/members/students/mobiles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeQueryStudentInfoByMobileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeQueryStudentInfoByMobileRequest $request * * @return CollegeQueryStudentInfoByMobileResponse */ public function collegeQueryStudentInfoByMobile($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeQueryStudentInfoByMobileHeaders([]); return $this->collegeQueryStudentInfoByMobileWithOptions($request, $headers, $runtime); } /** * @param CollegeQueryStudentInfoByStudentIdRequest $request * @param CollegeQueryStudentInfoByStudentIdHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeQueryStudentInfoByStudentIdResponse */ public function collegeQueryStudentInfoByStudentIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->studentId)) { $query['studentId'] = $request->studentId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CollegeQueryStudentInfoByStudentId', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/members/students', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeQueryStudentInfoByStudentIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeQueryStudentInfoByStudentIdRequest $request * * @return CollegeQueryStudentInfoByStudentIdResponse */ public function collegeQueryStudentInfoByStudentId($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeQueryStudentInfoByStudentIdHeaders([]); return $this->collegeQueryStudentInfoByStudentIdWithOptions($request, $headers, $runtime); } /** * @param CollegeRemoveManagerRequest $request * @param CollegeRemoveManagerHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeRemoveManagerResponse */ public function collegeRemoveManagerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } if (!Utils::isUnset($request->isForce)) { $query['isForce'] = $request->isForce; } 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' => 'CollegeRemoveManager', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/members/managers', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeRemoveManagerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeRemoveManagerRequest $request * * @return CollegeRemoveManagerResponse */ public function collegeRemoveManager($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeRemoveManagerHeaders([]); return $this->collegeRemoveManagerWithOptions($request, $headers, $runtime); } /** * @param CollegeRemoveStudentRequest $request * @param CollegeRemoveStudentHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeRemoveStudentResponse */ public function collegeRemoveStudentWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } if (!Utils::isUnset($request->studentId)) { $query['studentId'] = $request->studentId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CollegeRemoveStudent', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/members/depts/students', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeRemoveStudentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeRemoveStudentRequest $request * * @return CollegeRemoveStudentResponse */ public function collegeRemoveStudent($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeRemoveStudentHeaders([]); return $this->collegeRemoveStudentWithOptions($request, $headers, $runtime); } /** * @param CollegeUpdateCollegeDeptRequest $request * @param CollegeUpdateCollegeDeptHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeUpdateCollegeDeptResponse */ public function collegeUpdateCollegeDeptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } if (!Utils::isUnset($request->deptName)) { $query['deptName'] = $request->deptName; } if (!Utils::isUnset($request->sortFactor)) { $query['sortFactor'] = $request->sortFactor; } if (!Utils::isUnset($request->superId)) { $query['superId'] = $request->superId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CollegeUpdateCollegeDept', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/depts', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeUpdateCollegeDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeUpdateCollegeDeptRequest $request * * @return CollegeUpdateCollegeDeptResponse */ public function collegeUpdateCollegeDept($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeUpdateCollegeDeptHeaders([]); return $this->collegeUpdateCollegeDeptWithOptions($request, $headers, $runtime); } /** * @param CollegeUpdateStudentDeptInfoRequest $request * @param CollegeUpdateStudentDeptInfoHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeUpdateStudentDeptInfoResponse */ public function collegeUpdateStudentDeptInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } if (!Utils::isUnset($request->studentId)) { $query['studentId'] = $request->studentId; } if (!Utils::isUnset($request->studentNumber)) { $query['studentNumber'] = $request->studentNumber; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CollegeUpdateStudentDeptInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/members/deptInfos', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeUpdateStudentDeptInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeUpdateStudentDeptInfoRequest $request * * @return CollegeUpdateStudentDeptInfoResponse */ public function collegeUpdateStudentDeptInfo($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeUpdateStudentDeptInfoHeaders([]); return $this->collegeUpdateStudentDeptInfoWithOptions($request, $headers, $runtime); } /** * @param CollegeUpdateStudentInfoRequest $request * @param CollegeUpdateStudentInfoHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeUpdateStudentInfoResponse */ public function collegeUpdateStudentInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->empExtension)) { $body['empExtension'] = $request->empExtension; } if (!Utils::isUnset($request->gender)) { $body['gender'] = $request->gender; } if (!Utils::isUnset($request->identifyId)) { $body['identifyId'] = $request->identifyId; } if (!Utils::isUnset($request->startYear)) { $body['startYear'] = $request->startYear; } if (!Utils::isUnset($request->studentId)) { $body['studentId'] = $request->studentId; } if (!Utils::isUnset($request->studentName)) { $body['studentName'] = $request->studentName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CollegeUpdateStudentInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/members/depts/students', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeUpdateStudentInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeUpdateStudentInfoRequest $request * * @return CollegeUpdateStudentInfoResponse */ public function collegeUpdateStudentInfo($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeUpdateStudentInfoHeaders([]); return $this->collegeUpdateStudentInfoWithOptions($request, $headers, $runtime); } /** * @param CollegeUpdateStudentMoblieRequest $request * @param CollegeUpdateStudentMoblieHeaders $headers * @param RuntimeOptions $runtime * * @return CollegeUpdateStudentMoblieResponse */ public function collegeUpdateStudentMoblieWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->isForce)) { $query['isForce'] = $request->isForce; } if (!Utils::isUnset($request->newMobile)) { $query['newMobile'] = $request->newMobile; } if (!Utils::isUnset($request->studentId)) { $query['studentId'] = $request->studentId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CollegeUpdateStudentMoblie', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/colleges/members/students/mobiles', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollegeUpdateStudentMoblieResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CollegeUpdateStudentMoblieRequest $request * * @return CollegeUpdateStudentMoblieResponse */ public function collegeUpdateStudentMoblie($request) { $runtime = new RuntimeOptions([]); $headers = new CollegeUpdateStudentMoblieHeaders([]); return $this->collegeUpdateStudentMoblieWithOptions($request, $headers, $runtime); } /** * @param CustomizeContactCreateRequest $request * @param CustomizeContactCreateHeaders $headers * @param RuntimeOptions $runtime * * @return CustomizeContactCreateResponse */ public function customizeContactCreateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->managerIdList)) { $body['managerIdList'] = $request->managerIdList; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->order)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CustomizeContactCreate', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/customizations/contacts', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CustomizeContactCreateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CustomizeContactCreateRequest $request * * @return CustomizeContactCreateResponse */ public function customizeContactCreate($request) { $runtime = new RuntimeOptions([]); $headers = new CustomizeContactCreateHeaders([]); return $this->customizeContactCreateWithOptions($request, $headers, $runtime); } /** * @param CustomizeContactDeleteRequest $request * @param CustomizeContactDeleteHeaders $headers * @param RuntimeOptions $runtime * * @return CustomizeContactDeleteResponse */ public function customizeContactDeleteWithOptions($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' => 'CustomizeContactDelete', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/customizations/contacts', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CustomizeContactDeleteResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CustomizeContactDeleteRequest $request * * @return CustomizeContactDeleteResponse */ public function customizeContactDelete($request) { $runtime = new RuntimeOptions([]); $headers = new CustomizeContactDeleteHeaders([]); return $this->customizeContactDeleteWithOptions($request, $headers, $runtime); } /** * @param CustomizeContactDeptCreateRequest $request * @param CustomizeContactDeptCreateHeaders $headers * @param RuntimeOptions $runtime * * @return CustomizeContactDeptCreateResponse */ public function customizeContactDeptCreateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->code)) { $body['code'] = $request->code; } if (!Utils::isUnset($request->managerIdList)) { $body['managerIdList'] = $request->managerIdList; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->order)) { $body['order'] = $request->order; } if (!Utils::isUnset($request->parentDeptId)) { $body['parentDeptId'] = $request->parentDeptId; } if (!Utils::isUnset($request->refId)) { $body['refId'] = $request->refId; } 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' => 'CustomizeContactDeptCreate', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/customizations/departments', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CustomizeContactDeptCreateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CustomizeContactDeptCreateRequest $request * * @return CustomizeContactDeptCreateResponse */ public function customizeContactDeptCreate($request) { $runtime = new RuntimeOptions([]); $headers = new CustomizeContactDeptCreateHeaders([]); return $this->customizeContactDeptCreateWithOptions($request, $headers, $runtime); } /** * @param CustomizeContactDeptDeleteRequest $request * @param CustomizeContactDeptDeleteHeaders $headers * @param RuntimeOptions $runtime * * @return CustomizeContactDeptDeleteResponse */ public function customizeContactDeptDeleteWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CustomizeContactDeptDelete', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/customizations/departments', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CustomizeContactDeptDeleteResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CustomizeContactDeptDeleteRequest $request * * @return CustomizeContactDeptDeleteResponse */ public function customizeContactDeptDelete($request) { $runtime = new RuntimeOptions([]); $headers = new CustomizeContactDeptDeleteHeaders([]); return $this->customizeContactDeptDeleteWithOptions($request, $headers, $runtime); } /** * @param CustomizeContactDeptGroupCreateRequest $request * @param CustomizeContactDeptGroupCreateHeaders $headers * @param RuntimeOptions $runtime * * @return CustomizeContactDeptGroupCreateResponse */ public function customizeContactDeptGroupCreateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->code)) { $body['code'] = $request->code; } if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CustomizeContactDeptGroupCreate', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/customizations/departmentGroups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CustomizeContactDeptGroupCreateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CustomizeContactDeptGroupCreateRequest $request * * @return CustomizeContactDeptGroupCreateResponse */ public function customizeContactDeptGroupCreate($request) { $runtime = new RuntimeOptions([]); $headers = new CustomizeContactDeptGroupCreateHeaders([]); return $this->customizeContactDeptGroupCreateWithOptions($request, $headers, $runtime); } /** * @param CustomizeContactDeptInfoRequest $request * @param CustomizeContactDeptInfoHeaders $headers * @param RuntimeOptions $runtime * * @return CustomizeContactDeptInfoResponse */ public function customizeContactDeptInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CustomizeContactDeptInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/customizations/departments', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CustomizeContactDeptInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CustomizeContactDeptInfoRequest $request * * @return CustomizeContactDeptInfoResponse */ public function customizeContactDeptInfo($request) { $runtime = new RuntimeOptions([]); $headers = new CustomizeContactDeptInfoHeaders([]); return $this->customizeContactDeptInfoWithOptions($request, $headers, $runtime); } /** * @param CustomizeContactDeptListRequest $request * @param CustomizeContactDeptListHeaders $headers * @param RuntimeOptions $runtime * * @return CustomizeContactDeptListResponse */ public function customizeContactDeptListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CustomizeContactDeptList', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/customizations/subsidiaryDepartments', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CustomizeContactDeptListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CustomizeContactDeptListRequest $request * * @return CustomizeContactDeptListResponse */ public function customizeContactDeptList($request) { $runtime = new RuntimeOptions([]); $headers = new CustomizeContactDeptListHeaders([]); return $this->customizeContactDeptListWithOptions($request, $headers, $runtime); } /** * @param CustomizeContactDeptUpdateRequest $request * @param CustomizeContactDeptUpdateHeaders $headers * @param RuntimeOptions $runtime * * @return CustomizeContactDeptUpdateResponse */ public function customizeContactDeptUpdateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->code)) { $body['code'] = $request->code; } if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } if (!Utils::isUnset($request->managerIdList)) { $body['managerIdList'] = $request->managerIdList; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->order)) { $body['order'] = $request->order; } if (!Utils::isUnset($request->parentDeptId)) { $body['parentDeptId'] = $request->parentDeptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CustomizeContactDeptUpdate', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/customizations/departments', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CustomizeContactDeptUpdateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CustomizeContactDeptUpdateRequest $request * * @return CustomizeContactDeptUpdateResponse */ public function customizeContactDeptUpdate($request) { $runtime = new RuntimeOptions([]); $headers = new CustomizeContactDeptUpdateHeaders([]); return $this->customizeContactDeptUpdateWithOptions($request, $headers, $runtime); } /** * @param CustomizeContactEmpAddRequest $request * @param CustomizeContactEmpAddHeaders $headers * @param RuntimeOptions $runtime * * @return CustomizeContactEmpAddResponse */ public function customizeContactEmpAddWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->code)) { $body['code'] = $request->code; } if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } 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' => 'CustomizeContactEmpAdd', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/customizations/users', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CustomizeContactEmpAddResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CustomizeContactEmpAddRequest $request * * @return CustomizeContactEmpAddResponse */ public function customizeContactEmpAdd($request) { $runtime = new RuntimeOptions([]); $headers = new CustomizeContactEmpAddHeaders([]); return $this->customizeContactEmpAddWithOptions($request, $headers, $runtime); } /** * @param CustomizeContactEmpDeleteRequest $request * @param CustomizeContactEmpDeleteHeaders $headers * @param RuntimeOptions $runtime * * @return CustomizeContactEmpDeleteResponse */ public function customizeContactEmpDeleteWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->code)) { $body['code'] = $request->code; } if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } 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' => 'CustomizeContactEmpDelete', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/customizations/users/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CustomizeContactEmpDeleteResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CustomizeContactEmpDeleteRequest $request * * @return CustomizeContactEmpDeleteResponse */ public function customizeContactEmpDelete($request) { $runtime = new RuntimeOptions([]); $headers = new CustomizeContactEmpDeleteHeaders([]); return $this->customizeContactEmpDeleteWithOptions($request, $headers, $runtime); } /** * @param CustomizeContactEmpListRequest $request * @param CustomizeContactEmpListHeaders $headers * @param RuntimeOptions $runtime * * @return CustomizeContactEmpListResponse */ public function customizeContactEmpListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CustomizeContactEmpList', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/customizations/users', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CustomizeContactEmpListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CustomizeContactEmpListRequest $request * * @return CustomizeContactEmpListResponse */ public function customizeContactEmpList($request) { $runtime = new RuntimeOptions([]); $headers = new CustomizeContactEmpListHeaders([]); return $this->customizeContactEmpListWithOptions($request, $headers, $runtime); } /** * @param CustomizeContactListHeaders $headers * @param RuntimeOptions $runtime * * @return CustomizeContactListResponse */ public function customizeContactListWithOptions($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' => 'CustomizeContactList', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/customizations/contacts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CustomizeContactListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return CustomizeContactListResponse */ public function customizeContactList() { $runtime = new RuntimeOptions([]); $headers = new CustomizeContactListHeaders([]); return $this->customizeContactListWithOptions($headers, $runtime); } /** * @param CustomizeContactUpdateRequest $request * @param CustomizeContactUpdateHeaders $headers * @param RuntimeOptions $runtime * * @return CustomizeContactUpdateResponse */ public function customizeContactUpdateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->code)) { $body['code'] = $request->code; } if (!Utils::isUnset($request->managerIdList)) { $body['managerIdList'] = $request->managerIdList; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->order)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CustomizeContactUpdate', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/customizations/contacts', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CustomizeContactUpdateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CustomizeContactUpdateRequest $request * * @return CustomizeContactUpdateResponse */ public function customizeContactUpdate($request) { $runtime = new RuntimeOptions([]); $headers = new CustomizeContactUpdateHeaders([]); return $this->customizeContactUpdateWithOptions($request, $headers, $runtime); } /** * @param DIgitalStoreMessagePushRequest $tmpReq * @param DIgitalStoreMessagePushHeaders $headers * @param RuntimeOptions $runtime * * @return DIgitalStoreMessagePushResponse */ public function dIgitalStoreMessagePushWithOptions($tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new DIgitalStoreMessagePushShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->messageDataList)) { $request->messageDataListShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->messageDataList, 'messageDataList', 'json'); } $query = []; if (!Utils::isUnset($request->messageDataListShrink)) { $query['messageDataList'] = $request->messageDataListShrink; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DIgitalStoreMessagePush', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/messages/push', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DIgitalStoreMessagePushResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DIgitalStoreMessagePushRequest $request * * @return DIgitalStoreMessagePushResponse */ public function dIgitalStoreMessagePush($request) { $runtime = new RuntimeOptions([]); $headers = new DIgitalStoreMessagePushHeaders([]); return $this->dIgitalStoreMessagePushWithOptions($request, $headers, $runtime); } /** * @param DigitalStoreCardRecordRequest $request * @param DigitalStoreCardRecordHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreCardRecordResponse */ public function digitalStoreCardRecordWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->beginTime)) { $body['beginTime'] = $request->beginTime; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->ids)) { $body['ids'] = $request->ids; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->sceneCardName)) { $body['sceneCardName'] = $request->sceneCardName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DigitalStoreCardRecord', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/cardSendRecords/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreCardRecordResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DigitalStoreCardRecordRequest $request * * @return DigitalStoreCardRecordResponse */ public function digitalStoreCardRecord($request) { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreCardRecordHeaders([]); return $this->digitalStoreCardRecordWithOptions($request, $headers, $runtime); } /** * @param DigitalStoreContactInfoHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreContactInfoResponse */ public function digitalStoreContactInfoWithOptions($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' => 'DigitalStoreContactInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/contactInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreContactInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return DigitalStoreContactInfoResponse */ public function digitalStoreContactInfo() { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreContactInfoHeaders([]); return $this->digitalStoreContactInfoWithOptions($headers, $runtime); } /** * @param DigitalStoreConversationsRequest $request * @param DigitalStoreConversationsHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreConversationsResponse */ public function digitalStoreConversationsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->conversationTitle)) { $query['conversationTitle'] = $request->conversationTitle; } if (!Utils::isUnset($request->conversationType)) { $query['conversationType'] = $request->conversationType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DigitalStoreConversations', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/conversations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreConversationsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DigitalStoreConversationsRequest $request * * @return DigitalStoreConversationsResponse */ public function digitalStoreConversations($request) { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreConversationsHeaders([]); return $this->digitalStoreConversationsWithOptions($request, $headers, $runtime); } /** * @param DigitalStoreExportCardRecordRequest $request * @param DigitalStoreExportCardRecordHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreExportCardRecordResponse */ public function digitalStoreExportCardRecordWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->beginTime)) { $body['beginTime'] = $request->beginTime; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->ids)) { $body['ids'] = $request->ids; } if (!Utils::isUnset($request->sceneCardName)) { $body['sceneCardName'] = $request->sceneCardName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DigitalStoreExportCardRecord', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/cardRecords/export', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreExportCardRecordResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DigitalStoreExportCardRecordRequest $request * * @return DigitalStoreExportCardRecordResponse */ public function digitalStoreExportCardRecord($request) { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreExportCardRecordHeaders([]); return $this->digitalStoreExportCardRecordWithOptions($request, $headers, $runtime); } /** * @param DigitalStoreExportCardRecordDetailRequest $request * @param DigitalStoreExportCardRecordDetailHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreExportCardRecordDetailResponse */ public function digitalStoreExportCardRecordDetailWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->beginTime)) { $body['beginTime'] = $request->beginTime; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->ids)) { $body['ids'] = $request->ids; } if (!Utils::isUnset($request->sceneCardName)) { $body['sceneCardName'] = $request->sceneCardName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DigitalStoreExportCardRecordDetail', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/cardRecordDetails/export', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreExportCardRecordDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DigitalStoreExportCardRecordDetailRequest $request * * @return DigitalStoreExportCardRecordDetailResponse */ public function digitalStoreExportCardRecordDetail($request) { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreExportCardRecordDetailHeaders([]); return $this->digitalStoreExportCardRecordDetailWithOptions($request, $headers, $runtime); } /** * @param DigitalStoreGroupInfoRequest $request * @param DigitalStoreGroupInfoHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreGroupInfoResponse */ public function digitalStoreGroupInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->groupId)) { $query['groupId'] = $request->groupId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DigitalStoreGroupInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/groupInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreGroupInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DigitalStoreGroupInfoRequest $request * * @return DigitalStoreGroupInfoResponse */ public function digitalStoreGroupInfo($request) { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreGroupInfoHeaders([]); return $this->digitalStoreGroupInfoWithOptions($request, $headers, $runtime); } /** * @param DigitalStoreGroupsHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreGroupsResponse */ public function digitalStoreGroupsWithOptions($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' => 'DigitalStoreGroups', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/groups', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreGroupsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return DigitalStoreGroupsResponse */ public function digitalStoreGroups() { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreGroupsHeaders([]); return $this->digitalStoreGroupsWithOptions($headers, $runtime); } /** * @param DigitalStoreNodeInfoRequest $request * @param DigitalStoreNodeInfoHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreNodeInfoResponse */ public function digitalStoreNodeInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } if (!Utils::isUnset($request->nodeId)) { $query['nodeId'] = $request->nodeId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DigitalStoreNodeInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/nodeInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreNodeInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DigitalStoreNodeInfoRequest $request * * @return DigitalStoreNodeInfoResponse */ public function digitalStoreNodeInfo($request) { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreNodeInfoHeaders([]); return $this->digitalStoreNodeInfoWithOptions($request, $headers, $runtime); } /** * @param DigitalStoreRightsInfoHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreRightsInfoResponse */ public function digitalStoreRightsInfoWithOptions($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' => 'DigitalStoreRightsInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/rightsInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreRightsInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return DigitalStoreRightsInfoResponse */ public function digitalStoreRightsInfo() { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreRightsInfoHeaders([]); return $this->digitalStoreRightsInfoWithOptions($headers, $runtime); } /** * @param DigitalStoreRolesHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreRolesResponse */ public function digitalStoreRolesWithOptions($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' => 'DigitalStoreRoles', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/roles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreRolesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return DigitalStoreRolesResponse */ public function digitalStoreRoles() { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreRolesHeaders([]); return $this->digitalStoreRolesWithOptions($headers, $runtime); } /** * @param DigitalStoreSceneScopeRequest $request * @param DigitalStoreSceneScopeHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreSceneScopeResponse */ public function digitalStoreSceneScopeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->openConversationId)) { $query['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->sceneCode)) { $query['sceneCode'] = $request->sceneCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DigitalStoreSceneScope', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/sceneScopes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreSceneScopeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DigitalStoreSceneScopeRequest $request * * @return DigitalStoreSceneScopeResponse */ public function digitalStoreSceneScope($request) { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreSceneScopeHeaders([]); return $this->digitalStoreSceneScopeWithOptions($request, $headers, $runtime); } /** * @param DigitalStoreStoreInfoRequest $request * @param DigitalStoreStoreInfoHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreStoreInfoResponse */ public function digitalStoreStoreInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } if (!Utils::isUnset($request->storeId)) { $query['storeId'] = $request->storeId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DigitalStoreStoreInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/storeInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreStoreInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DigitalStoreStoreInfoRequest $request * * @return DigitalStoreStoreInfoResponse */ public function digitalStoreStoreInfo($request) { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreStoreInfoHeaders([]); return $this->digitalStoreStoreInfoWithOptions($request, $headers, $runtime); } /** * @param DigitalStoreSubNodesRequest $request * @param DigitalStoreSubNodesHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreSubNodesResponse */ public function digitalStoreSubNodesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } if (!Utils::isUnset($request->nodeId)) { $query['nodeId'] = $request->nodeId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DigitalStoreSubNodes', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/subsidiaryNodes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreSubNodesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DigitalStoreSubNodesRequest $request * * @return DigitalStoreSubNodesResponse */ public function digitalStoreSubNodes($request) { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreSubNodesHeaders([]); return $this->digitalStoreSubNodesWithOptions($request, $headers, $runtime); } /** * @param DigitalStoreUpdateAuthInfoRequest $request * @param DigitalStoreUpdateAuthInfoHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreUpdateAuthInfoResponse */ public function digitalStoreUpdateAuthInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->updateUserList)) { $body['updateUserList'] = $request->updateUserList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DigitalStoreUpdateAuthInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/authInfos', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreUpdateAuthInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DigitalStoreUpdateAuthInfoRequest $request * * @return DigitalStoreUpdateAuthInfoResponse */ public function digitalStoreUpdateAuthInfo($request) { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreUpdateAuthInfoHeaders([]); return $this->digitalStoreUpdateAuthInfoWithOptions($request, $headers, $runtime); } /** * @param DigitalStoreUserInfoRequest $request * @param DigitalStoreUserInfoHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreUserInfoResponse */ public function digitalStoreUserInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } 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' => 'DigitalStoreUserInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/userInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreUserInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DigitalStoreUserInfoRequest $request * * @return DigitalStoreUserInfoResponse */ public function digitalStoreUserInfo($request) { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreUserInfoHeaders([]); return $this->digitalStoreUserInfoWithOptions($request, $headers, $runtime); } /** * @param DigitalStoreUsersRequest $request * @param DigitalStoreUsersHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStoreUsersResponse */ public function digitalStoreUsersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } if (!Utils::isUnset($request->nodeId)) { $query['nodeId'] = $request->nodeId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DigitalStoreUsers', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/nodes/users', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStoreUsersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DigitalStoreUsersRequest $request * * @return DigitalStoreUsersResponse */ public function digitalStoreUsers($request) { $runtime = new RuntimeOptions([]); $headers = new DigitalStoreUsersHeaders([]); return $this->digitalStoreUsersWithOptions($request, $headers, $runtime); } /** * @param DigitalStorelistExportTaskRecordRequest $request * @param DigitalStorelistExportTaskRecordHeaders $headers * @param RuntimeOptions $runtime * * @return DigitalStorelistExportTaskRecordResponse */ public function digitalStorelistExportTaskRecordWithOptions($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' => 'DigitalStorelistExportTaskRecord', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/digitalStores/exportTaskRecords', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DigitalStorelistExportTaskRecordResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DigitalStorelistExportTaskRecordRequest $request * * @return DigitalStorelistExportTaskRecordResponse */ public function digitalStorelistExportTaskRecord($request) { $runtime = new RuntimeOptions([]); $headers = new DigitalStorelistExportTaskRecordHeaders([]); return $this->digitalStorelistExportTaskRecordWithOptions($request, $headers, $runtime); } /** * @param ExternalQueryExternalAppOrgsRequest $request * @param ExternalQueryExternalAppOrgsHeaders $headers * @param RuntimeOptions $runtime * * @return ExternalQueryExternalAppOrgsResponse */ public function externalQueryExternalAppOrgsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->externalType)) { $query['externalType'] = $request->externalType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ExternalQueryExternalAppOrgs', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/externals/apps/organizations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ExternalQueryExternalAppOrgsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ExternalQueryExternalAppOrgsRequest $request * * @return ExternalQueryExternalAppOrgsResponse */ public function externalQueryExternalAppOrgs($request) { $runtime = new RuntimeOptions([]); $headers = new ExternalQueryExternalAppOrgsHeaders([]); return $this->externalQueryExternalAppOrgsWithOptions($request, $headers, $runtime); } /** * @param ExternalQueryExternalBelongMainOrgRequest $request * @param ExternalQueryExternalBelongMainOrgHeaders $headers * @param RuntimeOptions $runtime * * @return ExternalQueryExternalBelongMainOrgResponse */ public function externalQueryExternalBelongMainOrgWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->externalType)) { $query['externalType'] = $request->externalType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ExternalQueryExternalBelongMainOrg', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/externals/attributions/masterOrganizations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ExternalQueryExternalBelongMainOrgResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ExternalQueryExternalBelongMainOrgRequest $request * * @return ExternalQueryExternalBelongMainOrgResponse */ public function externalQueryExternalBelongMainOrg($request) { $runtime = new RuntimeOptions([]); $headers = new ExternalQueryExternalBelongMainOrgHeaders([]); return $this->externalQueryExternalBelongMainOrgWithOptions($request, $headers, $runtime); } /** * @param ExternalQueryExternalOrgsRequest $request * @param ExternalQueryExternalOrgsHeaders $headers * @param RuntimeOptions $runtime * * @return ExternalQueryExternalOrgsResponse */ public function externalQueryExternalOrgsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->externalType)) { $query['externalType'] = $request->externalType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ExternalQueryExternalOrgs', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/externals/organizations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ExternalQueryExternalOrgsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ExternalQueryExternalOrgsRequest $request * * @return ExternalQueryExternalOrgsResponse */ public function externalQueryExternalOrgs($request) { $runtime = new RuntimeOptions([]); $headers = new ExternalQueryExternalOrgsHeaders([]); return $this->externalQueryExternalOrgsWithOptions($request, $headers, $runtime); } /** * @param HospitalDataCheckRequest $request * @param HospitalDataCheckHeaders $headers * @param RuntimeOptions $runtime * * @return HospitalDataCheckResponse */ public function hospitalDataCheckWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->allDeptCount)) { $body['allDeptCount'] = $request->allDeptCount; } if (!Utils::isUnset($request->allDeptUserCount)) { $body['allDeptUserCount'] = $request->allDeptUserCount; } if (!Utils::isUnset($request->allGroupCount)) { $body['allGroupCount'] = $request->allGroupCount; } if (!Utils::isUnset($request->allGroupUserCount)) { $body['allGroupUserCount'] = $request->allGroupUserCount; } if (!Utils::isUnset($request->deptCount)) { $body['deptCount'] = $request->deptCount; } if (!Utils::isUnset($request->deptUserCount)) { $body['deptUserCount'] = $request->deptUserCount; } if (!Utils::isUnset($request->groupCount)) { $body['groupCount'] = $request->groupCount; } if (!Utils::isUnset($request->groupUserCount)) { $body['groupUserCount'] = $request->groupUserCount; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'HospitalDataCheck', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/datas/check', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return HospitalDataCheckResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param HospitalDataCheckRequest $request * * @return HospitalDataCheckResponse */ public function hospitalDataCheck($request) { $runtime = new RuntimeOptions([]); $headers = new HospitalDataCheckHeaders([]); return $this->hospitalDataCheckWithOptions($request, $headers, $runtime); } /** * @param IndustryManufactureCommonEventRequest $request * @param IndustryManufactureCommonEventHeaders $headers * @param RuntimeOptions $runtime * * @return IndustryManufactureCommonEventResponse */ public function industryManufactureCommonEventWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->appKey)) { $body['appKey'] = $request->appKey; } if (!Utils::isUnset($request->bizData)) { $body['bizData'] = $request->bizData; } 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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'IndustryManufactureCommonEvent', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/manufacturing/bases/commons/events', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustryManufactureCommonEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IndustryManufactureCommonEventRequest $request * * @return IndustryManufactureCommonEventResponse */ public function industryManufactureCommonEvent($request) { $runtime = new RuntimeOptions([]); $headers = new IndustryManufactureCommonEventHeaders([]); return $this->industryManufactureCommonEventWithOptions($request, $headers, $runtime); } /** * @param IndustryManufactureCostRecordListGetRequest $request * @param IndustryManufactureCostRecordListGetHeaders $headers * @param RuntimeOptions $runtime * * @return IndustryManufactureCostRecordListGetResponse */ public function industryManufactureCostRecordListGetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appId)) { $body['appId'] = $request->appId; } if (!Utils::isUnset($request->appIds)) { $body['appIds'] = $request->appIds; } if (!Utils::isUnset($request->appName)) { $body['appName'] = $request->appName; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->cursor)) { $body['cursor'] = $request->cursor; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->instanceId)) { $body['instanceId'] = $request->instanceId; } if (!Utils::isUnset($request->isvOrgId)) { $body['isvOrgId'] = $request->isvOrgId; } if (!Utils::isUnset($request->materialNo)) { $body['materialNo'] = $request->materialNo; } if (!Utils::isUnset($request->microappAgentId)) { $body['microappAgentId'] = $request->microappAgentId; } if (!Utils::isUnset($request->orderNo)) { $body['orderNo'] = $request->orderNo; } if (!Utils::isUnset($request->orgId)) { $body['orgId'] = $request->orgId; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->productionTaskNo)) { $body['productionTaskNo'] = $request->productionTaskNo; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->suiteKey)) { $body['suiteKey'] = $request->suiteKey; } if (!Utils::isUnset($request->tokenGrantType)) { $body['tokenGrantType'] = $request->tokenGrantType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'IndustryManufactureCostRecordListGet', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/manufactures/materialCostRecords/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustryManufactureCostRecordListGetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IndustryManufactureCostRecordListGetRequest $request * * @return IndustryManufactureCostRecordListGetResponse */ public function industryManufactureCostRecordListGet($request) { $runtime = new RuntimeOptions([]); $headers = new IndustryManufactureCostRecordListGetHeaders([]); return $this->industryManufactureCostRecordListGetWithOptions($request, $headers, $runtime); } /** * @param IndustryManufactureFeeListGetRequest $request * @param IndustryManufactureFeeListGetHeaders $headers * @param RuntimeOptions $runtime * * @return IndustryManufactureFeeListGetResponse */ public function industryManufactureFeeListGetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appId)) { $body['appId'] = $request->appId; } if (!Utils::isUnset($request->appIds)) { $body['appIds'] = $request->appIds; } if (!Utils::isUnset($request->appName)) { $body['appName'] = $request->appName; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->cursor)) { $body['cursor'] = $request->cursor; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->isvOrgId)) { $body['isvOrgId'] = $request->isvOrgId; } if (!Utils::isUnset($request->materialNo)) { $body['materialNo'] = $request->materialNo; } if (!Utils::isUnset($request->microappAgentId)) { $body['microappAgentId'] = $request->microappAgentId; } if (!Utils::isUnset($request->orgId)) { $body['orgId'] = $request->orgId; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->productionTaskNo)) { $body['productionTaskNo'] = $request->productionTaskNo; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->suiteKey)) { $body['suiteKey'] = $request->suiteKey; } if (!Utils::isUnset($request->tokenGrantType)) { $body['tokenGrantType'] = $request->tokenGrantType; } 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' => 'IndustryManufactureFeeListGet', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/manufactures/fees/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustryManufactureFeeListGetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IndustryManufactureFeeListGetRequest $request * * @return IndustryManufactureFeeListGetResponse */ public function industryManufactureFeeListGet($request) { $runtime = new RuntimeOptions([]); $headers = new IndustryManufactureFeeListGetHeaders([]); return $this->industryManufactureFeeListGetWithOptions($request, $headers, $runtime); } /** * @param IndustryManufactureLabourCostRequest $request * @param IndustryManufactureLabourCostHeaders $headers * @param RuntimeOptions $runtime * * @return IndustryManufactureLabourCostResponse */ public function industryManufactureLabourCostWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appId)) { $body['appId'] = $request->appId; } if (!Utils::isUnset($request->appIds)) { $body['appIds'] = $request->appIds; } if (!Utils::isUnset($request->appName)) { $body['appName'] = $request->appName; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->cursor)) { $body['cursor'] = $request->cursor; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->isvOrgId)) { $body['isvOrgId'] = $request->isvOrgId; } if (!Utils::isUnset($request->materialNo)) { $body['materialNo'] = $request->materialNo; } if (!Utils::isUnset($request->microappAgentId)) { $body['microappAgentId'] = $request->microappAgentId; } if (!Utils::isUnset($request->orgId)) { $body['orgId'] = $request->orgId; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->processNo)) { $body['processNo'] = $request->processNo; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->suiteKey)) { $body['suiteKey'] = $request->suiteKey; } if (!Utils::isUnset($request->tokenGrantType)) { $body['tokenGrantType'] = $request->tokenGrantType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'IndustryManufactureLabourCost', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/manufactures/labourCosts/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustryManufactureLabourCostResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IndustryManufactureLabourCostRequest $request * * @return IndustryManufactureLabourCostResponse */ public function industryManufactureLabourCost($request) { $runtime = new RuntimeOptions([]); $headers = new IndustryManufactureLabourCostHeaders([]); return $this->industryManufactureLabourCostWithOptions($request, $headers, $runtime); } /** * @param IndustryManufactureMaterialListRequest $request * @param IndustryManufactureMaterialListHeaders $headers * @param RuntimeOptions $runtime * * @return IndustryManufactureMaterialListResponse */ public function industryManufactureMaterialListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appId)) { $body['appId'] = $request->appId; } if (!Utils::isUnset($request->appIds)) { $body['appIds'] = $request->appIds; } if (!Utils::isUnset($request->appName)) { $body['appName'] = $request->appName; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->currentPage)) { $body['currentPage'] = $request->currentPage; } if (!Utils::isUnset($request->cursor)) { $body['cursor'] = $request->cursor; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->instanceId)) { $body['instanceId'] = $request->instanceId; } if (!Utils::isUnset($request->isvOrgId)) { $body['isvOrgId'] = $request->isvOrgId; } if (!Utils::isUnset($request->materialNo)) { $body['materialNo'] = $request->materialNo; } if (!Utils::isUnset($request->microappAgentId)) { $body['microappAgentId'] = $request->microappAgentId; } if (!Utils::isUnset($request->orgId)) { $body['orgId'] = $request->orgId; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->suiteKey)) { $body['suiteKey'] = $request->suiteKey; } if (!Utils::isUnset($request->tokenGrantType)) { $body['tokenGrantType'] = $request->tokenGrantType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'IndustryManufactureMaterialList', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/manufactures/materials/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustryManufactureMaterialListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IndustryManufactureMaterialListRequest $request * * @return IndustryManufactureMaterialListResponse */ public function industryManufactureMaterialList($request) { $runtime = new RuntimeOptions([]); $headers = new IndustryManufactureMaterialListHeaders([]); return $this->industryManufactureMaterialListWithOptions($request, $headers, $runtime); } /** * @param IndustryManufactureMesDispatchTaskRequest $request * @param IndustryManufactureMesDispatchTaskHeaders $headers * @param RuntimeOptions $runtime * * @return IndustryManufactureMesDispatchTaskResponse */ public function industryManufactureMesDispatchTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->appKey)) { $body['appKey'] = $request->appKey; } if (!Utils::isUnset($request->baseDataName)) { $body['baseDataName'] = $request->baseDataName; } if (!Utils::isUnset($request->defectsAmount)) { $body['defectsAmount'] = $request->defectsAmount; } if (!Utils::isUnset($request->dispatchStaffName)) { $body['dispatchStaffName'] = $request->dispatchStaffName; } if (!Utils::isUnset($request->dispatchStaffNo)) { $body['dispatchStaffNo'] = $request->dispatchStaffNo; } if (!Utils::isUnset($request->fineAmount)) { $body['fineAmount'] = $request->fineAmount; } if (!Utils::isUnset($request->overdue)) { $body['overdue'] = $request->overdue; } if (!Utils::isUnset($request->planQuantity)) { $body['planQuantity'] = $request->planQuantity; } if (!Utils::isUnset($request->priority)) { $body['priority'] = $request->priority; } if (!Utils::isUnset($request->processName)) { $body['processName'] = $request->processName; } if (!Utils::isUnset($request->processUuid)) { $body['processUuid'] = $request->processUuid; } if (!Utils::isUnset($request->productCode)) { $body['productCode'] = $request->productCode; } if (!Utils::isUnset($request->productName)) { $body['productName'] = $request->productName; } if (!Utils::isUnset($request->productSpecification)) { $body['productSpecification'] = $request->productSpecification; } if (!Utils::isUnset($request->projectCode)) { $body['projectCode'] = $request->projectCode; } if (!Utils::isUnset($request->projectId)) { $body['projectId'] = $request->projectId; } if (!Utils::isUnset($request->projectStatus)) { $body['projectStatus'] = $request->projectStatus; } if (!Utils::isUnset($request->taskOperators)) { $body['taskOperators'] = $request->taskOperators; } if (!Utils::isUnset($request->taskPlanEndTime)) { $body['taskPlanEndTime'] = $request->taskPlanEndTime; } if (!Utils::isUnset($request->taskPlanStartTime)) { $body['taskPlanStartTime'] = $request->taskPlanStartTime; } if (!Utils::isUnset($request->taskStatus)) { $body['taskStatus'] = $request->taskStatus; } if (!Utils::isUnset($request->taskType)) { $body['taskType'] = $request->taskType; } if (!Utils::isUnset($request->teamId)) { $body['teamId'] = $request->teamId; } 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' => 'IndustryManufactureMesDispatchTask', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/manufacturings/dispatchTasks/manage', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustryManufactureMesDispatchTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IndustryManufactureMesDispatchTaskRequest $request * * @return IndustryManufactureMesDispatchTaskResponse */ public function industryManufactureMesDispatchTask($request) { $runtime = new RuntimeOptions([]); $headers = new IndustryManufactureMesDispatchTaskHeaders([]); return $this->industryManufactureMesDispatchTaskWithOptions($request, $headers, $runtime); } /** * @param IndustryManufactureMesMaterialRequest $request * @param IndustryManufactureMesMaterialHeaders $headers * @param RuntimeOptions $runtime * * @return IndustryManufactureMesMaterialResponse */ public function industryManufactureMesMaterialWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->appKey)) { $body['appKey'] = $request->appKey; } if (!Utils::isUnset($request->baseDataName)) { $body['baseDataName'] = $request->baseDataName; } if (!Utils::isUnset($request->category)) { $body['category'] = $request->category; } if (!Utils::isUnset($request->extendData)) { $body['extendData'] = $request->extendData; } if (!Utils::isUnset($request->productCode)) { $body['productCode'] = $request->productCode; } if (!Utils::isUnset($request->productName)) { $body['productName'] = $request->productName; } if (!Utils::isUnset($request->productSpecification)) { $body['productSpecification'] = $request->productSpecification; } if (!Utils::isUnset($request->prop)) { $body['prop'] = $request->prop; } if (!Utils::isUnset($request->unit)) { $body['unit'] = $request->unit; } 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' => 'IndustryManufactureMesMaterial', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/manufacturings/materials/manage', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustryManufactureMesMaterialResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IndustryManufactureMesMaterialRequest $request * * @return IndustryManufactureMesMaterialResponse */ public function industryManufactureMesMaterial($request) { $runtime = new RuntimeOptions([]); $headers = new IndustryManufactureMesMaterialHeaders([]); return $this->industryManufactureMesMaterialWithOptions($request, $headers, $runtime); } /** * @param IndustryManufactureMesOutPlanRequest $request * @param IndustryManufactureMesOutPlanHeaders $headers * @param RuntimeOptions $runtime * * @return IndustryManufactureMesOutPlanResponse */ public function industryManufactureMesOutPlanWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->approvalStatus)) { $body['approvalStatus'] = $request->approvalStatus; } if (!Utils::isUnset($request->approver)) { $body['approver'] = $request->approver; } if (!Utils::isUnset($request->baseDataName)) { $body['baseDataName'] = $request->baseDataName; } if (!Utils::isUnset($request->outSourceProjectCode)) { $body['outSourceProjectCode'] = $request->outSourceProjectCode; } if (!Utils::isUnset($request->outSourceTeamId)) { $body['outSourceTeamId'] = $request->outSourceTeamId; } if (!Utils::isUnset($request->price)) { $body['price'] = $request->price; } if (!Utils::isUnset($request->processIdentificationCode)) { $body['processIdentificationCode'] = $request->processIdentificationCode; } if (!Utils::isUnset($request->processUuids)) { $body['processUuids'] = $request->processUuids; } if (!Utils::isUnset($request->productCode)) { $body['productCode'] = $request->productCode; } if (!Utils::isUnset($request->productName)) { $body['productName'] = $request->productName; } if (!Utils::isUnset($request->productSpecification)) { $body['productSpecification'] = $request->productSpecification; } if (!Utils::isUnset($request->projectCode)) { $body['projectCode'] = $request->projectCode; } if (!Utils::isUnset($request->projectId)) { $body['projectId'] = $request->projectId; } if (!Utils::isUnset($request->sendPlanQuantity)) { $body['sendPlanQuantity'] = $request->sendPlanQuantity; } if (!Utils::isUnset($request->supplierCode)) { $body['supplierCode'] = $request->supplierCode; } if (!Utils::isUnset($request->supplierName)) { $body['supplierName'] = $request->supplierName; } if (!Utils::isUnset($request->totalWage)) { $body['totalWage'] = $request->totalWage; } 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' => 'IndustryManufactureMesOutPlan', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/manufacturings/outPlans/manage', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustryManufactureMesOutPlanResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IndustryManufactureMesOutPlanRequest $request * * @return IndustryManufactureMesOutPlanResponse */ public function industryManufactureMesOutPlan($request) { $runtime = new RuntimeOptions([]); $headers = new IndustryManufactureMesOutPlanHeaders([]); return $this->industryManufactureMesOutPlanWithOptions($request, $headers, $runtime); } /** * @param IndustryManufactureMesOutputRequest $request * @param IndustryManufactureMesOutputHeaders $headers * @param RuntimeOptions $runtime * * @return IndustryManufactureMesOutputResponse */ public function industryManufactureMesOutputWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->appKey)) { $body['appKey'] = $request->appKey; } if (!Utils::isUnset($request->approveStatus)) { $body['approveStatus'] = $request->approveStatus; } if (!Utils::isUnset($request->baseDataName)) { $body['baseDataName'] = $request->baseDataName; } if (!Utils::isUnset($request->defectsAmount)) { $body['defectsAmount'] = $request->defectsAmount; } if (!Utils::isUnset($request->defectsReason)) { $body['defectsReason'] = $request->defectsReason; } if (!Utils::isUnset($request->fineAmount)) { $body['fineAmount'] = $request->fineAmount; } if (!Utils::isUnset($request->hasQualityTest)) { $body['hasQualityTest'] = $request->hasQualityTest; } if (!Utils::isUnset($request->overdue)) { $body['overdue'] = $request->overdue; } if (!Utils::isUnset($request->planQuantity)) { $body['planQuantity'] = $request->planQuantity; } if (!Utils::isUnset($request->priority)) { $body['priority'] = $request->priority; } if (!Utils::isUnset($request->processName)) { $body['processName'] = $request->processName; } if (!Utils::isUnset($request->processUuid)) { $body['processUuid'] = $request->processUuid; } if (!Utils::isUnset($request->productCode)) { $body['productCode'] = $request->productCode; } if (!Utils::isUnset($request->productName)) { $body['productName'] = $request->productName; } if (!Utils::isUnset($request->productSpecification)) { $body['productSpecification'] = $request->productSpecification; } if (!Utils::isUnset($request->projectCode)) { $body['projectCode'] = $request->projectCode; } if (!Utils::isUnset($request->projectId)) { $body['projectId'] = $request->projectId; } if (!Utils::isUnset($request->projectStatus)) { $body['projectStatus'] = $request->projectStatus; } if (!Utils::isUnset($request->qualityTestStatus)) { $body['qualityTestStatus'] = $request->qualityTestStatus; } if (!Utils::isUnset($request->taskPlanEndTime)) { $body['taskPlanEndTime'] = $request->taskPlanEndTime; } if (!Utils::isUnset($request->taskPlanStartTime)) { $body['taskPlanStartTime'] = $request->taskPlanStartTime; } if (!Utils::isUnset($request->taskStatus)) { $body['taskStatus'] = $request->taskStatus; } if (!Utils::isUnset($request->taskType)) { $body['taskType'] = $request->taskType; } if (!Utils::isUnset($request->taskUuid)) { $body['taskUuid'] = $request->taskUuid; } if (!Utils::isUnset($request->teamId)) { $body['teamId'] = $request->teamId; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->userName)) { $body['userName'] = $request->userName; } 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' => 'IndustryManufactureMesOutput', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/manufacturings/outputs/manage', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustryManufactureMesOutputResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IndustryManufactureMesOutputRequest $request * * @return IndustryManufactureMesOutputResponse */ public function industryManufactureMesOutput($request) { $runtime = new RuntimeOptions([]); $headers = new IndustryManufactureMesOutputHeaders([]); return $this->industryManufactureMesOutputWithOptions($request, $headers, $runtime); } /** * @param IndustryManufactureMesProcessRequest $request * @param IndustryManufactureMesProcessHeaders $headers * @param RuntimeOptions $runtime * * @return IndustryManufactureMesProcessResponse */ public function industryManufactureMesProcessWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->appKey)) { $body['appKey'] = $request->appKey; } if (!Utils::isUnset($request->baseDataName)) { $body['baseDataName'] = $request->baseDataName; } if (!Utils::isUnset($request->extendData)) { $body['extendData'] = $request->extendData; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->needDispatch)) { $body['needDispatch'] = $request->needDispatch; } if (!Utils::isUnset($request->needQualityTest)) { $body['needQualityTest'] = $request->needQualityTest; } if (!Utils::isUnset($request->no)) { $body['no'] = $request->no; } if (!Utils::isUnset($request->price)) { $body['price'] = $request->price; } if (!Utils::isUnset($request->prop)) { $body['prop'] = $request->prop; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->sop)) { $body['sop'] = $request->sop; } 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' => 'IndustryManufactureMesProcess', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/manufacturings/processes/manage', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustryManufactureMesProcessResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IndustryManufactureMesProcessRequest $request * * @return IndustryManufactureMesProcessResponse */ public function industryManufactureMesProcess($request) { $runtime = new RuntimeOptions([]); $headers = new IndustryManufactureMesProcessHeaders([]); return $this->industryManufactureMesProcessWithOptions($request, $headers, $runtime); } /** * @param IndustryManufactureMesProductionPlanRequest $request * @param IndustryManufactureMesProductionPlanHeaders $headers * @param RuntimeOptions $runtime * * @return IndustryManufactureMesProductionPlanResponse */ public function industryManufactureMesProductionPlanWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->actualEndTime)) { $body['actualEndTime'] = $request->actualEndTime; } if (!Utils::isUnset($request->actualStartTime)) { $body['actualStartTime'] = $request->actualStartTime; } if (!Utils::isUnset($request->appKey)) { $body['appKey'] = $request->appKey; } if (!Utils::isUnset($request->baseDataName)) { $body['baseDataName'] = $request->baseDataName; } if (!Utils::isUnset($request->bomUuid)) { $body['bomUuid'] = $request->bomUuid; } if (!Utils::isUnset($request->events)) { $body['events'] = $request->events; } if (!Utils::isUnset($request->extendData)) { $body['extendData'] = $request->extendData; } if (!Utils::isUnset($request->no)) { $body['no'] = $request->no; } if (!Utils::isUnset($request->overdue)) { $body['overdue'] = $request->overdue; } if (!Utils::isUnset($request->planEndTime)) { $body['planEndTime'] = $request->planEndTime; } if (!Utils::isUnset($request->planQuantity)) { $body['planQuantity'] = $request->planQuantity; } if (!Utils::isUnset($request->planStartTime)) { $body['planStartTime'] = $request->planStartTime; } if (!Utils::isUnset($request->processUuids)) { $body['processUuids'] = $request->processUuids; } if (!Utils::isUnset($request->productCode)) { $body['productCode'] = $request->productCode; } if (!Utils::isUnset($request->productName)) { $body['productName'] = $request->productName; } if (!Utils::isUnset($request->productSpecification)) { $body['productSpecification'] = $request->productSpecification; } if (!Utils::isUnset($request->qualifiedQuantity)) { $body['qualifiedQuantity'] = $request->qualifiedQuantity; } if (!Utils::isUnset($request->sellOrderNo)) { $body['sellOrderNo'] = $request->sellOrderNo; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } if (!Utils::isUnset($request->teamList)) { $body['teamList'] = $request->teamList; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } if (!Utils::isUnset($request->unit)) { $body['unit'] = $request->unit; } 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' => 'IndustryManufactureMesProductionPlan', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/manufacturings/productionPlans/manage', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustryManufactureMesProductionPlanResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IndustryManufactureMesProductionPlanRequest $request * * @return IndustryManufactureMesProductionPlanResponse */ public function industryManufactureMesProductionPlan($request) { $runtime = new RuntimeOptions([]); $headers = new IndustryManufactureMesProductionPlanHeaders([]); return $this->industryManufactureMesProductionPlanWithOptions($request, $headers, $runtime); } /** * @param IndustryManufactureMesSubCooperationTeamRequest $request * @param IndustryManufactureMesSubCooperationTeamHeaders $headers * @param RuntimeOptions $runtime * * @return IndustryManufactureMesSubCooperationTeamResponse */ public function industryManufactureMesSubCooperationTeamWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->appKey)) { $body['appKey'] = $request->appKey; } if (!Utils::isUnset($request->baseDataName)) { $body['baseDataName'] = $request->baseDataName; } if (!Utils::isUnset($request->events)) { $body['events'] = $request->events; } if (!Utils::isUnset($request->extendData)) { $body['extendData'] = $request->extendData; } if (!Utils::isUnset($request->groupPlugins)) { $body['groupPlugins'] = $request->groupPlugins; } if (!Utils::isUnset($request->groupType)) { $body['groupType'] = $request->groupType; } if (!Utils::isUnset($request->leaders)) { $body['leaders'] = $request->leaders; } if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->outCorpId)) { $body['outCorpId'] = $request->outCorpId; } if (!Utils::isUnset($request->processIds)) { $body['processIds'] = $request->processIds; } 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' => 'IndustryManufactureMesSubCooperationTeam', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/manufacturings/outTeams/manage', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustryManufactureMesSubCooperationTeamResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IndustryManufactureMesSubCooperationTeamRequest $request * * @return IndustryManufactureMesSubCooperationTeamResponse */ public function industryManufactureMesSubCooperationTeam($request) { $runtime = new RuntimeOptions([]); $headers = new IndustryManufactureMesSubCooperationTeamHeaders([]); return $this->industryManufactureMesSubCooperationTeamWithOptions($request, $headers, $runtime); } /** * @param IndustryManufactureMesTeamMgmtRequest $request * @param IndustryManufactureMesTeamMgmtHeaders $headers * @param RuntimeOptions $runtime * * @return IndustryManufactureMesTeamMgmtResponse */ public function industryManufactureMesTeamMgmtWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->appKey)) { $body['appKey'] = $request->appKey; } if (!Utils::isUnset($request->baseDataName)) { $body['baseDataName'] = $request->baseDataName; } if (!Utils::isUnset($request->events)) { $body['events'] = $request->events; } if (!Utils::isUnset($request->extendData)) { $body['extendData'] = $request->extendData; } if (!Utils::isUnset($request->groupConfig)) { $body['groupConfig'] = $request->groupConfig; } if (!Utils::isUnset($request->groupPlugins)) { $body['groupPlugins'] = $request->groupPlugins; } if (!Utils::isUnset($request->groupType)) { $body['groupType'] = $request->groupType; } if (!Utils::isUnset($request->id)) { $body['id'] = $request->id; } if (!Utils::isUnset($request->leaders)) { $body['leaders'] = $request->leaders; } if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->processIds)) { $body['processIds'] = $request->processIds; } if (!Utils::isUnset($request->tagKey)) { $body['tagKey'] = $request->tagKey; } if (!Utils::isUnset($request->tagValues)) { $body['tagValues'] = $request->tagValues; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'IndustryManufactureMesTeamMgmt', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/manufacturing/base/data/team', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustryManufactureMesTeamMgmtResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IndustryManufactureMesTeamMgmtRequest $request * * @return IndustryManufactureMesTeamMgmtResponse */ public function industryManufactureMesTeamMgmt($request) { $runtime = new RuntimeOptions([]); $headers = new IndustryManufactureMesTeamMgmtHeaders([]); return $this->industryManufactureMesTeamMgmtWithOptions($request, $headers, $runtime); } /** * @param IndustryMmanufactureMaterialCostGetRequest $request * @param IndustryMmanufactureMaterialCostGetHeaders $headers * @param RuntimeOptions $runtime * * @return IndustryMmanufactureMaterialCostGetResponse */ public function industryMmanufactureMaterialCostGetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appId)) { $body['appId'] = $request->appId; } if (!Utils::isUnset($request->appIds)) { $body['appIds'] = $request->appIds; } if (!Utils::isUnset($request->appName)) { $body['appName'] = $request->appName; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->cursor)) { $body['cursor'] = $request->cursor; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->instanceId)) { $body['instanceId'] = $request->instanceId; } if (!Utils::isUnset($request->isvOrgId)) { $body['isvOrgId'] = $request->isvOrgId; } if (!Utils::isUnset($request->materialNo)) { $body['materialNo'] = $request->materialNo; } if (!Utils::isUnset($request->microappAgentId)) { $body['microappAgentId'] = $request->microappAgentId; } if (!Utils::isUnset($request->orgId)) { $body['orgId'] = $request->orgId; } 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->suiteKey)) { $body['suiteKey'] = $request->suiteKey; } if (!Utils::isUnset($request->tokenGrantType)) { $body['tokenGrantType'] = $request->tokenGrantType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'IndustryMmanufactureMaterialCostGet', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/manufactures/base/materialCosts/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustryMmanufactureMaterialCostGetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IndustryMmanufactureMaterialCostGetRequest $request * * @return IndustryMmanufactureMaterialCostGetResponse */ public function industryMmanufactureMaterialCostGet($request) { $runtime = new RuntimeOptions([]); $headers = new IndustryMmanufactureMaterialCostGetHeaders([]); return $this->industryMmanufactureMaterialCostGetWithOptions($request, $headers, $runtime); } /** * @param PushDingMessageRequest $request * @param PushDingMessageHeaders $headers * @param RuntimeOptions $runtime * * @return PushDingMessageResponse */ public function pushDingMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appId)) { $body['appId'] = $request->appId; } if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->messageType)) { $body['messageType'] = $request->messageType; } if (!Utils::isUnset($request->messageUrl)) { $body['messageUrl'] = $request->messageUrl; } if (!Utils::isUnset($request->pictureUrl)) { $body['pictureUrl'] = $request->pictureUrl; } if (!Utils::isUnset($request->singleTitle)) { $body['singleTitle'] = $request->singleTitle; } if (!Utils::isUnset($request->singleUrl)) { $body['singleUrl'] = $request->singleUrl; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } 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' => 'PushDingMessage', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/works/notice', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PushDingMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PushDingMessageRequest $request * * @return PushDingMessageResponse */ public function pushDingMessage($request) { $runtime = new RuntimeOptions([]); $headers = new PushDingMessageHeaders([]); return $this->pushDingMessageWithOptions($request, $headers, $runtime); } /** * @param QueryAllDepartmentRequest $request * @param QueryAllDepartmentHeaders $headers * @param RuntimeOptions $runtime * * @return QueryAllDepartmentResponse */ public function queryAllDepartmentWithOptions($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' => 'QueryAllDepartment', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/departments', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAllDepartmentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryAllDepartmentRequest $request * * @return QueryAllDepartmentResponse */ public function queryAllDepartment($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAllDepartmentHeaders([]); return $this->queryAllDepartmentWithOptions($request, $headers, $runtime); } /** * @param QueryAllDoctorsRequest $request * @param QueryAllDoctorsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryAllDoctorsResponse */ public function queryAllDoctorsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->monthMark)) { $query['monthMark'] = $request->monthMark; } if (!Utils::isUnset($request->pageNum)) { $query['pageNum'] = $request->pageNum; } 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' => 'QueryAllDoctors', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/doctors', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAllDoctorsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryAllDoctorsRequest $request * * @return QueryAllDoctorsResponse */ public function queryAllDoctors($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAllDoctorsHeaders([]); return $this->queryAllDoctorsWithOptions($request, $headers, $runtime); } /** * @param QueryAllGroupRequest $request * @param QueryAllGroupHeaders $headers * @param RuntimeOptions $runtime * * @return QueryAllGroupResponse */ public function queryAllGroupWithOptions($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' => 'QueryAllGroup', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/groups', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAllGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryAllGroupRequest $request * * @return QueryAllGroupResponse */ public function queryAllGroup($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAllGroupHeaders([]); return $this->queryAllGroupWithOptions($request, $headers, $runtime); } /** * @param string $deptId * @param QueryAllGroupsInDeptRequest $request * @param QueryAllGroupsInDeptHeaders $headers * @param RuntimeOptions $runtime * * @return QueryAllGroupsInDeptResponse */ public function queryAllGroupsInDeptWithOptions($deptId, $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' => 'QueryAllGroupsInDept', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/departments/' . $deptId . '/groups', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAllGroupsInDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $deptId * @param QueryAllGroupsInDeptRequest $request * * @return QueryAllGroupsInDeptResponse */ public function queryAllGroupsInDept($deptId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryAllGroupsInDeptHeaders([]); return $this->queryAllGroupsInDeptWithOptions($deptId, $request, $headers, $runtime); } /** * @param string $deptId * @param QueryAllMemberByDeptRequest $request * @param QueryAllMemberByDeptHeaders $headers * @param RuntimeOptions $runtime * * @return QueryAllMemberByDeptResponse */ public function queryAllMemberByDeptWithOptions($deptId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->monthMark)) { $query['monthMark'] = $request->monthMark; } 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' => 'QueryAllMemberByDept', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/departments/' . $deptId . '/members', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAllMemberByDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $deptId * @param QueryAllMemberByDeptRequest $request * * @return QueryAllMemberByDeptResponse */ public function queryAllMemberByDept($deptId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryAllMemberByDeptHeaders([]); return $this->queryAllMemberByDeptWithOptions($deptId, $request, $headers, $runtime); } /** * @param string $groupId * @param QueryAllMemberByGroupRequest $request * @param QueryAllMemberByGroupHeaders $headers * @param RuntimeOptions $runtime * * @return QueryAllMemberByGroupResponse */ public function queryAllMemberByGroupWithOptions($groupId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->monthMark)) { $query['monthMark'] = $request->monthMark; } 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' => 'QueryAllMemberByGroup', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/groups/' . $groupId . '/members', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAllMemberByGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $groupId * @param QueryAllMemberByGroupRequest $request * * @return QueryAllMemberByGroupResponse */ public function queryAllMemberByGroup($groupId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryAllMemberByGroupHeaders([]); return $this->queryAllMemberByGroupWithOptions($groupId, $request, $headers, $runtime); } /** * @param QueryBizOptLogRequest $request * @param QueryBizOptLogHeaders $headers * @param RuntimeOptions $runtime * * @return QueryBizOptLogResponse */ public function queryBizOptLogWithOptions($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' => 'QueryBizOptLog', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/bizOptLogs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryBizOptLogResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryBizOptLogRequest $request * * @return QueryBizOptLogResponse */ public function queryBizOptLog($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBizOptLogHeaders([]); return $this->queryBizOptLogWithOptions($request, $headers, $runtime); } /** * @param QueryDepartmentExtendInfoRequest $request * @param QueryDepartmentExtendInfoHeaders $headers * @param RuntimeOptions $runtime * * @return QueryDepartmentExtendInfoResponse */ public function queryDepartmentExtendInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptCode)) { $query['deptCode'] = $request->deptCode; } if (!Utils::isUnset($request->propCode)) { $query['propCode'] = $request->propCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryDepartmentExtendInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/departments/extensions/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDepartmentExtendInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryDepartmentExtendInfoRequest $request * * @return QueryDepartmentExtendInfoResponse */ public function queryDepartmentExtendInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDepartmentExtendInfoHeaders([]); return $this->queryDepartmentExtendInfoWithOptions($request, $headers, $runtime); } /** * @param string $deptId * @param QueryDepartmentInfoHeaders $headers * @param RuntimeOptions $runtime * * @return QueryDepartmentInfoResponse */ public function queryDepartmentInfoWithOptions($deptId, $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' => 'QueryDepartmentInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/departments/' . $deptId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDepartmentInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $deptId * * @return QueryDepartmentInfoResponse */ public function queryDepartmentInfo($deptId) { $runtime = new RuntimeOptions([]); $headers = new QueryDepartmentInfoHeaders([]); return $this->queryDepartmentInfoWithOptions($deptId, $headers, $runtime); } /** * @param string $jobNumber * @param QueryDoctorDetailsByJobNumberRequest $request * @param QueryDoctorDetailsByJobNumberHeaders $headers * @param RuntimeOptions $runtime * * @return QueryDoctorDetailsByJobNumberResponse */ public function queryDoctorDetailsByJobNumberWithOptions($jobNumber, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->monthMark)) { $query['monthMark'] = $request->monthMark; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryDoctorDetailsByJobNumber', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/doctors/' . $jobNumber . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDoctorDetailsByJobNumberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $jobNumber * @param QueryDoctorDetailsByJobNumberRequest $request * * @return QueryDoctorDetailsByJobNumberResponse */ public function queryDoctorDetailsByJobNumber($jobNumber, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryDoctorDetailsByJobNumberHeaders([]); return $this->queryDoctorDetailsByJobNumberWithOptions($jobNumber, $request, $headers, $runtime); } /** * @param string $groupId * @param QueryGroupInfoHeaders $headers * @param RuntimeOptions $runtime * * @return QueryGroupInfoResponse */ public function queryGroupInfoWithOptions($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' => 'QueryGroupInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/groups/' . $groupId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryGroupInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $groupId * * @return QueryGroupInfoResponse */ public function queryGroupInfo($groupId) { $runtime = new RuntimeOptions([]); $headers = new QueryGroupInfoHeaders([]); return $this->queryGroupInfoWithOptions($groupId, $headers, $runtime); } /** * @param QueryHospitalDistrictInfoRequest $request * @param QueryHospitalDistrictInfoHeaders $headers * @param RuntimeOptions $runtime * * @return QueryHospitalDistrictInfoResponse */ public function queryHospitalDistrictInfoWithOptions($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' => 'QueryHospitalDistrictInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/districts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryHospitalDistrictInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryHospitalDistrictInfoRequest $request * * @return QueryHospitalDistrictInfoResponse */ public function queryHospitalDistrictInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryHospitalDistrictInfoHeaders([]); return $this->queryHospitalDistrictInfoWithOptions($request, $headers, $runtime); } /** * @param QueryHospitalRoleUserInfoRequest $request * @param QueryHospitalRoleUserInfoHeaders $headers * @param RuntimeOptions $runtime * * @return QueryHospitalRoleUserInfoResponse */ public function queryHospitalRoleUserInfoWithOptions($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' => 'QueryHospitalRoleUserInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/roles/userInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryHospitalRoleUserInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryHospitalRoleUserInfoRequest $request * * @return QueryHospitalRoleUserInfoResponse */ public function queryHospitalRoleUserInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryHospitalRoleUserInfoHeaders([]); return $this->queryHospitalRoleUserInfoWithOptions($request, $headers, $runtime); } /** * @param QueryHospitalRolesHeaders $headers * @param RuntimeOptions $runtime * * @return QueryHospitalRolesResponse */ public function queryHospitalRolesWithOptions($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' => 'QueryHospitalRoles', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/roles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryHospitalRolesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return QueryHospitalRolesResponse */ public function queryHospitalRoles() { $runtime = new RuntimeOptions([]); $headers = new QueryHospitalRolesHeaders([]); return $this->queryHospitalRolesWithOptions($headers, $runtime); } /** * @param QueryJobCodeDictionaryHeaders $headers * @param RuntimeOptions $runtime * * @return QueryJobCodeDictionaryResponse */ public function queryJobCodeDictionaryWithOptions($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' => 'QueryJobCodeDictionary', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/jobCodes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryJobCodeDictionaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return QueryJobCodeDictionaryResponse */ public function queryJobCodeDictionary() { $runtime = new RuntimeOptions([]); $headers = new QueryJobCodeDictionaryHeaders([]); return $this->queryJobCodeDictionaryWithOptions($headers, $runtime); } /** * @param QueryJobStatusCodeDictionaryHeaders $headers * @param RuntimeOptions $runtime * * @return QueryJobStatusCodeDictionaryResponse */ public function queryJobStatusCodeDictionaryWithOptions($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' => 'QueryJobStatusCodeDictionary', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/jobStatusCodes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryJobStatusCodeDictionaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return QueryJobStatusCodeDictionaryResponse */ public function queryJobStatusCodeDictionary() { $runtime = new RuntimeOptions([]); $headers = new QueryJobStatusCodeDictionaryHeaders([]); return $this->queryJobStatusCodeDictionaryWithOptions($headers, $runtime); } /** * @param QueryMedicalEventsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryMedicalEventsResponse */ public function queryMedicalEventsWithOptions($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' => 'QueryMedicalEvents', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/events', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryMedicalEventsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return QueryMedicalEventsResponse */ public function queryMedicalEvents() { $runtime = new RuntimeOptions([]); $headers = new QueryMedicalEventsHeaders([]); return $this->queryMedicalEventsWithOptions($headers, $runtime); } /** * @param QueryUserCredentialsRequest $request * @param QueryUserCredentialsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUserCredentialsResponse */ public function queryUserCredentialsWithOptions($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' => 'QueryUserCredentials', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/users/credentials/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUserCredentialsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryUserCredentialsRequest $request * * @return QueryUserCredentialsResponse */ public function queryUserCredentials($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUserCredentialsHeaders([]); return $this->queryUserCredentialsWithOptions($request, $headers, $runtime); } /** * @param string $userId * @param QueryUserExtInfoHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUserExtInfoResponse */ public function queryUserExtInfoWithOptions($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' => 'QueryUserExtInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/users/' . $userId . '/extInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUserExtInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * * @return QueryUserExtInfoResponse */ public function queryUserExtInfo($userId) { $runtime = new RuntimeOptions([]); $headers = new QueryUserExtInfoHeaders([]); return $this->queryUserExtInfoWithOptions($userId, $headers, $runtime); } /** * @param QueryUserExtendValuesRequest $request * @param QueryUserExtendValuesHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUserExtendValuesResponse */ public function queryUserExtendValuesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->userExtendKey)) { $body['userExtendKey'] = $request->userExtendKey; } 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' => 'QueryUserExtendValues', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/users/extends/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUserExtendValuesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryUserExtendValuesRequest $request * * @return QueryUserExtendValuesResponse */ public function queryUserExtendValues($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUserExtendValuesHeaders([]); return $this->queryUserExtendValuesWithOptions($request, $headers, $runtime); } /** * @param string $userId * @param QueryUserInfoRequest $request * @param QueryUserInfoHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUserInfoResponse */ public function queryUserInfoWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->monthMark)) { $query['monthMark'] = $request->monthMark; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryUserInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/users/' . $userId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUserInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param QueryUserInfoRequest $request * * @return QueryUserInfoResponse */ public function queryUserInfo($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryUserInfoHeaders([]); return $this->queryUserInfoWithOptions($userId, $request, $headers, $runtime); } /** * @param QueryUserProbCodeDictionaryHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUserProbCodeDictionaryResponse */ public function queryUserProbCodeDictionaryWithOptions($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' => 'QueryUserProbCodeDictionary', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/userProbCodes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryUserProbCodeDictionaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return QueryUserProbCodeDictionaryResponse */ public function queryUserProbCodeDictionary() { $runtime = new RuntimeOptions([]); $headers = new QueryUserProbCodeDictionaryHeaders([]); return $this->queryUserProbCodeDictionaryWithOptions($headers, $runtime); } /** * @param string $userId * @param QueryUserRolesHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUserRolesResponse */ public function queryUserRolesWithOptions($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' => 'QueryUserRoles', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/users/' . $userId . '/roles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryUserRolesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * * @return QueryUserRolesResponse */ public function queryUserRoles($userId) { $runtime = new RuntimeOptions([]); $headers = new QueryUserRolesHeaders([]); return $this->queryUserRolesWithOptions($userId, $headers, $runtime); } /** * @param string $userId * @param SaveUserExtendValuesRequest $request * @param SaveUserExtendValuesHeaders $headers * @param RuntimeOptions $runtime * * @return SaveUserExtendValuesResponse */ public function saveUserExtendValuesWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userDisplayName)) { $query['userDisplayName'] = $request->userDisplayName; } if (!Utils::isUnset($request->userExtendKey)) { $query['userExtendKey'] = $request->userExtendKey; } if (!Utils::isUnset($request->userExtendValue)) { $query['userExtendValue'] = $request->userExtendValue; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SaveUserExtendValues', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/users/' . $userId . '/extends', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveUserExtendValuesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param SaveUserExtendValuesRequest $request * * @return SaveUserExtendValuesResponse */ public function saveUserExtendValues($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new SaveUserExtendValuesHeaders([]); return $this->saveUserExtendValuesWithOptions($userId, $request, $headers, $runtime); } /** * @param SupplAddRoleRequest $request * @param SupplAddRoleHeaders $headers * @param RuntimeOptions $runtime * * @return SupplAddRoleResponse */ public function supplAddRoleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->parentRoleGroupId)) { $query['parentRoleGroupId'] = $request->parentRoleGroupId; } if (!Utils::isUnset($request->roleName)) { $query['roleName'] = $request->roleName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplAddRole', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/roles', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplAddRoleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplAddRoleRequest $request * * @return SupplAddRoleResponse */ public function supplAddRole($request) { $runtime = new RuntimeOptions([]); $headers = new SupplAddRoleHeaders([]); return $this->supplAddRoleWithOptions($request, $headers, $runtime); } /** * @param SupplyAddDeptRequest $request * @param SupplyAddDeptHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyAddDeptResponse */ public function supplyAddDeptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptName)) { $query['deptName'] = $request->deptName; } if (!Utils::isUnset($request->partnerNumber)) { $query['partnerNumber'] = $request->partnerNumber; } if (!Utils::isUnset($request->superDeptId)) { $query['superDeptId'] = $request->superDeptId; } if (!Utils::isUnset($request->supplyDeptType)) { $query['supplyDeptType'] = $request->supplyDeptType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyAddDept', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/departments', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyAddDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyAddDeptRequest $request * * @return SupplyAddDeptResponse */ public function supplyAddDept($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyAddDeptHeaders([]); return $this->supplyAddDeptWithOptions($request, $headers, $runtime); } /** * @param SupplyAddMemberRequest $request * @param SupplyAddMemberHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyAddMemberResponse */ public function supplyAddMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->isPartnerManager)) { $query['isPartnerManager'] = $request->isPartnerManager; } if (!Utils::isUnset($request->memberMobile)) { $query['memberMobile'] = $request->memberMobile; } if (!Utils::isUnset($request->memberName)) { $query['memberName'] = $request->memberName; } if (!Utils::isUnset($request->memberTitle)) { $query['memberTitle'] = $request->memberTitle; } if (!Utils::isUnset($request->memberWorkNumber)) { $query['memberWorkNumber'] = $request->memberWorkNumber; } if (!Utils::isUnset($request->supplyDeptId)) { $query['supplyDeptId'] = $request->supplyDeptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyAddMember', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/members', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyAddMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyAddMemberRequest $request * * @return SupplyAddMemberResponse */ public function supplyAddMember($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyAddMemberHeaders([]); return $this->supplyAddMemberWithOptions($request, $headers, $runtime); } /** * @param SupplyAddPartnerAdminsRequest $request * @param SupplyAddPartnerAdminsHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyAddPartnerAdminsResponse */ public function supplyAddPartnerAdminsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } 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' => 'SupplyAddPartnerAdmins', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/partnerAdministrators', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyAddPartnerAdminsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyAddPartnerAdminsRequest $request * * @return SupplyAddPartnerAdminsResponse */ public function supplyAddPartnerAdmins($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyAddPartnerAdminsHeaders([]); return $this->supplyAddPartnerAdminsWithOptions($request, $headers, $runtime); } /** * @param SupplyAddPartnerManagersRequest $request * @param SupplyAddPartnerManagersHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyAddPartnerManagersResponse */ public function supplyAddPartnerManagersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } if (!Utils::isUnset($request->interfaceId)) { $query['interfaceId'] = $request->interfaceId; } if (!Utils::isUnset($request->interfaceType)) { $query['interfaceType'] = $request->interfaceType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyAddPartnerManagers', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/partnerInterfaces', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyAddPartnerManagersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyAddPartnerManagersRequest $request * * @return SupplyAddPartnerManagersResponse */ public function supplyAddPartnerManagers($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyAddPartnerManagersHeaders([]); return $this->supplyAddPartnerManagersWithOptions($request, $headers, $runtime); } /** * @param SupplyAddPartnerTypeRequest $request * @param SupplyAddPartnerTypeHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyAddPartnerTypeResponse */ public function supplyAddPartnerTypeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->name)) { $query['name'] = $request->name; } if (!Utils::isUnset($request->superId)) { $query['superId'] = $request->superId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyAddPartnerType', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/partnerLabels', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyAddPartnerTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyAddPartnerTypeRequest $request * * @return SupplyAddPartnerTypeResponse */ public function supplyAddPartnerType($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyAddPartnerTypeHeaders([]); return $this->supplyAddPartnerTypeWithOptions($request, $headers, $runtime); } /** * @param SupplyChainDeleteDeptRequest $request * @param SupplyChainDeleteDeptHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyChainDeleteDeptResponse */ public function supplyChainDeleteDeptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->supplyDeptId)) { $query['supplyDeptId'] = $request->supplyDeptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyChainDeleteDept', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/departments', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyChainDeleteDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyChainDeleteDeptRequest $request * * @return SupplyChainDeleteDeptResponse */ public function supplyChainDeleteDept($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyChainDeleteDeptHeaders([]); return $this->supplyChainDeleteDeptWithOptions($request, $headers, $runtime); } /** * @param SupplyChainQueryDeptInfoRequest $request * @param SupplyChainQueryDeptInfoHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyChainQueryDeptInfoResponse */ public function supplyChainQueryDeptInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->supplyDeptId)) { $query['supplyDeptId'] = $request->supplyDeptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyChainQueryDeptInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/departments', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyChainQueryDeptInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyChainQueryDeptInfoRequest $request * * @return SupplyChainQueryDeptInfoResponse */ public function supplyChainQueryDeptInfo($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyChainQueryDeptInfoHeaders([]); return $this->supplyChainQueryDeptInfoWithOptions($request, $headers, $runtime); } /** * @param SupplyChainUpdateDeptInfoRequest $request * @param SupplyChainUpdateDeptInfoHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyChainUpdateDeptInfoResponse */ public function supplyChainUpdateDeptInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->partnerNumber)) { $body['partnerNumber'] = $request->partnerNumber; } if (!Utils::isUnset($request->partnerTypeList)) { $body['partnerTypeList'] = $request->partnerTypeList; } if (!Utils::isUnset($request->superId)) { $body['superId'] = $request->superId; } if (!Utils::isUnset($request->supplyDeptId)) { $body['supplyDeptId'] = $request->supplyDeptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SupplyChainUpdateDeptInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/departments', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyChainUpdateDeptInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyChainUpdateDeptInfoRequest $request * * @return SupplyChainUpdateDeptInfoResponse */ public function supplyChainUpdateDeptInfo($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyChainUpdateDeptInfoHeaders([]); return $this->supplyChainUpdateDeptInfoWithOptions($request, $headers, $runtime); } /** * @param SupplyDeleteMemberRequest $request * @param SupplyDeleteMemberHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyDeleteMemberResponse */ public function supplyDeleteMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } if (!Utils::isUnset($request->mobile)) { $query['mobile'] = $request->mobile; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } 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' => 'SupplyDeleteMember', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/members', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyDeleteMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyDeleteMemberRequest $request * * @return SupplyDeleteMemberResponse */ public function supplyDeleteMember($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyDeleteMemberHeaders([]); return $this->supplyDeleteMemberWithOptions($request, $headers, $runtime); } /** * @param SupplyDeletePartnerAdminsRequest $request * @param SupplyDeletePartnerAdminsHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyDeletePartnerAdminsResponse */ public function supplyDeletePartnerAdminsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } 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' => 'SupplyDeletePartnerAdmins', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/partnerAdministrators', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyDeletePartnerAdminsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyDeletePartnerAdminsRequest $request * * @return SupplyDeletePartnerAdminsResponse */ public function supplyDeletePartnerAdmins($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyDeletePartnerAdminsHeaders([]); return $this->supplyDeletePartnerAdminsWithOptions($request, $headers, $runtime); } /** * @param SupplyDeletePartnerManagersRequest $request * @param SupplyDeletePartnerManagersHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyDeletePartnerManagersResponse */ public function supplyDeletePartnerManagersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } if (!Utils::isUnset($request->interfaceId)) { $query['interfaceId'] = $request->interfaceId; } if (!Utils::isUnset($request->interfaceType)) { $query['interfaceType'] = $request->interfaceType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyDeletePartnerManagers', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/partnerInterfaces', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyDeletePartnerManagersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyDeletePartnerManagersRequest $request * * @return SupplyDeletePartnerManagersResponse */ public function supplyDeletePartnerManagers($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyDeletePartnerManagersHeaders([]); return $this->supplyDeletePartnerManagersWithOptions($request, $headers, $runtime); } /** * @param SupplyDeletePartnerTypeRequest $request * @param SupplyDeletePartnerTypeHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyDeletePartnerTypeResponse */ public function supplyDeletePartnerTypeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->labelId)) { $query['labelId'] = $request->labelId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyDeletePartnerType', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/partnerLabels', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyDeletePartnerTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyDeletePartnerTypeRequest $request * * @return SupplyDeletePartnerTypeResponse */ public function supplyDeletePartnerType($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyDeletePartnerTypeHeaders([]); return $this->supplyDeletePartnerTypeWithOptions($request, $headers, $runtime); } /** * @param SupplyDeleteRoleRequest $request * @param SupplyDeleteRoleHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyDeleteRoleResponse */ public function supplyDeleteRoleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->isRoleGroup)) { $query['isRoleGroup'] = $request->isRoleGroup; } if (!Utils::isUnset($request->roleId)) { $query['roleId'] = $request->roleId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyDeleteRole', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/roles', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyDeleteRoleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyDeleteRoleRequest $request * * @return SupplyDeleteRoleResponse */ public function supplyDeleteRole($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyDeleteRoleHeaders([]); return $this->supplyDeleteRoleWithOptions($request, $headers, $runtime); } /** * @param SupplyGetMemberRequest $request * @param SupplyGetMemberHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyGetMemberResponse */ public function supplyGetMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->mobile)) { $query['mobile'] = $request->mobile; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } 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' => 'SupplyGetMember', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/members', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyGetMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyGetMemberRequest $request * * @return SupplyGetMemberResponse */ public function supplyGetMember($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyGetMemberHeaders([]); return $this->supplyGetMemberWithOptions($request, $headers, $runtime); } /** * @param SupplyListDeptMembersRequest $request * @param SupplyListDeptMembersHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyListDeptMembersResponse */ public function supplyListDeptMembersWithOptions($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->supplyDeptId)) { $query['supplyDeptId'] = $request->supplyDeptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyListDeptMembers', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/departments/members', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyListDeptMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyListDeptMembersRequest $request * * @return SupplyListDeptMembersResponse */ public function supplyListDeptMembers($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyListDeptMembersHeaders([]); return $this->supplyListDeptMembersWithOptions($request, $headers, $runtime); } /** * @param SupplyListPartnerAdminsRequest $request * @param SupplyListPartnerAdminsHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyListPartnerAdminsResponse */ public function supplyListPartnerAdminsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyListPartnerAdmins', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/partnerAdministrators', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyListPartnerAdminsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyListPartnerAdminsRequest $request * * @return SupplyListPartnerAdminsResponse */ public function supplyListPartnerAdmins($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyListPartnerAdminsHeaders([]); return $this->supplyListPartnerAdminsWithOptions($request, $headers, $runtime); } /** * @param SupplyListPartnerManagersRequest $request * @param SupplyListPartnerManagersHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyListPartnerManagersResponse */ public function supplyListPartnerManagersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyListPartnerManagers', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/partnerInterfaces', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyListPartnerManagersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyListPartnerManagersRequest $request * * @return SupplyListPartnerManagersResponse */ public function supplyListPartnerManagers($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyListPartnerManagersHeaders([]); return $this->supplyListPartnerManagersWithOptions($request, $headers, $runtime); } /** * @param SupplyListPartnerTypeRequest $request * @param SupplyListPartnerTypeHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyListPartnerTypeResponse */ public function supplyListPartnerTypeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->labelId)) { $query['labelId'] = $request->labelId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyListPartnerType', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/partnerLabels/subLabels', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyListPartnerTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyListPartnerTypeRequest $request * * @return SupplyListPartnerTypeResponse */ public function supplyListPartnerType($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyListPartnerTypeHeaders([]); return $this->supplyListPartnerTypeWithOptions($request, $headers, $runtime); } /** * @param SupplyListRoleRequest $request * @param SupplyListRoleHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyListRoleResponse */ public function supplyListRoleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->parentRoleId)) { $query['parentRoleId'] = $request->parentRoleId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyListRole', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/roles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyListRoleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyListRoleRequest $request * * @return SupplyListRoleResponse */ public function supplyListRole($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyListRoleHeaders([]); return $this->supplyListRoleWithOptions($request, $headers, $runtime); } /** * @param SupplyListSubDeptRequest $request * @param SupplyListSubDeptHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyListSubDeptResponse */ public function supplyListSubDeptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->supplyDeptId)) { $query['supplyDeptId'] = $request->supplyDeptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyListSubDept', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/subDepartments', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyListSubDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyListSubDeptRequest $request * * @return SupplyListSubDeptResponse */ public function supplyListSubDept($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyListSubDeptHeaders([]); return $this->supplyListSubDeptWithOptions($request, $headers, $runtime); } /** * @param SupplyQueryPartnerTypeRequest $request * @param SupplyQueryPartnerTypeHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyQueryPartnerTypeResponse */ public function supplyQueryPartnerTypeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->labelId)) { $query['labelId'] = $request->labelId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyQueryPartnerType', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/partnerLabels', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyQueryPartnerTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyQueryPartnerTypeRequest $request * * @return SupplyQueryPartnerTypeResponse */ public function supplyQueryPartnerType($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyQueryPartnerTypeHeaders([]); return $this->supplyQueryPartnerTypeWithOptions($request, $headers, $runtime); } /** * @param SupplyUpdateMemberRequest $request * @param SupplyUpdateMemberHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyUpdateMemberResponse */ public function supplyUpdateMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->isCopyDept)) { $body['isCopyDept'] = $request->isCopyDept; } if (!Utils::isUnset($request->memberTitle)) { $body['memberTitle'] = $request->memberTitle; } if (!Utils::isUnset($request->memberWorkNumber)) { $body['memberWorkNumber'] = $request->memberWorkNumber; } if (!Utils::isUnset($request->mobile)) { $body['mobile'] = $request->mobile; } if (!Utils::isUnset($request->newDeptId)) { $body['newDeptId'] = $request->newDeptId; } if (!Utils::isUnset($request->oldDeptId)) { $body['oldDeptId'] = $request->oldDeptId; } if (!Utils::isUnset($request->roleIdList)) { $body['roleIdList'] = $request->roleIdList; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } 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' => 'SupplyUpdateMember', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/members', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyUpdateMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyUpdateMemberRequest $request * * @return SupplyUpdateMemberResponse */ public function supplyUpdateMember($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyUpdateMemberHeaders([]); return $this->supplyUpdateMemberWithOptions($request, $headers, $runtime); } /** * @param SupplyUpdatePartnerTypeRequest $request * @param SupplyUpdatePartnerTypeHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyUpdatePartnerTypeResponse */ public function supplyUpdatePartnerTypeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->labelId)) { $query['labelId'] = $request->labelId; } if (!Utils::isUnset($request->name)) { $query['name'] = $request->name; } if (!Utils::isUnset($request->superId)) { $query['superId'] = $request->superId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyUpdatePartnerType', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/partnerLabels', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyUpdatePartnerTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyUpdatePartnerTypeRequest $request * * @return SupplyUpdatePartnerTypeResponse */ public function supplyUpdatePartnerType($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyUpdatePartnerTypeHeaders([]); return $this->supplyUpdatePartnerTypeWithOptions($request, $headers, $runtime); } /** * @param SupplyUpdateRoleRequest $request * @param SupplyUpdateRoleHeaders $headers * @param RuntimeOptions $runtime * * @return SupplyUpdateRoleResponse */ public function supplyUpdateRoleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->isRoleGroup)) { $query['isRoleGroup'] = $request->isRoleGroup; } if (!Utils::isUnset($request->roleId)) { $query['roleId'] = $request->roleId; } if (!Utils::isUnset($request->roleName)) { $query['roleName'] = $request->roleName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SupplyUpdateRole', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/supplyChains/roles', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SupplyUpdateRoleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SupplyUpdateRoleRequest $request * * @return SupplyUpdateRoleResponse */ public function supplyUpdateRole($request) { $runtime = new RuntimeOptions([]); $headers = new SupplyUpdateRoleHeaders([]); return $this->supplyUpdateRoleWithOptions($request, $headers, $runtime); } /** * @param string $userId * @param UpdateUserExtendInfoRequest $request * @param UpdateUserExtendInfoHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateUserExtendInfoResponse */ public function updateUserExtendInfoWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->comments)) { $body['comments'] = $request->comments; } if (!Utils::isUnset($request->jobCode)) { $body['jobCode'] = $request->jobCode; } if (!Utils::isUnset($request->jobStatusCode)) { $body['jobStatusCode'] = $request->jobStatusCode; } if (!Utils::isUnset($request->userProbCode)) { $body['userProbCode'] = $request->userProbCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateUserExtendInfo', 'version' => 'industry_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/industry/medicals/users/' . $userId . '/extInfos', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateUserExtendInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param UpdateUserExtendInfoRequest $request * * @return UpdateUserExtendInfoResponse */ public function updateUserExtendInfo($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateUserExtendInfoHeaders([]); return $this->updateUserExtendInfoWithOptions($userId, $request, $headers, $runtime); } } src/industry_1_0/Models/BusinessMatchHeaders.php000064400000002332146412132660015660 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BusinessMatchHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/BusinessMatchRequest.php000064400000002641146412132660015740 0ustar00 'businessInfo', 'corpName' => 'corpName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->businessInfo) { $res['businessInfo'] = $this->businessInfo; } if (null !== $this->corpName) { $res['corpName'] = $this->corpName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return BusinessMatchRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['businessInfo'])) { $model->businessInfo = $map['businessInfo']; } if (isset($map['corpName'])) { $model->corpName = $map['corpName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/BusinessMatchResponse.php000064400000002722146412132660016106 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BusinessMatchResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BusinessMatchResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/BusinessMatchResponseBody.php000064400000001475146412132660016730 0ustar00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return BusinessMatchResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/industry_1_0/Models/BusinessMatchResultHeaders.php000064400000002346146412132660017064 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BusinessMatchResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/BusinessMatchResultRequest.php000064400000002115146412132660017133 0ustar00 'taskId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return BusinessMatchResultRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/BusinessMatchResultResponse.php000064400000002752146412132660017310 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BusinessMatchResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BusinessMatchResultResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/BusinessMatchResultResponseBody.php000064400000002611146412132660020120 0ustar00 'content', 'isMatched' => 'isMatched', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->isMatched) { $res['isMatched'] = $this->isMatched; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return BusinessMatchResultResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['isMatched'])) { $model->isMatched = $map['isMatched']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/industry_1_0/Models/CampusAddRenterMemberHeaders.php000064400000002352146412132660017263 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusAddRenterMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusAddRenterMemberRequest.php000064400000004022146412132660017334 0ustar00 'extend', 'mobile' => 'mobile', 'name' => 'name', 'renterId' => 'renterId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->renterId) { $res['renterId'] = $this->renterId; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return CampusAddRenterMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['renterId'])) { $model->renterId = $map['renterId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/industry_1_0/Models/CampusAddRenterMemberResponse.php000064400000002762146412132660017513 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusAddRenterMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusAddRenterMemberResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusAddRenterMemberResponseBody.php000064400000002622146412132660020324 0ustar00 'unionId', 'userId' => 'userId', 'userState' => 'userState', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userState) { $res['userState'] = $this->userState; } return $res; } /** * @param array $map * * @return CampusAddRenterMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userState'])) { $model->userState = $map['userState']; } return $model; } } src/industry_1_0/Models/CampusCreateCampusGroupHeaders.php000064400000002356146412132660017660 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusCreateCampusGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusCreateCampusGroupRequest.php000064400000002220146412132660017723 0ustar00 'extend', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return CampusCreateCampusGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/industry_1_0/Models/CampusCreateCampusGroupResponse.php000064400000002772146412132660020105 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusCreateCampusGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusCreateCampusGroupResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusCreateCampusGroupResponseBody.php000064400000001527146412132660020720 0ustar00 'groupId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } return $res; } /** * @param array $map * * @return CampusCreateCampusGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } return $model; } } src/industry_1_0/Models/CampusCreateCampusHeaders.php000064400000002344146412132660016640 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusCreateCampusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusCreateCampusRequest.php000064400000014303146412132660016713 0ustar00 'address', 'area' => 'area', 'belongProjectGroupId' => 'belongProjectGroupId', 'campusName' => 'campusName', 'capacity' => 'capacity', 'cityId' => 'cityId', 'country' => 'country', 'countyId' => 'countyId', 'creatorUnionId' => 'creatorUnionId', 'description' => 'description', 'extend' => 'extend', 'location' => 'location', 'orderEndTime' => 'orderEndTime', 'orderInfo' => 'orderInfo', 'orderStartTime' => 'orderStartTime', 'provId' => 'provId', 'telephone' => 'telephone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->area) { $res['area'] = $this->area; } if (null !== $this->belongProjectGroupId) { $res['belongProjectGroupId'] = $this->belongProjectGroupId; } if (null !== $this->campusName) { $res['campusName'] = $this->campusName; } if (null !== $this->capacity) { $res['capacity'] = $this->capacity; } if (null !== $this->cityId) { $res['cityId'] = $this->cityId; } if (null !== $this->country) { $res['country'] = $this->country; } if (null !== $this->countyId) { $res['countyId'] = $this->countyId; } if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->location) { $res['location'] = $this->location; } if (null !== $this->orderEndTime) { $res['orderEndTime'] = $this->orderEndTime; } if (null !== $this->orderInfo) { $res['orderInfo'] = $this->orderInfo; } if (null !== $this->orderStartTime) { $res['orderStartTime'] = $this->orderStartTime; } if (null !== $this->provId) { $res['provId'] = $this->provId; } if (null !== $this->telephone) { $res['telephone'] = $this->telephone; } return $res; } /** * @param array $map * * @return CampusCreateCampusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['area'])) { $model->area = $map['area']; } if (isset($map['belongProjectGroupId'])) { $model->belongProjectGroupId = $map['belongProjectGroupId']; } if (isset($map['campusName'])) { $model->campusName = $map['campusName']; } if (isset($map['capacity'])) { $model->capacity = $map['capacity']; } if (isset($map['cityId'])) { $model->cityId = $map['cityId']; } if (isset($map['country'])) { $model->country = $map['country']; } if (isset($map['countyId'])) { $model->countyId = $map['countyId']; } if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['location'])) { $model->location = $map['location']; } if (isset($map['orderEndTime'])) { $model->orderEndTime = $map['orderEndTime']; } if (isset($map['orderInfo'])) { $model->orderInfo = $map['orderInfo']; } if (isset($map['orderStartTime'])) { $model->orderStartTime = $map['orderStartTime']; } if (isset($map['provId'])) { $model->provId = $map['provId']; } if (isset($map['telephone'])) { $model->telephone = $map['telephone']; } return $model; } } src/industry_1_0/Models/CampusCreateCampusResponse.php000064400000002746146412132660017071 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusCreateCampusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusCreateCampusResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusCreateCampusResponseBody.php000064400000002301146412132660017672 0ustar00 'campusCorpId', 'campusDeptId' => 'campusDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->campusCorpId) { $res['campusCorpId'] = $this->campusCorpId; } if (null !== $this->campusDeptId) { $res['campusDeptId'] = $this->campusDeptId; } return $res; } /** * @param array $map * * @return CampusCreateCampusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['campusCorpId'])) { $model->campusCorpId = $map['campusCorpId']; } if (isset($map['campusDeptId'])) { $model->campusDeptId = $map['campusDeptId']; } return $model; } } src/industry_1_0/Models/CampusCreateRenterHeaders.php000064400000002344146412132660016647 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusCreateRenterHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusCreateRenterRequest.php000064400000004567146412132660016735 0ustar00 'creditCode', 'endTime' => 'endTime', 'extend' => 'extend', 'name' => 'name', 'startTime' => 'startTime', 'state' => 'state', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creditCode) { $res['creditCode'] = $this->creditCode; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->state) { $res['state'] = $this->state; } return $res; } /** * @param array $map * * @return CampusCreateRenterRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creditCode'])) { $model->creditCode = $map['creditCode']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['state'])) { $model->state = $map['state']; } return $model; } } src/industry_1_0/Models/CampusCreateRenterResponse.php000064400000002746146412132660017100 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusCreateRenterResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusCreateRenterResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusCreateRenterResponseBody.php000064400000001565146412132660017714 0ustar00 'renterId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->renterId) { $res['renterId'] = $this->renterId; } return $res; } /** * @param array $map * * @return CampusCreateRenterResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['renterId'])) { $model->renterId = $map['renterId']; } return $model; } } src/industry_1_0/Models/CampusDelRenterMemberHeaders.php000064400000002352146412132660017277 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusDelRenterMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusDelRenterMemberRequest.php000064400000002254146412132660017355 0ustar00 'renterId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->renterId) { $res['renterId'] = $this->renterId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return CampusDelRenterMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['renterId'])) { $model->renterId = $map['renterId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/industry_1_0/Models/CampusDelRenterMemberResponse.php000064400000002762146412132660017527 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusDelRenterMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusDelRenterMemberResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusDelRenterMemberResponseBody.php000064400000001526146412132660020342 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return CampusDelRenterMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/CampusDeleteCampusGroupHeaders.php000064400000002356146412132660017657 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusDeleteCampusGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusDeleteCampusGroupRequest.php000064400000001737146412132660017736 0ustar00 'campusProjectGroupId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->campusProjectGroupId) { $res['campusProjectGroupId'] = $this->campusProjectGroupId; } return $res; } /** * @param array $map * * @return CampusDeleteCampusGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['campusProjectGroupId'])) { $model->campusProjectGroupId = $map['campusProjectGroupId']; } return $model; } } src/industry_1_0/Models/CampusDeleteCampusGroupResponse.php000064400000002772146412132660020104 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusDeleteCampusGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusDeleteCampusGroupResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusDeleteCampusGroupResponseBody.php000064400000001530146412132660020711 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CampusDeleteCampusGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/industry_1_0/Models/CampusDeleteRenterHeaders.php000064400000002344146412132660016646 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusDeleteRenterHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusDeleteRenterRequest.php000064400000001550146412132660016721 0ustar00 'renterId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->renterId) { $res['renterId'] = $this->renterId; } return $res; } /** * @param array $map * * @return CampusDeleteRenterRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['renterId'])) { $model->renterId = $map['renterId']; } return $model; } } src/industry_1_0/Models/CampusDeleteRenterResponse.php000064400000002174146412132660017072 0ustar00 '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 CampusDeleteRenterResponse */ 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/industry_1_0/Models/CampusGetCampusGroupHeaders.php000064400000002350146412132660017166 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusGetCampusGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusGetCampusGroupRequest.php000064400000001541146412132660017244 0ustar00 'groupId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } return $res; } /** * @param array $map * * @return CampusGetCampusGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } return $model; } } src/industry_1_0/Models/CampusGetCampusGroupResponse.php000064400000002756146412132660017423 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusGetCampusGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusGetCampusGroupResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusGetCampusGroupResponseBody.php000064400000002416146412132660020232 0ustar00 'extend', 'projectGroupName' => 'projectGroupName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->projectGroupName) { $res['projectGroupName'] = $this->projectGroupName; } return $res; } /** * @param array $map * * @return CampusGetCampusGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['projectGroupName'])) { $model->projectGroupName = $map['projectGroupName']; } return $model; } } src/industry_1_0/Models/CampusGetCampusHeaders.php000064400000002336146412132660016155 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusGetCampusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusGetCampusRequest.php000064400000001604146412132660016227 0ustar00 'campusDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->campusDeptId) { $res['campusDeptId'] = $this->campusDeptId; } return $res; } /** * @param array $map * * @return CampusGetCampusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['campusDeptId'])) { $model->campusDeptId = $map['campusDeptId']; } return $model; } } src/industry_1_0/Models/CampusGetCampusResponse.php000064400000002732146412132660016400 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusGetCampusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusGetCampusResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusGetCampusResponseBody.php000064400000015066146412132660017222 0ustar00 'address', 'area' => 'area', 'belongProjectGroupId' => 'belongProjectGroupId', 'campusCorpId' => 'campusCorpId', 'campusDeptId' => 'campusDeptId', 'campusName' => 'campusName', 'capacity' => 'capacity', 'cityId' => 'cityId', 'country' => 'country', 'countyId' => 'countyId', 'description' => 'description', 'extend' => 'extend', 'location' => 'location', 'orderEndTime' => 'orderEndTime', 'orderInfo' => 'orderInfo', 'orderStartTime' => 'orderStartTime', 'provId' => 'provId', 'telephone' => 'telephone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->area) { $res['area'] = $this->area; } if (null !== $this->belongProjectGroupId) { $res['belongProjectGroupId'] = $this->belongProjectGroupId; } if (null !== $this->campusCorpId) { $res['campusCorpId'] = $this->campusCorpId; } if (null !== $this->campusDeptId) { $res['campusDeptId'] = $this->campusDeptId; } if (null !== $this->campusName) { $res['campusName'] = $this->campusName; } if (null !== $this->capacity) { $res['capacity'] = $this->capacity; } if (null !== $this->cityId) { $res['cityId'] = $this->cityId; } if (null !== $this->country) { $res['country'] = $this->country; } if (null !== $this->countyId) { $res['countyId'] = $this->countyId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->location) { $res['location'] = $this->location; } if (null !== $this->orderEndTime) { $res['orderEndTime'] = $this->orderEndTime; } if (null !== $this->orderInfo) { $res['orderInfo'] = $this->orderInfo; } if (null !== $this->orderStartTime) { $res['orderStartTime'] = $this->orderStartTime; } if (null !== $this->provId) { $res['provId'] = $this->provId; } if (null !== $this->telephone) { $res['telephone'] = $this->telephone; } return $res; } /** * @param array $map * * @return CampusGetCampusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['area'])) { $model->area = $map['area']; } if (isset($map['belongProjectGroupId'])) { $model->belongProjectGroupId = $map['belongProjectGroupId']; } if (isset($map['campusCorpId'])) { $model->campusCorpId = $map['campusCorpId']; } if (isset($map['campusDeptId'])) { $model->campusDeptId = $map['campusDeptId']; } if (isset($map['campusName'])) { $model->campusName = $map['campusName']; } if (isset($map['capacity'])) { $model->capacity = $map['capacity']; } if (isset($map['cityId'])) { $model->cityId = $map['cityId']; } if (isset($map['country'])) { $model->country = $map['country']; } if (isset($map['countyId'])) { $model->countyId = $map['countyId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['location'])) { $model->location = $map['location']; } if (isset($map['orderEndTime'])) { $model->orderEndTime = $map['orderEndTime']; } if (isset($map['orderInfo'])) { $model->orderInfo = $map['orderInfo']; } if (isset($map['orderStartTime'])) { $model->orderStartTime = $map['orderStartTime']; } if (isset($map['provId'])) { $model->provId = $map['provId']; } if (isset($map['telephone'])) { $model->telephone = $map['telephone']; } return $model; } } src/industry_1_0/Models/CampusGetRenterHeaders.php000064400000002336146412132660016164 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusGetRenterHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusGetRenterMemberHeaders.php000064400000002352146412132660017312 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusGetRenterMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusGetRenterMemberRequest.php000064400000002254146412132660017370 0ustar00 'renterId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->renterId) { $res['renterId'] = $this->renterId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return CampusGetRenterMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['renterId'])) { $model->renterId = $map['renterId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/industry_1_0/Models/CampusGetRenterMemberResponse.php000064400000002762146412132660017542 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusGetRenterMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusGetRenterMemberResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusGetRenterMemberResponseBody.php000064400000004256146412132660020360 0ustar00 'extend', 'inviteState' => 'inviteState', 'name' => 'name', 'state' => 'state', 'type' => 'type', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->inviteState) { $res['inviteState'] = $this->inviteState; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->state) { $res['state'] = $this->state; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CampusGetRenterMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['inviteState'])) { $model->inviteState = $map['inviteState']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['state'])) { $model->state = $map['state']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/CampusGetRenterRequest.php000064400000001542146412132660016237 0ustar00 'renterId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->renterId) { $res['renterId'] = $this->renterId; } return $res; } /** * @param array $map * * @return CampusGetRenterRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['renterId'])) { $model->renterId = $map['renterId']; } return $model; } } src/industry_1_0/Models/CampusGetRenterResponse.php000064400000002732146412132660016407 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusGetRenterResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusGetRenterResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusGetRenterResponseBody.php000064400000006723146412132660017231 0ustar00 'bindRenterCorpId', 'bindTime' => 'bindTime', 'creditCode' => 'creditCode', 'endTime' => 'endTime', 'extend' => 'extend', 'name' => 'name', 'renterDeptId' => 'renterDeptId', 'startTime' => 'startTime', 'state' => 'state', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bindRenterCorpId) { $res['bindRenterCorpId'] = $this->bindRenterCorpId; } if (null !== $this->bindTime) { $res['bindTime'] = $this->bindTime; } if (null !== $this->creditCode) { $res['creditCode'] = $this->creditCode; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->renterDeptId) { $res['renterDeptId'] = $this->renterDeptId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->state) { $res['state'] = $this->state; } return $res; } /** * @param array $map * * @return CampusGetRenterResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bindRenterCorpId'])) { $model->bindRenterCorpId = $map['bindRenterCorpId']; } if (isset($map['bindTime'])) { $model->bindTime = $map['bindTime']; } if (isset($map['creditCode'])) { $model->creditCode = $map['creditCode']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['renterDeptId'])) { $model->renterDeptId = $map['renterDeptId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['state'])) { $model->state = $map['state']; } return $model; } } src/industry_1_0/Models/CampusListCampusGroupHeaders.php000064400000002352146412132660017364 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusListCampusGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusListCampusGroupResponse.php000064400000002762146412132660017614 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusListCampusGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusListCampusGroupResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusListCampusGroupResponseBody.php000064400000002634146412132660020430 0ustar00 '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 CampusListCampusGroupResponseBody */ 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/industry_1_0/Models/CampusListCampusGroupResponseBody/result.php000064400000003003146412132660021735 0ustar00 'extend', 'groupDeptId' => 'groupDeptId', 'groupName' => 'groupName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->groupDeptId) { $res['groupDeptId'] = $this->groupDeptId; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['groupDeptId'])) { $model->groupDeptId = $map['groupDeptId']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } return $model; } } src/industry_1_0/Models/CampusListCampusHeaders.php000064400000002340146412132660016344 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusListCampusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusListCampusRequest.php000064400000001600146412132660016417 0ustar00 'groupDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupDeptId) { $res['groupDeptId'] = $this->groupDeptId; } return $res; } /** * @param array $map * * @return CampusListCampusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupDeptId'])) { $model->groupDeptId = $map['groupDeptId']; } return $model; } } src/industry_1_0/Models/CampusListCampusResponse.php000064400000002736146412132660016600 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusListCampusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusListCampusResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusListCampusResponseBody.php000064400000002615146412132660017412 0ustar00 '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 CampusListCampusResponseBody */ 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/industry_1_0/Models/CampusListCampusResponseBody/result.php000064400000014352146412132660020731 0ustar00 'address', 'area' => 'area', 'belongProjectGroupId' => 'belongProjectGroupId', 'campusCorpId' => 'campusCorpId', 'campusDeptId' => 'campusDeptId', 'campusName' => 'campusName', 'cityId' => 'cityId', 'country' => 'country', 'countyId' => 'countyId', 'description' => 'description', 'extend' => 'extend', 'location' => 'location', 'orderEndTime' => 'orderEndTime', 'orderInfo' => 'orderInfo', 'orderStartTime' => 'orderStartTime', 'provId' => 'provId', 'telephone' => 'telephone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->area) { $res['area'] = $this->area; } if (null !== $this->belongProjectGroupId) { $res['belongProjectGroupId'] = $this->belongProjectGroupId; } if (null !== $this->campusCorpId) { $res['campusCorpId'] = $this->campusCorpId; } if (null !== $this->campusDeptId) { $res['campusDeptId'] = $this->campusDeptId; } if (null !== $this->campusName) { $res['campusName'] = $this->campusName; } if (null !== $this->cityId) { $res['cityId'] = $this->cityId; } if (null !== $this->country) { $res['country'] = $this->country; } if (null !== $this->countyId) { $res['countyId'] = $this->countyId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->location) { $res['location'] = $this->location; } if (null !== $this->orderEndTime) { $res['orderEndTime'] = $this->orderEndTime; } if (null !== $this->orderInfo) { $res['orderInfo'] = $this->orderInfo; } if (null !== $this->orderStartTime) { $res['orderStartTime'] = $this->orderStartTime; } if (null !== $this->provId) { $res['provId'] = $this->provId; } if (null !== $this->telephone) { $res['telephone'] = $this->telephone; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['area'])) { $model->area = $map['area']; } if (isset($map['belongProjectGroupId'])) { $model->belongProjectGroupId = $map['belongProjectGroupId']; } if (isset($map['campusCorpId'])) { $model->campusCorpId = $map['campusCorpId']; } if (isset($map['campusDeptId'])) { $model->campusDeptId = $map['campusDeptId']; } if (isset($map['campusName'])) { $model->campusName = $map['campusName']; } if (isset($map['cityId'])) { $model->cityId = $map['cityId']; } if (isset($map['country'])) { $model->country = $map['country']; } if (isset($map['countyId'])) { $model->countyId = $map['countyId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['location'])) { $model->location = $map['location']; } if (isset($map['orderEndTime'])) { $model->orderEndTime = $map['orderEndTime']; } if (isset($map['orderInfo'])) { $model->orderInfo = $map['orderInfo']; } if (isset($map['orderStartTime'])) { $model->orderStartTime = $map['orderStartTime']; } if (isset($map['provId'])) { $model->provId = $map['provId']; } if (isset($map['telephone'])) { $model->telephone = $map['telephone']; } return $model; } } src/industry_1_0/Models/CampusListRenterHeaders.php000064400000002340146412132660016353 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusListRenterHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusListRenterMembersHeaders.php000064400000002356146412132660017675 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusListRenterMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusListRenterMembersRequest.php000064400000001567146412132660017755 0ustar00 'renterId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->renterId) { $res['renterId'] = $this->renterId; } return $res; } /** * @param array $map * * @return CampusListRenterMembersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['renterId'])) { $model->renterId = $map['renterId']; } return $model; } } src/industry_1_0/Models/CampusListRenterMembersResponse.php000064400000002772146412132660020122 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusListRenterMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusListRenterMembersResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusListRenterMembersResponseBody.php000064400000002642146412132660020734 0ustar00 '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 CampusListRenterMembersResponseBody */ 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/industry_1_0/Models/CampusListRenterMembersResponseBody/result.php000064400000004672146412132660022257 0ustar00 'extend', 'inviteState' => 'inviteState', 'name' => 'name', 'state' => 'state', 'type' => 'type', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->inviteState) { $res['inviteState'] = $this->inviteState; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->state) { $res['state'] = $this->state; } 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 result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['inviteState'])) { $model->inviteState = $map['inviteState']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['state'])) { $model->state = $map['state']; } 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/industry_1_0/Models/CampusListRenterResponse.php000064400000002736146412132660016607 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusListRenterResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusListRenterResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusListRenterResponseBody.php000064400000002615146412132660017421 0ustar00 '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 CampusListRenterResponseBody */ 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/industry_1_0/Models/CampusListRenterResponseBody/result.php000064400000006727146412132660020747 0ustar00 'bindRenterCorpId', 'bindTime' => 'bindTime', 'creditCode' => 'creditCode', 'endTime' => 'endTime', 'extend' => 'extend', 'name' => 'name', 'renterDeptId' => 'renterDeptId', 'startTime' => 'startTime', 'state' => 'state', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bindRenterCorpId) { $res['bindRenterCorpId'] = $this->bindRenterCorpId; } if (null !== $this->bindTime) { $res['bindTime'] = $this->bindTime; } if (null !== $this->creditCode) { $res['creditCode'] = $this->creditCode; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->renterDeptId) { $res['renterDeptId'] = $this->renterDeptId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->state) { $res['state'] = $this->state; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bindRenterCorpId'])) { $model->bindRenterCorpId = $map['bindRenterCorpId']; } if (isset($map['bindTime'])) { $model->bindTime = $map['bindTime']; } if (isset($map['creditCode'])) { $model->creditCode = $map['creditCode']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['renterDeptId'])) { $model->renterDeptId = $map['renterDeptId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['state'])) { $model->state = $map['state']; } return $model; } } src/industry_1_0/Models/CampusUpdateCampusGroupHeaders.php000064400000002356146412132660017677 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusUpdateCampusGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusUpdateCampusGroupRequest.php000064400000003066146412132660017753 0ustar00 'campusProjectGroupId', 'extend' => 'extend', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->campusProjectGroupId) { $res['campusProjectGroupId'] = $this->campusProjectGroupId; } if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return CampusUpdateCampusGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['campusProjectGroupId'])) { $model->campusProjectGroupId = $map['campusProjectGroupId']; } if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/industry_1_0/Models/CampusUpdateCampusGroupResponse.php000064400000002772146412132660020124 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusUpdateCampusGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusUpdateCampusGroupResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusUpdateCampusGroupResponseBody.php000064400000001532146412132660020733 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return CampusUpdateCampusGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/CampusUpdateCampusHeaders.php000064400000002344146412132660016657 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusUpdateCampusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusUpdateCampusRequest.php000064400000013673146412132660016743 0ustar00 'address', 'area' => 'area', 'belongProjectGroupId' => 'belongProjectGroupId', 'campusDeptId' => 'campusDeptId', 'campusName' => 'campusName', 'capacity' => 'capacity', 'cityId' => 'cityId', 'country' => 'country', 'countyId' => 'countyId', 'description' => 'description', 'extend' => 'extend', 'orderEndTime' => 'orderEndTime', 'orderInfo' => 'orderInfo', 'orderStartTime' => 'orderStartTime', 'provId' => 'provId', 'telephone' => 'telephone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->area) { $res['area'] = $this->area; } if (null !== $this->belongProjectGroupId) { $res['belongProjectGroupId'] = $this->belongProjectGroupId; } if (null !== $this->campusDeptId) { $res['campusDeptId'] = $this->campusDeptId; } if (null !== $this->campusName) { $res['campusName'] = $this->campusName; } if (null !== $this->capacity) { $res['capacity'] = $this->capacity; } if (null !== $this->cityId) { $res['cityId'] = $this->cityId; } if (null !== $this->country) { $res['country'] = $this->country; } if (null !== $this->countyId) { $res['countyId'] = $this->countyId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->orderEndTime) { $res['orderEndTime'] = $this->orderEndTime; } if (null !== $this->orderInfo) { $res['orderInfo'] = $this->orderInfo; } if (null !== $this->orderStartTime) { $res['orderStartTime'] = $this->orderStartTime; } if (null !== $this->provId) { $res['provId'] = $this->provId; } if (null !== $this->telephone) { $res['telephone'] = $this->telephone; } return $res; } /** * @param array $map * * @return CampusUpdateCampusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['area'])) { $model->area = $map['area']; } if (isset($map['belongProjectGroupId'])) { $model->belongProjectGroupId = $map['belongProjectGroupId']; } if (isset($map['campusDeptId'])) { $model->campusDeptId = $map['campusDeptId']; } if (isset($map['campusName'])) { $model->campusName = $map['campusName']; } if (isset($map['capacity'])) { $model->capacity = $map['capacity']; } if (isset($map['cityId'])) { $model->cityId = $map['cityId']; } if (isset($map['country'])) { $model->country = $map['country']; } if (isset($map['countyId'])) { $model->countyId = $map['countyId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['orderEndTime'])) { $model->orderEndTime = $map['orderEndTime']; } if (isset($map['orderInfo'])) { $model->orderInfo = $map['orderInfo']; } if (isset($map['orderStartTime'])) { $model->orderStartTime = $map['orderStartTime']; } if (isset($map['provId'])) { $model->provId = $map['provId']; } if (isset($map['telephone'])) { $model->telephone = $map['telephone']; } return $model; } } src/industry_1_0/Models/CampusUpdateCampusResponse.php000064400000002746146412132660017110 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusUpdateCampusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusUpdateCampusResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusUpdateCampusResponseBody.php000064400000001520146412132660017713 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return CampusUpdateCampusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/CampusUpdateRenterHeaders.php000064400000002344146412132660016666 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusUpdateRenterHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusUpdateRenterMemberHeaders.php000064400000002360146412132660020014 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CampusUpdateRenterMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CampusUpdateRenterMemberRequest.php000064400000004032146412132660020067 0ustar00 'extend', 'name' => 'name', 'renterId' => 'renterId', 'type' => 'type', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->renterId) { $res['renterId'] = $this->renterId; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return CampusUpdateRenterMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['renterId'])) { $model->renterId = $map['renterId']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/industry_1_0/Models/CampusUpdateRenterMemberResponse.php000064400000002776146412132660020252 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusUpdateRenterMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusUpdateRenterMemberResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusUpdateRenterMemberResponseBody.php000064400000001534146412132660021057 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return CampusUpdateRenterMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/CampusUpdateRenterRequest.php000064400000005261146412132660016744 0ustar00 'creditCode', 'endTime' => 'endTime', 'extend' => 'extend', 'name' => 'name', 'renterId' => 'renterId', 'startTime' => 'startTime', 'state' => 'state', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creditCode) { $res['creditCode'] = $this->creditCode; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->renterId) { $res['renterId'] = $this->renterId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->state) { $res['state'] = $this->state; } return $res; } /** * @param array $map * * @return CampusUpdateRenterRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creditCode'])) { $model->creditCode = $map['creditCode']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['renterId'])) { $model->renterId = $map['renterId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['state'])) { $model->state = $map['state']; } return $model; } } src/industry_1_0/Models/CampusUpdateRenterResponse.php000064400000002746146412132660017117 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CampusUpdateRenterResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CampusUpdateRenterResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CampusUpdateRenterResponseBody.php000064400000001565146412132660017733 0ustar00 'renterId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->renterId) { $res['renterId'] = $this->renterId; } return $res; } /** * @param array $map * * @return CampusUpdateRenterResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['renterId'])) { $model->renterId = $map['renterId']; } return $model; } } src/industry_1_0/Models/ChatFormGetDataForApiAccessHeaders.php000064400000002366146412132660020277 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ChatFormGetDataForApiAccessHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/ChatFormGetDataForApiAccessRequest.php000064400000001640146412132660020346 0ustar00 'dingTalkTraceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingTalkTraceId) { $res['dingTalkTraceId'] = $this->dingTalkTraceId; } return $res; } /** * @param array $map * * @return ChatFormGetDataForApiAccessRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingTalkTraceId'])) { $model->dingTalkTraceId = $map['dingTalkTraceId']; } return $model; } } src/industry_1_0/Models/ChatFormGetDataForApiAccessResponse.php000064400000003012146412132660020507 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ChatFormGetDataForApiAccessResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ChatFormGetDataForApiAccessResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/ChatFormGetDataForApiAccessResponseBody.php000064400000001507146412132660021334 0ustar00 'data', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } return $res; } /** * @param array $map * * @return ChatFormGetDataForApiAccessResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } return $model; } } src/industry_1_0/Models/ChatMemoAddGeneralFileHeaders.php000064400000002354146412132660017320 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ChatMemoAddGeneralFileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/ChatMemoAddGeneralFileRequest.php000064400000006045146412132660017376 0ustar00 'bizId', 'datasetId' => 'datasetId', 'downloadUrl' => 'downloadUrl', 'fileDesc' => 'fileDesc', 'fileName' => 'fileName', 'tagList' => 'tagList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->datasetId) { $res['datasetId'] = $this->datasetId; } if (null !== $this->downloadUrl) { $res['downloadUrl'] = $this->downloadUrl; } if (null !== $this->fileDesc) { $res['fileDesc'] = $this->fileDesc; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->tagList) { $res['tagList'] = []; if (null !== $this->tagList && \is_array($this->tagList)) { $n = 0; foreach ($this->tagList as $item) { $res['tagList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ChatMemoAddGeneralFileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['datasetId'])) { $model->datasetId = $map['datasetId']; } if (isset($map['downloadUrl'])) { $model->downloadUrl = $map['downloadUrl']; } if (isset($map['fileDesc'])) { $model->fileDesc = $map['fileDesc']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['tagList'])) { if (!empty($map['tagList'])) { $model->tagList = []; $n = 0; foreach ($map['tagList'] as $item) { $model->tagList[$n++] = null !== $item ? tagList::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/ChatMemoAddGeneralFileRequest/tagList.php000064400000002356146412132660021006 0ustar00 'tagName', 'tagValueList' => 'tagValueList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->tagName) { $res['tagName'] = $this->tagName; } if (null !== $this->tagValueList) { $res['tagValueList'] = $this->tagValueList; } return $res; } /** * @param array $map * * @return tagList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['tagName'])) { $model->tagName = $map['tagName']; } if (isset($map['tagValueList'])) { if (!empty($map['tagValueList'])) { $model->tagValueList = $map['tagValueList']; } } return $model; } } src/industry_1_0/Models/ChatMemoAddGeneralFileResponse.php000064400000002766146412132660017552 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ChatMemoAddGeneralFileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ChatMemoAddGeneralFileResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/ChatMemoAddGeneralFileResponseBody.php000064400000002234146412132660020356 0ustar00 'bizId', 'mediaId' => 'mediaId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } return $res; } /** * @param array $map * * @return ChatMemoAddGeneralFileResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } return $model; } } src/industry_1_0/Models/ChatMemoDeleteGeneralFileHeaders.php000064400000002362146412132660020031 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ChatMemoDeleteGeneralFileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/ChatMemoDeleteGeneralFileRequest.php000064400000002272146412132660020106 0ustar00 'datasetId', 'mediaId' => 'mediaId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->datasetId) { $res['datasetId'] = $this->datasetId; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } return $res; } /** * @param array $map * * @return ChatMemoDeleteGeneralFileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['datasetId'])) { $model->datasetId = $map['datasetId']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } return $model; } } src/industry_1_0/Models/ChatMemoDeleteGeneralFileResponse.php000064400000003002146412132660020244 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ChatMemoDeleteGeneralFileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ChatMemoDeleteGeneralFileResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/ChatMemoDeleteGeneralFileResponseBody.php000064400000001557146412132660021077 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ChatMemoDeleteGeneralFileResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/ChatMemoFaqAddHeaders.php000064400000002334146412132660015650 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ChatMemoFaqAddHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/ChatMemoFaqAddRequest.php000064400000004246146412132660015731 0ustar00 'answer', 'bizId' => 'bizId', 'datasetId' => 'datasetId', 'question' => 'question', 'redirection' => 'redirection', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->answer) { $res['answer'] = $this->answer; } if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->datasetId) { $res['datasetId'] = $this->datasetId; } if (null !== $this->question) { $res['question'] = $this->question; } if (null !== $this->redirection) { $res['redirection'] = $this->redirection; } return $res; } /** * @param array $map * * @return ChatMemoFaqAddRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['answer'])) { $model->answer = $map['answer']; } if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['datasetId'])) { $model->datasetId = $map['datasetId']; } if (isset($map['question'])) { $model->question = $map['question']; } if (isset($map['redirection'])) { $model->redirection = $map['redirection']; } return $model; } } src/industry_1_0/Models/ChatMemoFaqAddResponse.php000064400000002726146412132660016100 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ChatMemoFaqAddResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ChatMemoFaqAddResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/ChatMemoFaqAddResponseBody.php000064400000002214146412132660016706 0ustar00 'bizId', 'mediaId' => 'mediaId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } return $res; } /** * @param array $map * * @return ChatMemoFaqAddResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } return $model; } } src/industry_1_0/Models/ChatMemoFaqDeleteHeaders.php000064400000002342146412132660016361 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ChatMemoFaqDeleteHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/ChatMemoFaqDeleteRequest.php000064400000002246146412132660016441 0ustar00 'datasetId', 'mediaId' => 'mediaId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->datasetId) { $res['datasetId'] = $this->datasetId; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } return $res; } /** * @param array $map * * @return ChatMemoFaqDeleteRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['datasetId'])) { $model->datasetId = $map['datasetId']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } return $model; } } src/industry_1_0/Models/ChatMemoFaqDeleteResponse.php000064400000002742146412132660016610 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ChatMemoFaqDeleteResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ChatMemoFaqDeleteResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/ChatMemoFaqDeleteResponseBody.php000064400000001537146412132660017427 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ChatMemoFaqDeleteResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/ChatMemoFaqListHeaders.php000064400000002336146412132660016075 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ChatMemoFaqListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/ChatMemoFaqListRequest.php000064400000002757146412132660016161 0ustar00 'datasetId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->datasetId) { $res['datasetId'] = $this->datasetId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return ChatMemoFaqListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['datasetId'])) { $model->datasetId = $map['datasetId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/industry_1_0/Models/ChatMemoFaqListResponse.php000064400000002732146412132660016320 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ChatMemoFaqListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ChatMemoFaqListResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/ChatMemoFaqListResponseBody.php000064400000005120146412132660017130 0ustar00 'data', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'total' => 'total', 'totalPage' => 'totalPage', ]; 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->total) { $res['total'] = $this->total; } if (null !== $this->totalPage) { $res['totalPage'] = $this->totalPage; } return $res; } /** * @param array $map * * @return ChatMemoFaqListResponseBody */ 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['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['total'])) { $model->total = $map['total']; } if (isset($map['totalPage'])) { $model->totalPage = $map['totalPage']; } return $model; } } src/industry_1_0/Models/ChatMemoFaqListResponseBody/data.php000064400000004247146412132660020052 0ustar00 'answer', 'bizId' => 'bizId', 'mediaId' => 'mediaId', 'question' => 'question', 'redirection' => 'redirection', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->answer) { $res['answer'] = $this->answer; } if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->question) { $res['question'] = $this->question; } if (null !== $this->redirection) { $res['redirection'] = $this->redirection; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['answer'])) { $model->answer = $map['answer']; } if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['question'])) { $model->question = $map['question']; } if (isset($map['redirection'])) { $model->redirection = $map['redirection']; } return $model; } } src/industry_1_0/Models/ChatMemoGetFileListHeaders.php000064400000002346146412132660016706 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ChatMemoGetFileListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/ChatMemoGetFileListRequest.php000064400000002767146412132660016772 0ustar00 'datasetId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->datasetId) { $res['datasetId'] = $this->datasetId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return ChatMemoGetFileListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['datasetId'])) { $model->datasetId = $map['datasetId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/industry_1_0/Models/ChatMemoGetFileListResponse.php000064400000002752146412132660017132 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ChatMemoGetFileListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ChatMemoGetFileListResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/ChatMemoGetFileListResponseBody.php000064400000005134146412132660017745 0ustar00 'data', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'total' => 'total', 'totalPage' => 'totalPage', ]; 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->total) { $res['total'] = $this->total; } if (null !== $this->totalPage) { $res['totalPage'] = $this->totalPage; } return $res; } /** * @param array $map * * @return ChatMemoGetFileListResponseBody */ 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['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['total'])) { $model->total = $map['total']; } if (isset($map['totalPage'])) { $model->totalPage = $map['totalPage']; } return $model; } } src/industry_1_0/Models/ChatMemoGetFileListResponseBody/data.php000064400000004073146412132660020657 0ustar00 'bizId', 'fileDesc' => 'fileDesc', 'fileName' => 'fileName', 'mediaId' => 'mediaId', 'tagMap' => 'tagMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->fileDesc) { $res['fileDesc'] = $this->fileDesc; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->tagMap) { $res['tagMap'] = $this->tagMap; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['fileDesc'])) { $model->fileDesc = $map['fileDesc']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['tagMap'])) { $model->tagMap = $map['tagMap']; } return $model; } } src/industry_1_0/Models/ChatMemoGetFileStatusHeaders.php000064400000002352146412132660017253 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ChatMemoGetFileStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/ChatMemoGetFileStatusRequest.php000064400000002262146412132660017330 0ustar00 'datasetId', 'mediaId' => 'mediaId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->datasetId) { $res['datasetId'] = $this->datasetId; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } return $res; } /** * @param array $map * * @return ChatMemoGetFileStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['datasetId'])) { $model->datasetId = $map['datasetId']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } return $model; } } src/industry_1_0/Models/ChatMemoGetFileStatusResponse.php000064400000002762146412132660017503 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ChatMemoGetFileStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ChatMemoGetFileStatusResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/ChatMemoGetFileStatusResponseBody.php000064400000002273146412132660020316 0ustar00 'status', 'statusDesc' => 'statusDesc', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->statusDesc) { $res['statusDesc'] = $this->statusDesc; } return $res; } /** * @param array $map * * @return ChatMemoGetFileStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['statusDesc'])) { $model->statusDesc = $map['statusDesc']; } return $model; } } src/industry_1_0/Models/CollegeActiveCollegeDeptGroupHeaders.php000064400000002372146412132660020747 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeActiveCollegeDeptGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeActiveCollegeDeptGroupRequest.php000064400000001555146412132660021026 0ustar00 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return CollegeActiveCollegeDeptGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/industry_1_0/Models/CollegeActiveCollegeDeptGroupResponse.php000064400000003022146412132660021163 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeActiveCollegeDeptGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeActiveCollegeDeptGroupResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeActiveCollegeDeptGroupResponseBody.php000064400000001750146412132660022007 0ustar00 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return CollegeActiveCollegeDeptGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/industry_1_0/Models/CollegeAddCollegeDeptHeaders.php000064400000002352146412132660017205 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeAddCollegeDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeAddCollegeDeptRequest.php000064400000003467146412132660017272 0ustar00 'deptName', 'deptType' => 'deptType', 'sortFactor' => 'sortFactor', 'superId' => 'superId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->deptType) { $res['deptType'] = $this->deptType; } if (null !== $this->sortFactor) { $res['sortFactor'] = $this->sortFactor; } if (null !== $this->superId) { $res['superId'] = $this->superId; } return $res; } /** * @param array $map * * @return CollegeAddCollegeDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['deptType'])) { $model->deptType = $map['deptType']; } if (isset($map['sortFactor'])) { $model->sortFactor = $map['sortFactor']; } if (isset($map['superId'])) { $model->superId = $map['superId']; } return $model; } } src/industry_1_0/Models/CollegeAddCollegeDeptResponse.php000064400000002762146412132660017435 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeAddCollegeDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeAddCollegeDeptResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeAddCollegeDeptResponseBody.php000064400000001550146412132660020245 0ustar00 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return CollegeAddCollegeDeptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/industry_1_0/Models/CollegeAddManagerHeaders.php000064400000002342146412132660016367 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeAddManagerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeAddManagerRequest.php000064400000002200146412132660016435 0ustar00 'deptId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CollegeAddManagerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/CollegeAddManagerResponse.php000064400000002742146412132660016616 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeAddManagerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeAddManagerResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeAddManagerResponseBody.php000064400000001625146412132660017433 0ustar00 'isSuccessful', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isSuccessful) { $res['isSuccessful'] = $this->isSuccessful; } return $res; } /** * @param array $map * * @return CollegeAddManagerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isSuccessful'])) { $model->isSuccessful = $map['isSuccessful']; } return $model; } } src/industry_1_0/Models/CollegeAddStudentHeaders.php000064400000002342146412132660016443 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeAddStudentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeAddStudentRequest.php000064400000006734146412132660016531 0ustar00 'deptId', 'empExtension' => 'empExtension', 'gender' => 'gender', 'identifyId' => 'identifyId', 'mobile' => 'mobile', 'startYear' => 'startYear', 'studentName' => 'studentName', 'studentNumber' => 'studentNumber', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->empExtension) { $res['empExtension'] = $this->empExtension; } if (null !== $this->gender) { $res['gender'] = $this->gender; } if (null !== $this->identifyId) { $res['identifyId'] = $this->identifyId; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->startYear) { $res['startYear'] = $this->startYear; } if (null !== $this->studentName) { $res['studentName'] = $this->studentName; } if (null !== $this->studentNumber) { $res['studentNumber'] = $this->studentNumber; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CollegeAddStudentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['empExtension'])) { $model->empExtension = $map['empExtension']; } if (isset($map['gender'])) { $model->gender = $map['gender']; } if (isset($map['identifyId'])) { $model->identifyId = $map['identifyId']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['startYear'])) { $model->startYear = $map['startYear']; } if (isset($map['studentName'])) { $model->studentName = $map['studentName']; } if (isset($map['studentNumber'])) { $model->studentNumber = $map['studentNumber']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/CollegeAddStudentResponse.php000064400000002742146412132660016672 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeAddStudentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeAddStudentResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeAddStudentResponseBody.php000064400000004302146412132660017502 0ustar00 'dingMemberStatus', 'isActive' => 'isActive', 'studentId' => 'studentId', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingMemberStatus) { $res['dingMemberStatus'] = $this->dingMemberStatus; } if (null !== $this->isActive) { $res['isActive'] = $this->isActive; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CollegeAddStudentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingMemberStatus'])) { $model->dingMemberStatus = $map['dingMemberStatus']; } if (isset($map['isActive'])) { $model->isActive = $map['isActive']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/CollegeChangeStudentDeptHeaders.php000064400000002360146412132660017755 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeChangeStudentDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeChangeStudentDeptRequest.php000064400000002755146412132660020042 0ustar00 'deptId', 'newDeptId' => 'newDeptId', 'studentId' => 'studentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->newDeptId) { $res['newDeptId'] = $this->newDeptId; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } return $res; } /** * @param array $map * * @return CollegeChangeStudentDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['newDeptId'])) { $model->newDeptId = $map['newDeptId']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } return $model; } } src/industry_1_0/Models/CollegeChangeStudentDeptResponse.php000064400000002776146412132660020213 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeChangeStudentDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeChangeStudentDeptResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeChangeStudentDeptResponseBody.php000064400000001643146412132660021021 0ustar00 'isSuccessful', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isSuccessful) { $res['isSuccessful'] = $this->isSuccessful; } return $res; } /** * @param array $map * * @return CollegeChangeStudentDeptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isSuccessful'])) { $model->isSuccessful = $map['isSuccessful']; } return $model; } } src/industry_1_0/Models/CollegeDeleteCollegeDeptHeaders.php000064400000002360146412132660017716 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeDeleteCollegeDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeDeleteCollegeDeptRequest.php000064400000001543146412132660017775 0ustar00 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return CollegeDeleteCollegeDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/industry_1_0/Models/CollegeDeleteCollegeDeptResponse.php000064400000002776146412132660020154 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeDeleteCollegeDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeDeleteCollegeDeptResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeDeleteCollegeDeptResponseBody.php000064400000001643146412132660020762 0ustar00 'isSuccessful', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isSuccessful) { $res['isSuccessful'] = $this->isSuccessful; } return $res; } /** * @param array $map * * @return CollegeDeleteCollegeDeptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isSuccessful'])) { $model->isSuccessful = $map['isSuccessful']; } return $model; } } src/industry_1_0/Models/CollegeListCollegeSubDeptHeaders.php000064400000002362146412132660020103 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeListCollegeSubDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeListCollegeSubDeptRequest.php000064400000001545146412132660020162 0ustar00 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return CollegeListCollegeSubDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/industry_1_0/Models/CollegeListCollegeSubDeptResponse.php000064400000003002146412132660020316 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeListCollegeSubDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeListCollegeSubDeptResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeListCollegeSubDeptResponseBody.php000064400000003376146412132660021152 0ustar00 'collegeDeptInfoSimpleList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->collegeDeptInfoSimpleList) { $res['collegeDeptInfoSimpleList'] = []; if (null !== $this->collegeDeptInfoSimpleList && \is_array($this->collegeDeptInfoSimpleList)) { $n = 0; foreach ($this->collegeDeptInfoSimpleList as $item) { $res['collegeDeptInfoSimpleList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CollegeListCollegeSubDeptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['collegeDeptInfoSimpleList'])) { if (!empty($map['collegeDeptInfoSimpleList'])) { $model->collegeDeptInfoSimpleList = []; $n = 0; foreach ($map['collegeDeptInfoSimpleList'] as $item) { $model->collegeDeptInfoSimpleList[$n++] = null !== $item ? collegeDeptInfoSimpleList::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/CollegeListCollegeSubDeptResponseBody/collegeDeptInfoSimpleList.php000064400000003000146412132660026203 0ustar00 'deptId', 'deptName' => 'deptName', 'deptType' => 'deptType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->deptType) { $res['deptType'] = $this->deptType; } return $res; } /** * @param array $map * * @return collegeDeptInfoSimpleList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['deptType'])) { $model->deptType = $map['deptType']; } return $model; } } src/industry_1_0/Models/CollegeListDeptManagerHeaders.php000064400000002354146412132660017432 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeListDeptManagerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeListDeptManagerRequest.php000064400000002745146412132660017513 0ustar00 'deptId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return CollegeListDeptManagerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/industry_1_0/Models/CollegeListDeptManagerResponse.php000064400000002766146412132660017664 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeListDeptManagerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeListDeptManagerResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeListDeptManagerResponseBody.php000064400000004003146412132660020464 0ustar00 'managerInfoSimpleList', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->managerInfoSimpleList) { $res['managerInfoSimpleList'] = []; if (null !== $this->managerInfoSimpleList && \is_array($this->managerInfoSimpleList)) { $n = 0; foreach ($this->managerInfoSimpleList as $item) { $res['managerInfoSimpleList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return CollegeListDeptManagerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['managerInfoSimpleList'])) { if (!empty($map['managerInfoSimpleList'])) { $model->managerInfoSimpleList = []; $n = 0; foreach ($map['managerInfoSimpleList'] as $item) { $model->managerInfoSimpleList[$n++] = null !== $item ? managerInfoSimpleList::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/industry_1_0/Models/CollegeListDeptManagerResponseBody/managerInfoSimpleList.php000064400000002665146412132660024734 0ustar00 'isActive', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isActive) { $res['isActive'] = $this->isActive; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return managerInfoSimpleList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isActive'])) { $model->isActive = $map['isActive']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/CollegeListStudentInfoHeaders.php000064400000002354146412132660017505 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeListStudentInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeListStudentInfoRequest.php000064400000003560146412132660017562 0ustar00 'deptId', 'dingStudentStatus' => 'dingStudentStatus', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->dingStudentStatus) { $res['dingStudentStatus'] = $this->dingStudentStatus; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return CollegeListStudentInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['dingStudentStatus'])) { $model->dingStudentStatus = $map['dingStudentStatus']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/industry_1_0/Models/CollegeListStudentInfoResponse.php000064400000002766146412132660017737 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeListStudentInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeListStudentInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeListStudentInfoResponseBody.php000064400000004001146412132660020535 0ustar00 'studentInfoSimpleList', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->studentInfoSimpleList) { $res['studentInfoSimpleList'] = []; if (null !== $this->studentInfoSimpleList && \is_array($this->studentInfoSimpleList)) { $n = 0; foreach ($this->studentInfoSimpleList as $item) { $res['studentInfoSimpleList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return CollegeListStudentInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['studentInfoSimpleList'])) { if (!empty($map['studentInfoSimpleList'])) { $model->studentInfoSimpleList = []; $n = 0; foreach ($map['studentInfoSimpleList'] as $item) { $model->studentInfoSimpleList[$n++] = null !== $item ? studentInfoSimpleList::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/industry_1_0/Models/CollegeListStudentInfoResponseBody/studentInfoSimpleList.php000064400000005027146412132660025056 0ustar00 'dingMemberStatus', 'isActive' => 'isActive', 'studentId' => 'studentId', 'studentName' => 'studentName', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingMemberStatus) { $res['dingMemberStatus'] = $this->dingMemberStatus; } if (null !== $this->isActive) { $res['isActive'] = $this->isActive; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } if (null !== $this->studentName) { $res['studentName'] = $this->studentName; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return studentInfoSimpleList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingMemberStatus'])) { $model->dingMemberStatus = $map['dingMemberStatus']; } if (isset($map['isActive'])) { $model->isActive = $map['isActive']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } if (isset($map['studentName'])) { $model->studentName = $map['studentName']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/CollegeListUncheckedStudentHeaders.php000064400000002366146412132660020506 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeListUncheckedStudentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeListUncheckedStudentRequest.php000064400000002761146412132660020562 0ustar00 'deptId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return CollegeListUncheckedStudentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/industry_1_0/Models/CollegeListUncheckedStudentResponse.php000064400000003012146412132660020716 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeListUncheckedStudentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeListUncheckedStudentResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeListUncheckedStudentResponseBody.php000064400000004020146412132660021534 0ustar00 'studentInfoSimpleList', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->studentInfoSimpleList) { $res['studentInfoSimpleList'] = []; if (null !== $this->studentInfoSimpleList && \is_array($this->studentInfoSimpleList)) { $n = 0; foreach ($this->studentInfoSimpleList as $item) { $res['studentInfoSimpleList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return CollegeListUncheckedStudentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['studentInfoSimpleList'])) { if (!empty($map['studentInfoSimpleList'])) { $model->studentInfoSimpleList = []; $n = 0; foreach ($map['studentInfoSimpleList'] as $item) { $model->studentInfoSimpleList[$n++] = null !== $item ? studentInfoSimpleList::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/industry_1_0/Models/CollegeListUncheckedStudentResponseBody/studentInfoSimpleList.php000064400000005034146412132660026052 0ustar00 'dingMemberStatus', 'isActive' => 'isActive', 'studentId' => 'studentId', 'studentName' => 'studentName', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingMemberStatus) { $res['dingMemberStatus'] = $this->dingMemberStatus; } if (null !== $this->isActive) { $res['isActive'] = $this->isActive; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } if (null !== $this->studentName) { $res['studentName'] = $this->studentName; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return studentInfoSimpleList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingMemberStatus'])) { $model->dingMemberStatus = $map['dingMemberStatus']; } if (isset($map['isActive'])) { $model->isActive = $map['isActive']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } if (isset($map['studentName'])) { $model->studentName = $map['studentName']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/CollegeQueryCollegeDeptGroupInfoHeaders.php000064400000002400146412132660021445 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeQueryCollegeDeptGroupInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeQueryCollegeDeptGroupInfoRequest.php000064400000001564146412132660021534 0ustar00 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return CollegeQueryCollegeDeptGroupInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/industry_1_0/Models/CollegeQueryCollegeDeptGroupInfoResponse.php000064400000003036146412132660021676 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeQueryCollegeDeptGroupInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeQueryCollegeDeptGroupInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeQueryCollegeDeptGroupInfoResponseBody.php000064400000002504146412132660022513 0ustar00 'groupName', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return CollegeQueryCollegeDeptGroupInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/industry_1_0/Models/CollegeQueryCollegeDeptInfoHeaders.php000064400000002366146412132660020443 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeQueryCollegeDeptInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeQueryCollegeDeptInfoRequest.php000064400000001552146412132660020514 0ustar00 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return CollegeQueryCollegeDeptInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/industry_1_0/Models/CollegeQueryCollegeDeptInfoResponse.php000064400000003012146412132660020653 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeQueryCollegeDeptInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeQueryCollegeDeptInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeQueryCollegeDeptInfoResponseBody.php000064400000004172146412132660021501 0ustar00 'deptId', 'deptName' => 'deptName', 'deptType' => 'deptType', 'sortFactor' => 'sortFactor', 'superId' => 'superId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->deptType) { $res['deptType'] = $this->deptType; } if (null !== $this->sortFactor) { $res['sortFactor'] = $this->sortFactor; } if (null !== $this->superId) { $res['superId'] = $this->superId; } return $res; } /** * @param array $map * * @return CollegeQueryCollegeDeptInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['deptType'])) { $model->deptType = $map['deptType']; } if (isset($map['sortFactor'])) { $model->sortFactor = $map['sortFactor']; } if (isset($map['superId'])) { $model->superId = $map['superId']; } return $model; } } src/industry_1_0/Models/CollegeQueryStudentInfoByDeptHeaders.php000064400000002372146412132660021007 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeQueryStudentInfoByDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeQueryStudentInfoByDeptRequest.php000064400000002263146412132660021063 0ustar00 'deptId', 'studentId' => 'studentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } return $res; } /** * @param array $map * * @return CollegeQueryStudentInfoByDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } return $model; } } src/industry_1_0/Models/CollegeQueryStudentInfoByDeptResponse.php000064400000003022146412132660021223 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeQueryStudentInfoByDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeQueryStudentInfoByDeptResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeQueryStudentInfoByDeptResponseBody.php000064400000011057146412132660022050 0ustar00 'deptId', 'dingMemberStatus' => 'dingMemberStatus', 'empExtension' => 'empExtension', 'gender' => 'gender', 'identifyId' => 'identifyId', 'isActive' => 'isActive', 'startYear' => 'startYear', 'studentId' => 'studentId', 'studentName' => 'studentName', 'studentNumber' => 'studentNumber', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->dingMemberStatus) { $res['dingMemberStatus'] = $this->dingMemberStatus; } if (null !== $this->empExtension) { $res['empExtension'] = $this->empExtension; } if (null !== $this->gender) { $res['gender'] = $this->gender; } if (null !== $this->identifyId) { $res['identifyId'] = $this->identifyId; } if (null !== $this->isActive) { $res['isActive'] = $this->isActive; } if (null !== $this->startYear) { $res['startYear'] = $this->startYear; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } if (null !== $this->studentName) { $res['studentName'] = $this->studentName; } if (null !== $this->studentNumber) { $res['studentNumber'] = $this->studentNumber; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CollegeQueryStudentInfoByDeptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['dingMemberStatus'])) { $model->dingMemberStatus = $map['dingMemberStatus']; } if (isset($map['empExtension'])) { $model->empExtension = $map['empExtension']; } if (isset($map['gender'])) { $model->gender = $map['gender']; } if (isset($map['identifyId'])) { $model->identifyId = $map['identifyId']; } if (isset($map['isActive'])) { $model->isActive = $map['isActive']; } if (isset($map['startYear'])) { $model->startYear = $map['startYear']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } if (isset($map['studentName'])) { $model->studentName = $map['studentName']; } if (isset($map['studentNumber'])) { $model->studentNumber = $map['studentNumber']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/CollegeQueryStudentInfoByMobileHeaders.php000064400000002376146412132660021326 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeQueryStudentInfoByMobileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeQueryStudentInfoByMobileRequest.php000064400000001572146412132660021400 0ustar00 'mobile', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } return $res; } /** * @param array $map * * @return CollegeQueryStudentInfoByMobileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } return $model; } } src/industry_1_0/Models/CollegeQueryStudentInfoByMobileResponse.php000064400000003032146412132660021537 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeQueryStudentInfoByMobileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeQueryStudentInfoByMobileResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeQueryStudentInfoByMobileResponseBody.php000064400000011777146412132660022374 0ustar00 'deptStudentInfoList', 'dingMemberStatus' => 'dingMemberStatus', 'empExtension' => 'empExtension', 'gender' => 'gender', 'identifyId' => 'identifyId', 'isActive' => 'isActive', 'startYear' => 'startYear', 'studentId' => 'studentId', 'studentName' => 'studentName', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptStudentInfoList) { $res['deptStudentInfoList'] = []; if (null !== $this->deptStudentInfoList && \is_array($this->deptStudentInfoList)) { $n = 0; foreach ($this->deptStudentInfoList as $item) { $res['deptStudentInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->dingMemberStatus) { $res['dingMemberStatus'] = $this->dingMemberStatus; } if (null !== $this->empExtension) { $res['empExtension'] = $this->empExtension; } if (null !== $this->gender) { $res['gender'] = $this->gender; } if (null !== $this->identifyId) { $res['identifyId'] = $this->identifyId; } if (null !== $this->isActive) { $res['isActive'] = $this->isActive; } if (null !== $this->startYear) { $res['startYear'] = $this->startYear; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } if (null !== $this->studentName) { $res['studentName'] = $this->studentName; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CollegeQueryStudentInfoByMobileResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptStudentInfoList'])) { if (!empty($map['deptStudentInfoList'])) { $model->deptStudentInfoList = []; $n = 0; foreach ($map['deptStudentInfoList'] as $item) { $model->deptStudentInfoList[$n++] = null !== $item ? deptStudentInfoList::fromMap($item) : $item; } } } if (isset($map['dingMemberStatus'])) { $model->dingMemberStatus = $map['dingMemberStatus']; } if (isset($map['empExtension'])) { $model->empExtension = $map['empExtension']; } if (isset($map['gender'])) { $model->gender = $map['gender']; } if (isset($map['identifyId'])) { $model->identifyId = $map['identifyId']; } if (isset($map['isActive'])) { $model->isActive = $map['isActive']; } if (isset($map['startYear'])) { $model->startYear = $map['startYear']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } if (isset($map['studentName'])) { $model->studentName = $map['studentName']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/CollegeQueryStudentInfoByMobileResponseBody/deptStudentInfoList.php000064400000003100146412132660026324 0ustar00 'deptId', 'memberType' => 'memberType', 'studentNumber' => 'studentNumber', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->studentNumber) { $res['studentNumber'] = $this->studentNumber; } return $res; } /** * @param array $map * * @return deptStudentInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } if (isset($map['studentNumber'])) { $model->studentNumber = $map['studentNumber']; } return $model; } } src/industry_1_0/Models/CollegeQueryStudentInfoByStudentIdHeaders.php000064400000002404146412132660022012 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeQueryStudentInfoByStudentIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeQueryStudentInfoByStudentIdRequest.php000064400000001622146412132660022070 0ustar00 'studentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } return $res; } /** * @param array $map * * @return CollegeQueryStudentInfoByStudentIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } return $model; } } src/industry_1_0/Models/CollegeQueryStudentInfoByStudentIdResponse.php000064400000003046146412132660022240 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeQueryStudentInfoByStudentIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeQueryStudentInfoByStudentIdResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeQueryStudentInfoByStudentIdResponseBody.php000064400000012010146412132660023045 0ustar00 'deptStudentInfoList', 'dingMemberStatus' => 'dingMemberStatus', 'empExtension' => 'empExtension', 'gender' => 'gender', 'identifyId' => 'identifyId', 'isActive' => 'isActive', 'startYear' => 'startYear', 'studentId' => 'studentId', 'studentName' => 'studentName', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptStudentInfoList) { $res['deptStudentInfoList'] = []; if (null !== $this->deptStudentInfoList && \is_array($this->deptStudentInfoList)) { $n = 0; foreach ($this->deptStudentInfoList as $item) { $res['deptStudentInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->dingMemberStatus) { $res['dingMemberStatus'] = $this->dingMemberStatus; } if (null !== $this->empExtension) { $res['empExtension'] = $this->empExtension; } if (null !== $this->gender) { $res['gender'] = $this->gender; } if (null !== $this->identifyId) { $res['identifyId'] = $this->identifyId; } if (null !== $this->isActive) { $res['isActive'] = $this->isActive; } if (null !== $this->startYear) { $res['startYear'] = $this->startYear; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } if (null !== $this->studentName) { $res['studentName'] = $this->studentName; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CollegeQueryStudentInfoByStudentIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptStudentInfoList'])) { if (!empty($map['deptStudentInfoList'])) { $model->deptStudentInfoList = []; $n = 0; foreach ($map['deptStudentInfoList'] as $item) { $model->deptStudentInfoList[$n++] = null !== $item ? deptStudentInfoList::fromMap($item) : $item; } } } if (isset($map['dingMemberStatus'])) { $model->dingMemberStatus = $map['dingMemberStatus']; } if (isset($map['empExtension'])) { $model->empExtension = $map['empExtension']; } if (isset($map['gender'])) { $model->gender = $map['gender']; } if (isset($map['identifyId'])) { $model->identifyId = $map['identifyId']; } if (isset($map['isActive'])) { $model->isActive = $map['isActive']; } if (isset($map['startYear'])) { $model->startYear = $map['startYear']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } if (isset($map['studentName'])) { $model->studentName = $map['studentName']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/CollegeQueryStudentInfoByStudentIdResponseBody/deptStudentInfoList.php000064400000003103146412132660027023 0ustar00 'deptId', 'memberType' => 'memberType', 'studentNumber' => 'studentNumber', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->studentNumber) { $res['studentNumber'] = $this->studentNumber; } return $res; } /** * @param array $map * * @return deptStudentInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } if (isset($map['studentNumber'])) { $model->studentNumber = $map['studentNumber']; } return $model; } } src/industry_1_0/Models/CollegeRemoveManagerHeaders.php000064400000002350146412132660017133 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeRemoveManagerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeRemoveManagerRequest.php000064400000002671146412132660017216 0ustar00 'deptId', 'isForce' => 'isForce', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->isForce) { $res['isForce'] = $this->isForce; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CollegeRemoveManagerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['isForce'])) { $model->isForce = $map['isForce']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/CollegeRemoveManagerResponse.php000064400000002756146412132660017370 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeRemoveManagerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeRemoveManagerResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeRemoveManagerResponseBody.php000064400000001633146412132660020177 0ustar00 'isSuccessful', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isSuccessful) { $res['isSuccessful'] = $this->isSuccessful; } return $res; } /** * @param array $map * * @return CollegeRemoveManagerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isSuccessful'])) { $model->isSuccessful = $map['isSuccessful']; } return $model; } } src/industry_1_0/Models/CollegeRemoveStudentHeaders.php000064400000002350146412132660017207 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeRemoveStudentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeRemoveStudentRequest.php000064400000002237146412132660017270 0ustar00 'deptId', 'studentId' => 'studentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } return $res; } /** * @param array $map * * @return CollegeRemoveStudentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } return $model; } } src/industry_1_0/Models/CollegeRemoveStudentResponse.php000064400000002756146412132660017444 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeRemoveStudentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeRemoveStudentResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeRemoveStudentResponseBody.php000064400000001633146412132660020253 0ustar00 'isSuccessful', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isSuccessful) { $res['isSuccessful'] = $this->isSuccessful; } return $res; } /** * @param array $map * * @return CollegeRemoveStudentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isSuccessful'])) { $model->isSuccessful = $map['isSuccessful']; } return $model; } } src/industry_1_0/Models/CollegeUpdateCollegeDeptHeaders.php000064400000002360146412132660017736 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeUpdateCollegeDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeUpdateCollegeDeptRequest.php000064400000003405146412132660020014 0ustar00 'deptId', 'deptName' => 'deptName', 'sortFactor' => 'sortFactor', 'superId' => 'superId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->sortFactor) { $res['sortFactor'] = $this->sortFactor; } if (null !== $this->superId) { $res['superId'] = $this->superId; } return $res; } /** * @param array $map * * @return CollegeUpdateCollegeDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['sortFactor'])) { $model->sortFactor = $map['sortFactor']; } if (isset($map['superId'])) { $model->superId = $map['superId']; } return $model; } } src/industry_1_0/Models/CollegeUpdateCollegeDeptResponse.php000064400000002776146412132660020174 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeUpdateCollegeDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeUpdateCollegeDeptResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeUpdateCollegeDeptResponseBody.php000064400000001643146412132660021002 0ustar00 'isSuccessful', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isSuccessful) { $res['isSuccessful'] = $this->isSuccessful; } return $res; } /** * @param array $map * * @return CollegeUpdateCollegeDeptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isSuccessful'])) { $model->isSuccessful = $map['isSuccessful']; } return $model; } } src/industry_1_0/Models/CollegeUpdateStudentDeptInfoHeaders.php000064400000002370146412132660020627 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeUpdateStudentDeptInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeUpdateStudentDeptInfoRequest.php000064400000003046146412132660020705 0ustar00 'deptId', 'studentId' => 'studentId', 'studentNumber' => 'studentNumber', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } if (null !== $this->studentNumber) { $res['studentNumber'] = $this->studentNumber; } return $res; } /** * @param array $map * * @return CollegeUpdateStudentDeptInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } if (isset($map['studentNumber'])) { $model->studentNumber = $map['studentNumber']; } return $model; } } src/industry_1_0/Models/CollegeUpdateStudentDeptInfoResponse.php000064400000003016146412132660021050 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeUpdateStudentDeptInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeUpdateStudentDeptInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeUpdateStudentDeptInfoResponseBody.php000064400000001653146412132660021673 0ustar00 'isSuccessful', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isSuccessful) { $res['isSuccessful'] = $this->isSuccessful; } return $res; } /** * @param array $map * * @return CollegeUpdateStudentDeptInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isSuccessful'])) { $model->isSuccessful = $map['isSuccessful']; } return $model; } } src/industry_1_0/Models/CollegeUpdateStudentInfoHeaders.php000064400000002360146412132660020011 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeUpdateStudentInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeUpdateStudentInfoRequest.php000064400000005036146412132660020071 0ustar00 'empExtension', 'gender' => 'gender', 'identifyId' => 'identifyId', 'startYear' => 'startYear', 'studentId' => 'studentId', 'studentName' => 'studentName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->empExtension) { $res['empExtension'] = $this->empExtension; } if (null !== $this->gender) { $res['gender'] = $this->gender; } if (null !== $this->identifyId) { $res['identifyId'] = $this->identifyId; } if (null !== $this->startYear) { $res['startYear'] = $this->startYear; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } if (null !== $this->studentName) { $res['studentName'] = $this->studentName; } return $res; } /** * @param array $map * * @return CollegeUpdateStudentInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['empExtension'])) { $model->empExtension = $map['empExtension']; } if (isset($map['gender'])) { $model->gender = $map['gender']; } if (isset($map['identifyId'])) { $model->identifyId = $map['identifyId']; } if (isset($map['startYear'])) { $model->startYear = $map['startYear']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } if (isset($map['studentName'])) { $model->studentName = $map['studentName']; } return $model; } } src/industry_1_0/Models/CollegeUpdateStudentInfoResponse.php000064400000002776146412132660020247 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeUpdateStudentInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeUpdateStudentInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeUpdateStudentInfoResponseBody.php000064400000001643146412132660021055 0ustar00 'isSuccessful', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isSuccessful) { $res['isSuccessful'] = $this->isSuccessful; } return $res; } /** * @param array $map * * @return CollegeUpdateStudentInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isSuccessful'])) { $model->isSuccessful = $map['isSuccessful']; } return $model; } } src/industry_1_0/Models/CollegeUpdateStudentMoblieHeaders.php000064400000002364146412132660020331 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollegeUpdateStudentMoblieHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CollegeUpdateStudentMoblieRequest.php000064400000002746146412132660020412 0ustar00 'isForce', 'newMobile' => 'newMobile', 'studentId' => 'studentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isForce) { $res['isForce'] = $this->isForce; } if (null !== $this->newMobile) { $res['newMobile'] = $this->newMobile; } if (null !== $this->studentId) { $res['studentId'] = $this->studentId; } return $res; } /** * @param array $map * * @return CollegeUpdateStudentMoblieRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isForce'])) { $model->isForce = $map['isForce']; } if (isset($map['newMobile'])) { $model->newMobile = $map['newMobile']; } if (isset($map['studentId'])) { $model->studentId = $map['studentId']; } return $model; } } src/industry_1_0/Models/CollegeUpdateStudentMoblieResponse.php000064400000003006146412132660020546 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollegeUpdateStudentMoblieResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollegeUpdateStudentMoblieResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CollegeUpdateStudentMoblieResponseBody.php000064400000001653146412132660021372 0ustar00 'updateResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->updateResult) { $res['updateResult'] = $this->updateResult; } return $res; } /** * @param array $map * * @return CollegeUpdateStudentMoblieResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['updateResult'])) { $model->updateResult = $map['updateResult']; } return $model; } } src/industry_1_0/Models/CustomizeContactCreateHeaders.php000064400000002354146412132660017536 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CustomizeContactCreateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CustomizeContactCreateRequest.php000064400000003000146412132660017600 0ustar00 'managerIdList', 'name' => 'name', 'order' => 'order', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->managerIdList) { $res['managerIdList'] = $this->managerIdList; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->order) { $res['order'] = $this->order; } return $res; } /** * @param array $map * * @return CustomizeContactCreateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['managerIdList'])) { if (!empty($map['managerIdList'])) { $model->managerIdList = $map['managerIdList']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['order'])) { $model->order = $map['order']; } return $model; } } src/industry_1_0/Models/CustomizeContactCreateResponse.php000064400000002766146412132660017770 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CustomizeContactCreateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CustomizeContactCreateResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CustomizeContactCreateResponseBody.php000064400000001764146412132660020603 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } return $res; } /** * @param array $map * * @return CustomizeContactCreateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } return $model; } } src/industry_1_0/Models/CustomizeContactCreateResponseBody/content.php000064400000003355146412132660022253 0ustar00 'code', 'name' => 'name', 'order' => 'order', 'rootDeptId' => 'rootDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->order) { $res['order'] = $this->order; } if (null !== $this->rootDeptId) { $res['rootDeptId'] = $this->rootDeptId; } 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['name'])) { $model->name = $map['name']; } if (isset($map['order'])) { $model->order = $map['order']; } if (isset($map['rootDeptId'])) { $model->rootDeptId = $map['rootDeptId']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeleteHeaders.php000064400000002354146412132660017535 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CustomizeContactDeleteHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeleteRequest.php000064400000001516146412132660017611 0ustar00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return CustomizeContactDeleteRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeleteResponse.php000064400000002766146412132660017767 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CustomizeContactDeleteResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CustomizeContactDeleteResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CustomizeContactDeleteResponseBody.php000064400000001526146412132660020576 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return CustomizeContactDeleteResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptCreateHeaders.php000064400000002364146412132660020354 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CustomizeContactDeptCreateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptCreateRequest.php000064400000005063146412132660020430 0ustar00 'code', 'managerIdList' => 'managerIdList', 'name' => 'name', 'order' => 'order', 'parentDeptId' => 'parentDeptId', 'refId' => 'refId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->managerIdList) { $res['managerIdList'] = $this->managerIdList; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->order) { $res['order'] = $this->order; } if (null !== $this->parentDeptId) { $res['parentDeptId'] = $this->parentDeptId; } if (null !== $this->refId) { $res['refId'] = $this->refId; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return CustomizeContactDeptCreateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['managerIdList'])) { if (!empty($map['managerIdList'])) { $model->managerIdList = $map['managerIdList']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['order'])) { $model->order = $map['order']; } if (isset($map['parentDeptId'])) { $model->parentDeptId = $map['parentDeptId']; } if (isset($map['refId'])) { $model->refId = $map['refId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptCreateResponse.php000064400000003006146412132660020571 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CustomizeContactDeptCreateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CustomizeContactDeptCreateResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CustomizeContactDeptCreateResponseBody.php000064400000001535146412132660021414 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return CustomizeContactDeptCreateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptDeleteHeaders.php000064400000002364146412132660020353 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CustomizeContactDeptDeleteHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptDeleteRequest.php000064400000002203146412132660020420 0ustar00 'code', 'deptId' => 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return CustomizeContactDeptDeleteRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptDeleteResponse.php000064400000003006146412132660020570 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CustomizeContactDeptDeleteResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CustomizeContactDeptDeleteResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CustomizeContactDeptDeleteResponseBody.php000064400000001536146412132660021414 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return CustomizeContactDeptDeleteResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptGroupCreateHeaders.php000064400000002376146412132660021374 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CustomizeContactDeptGroupCreateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptGroupCreateRequest.php000064400000002242146412132660021441 0ustar00 'code', 'deptId' => 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return CustomizeContactDeptGroupCreateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptGroupCreateResponse.php000064400000003032146412132660021605 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CustomizeContactDeptGroupCreateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CustomizeContactDeptGroupCreateResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CustomizeContactDeptGroupCreateResponseBody.php000064400000001552146412132660022430 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return CustomizeContactDeptGroupCreateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptInfoHeaders.php000064400000002360146412132660020040 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CustomizeContactDeptInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptInfoRequest.php000064400000002104146412132660020111 0ustar00 'code', 'deptId' => 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return CustomizeContactDeptInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptInfoResponse.php000064400000002776146412132660020276 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CustomizeContactDeptInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CustomizeContactDeptInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CustomizeContactDeptInfoResponseBody.php000064400000001772146412132660021107 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } return $res; } /** * @param array $map * * @return CustomizeContactDeptInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } return $model; } } src/industry_1_0/Models/CustomizeContactDeptInfoResponseBody/content.php000064400000005426146412132660022561 0ustar00 'code', 'id' => 'id', 'managerIdList' => 'managerIdList', 'name' => 'name', 'order' => 'order', 'parentDeptId' => 'parentDeptId', 'refId' => 'refId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->managerIdList) { $res['managerIdList'] = $this->managerIdList; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->order) { $res['order'] = $this->order; } if (null !== $this->parentDeptId) { $res['parentDeptId'] = $this->parentDeptId; } if (null !== $this->refId) { $res['refId'] = $this->refId; } 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['code'])) { $model->code = $map['code']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['managerIdList'])) { if (!empty($map['managerIdList'])) { $model->managerIdList = $map['managerIdList']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['order'])) { $model->order = $map['order']; } if (isset($map['parentDeptId'])) { $model->parentDeptId = $map['parentDeptId']; } if (isset($map['refId'])) { $model->refId = $map['refId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptListHeaders.php000064400000002360146412132660020060 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CustomizeContactDeptListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptListRequest.php000064400000002200146412132660020126 0ustar00 'code', 'deptId' => 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return CustomizeContactDeptListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptListResponse.php000064400000002776146412132660020316 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CustomizeContactDeptListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CustomizeContactDeptListResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CustomizeContactDeptListResponseBody.php000064400000002667146412132660021133 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return CustomizeContactDeptListResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/CustomizeContactDeptListResponseBody/content.php000064400000005426146412132660022601 0ustar00 'code', 'id' => 'id', 'managerIdList' => 'managerIdList', 'name' => 'name', 'order' => 'order', 'parentDeptId' => 'parentDeptId', 'refId' => 'refId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->managerIdList) { $res['managerIdList'] = $this->managerIdList; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->order) { $res['order'] = $this->order; } if (null !== $this->parentDeptId) { $res['parentDeptId'] = $this->parentDeptId; } if (null !== $this->refId) { $res['refId'] = $this->refId; } 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['code'])) { $model->code = $map['code']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['managerIdList'])) { if (!empty($map['managerIdList'])) { $model->managerIdList = $map['managerIdList']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['order'])) { $model->order = $map['order']; } if (isset($map['parentDeptId'])) { $model->parentDeptId = $map['parentDeptId']; } if (isset($map['refId'])) { $model->refId = $map['refId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptUpdateHeaders.php000064400000002364146412132660020373 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CustomizeContactDeptUpdateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptUpdateRequest.php000064400000004471146412132660020451 0ustar00 'code', 'deptId' => 'deptId', 'managerIdList' => 'managerIdList', 'name' => 'name', 'order' => 'order', 'parentDeptId' => 'parentDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->managerIdList) { $res['managerIdList'] = $this->managerIdList; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->order) { $res['order'] = $this->order; } if (null !== $this->parentDeptId) { $res['parentDeptId'] = $this->parentDeptId; } return $res; } /** * @param array $map * * @return CustomizeContactDeptUpdateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['managerIdList'])) { if (!empty($map['managerIdList'])) { $model->managerIdList = $map['managerIdList']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['order'])) { $model->order = $map['order']; } if (isset($map['parentDeptId'])) { $model->parentDeptId = $map['parentDeptId']; } return $model; } } src/industry_1_0/Models/CustomizeContactDeptUpdateResponse.php000064400000003006146412132660020610 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CustomizeContactDeptUpdateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CustomizeContactDeptUpdateResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CustomizeContactDeptUpdateResponseBody.php000064400000001535146412132660021433 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return CustomizeContactDeptUpdateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/CustomizeContactEmpAddHeaders.php000064400000002354146412132660017465 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CustomizeContactEmpAddHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CustomizeContactEmpAddRequest.php000064400000002734146412132660017544 0ustar00 'code', 'deptId' => 'deptId', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return CustomizeContactEmpAddRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/industry_1_0/Models/CustomizeContactEmpAddResponse.php000064400000002766146412132660017717 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CustomizeContactEmpAddResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CustomizeContactEmpAddResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CustomizeContactEmpAddResponseBody.php000064400000001526146412132660020526 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return CustomizeContactEmpAddResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/CustomizeContactEmpDeleteHeaders.php000064400000002362146412132660020176 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CustomizeContactEmpDeleteHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CustomizeContactEmpDeleteRequest.php000064400000002742146412132660020255 0ustar00 'code', 'deptId' => 'deptId', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return CustomizeContactEmpDeleteRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/industry_1_0/Models/CustomizeContactEmpDeleteResponse.php000064400000003002146412132660020411 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CustomizeContactEmpDeleteResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CustomizeContactEmpDeleteResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CustomizeContactEmpDeleteResponseBody.php000064400000001534146412132660021237 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return CustomizeContactEmpDeleteResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/CustomizeContactEmpListHeaders.php000064400000002356146412132660017712 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CustomizeContactEmpListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CustomizeContactEmpListRequest.php000064400000001544146412132660017765 0ustar00 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return CustomizeContactEmpListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/industry_1_0/Models/CustomizeContactEmpListResponse.php000064400000002772146412132660020137 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CustomizeContactEmpListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CustomizeContactEmpListResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CustomizeContactEmpListResponseBody.php000064400000002664146412132660020755 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return CustomizeContactEmpListResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/CustomizeContactEmpListResponseBody/content.php000064400000002073146412132660022421 0ustar00 '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 content */ 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/industry_1_0/Models/CustomizeContactListHeaders.php000064400000002350146412132660017242 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CustomizeContactListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CustomizeContactListResponse.php000064400000002756146412132660017477 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CustomizeContactListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CustomizeContactListResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CustomizeContactListResponseBody.php000064400000002653146412132660020311 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return CustomizeContactListResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/CustomizeContactListResponseBody/content.php000064400000003355146412132660021763 0ustar00 'code', 'name' => 'name', 'order' => 'order', 'rootDeptId' => 'rootDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->order) { $res['order'] = $this->order; } if (null !== $this->rootDeptId) { $res['rootDeptId'] = $this->rootDeptId; } 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['name'])) { $model->name = $map['name']; } if (isset($map['order'])) { $model->order = $map['order']; } if (isset($map['rootDeptId'])) { $model->rootDeptId = $map['rootDeptId']; } return $model; } } src/industry_1_0/Models/CustomizeContactUpdateHeaders.php000064400000002354146412132660017555 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CustomizeContactUpdateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/CustomizeContactUpdateRequest.php000064400000003461146412132660017632 0ustar00 'code', 'managerIdList' => 'managerIdList', 'name' => 'name', 'order' => 'order', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->managerIdList) { $res['managerIdList'] = $this->managerIdList; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->order) { $res['order'] = $this->order; } return $res; } /** * @param array $map * * @return CustomizeContactUpdateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['managerIdList'])) { if (!empty($map['managerIdList'])) { $model->managerIdList = $map['managerIdList']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['order'])) { $model->order = $map['order']; } return $model; } } src/industry_1_0/Models/CustomizeContactUpdateResponse.php000064400000002766146412132660020007 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CustomizeContactUpdateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CustomizeContactUpdateResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/CustomizeContactUpdateResponseBody.php000064400000001526146412132660020616 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return CustomizeContactUpdateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/DIgitalStoreMessagePushHeaders.php000064400000002356146412132660017615 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DIgitalStoreMessagePushHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DIgitalStoreMessagePushRequest.php000064400000003065146412132660017670 0ustar00 'messageDataList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messageDataList) { $res['messageDataList'] = []; if (null !== $this->messageDataList && \is_array($this->messageDataList)) { $n = 0; foreach ($this->messageDataList as $item) { $res['messageDataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return DIgitalStoreMessagePushRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messageDataList'])) { if (!empty($map['messageDataList'])) { $model->messageDataList = []; $n = 0; foreach ($map['messageDataList'] as $item) { $model->messageDataList[$n++] = null !== $item ? messageDataList::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/DIgitalStoreMessagePushRequest/messageDataList.php000064400000005552146412132660022745 0ustar00 'callbackKey', 'content' => 'content', 'newCard' => 'newCard', 'outTraceId' => 'outTraceId', 'sceneCardCode' => 'sceneCardCode', 'sceneScope' => 'sceneScope', 'sendNow' => 'sendNow', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callbackKey) { $res['callbackKey'] = $this->callbackKey; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->newCard) { $res['newCard'] = $this->newCard; } if (null !== $this->outTraceId) { $res['outTraceId'] = $this->outTraceId; } if (null !== $this->sceneCardCode) { $res['sceneCardCode'] = $this->sceneCardCode; } if (null !== $this->sceneScope) { $res['sceneScope'] = $this->sceneScope; } if (null !== $this->sendNow) { $res['sendNow'] = $this->sendNow; } return $res; } /** * @param array $map * * @return messageDataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callbackKey'])) { $model->callbackKey = $map['callbackKey']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['newCard'])) { $model->newCard = $map['newCard']; } if (isset($map['outTraceId'])) { $model->outTraceId = $map['outTraceId']; } if (isset($map['sceneCardCode'])) { $model->sceneCardCode = $map['sceneCardCode']; } if (isset($map['sceneScope'])) { $model->sceneScope = $map['sceneScope']; } if (isset($map['sendNow'])) { $model->sendNow = $map['sendNow']; } return $model; } } src/industry_1_0/Models/DIgitalStoreMessagePushResponse.php000064400000002772146412132660020042 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DIgitalStoreMessagePushResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DIgitalStoreMessagePushResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DIgitalStoreMessagePushResponseBody.php000064400000001564146412132660020656 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return DIgitalStoreMessagePushResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/DIgitalStoreMessagePushShrinkRequest.php000064400000001702146412132660021043 0ustar00 'messageDataList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messageDataListShrink) { $res['messageDataList'] = $this->messageDataListShrink; } return $res; } /** * @param array $map * * @return DIgitalStoreMessagePushShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messageDataList'])) { $model->messageDataListShrink = $map['messageDataList']; } return $model; } } src/industry_1_0/Models/DigitalStoreCardRecordHeaders.php000064400000002354146412132660017437 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreCardRecordHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreCardRecordRequest.php000064400000004770146412132660017520 0ustar00 'beginTime', 'endTime' => 'endTime', 'ids' => 'ids', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'sceneCardName' => 'sceneCardName', ]; 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->ids) { $res['ids'] = $this->ids; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->sceneCardName) { $res['sceneCardName'] = $this->sceneCardName; } return $res; } /** * @param array $map * * @return DigitalStoreCardRecordRequest */ 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['ids'])) { if (!empty($map['ids'])) { $model->ids = $map['ids']; } } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['sceneCardName'])) { $model->sceneCardName = $map['sceneCardName']; } return $model; } } src/industry_1_0/Models/DigitalStoreCardRecordResponse.php000064400000002766146412132660017671 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreCardRecordResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreCardRecordResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreCardRecordResponseBody.php000064400000002661146412132660020501 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return DigitalStoreCardRecordResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/DigitalStoreCardRecordResponseBody/content.php000064400000010275146412132660022153 0ustar00 'conversationTitle', 'detailList' => 'detailList', 'id' => 'id', 'memberNum' => 'memberNum', 'readNum' => 'readNum', 'readPercent' => 'readPercent', 'receiveNum' => 'receiveNum', 'sceneCardName' => 'sceneCardName', 'sendStatus' => 'sendStatus', 'sendTime' => 'sendTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationTitle) { $res['conversationTitle'] = $this->conversationTitle; } if (null !== $this->detailList) { $res['detailList'] = []; if (null !== $this->detailList && \is_array($this->detailList)) { $n = 0; foreach ($this->detailList as $item) { $res['detailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->memberNum) { $res['memberNum'] = $this->memberNum; } if (null !== $this->readNum) { $res['readNum'] = $this->readNum; } if (null !== $this->readPercent) { $res['readPercent'] = $this->readPercent; } if (null !== $this->receiveNum) { $res['receiveNum'] = $this->receiveNum; } if (null !== $this->sceneCardName) { $res['sceneCardName'] = $this->sceneCardName; } if (null !== $this->sendStatus) { $res['sendStatus'] = $this->sendStatus; } if (null !== $this->sendTime) { $res['sendTime'] = $this->sendTime; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationTitle'])) { $model->conversationTitle = $map['conversationTitle']; } if (isset($map['detailList'])) { if (!empty($map['detailList'])) { $model->detailList = []; $n = 0; foreach ($map['detailList'] as $item) { $model->detailList[$n++] = null !== $item ? detailList::fromMap($item) : $item; } } } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['memberNum'])) { $model->memberNum = $map['memberNum']; } if (isset($map['readNum'])) { $model->readNum = $map['readNum']; } if (isset($map['readPercent'])) { $model->readPercent = $map['readPercent']; } if (isset($map['receiveNum'])) { $model->receiveNum = $map['receiveNum']; } if (isset($map['sceneCardName'])) { $model->sceneCardName = $map['sceneCardName']; } if (isset($map['sendStatus'])) { $model->sendStatus = $map['sendStatus']; } if (isset($map['sendTime'])) { $model->sendTime = $map['sendTime']; } return $model; } } src/industry_1_0/Models/DigitalStoreCardRecordResponseBody/content/detailList.php000064400000004032146412132660024243 0ustar00 'deptName', 'readStatusStr' => 'readStatusStr', 'readTime' => 'readTime', 'roleName' => 'roleName', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->readStatusStr) { $res['readStatusStr'] = $this->readStatusStr; } if (null !== $this->readTime) { $res['readTime'] = $this->readTime; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return detailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['readStatusStr'])) { $model->readStatusStr = $map['readStatusStr']; } if (isset($map['readTime'])) { $model->readTime = $map['readTime']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/industry_1_0/Models/DigitalStoreContactInfoHeaders.php000064400000002356146412132660017640 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreContactInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreContactInfoResponse.php000064400000002772146412132660020065 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreContactInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreContactInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreContactInfoResponseBody.php000064400000003444146412132660020700 0ustar00 'code', 'dingDeptId' => 'dingDeptId', 'name' => 'name', 'rootDeptId' => 'rootDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->dingDeptId) { $res['dingDeptId'] = $this->dingDeptId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->rootDeptId) { $res['rootDeptId'] = $this->rootDeptId; } return $res; } /** * @param array $map * * @return DigitalStoreContactInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['dingDeptId'])) { $model->dingDeptId = $map['dingDeptId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['rootDeptId'])) { $model->rootDeptId = $map['rootDeptId']; } return $model; } } src/industry_1_0/Models/DigitalStoreConversationsHeaders.php000064400000002362146412132660020263 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreConversationsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreConversationsRequest.php000064400000002522146412132660020336 0ustar00 'conversationTitle', 'conversationType' => 'conversationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationTitle) { $res['conversationTitle'] = $this->conversationTitle; } if (null !== $this->conversationType) { $res['conversationType'] = $this->conversationType; } return $res; } /** * @param array $map * * @return DigitalStoreConversationsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationTitle'])) { $model->conversationTitle = $map['conversationTitle']; } if (isset($map['conversationType'])) { $model->conversationType = $map['conversationType']; } return $model; } } src/industry_1_0/Models/DigitalStoreConversationsResponse.php000064400000003002146412132660020476 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreConversationsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreConversationsResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreConversationsResponseBody.php000064400000002672146412132660021330 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return DigitalStoreConversationsResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/DigitalStoreConversationsResponseBody/content.php000064400000003772146412132660023004 0ustar00 'conversationTitle', 'conversationType' => 'conversationType', 'id' => 'id', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationTitle) { $res['conversationTitle'] = $this->conversationTitle; } if (null !== $this->conversationType) { $res['conversationType'] = $this->conversationType; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationTitle'])) { $model->conversationTitle = $map['conversationTitle']; } if (isset($map['conversationType'])) { $model->conversationType = $map['conversationType']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/industry_1_0/Models/DigitalStoreExportCardRecordDetailHeaders.php000064400000002404146412132660021760 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreExportCardRecordDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreExportCardRecordDetailRequest.php000064400000003611146412132660022036 0ustar00 'beginTime', 'endTime' => 'endTime', 'ids' => 'ids', 'sceneCardName' => 'sceneCardName', ]; 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->ids) { $res['ids'] = $this->ids; } if (null !== $this->sceneCardName) { $res['sceneCardName'] = $this->sceneCardName; } return $res; } /** * @param array $map * * @return DigitalStoreExportCardRecordDetailRequest */ 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['ids'])) { if (!empty($map['ids'])) { $model->ids = $map['ids']; } } if (isset($map['sceneCardName'])) { $model->sceneCardName = $map['sceneCardName']; } return $model; } } src/industry_1_0/Models/DigitalStoreExportCardRecordDetailResponse.php000064400000003046146412132660022206 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreExportCardRecordDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreExportCardRecordDetailResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreExportCardRecordDetailResponseBody.php000064400000006103146412132660023021 0ustar00 'fileName', 'fileType' => 'fileType', 'fileUrl' => 'fileUrl', 'id' => 'id', 'isImport' => 'isImport', 'remark' => 'remark', 'status' => 'status', 'successNum' => 'successNum', 'totalNum' => 'totalNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->fileUrl) { $res['fileUrl'] = $this->fileUrl; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isImport) { $res['isImport'] = $this->isImport; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->successNum) { $res['successNum'] = $this->successNum; } if (null !== $this->totalNum) { $res['totalNum'] = $this->totalNum; } return $res; } /** * @param array $map * * @return DigitalStoreExportCardRecordDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['fileUrl'])) { $model->fileUrl = $map['fileUrl']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isImport'])) { $model->isImport = $map['isImport']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['successNum'])) { $model->successNum = $map['successNum']; } if (isset($map['totalNum'])) { $model->totalNum = $map['totalNum']; } return $model; } } src/industry_1_0/Models/DigitalStoreExportCardRecordHeaders.php000064400000002370146412132660020637 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreExportCardRecordHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreExportCardRecordRequest.php000064400000003575146412132660020724 0ustar00 'beginTime', 'endTime' => 'endTime', 'ids' => 'ids', 'sceneCardName' => 'sceneCardName', ]; 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->ids) { $res['ids'] = $this->ids; } if (null !== $this->sceneCardName) { $res['sceneCardName'] = $this->sceneCardName; } return $res; } /** * @param array $map * * @return DigitalStoreExportCardRecordRequest */ 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['ids'])) { if (!empty($map['ids'])) { $model->ids = $map['ids']; } } if (isset($map['sceneCardName'])) { $model->sceneCardName = $map['sceneCardName']; } return $model; } } src/industry_1_0/Models/DigitalStoreExportCardRecordResponse.php000064400000003016146412132660021060 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreExportCardRecordResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreExportCardRecordResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreExportCardRecordResponseBody.php000064400000006067146412132660021707 0ustar00 'fileName', 'fileType' => 'fileType', 'fileUrl' => 'fileUrl', 'id' => 'id', 'isImport' => 'isImport', 'remark' => 'remark', 'status' => 'status', 'successNum' => 'successNum', 'totalNum' => 'totalNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->fileUrl) { $res['fileUrl'] = $this->fileUrl; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isImport) { $res['isImport'] = $this->isImport; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->successNum) { $res['successNum'] = $this->successNum; } if (null !== $this->totalNum) { $res['totalNum'] = $this->totalNum; } return $res; } /** * @param array $map * * @return DigitalStoreExportCardRecordResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['fileUrl'])) { $model->fileUrl = $map['fileUrl']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isImport'])) { $model->isImport = $map['isImport']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['successNum'])) { $model->successNum = $map['successNum']; } if (isset($map['totalNum'])) { $model->totalNum = $map['totalNum']; } return $model; } } src/industry_1_0/Models/DigitalStoreGroupInfoHeaders.php000064400000002352146412132660017335 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreGroupInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreGroupInfoRequest.php000064400000001542146412132660017412 0ustar00 'groupId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } return $res; } /** * @param array $map * * @return DigitalStoreGroupInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } return $model; } } src/industry_1_0/Models/DigitalStoreGroupInfoResponse.php000064400000002762146412132660017565 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreGroupInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreGroupInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreGroupInfoResponseBody.php000064400000003065146412132660020400 0ustar00 'groupId', 'groupName' => 'groupName', 'storeIdList' => 'storeIdList', ]; 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->storeIdList) { $res['storeIdList'] = $this->storeIdList; } return $res; } /** * @param array $map * * @return DigitalStoreGroupInfoResponseBody */ 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['storeIdList'])) { if (!empty($map['storeIdList'])) { $model->storeIdList = $map['storeIdList']; } } return $model; } } src/industry_1_0/Models/DigitalStoreGroupsHeaders.php000064400000002344146412132660016705 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreGroupsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreGroupsResponse.php000064400000002746146412132660017136 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreGroupsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreGroupsResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreGroupsResponseBody.php000064400000002645146412132660017752 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return DigitalStoreGroupsResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/DigitalStoreGroupsResponseBody/content.php000064400000002251146412132660021415 0ustar00 'groupId', 'groupName' => 'groupName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } return $model; } } src/industry_1_0/Models/DigitalStoreNodeInfoHeaders.php000064400000002350146412132660017124 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreNodeInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreNodeInfoRequest.php000064400000002074146412132660017204 0ustar00 'code', 'nodeId' => 'nodeId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->nodeId) { $res['nodeId'] = $this->nodeId; } return $res; } /** * @param array $map * * @return DigitalStoreNodeInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['nodeId'])) { $model->nodeId = $map['nodeId']; } return $model; } } src/industry_1_0/Models/DigitalStoreNodeInfoResponse.php000064400000002756146412132660017361 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreNodeInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreNodeInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreNodeInfoResponseBody.php000064400000004033146412132660020165 0ustar00 'dingDeptId', 'id' => 'id', 'name' => 'name', 'parentId' => 'parentId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingDeptId) { $res['dingDeptId'] = $this->dingDeptId; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return DigitalStoreNodeInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingDeptId'])) { $model->dingDeptId = $map['dingDeptId']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/industry_1_0/Models/DigitalStoreRightsInfoHeaders.php000064400000002354146412132660017503 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreRightsInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreRightsInfoResponse.php000064400000002766146412132660017735 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreRightsInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreRightsInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreRightsInfoResponseBody.php000064400000004257146412132660020550 0ustar00 'endTime', 'quantity' => 'quantity', 'rightsCode' => 'rightsCode', 'rightsName' => 'rightsName', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->rightsCode) { $res['rightsCode'] = $this->rightsCode; } if (null !== $this->rightsName) { $res['rightsName'] = $this->rightsName; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return DigitalStoreRightsInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['rightsCode'])) { $model->rightsCode = $map['rightsCode']; } if (isset($map['rightsName'])) { $model->rightsName = $map['rightsName']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/industry_1_0/Models/DigitalStoreRolesHeaders.php000064400000002342146412132660016510 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreRolesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreRolesResponse.php000064400000002742146412132660016737 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreRolesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreRolesResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreRolesResponseBody.php000064400000002642146412132660017554 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return DigitalStoreRolesResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/DigitalStoreRolesResponseBody/content.php000064400000004031146412132660021220 0ustar00 'level', 'roleCode' => 'roleCode', 'roleId' => 'roleId', 'roleName' => 'roleName', 'source' => 'source', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->level) { $res['level'] = $this->level; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } if (null !== $this->source) { $res['source'] = $this->source; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['level'])) { $model->level = $map['level']; } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } if (isset($map['source'])) { $model->source = $map['source']; } return $model; } } src/industry_1_0/Models/DigitalStoreSceneScopeHeaders.php000064400000002354146412132660017456 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreSceneScopeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreSceneScopeRequest.php000064400000002464146412132660017535 0ustar00 'openConversationId', 'sceneCode' => 'sceneCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->sceneCode) { $res['sceneCode'] = $this->sceneCode; } return $res; } /** * @param array $map * * @return DigitalStoreSceneScopeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['sceneCode'])) { $model->sceneCode = $map['sceneCode']; } return $model; } } src/industry_1_0/Models/DigitalStoreSceneScopeResponse.php000064400000002766146412132660017710 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreSceneScopeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreSceneScopeResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreSceneScopeResponseBody.php000064400000002466146412132660020523 0ustar00 'groupConversationType', 'scopeId' => 'scopeId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupConversationType) { $res['groupConversationType'] = $this->groupConversationType; } if (null !== $this->scopeId) { $res['scopeId'] = $this->scopeId; } return $res; } /** * @param array $map * * @return DigitalStoreSceneScopeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupConversationType'])) { $model->groupConversationType = $map['groupConversationType']; } if (isset($map['scopeId'])) { $model->scopeId = $map['scopeId']; } return $model; } } src/industry_1_0/Models/DigitalStoreStoreInfoHeaders.php000064400000002352146412132660017335 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreStoreInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreStoreInfoRequest.php000064400000002110146412132660017402 0ustar00 'code', 'storeId' => 'storeId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->storeId) { $res['storeId'] = $this->storeId; } return $res; } /** * @param array $map * * @return DigitalStoreStoreInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['storeId'])) { $model->storeId = $map['storeId']; } return $model; } } src/industry_1_0/Models/DigitalStoreStoreInfoResponse.php000064400000002762146412132660017565 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreStoreInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreStoreInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreStoreInfoResponseBody.php000064400000012313146412132660020374 0ustar00 'address', 'businessHours' => 'businessHours', 'dingDeptId' => 'dingDeptId', 'latitude' => 'latitude', 'locationAddress' => 'locationAddress', 'longitude' => 'longitude', 'name' => 'name', 'parentId' => 'parentId', 'status' => 'status', 'storeAcreage' => 'storeAcreage', 'storeBandwidth' => 'storeBandwidth', 'storeCode' => 'storeCode', 'storeId' => 'storeId', 'telephone' => 'telephone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->businessHours) { $res['businessHours'] = $this->businessHours; } if (null !== $this->dingDeptId) { $res['dingDeptId'] = $this->dingDeptId; } if (null !== $this->latitude) { $res['latitude'] = $this->latitude; } if (null !== $this->locationAddress) { $res['locationAddress'] = $this->locationAddress; } if (null !== $this->longitude) { $res['longitude'] = $this->longitude; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->storeAcreage) { $res['storeAcreage'] = $this->storeAcreage; } if (null !== $this->storeBandwidth) { $res['storeBandwidth'] = $this->storeBandwidth; } if (null !== $this->storeCode) { $res['storeCode'] = $this->storeCode; } if (null !== $this->storeId) { $res['storeId'] = $this->storeId; } if (null !== $this->telephone) { $res['telephone'] = $this->telephone; } return $res; } /** * @param array $map * * @return DigitalStoreStoreInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['businessHours'])) { $model->businessHours = $map['businessHours']; } if (isset($map['dingDeptId'])) { $model->dingDeptId = $map['dingDeptId']; } if (isset($map['latitude'])) { $model->latitude = $map['latitude']; } if (isset($map['locationAddress'])) { $model->locationAddress = $map['locationAddress']; } if (isset($map['longitude'])) { $model->longitude = $map['longitude']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['storeAcreage'])) { $model->storeAcreage = $map['storeAcreage']; } if (isset($map['storeBandwidth'])) { $model->storeBandwidth = $map['storeBandwidth']; } if (isset($map['storeCode'])) { $model->storeCode = $map['storeCode']; } if (isset($map['storeId'])) { $model->storeId = $map['storeId']; } if (isset($map['telephone'])) { $model->telephone = $map['telephone']; } return $model; } } src/industry_1_0/Models/DigitalStoreSubNodesHeaders.php000064400000002350146412132660017145 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreSubNodesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreSubNodesRequest.php000064400000002074146412132660017225 0ustar00 'code', 'nodeId' => 'nodeId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->nodeId) { $res['nodeId'] = $this->nodeId; } return $res; } /** * @param array $map * * @return DigitalStoreSubNodesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['nodeId'])) { $model->nodeId = $map['nodeId']; } return $model; } } src/industry_1_0/Models/DigitalStoreSubNodesResponse.php000064400000002756146412132660017402 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreSubNodesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreSubNodesResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreSubNodesResponseBody.php000064400000002653146412132660020214 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return DigitalStoreSubNodesResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/DigitalStoreSubNodesResponseBody/content.php000064400000003752146412132660021667 0ustar00 'dingDeptId', 'id' => 'id', 'name' => 'name', 'parentId' => 'parentId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingDeptId) { $res['dingDeptId'] = $this->dingDeptId; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } 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['dingDeptId'])) { $model->dingDeptId = $map['dingDeptId']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/industry_1_0/Models/DigitalStoreUpdateAuthInfoHeaders.php000064400000002364146412132660020310 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreUpdateAuthInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreUpdateAuthInfoRequest.php000064400000003054146412132660020362 0ustar00 'updateUserList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->updateUserList) { $res['updateUserList'] = []; if (null !== $this->updateUserList && \is_array($this->updateUserList)) { $n = 0; foreach ($this->updateUserList as $item) { $res['updateUserList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return DigitalStoreUpdateAuthInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['updateUserList'])) { if (!empty($map['updateUserList'])) { $model->updateUserList = []; $n = 0; foreach ($map['updateUserList'] as $item) { $model->updateUserList[$n++] = null !== $item ? updateUserList::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/DigitalStoreUpdateAuthInfoRequest/updateUserList.php000064400000005335146412132660023343 0ustar00 'roleList', 'userAuthList' => 'userAuthList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleList) { $res['roleList'] = []; if (null !== $this->roleList && \is_array($this->roleList)) { $n = 0; foreach ($this->roleList as $item) { $res['roleList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userAuthList) { $res['userAuthList'] = []; if (null !== $this->userAuthList && \is_array($this->userAuthList)) { $n = 0; foreach ($this->userAuthList as $item) { $res['userAuthList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return updateUserList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleList'])) { if (!empty($map['roleList'])) { $model->roleList = []; $n = 0; foreach ($map['roleList'] as $item) { $model->roleList[$n++] = null !== $item ? roleList::fromMap($item) : $item; } } } if (isset($map['userAuthList'])) { if (!empty($map['userAuthList'])) { $model->userAuthList = []; $n = 0; foreach ($map['userAuthList'] as $item) { $model->userAuthList[$n++] = null !== $item ? userAuthList::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/DigitalStoreUpdateAuthInfoRequest/updateUserList/roleList.php000064400000002345146412132660025136 0ustar00 'roleName', 'sourceRoleId' => 'sourceRoleId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } if (null !== $this->sourceRoleId) { $res['sourceRoleId'] = $this->sourceRoleId; } return $res; } /** * @param array $map * * @return roleList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } if (isset($map['sourceRoleId'])) { $model->sourceRoleId = $map['sourceRoleId']; } return $model; } } src/industry_1_0/Models/DigitalStoreUpdateAuthInfoRequest/updateUserList/userAuthList.php000064400000002401146412132660025766 0ustar00 'dingDeptId', 'sourceDeptId' => 'sourceDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingDeptId) { $res['dingDeptId'] = $this->dingDeptId; } if (null !== $this->sourceDeptId) { $res['sourceDeptId'] = $this->sourceDeptId; } return $res; } /** * @param array $map * * @return userAuthList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingDeptId'])) { $model->dingDeptId = $map['dingDeptId']; } if (isset($map['sourceDeptId'])) { $model->sourceDeptId = $map['sourceDeptId']; } return $model; } } src/industry_1_0/Models/DigitalStoreUpdateAuthInfoResponse.php000064400000003006146412132660020525 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreUpdateAuthInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreUpdateAuthInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreUpdateAuthInfoResponseBody.php000064400000001525146412132660021347 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DigitalStoreUpdateAuthInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/DigitalStoreUserInfoHeaders.php000064400000002350146412132660017155 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreUserInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreUserInfoRequest.php000064400000002201146412132660017225 0ustar00 'code', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DigitalStoreUserInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/DigitalStoreUserInfoResponse.php000064400000002756146412132660017412 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreUserInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreUserInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreUserInfoResponseBody.php000064400000004363146412132660020224 0ustar00 'name', 'roleIdList' => 'roleIdList', 'scopeList' => 'scopeList', 'storeList' => 'storeList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->roleIdList) { $res['roleIdList'] = $this->roleIdList; } if (null !== $this->scopeList) { $res['scopeList'] = $this->scopeList; } if (null !== $this->storeList) { $res['storeList'] = $this->storeList; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DigitalStoreUserInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['roleIdList'])) { if (!empty($map['roleIdList'])) { $model->roleIdList = $map['roleIdList']; } } if (isset($map['scopeList'])) { if (!empty($map['scopeList'])) { $model->scopeList = $map['scopeList']; } } if (isset($map['storeList'])) { if (!empty($map['storeList'])) { $model->storeList = $map['storeList']; } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/DigitalStoreUsersHeaders.php000064400000002342146412132660016525 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStoreUsersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStoreUsersRequest.php000064400000002164146412132660016604 0ustar00 'code', 'nodeId' => 'nodeId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->nodeId) { $res['nodeId'] = $this->nodeId; } return $res; } /** * @param array $map * * @return DigitalStoreUsersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['nodeId'])) { $model->nodeId = $map['nodeId']; } return $model; } } src/industry_1_0/Models/DigitalStoreUsersResponse.php000064400000002742146412132660016754 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStoreUsersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStoreUsersResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStoreUsersResponseBody.php000064400000002642146412132660017571 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return DigitalStoreUsersResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/DigitalStoreUsersResponseBody/content.php000064400000002167146412132660021245 0ustar00 '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 content */ 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/industry_1_0/Models/DigitalStorelistExportTaskRecordHeaders.php000064400000002400146412132660021556 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DigitalStorelistExportTaskRecordHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/DigitalStorelistExportTaskRecordRequest.php000064400000002231146412132660021635 0ustar00 '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 DigitalStorelistExportTaskRecordRequest */ 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/industry_1_0/Models/DigitalStorelistExportTaskRecordResponse.php000064400000003036146412132660022007 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DigitalStorelistExportTaskRecordResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DigitalStorelistExportTaskRecordResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/DigitalStorelistExportTaskRecordResponseBody.php000064400000002717146412132660022632 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return DigitalStorelistExportTaskRecordResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/DigitalStorelistExportTaskRecordResponseBody/content.php000064400000006042146412132660024277 0ustar00 'fileName', 'fileType' => 'fileType', 'fileUrl' => 'fileUrl', 'id' => 'id', 'isImport' => 'isImport', 'remark' => 'remark', 'status' => 'status', 'successNum' => 'successNum', 'totalNum' => 'totalNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->fileUrl) { $res['fileUrl'] = $this->fileUrl; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isImport) { $res['isImport'] = $this->isImport; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->successNum) { $res['successNum'] = $this->successNum; } if (null !== $this->totalNum) { $res['totalNum'] = $this->totalNum; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['fileUrl'])) { $model->fileUrl = $map['fileUrl']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isImport'])) { $model->isImport = $map['isImport']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['successNum'])) { $model->successNum = $map['successNum']; } if (isset($map['totalNum'])) { $model->totalNum = $map['totalNum']; } return $model; } } src/industry_1_0/Models/ExternalQueryExternalAppOrgsHeaders.php000064400000002370146412132660020721 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ExternalQueryExternalAppOrgsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/ExternalQueryExternalAppOrgsRequest.php000064400000001651146412132660020777 0ustar00 'externalType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->externalType) { $res['externalType'] = $this->externalType; } return $res; } /** * @param array $map * * @return ExternalQueryExternalAppOrgsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['externalType'])) { $model->externalType = $map['externalType']; } return $model; } } src/industry_1_0/Models/ExternalQueryExternalAppOrgsResponse.php000064400000003016146412132660021142 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ExternalQueryExternalAppOrgsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ExternalQueryExternalAppOrgsResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/ExternalQueryExternalAppOrgsResponseBody.php000064400000002661146412132660021765 0ustar00 '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 ExternalQueryExternalAppOrgsResponseBody */ 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/industry_1_0/Models/ExternalQueryExternalAppOrgsResponseBody/result.php000064400000002245146412132660023301 0ustar00 '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 result */ 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/industry_1_0/Models/ExternalQueryExternalBelongMainOrgHeaders.php000064400000002404146412132660022027 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ExternalQueryExternalBelongMainOrgHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/ExternalQueryExternalBelongMainOrgRequest.php000064400000001665146412132660022114 0ustar00 'externalType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->externalType) { $res['externalType'] = $this->externalType; } return $res; } /** * @param array $map * * @return ExternalQueryExternalBelongMainOrgRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['externalType'])) { $model->externalType = $map['externalType']; } return $model; } } src/industry_1_0/Models/ExternalQueryExternalBelongMainOrgResponse.php000064400000003046146412132660022255 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ExternalQueryExternalBelongMainOrgResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ExternalQueryExternalBelongMainOrgResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/ExternalQueryExternalBelongMainOrgResponseBody.php000064400000002211146412132660023064 0ustar00 '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 ExternalQueryExternalBelongMainOrgResponseBody */ 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/industry_1_0/Models/ExternalQueryExternalOrgsHeaders.php000064400000002362146412132660020261 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ExternalQueryExternalOrgsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/ExternalQueryExternalOrgsRequest.php000064400000001643146412132660020337 0ustar00 'externalType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->externalType) { $res['externalType'] = $this->externalType; } return $res; } /** * @param array $map * * @return ExternalQueryExternalOrgsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['externalType'])) { $model->externalType = $map['externalType']; } return $model; } } src/industry_1_0/Models/ExternalQueryExternalOrgsResponse.php000064400000003002146412132660020474 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ExternalQueryExternalOrgsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ExternalQueryExternalOrgsResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/ExternalQueryExternalOrgsResponseBody.php000064400000002650146412132660021322 0ustar00 '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 ExternalQueryExternalOrgsResponseBody */ 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/industry_1_0/Models/ExternalQueryExternalOrgsResponseBody/result.php000064400000002242146412132660022635 0ustar00 '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 result */ 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/industry_1_0/Models/HospitalDataCheckHeaders.php000064400000002342146412132660016424 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return HospitalDataCheckHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/HospitalDataCheckRequest.php000064400000006545146412132660016512 0ustar00 'allDeptCount', 'allDeptUserCount' => 'allDeptUserCount', 'allGroupCount' => 'allGroupCount', 'allGroupUserCount' => 'allGroupUserCount', 'deptCount' => 'deptCount', 'deptUserCount' => 'deptUserCount', 'groupCount' => 'groupCount', 'groupUserCount' => 'groupUserCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->allDeptCount) { $res['allDeptCount'] = $this->allDeptCount; } if (null !== $this->allDeptUserCount) { $res['allDeptUserCount'] = $this->allDeptUserCount; } if (null !== $this->allGroupCount) { $res['allGroupCount'] = $this->allGroupCount; } if (null !== $this->allGroupUserCount) { $res['allGroupUserCount'] = $this->allGroupUserCount; } if (null !== $this->deptCount) { $res['deptCount'] = $this->deptCount; } if (null !== $this->deptUserCount) { $res['deptUserCount'] = $this->deptUserCount; } if (null !== $this->groupCount) { $res['groupCount'] = $this->groupCount; } if (null !== $this->groupUserCount) { $res['groupUserCount'] = $this->groupUserCount; } return $res; } /** * @param array $map * * @return HospitalDataCheckRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['allDeptCount'])) { $model->allDeptCount = $map['allDeptCount']; } if (isset($map['allDeptUserCount'])) { $model->allDeptUserCount = $map['allDeptUserCount']; } if (isset($map['allGroupCount'])) { $model->allGroupCount = $map['allGroupCount']; } if (isset($map['allGroupUserCount'])) { $model->allGroupUserCount = $map['allGroupUserCount']; } if (isset($map['deptCount'])) { $model->deptCount = $map['deptCount']; } if (isset($map['deptUserCount'])) { $model->deptUserCount = $map['deptUserCount']; } if (isset($map['groupCount'])) { $model->groupCount = $map['groupCount']; } if (isset($map['groupUserCount'])) { $model->groupUserCount = $map['groupUserCount']; } return $model; } } src/industry_1_0/Models/HospitalDataCheckResponse.php000064400000002742146412132660016653 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return HospitalDataCheckResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = HospitalDataCheckResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/HospitalDataCheckResponseBody.php000064400000006666146412132660017502 0ustar00 'allDeptCount', 'allDeptUserCount' => 'allDeptUserCount', 'allGroupCount' => 'allGroupCount', 'allGroupUserCount' => 'allGroupUserCount', 'deptCount' => 'deptCount', 'deptUserCount' => 'deptUserCount', 'groupCount' => 'groupCount', 'groupUserCount' => 'groupUserCount', 'match' => 'match', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->allDeptCount) { $res['allDeptCount'] = $this->allDeptCount; } if (null !== $this->allDeptUserCount) { $res['allDeptUserCount'] = $this->allDeptUserCount; } if (null !== $this->allGroupCount) { $res['allGroupCount'] = $this->allGroupCount; } if (null !== $this->allGroupUserCount) { $res['allGroupUserCount'] = $this->allGroupUserCount; } if (null !== $this->deptCount) { $res['deptCount'] = $this->deptCount; } if (null !== $this->deptUserCount) { $res['deptUserCount'] = $this->deptUserCount; } if (null !== $this->groupCount) { $res['groupCount'] = $this->groupCount; } if (null !== $this->groupUserCount) { $res['groupUserCount'] = $this->groupUserCount; } if (null !== $this->match) { $res['match'] = $this->match; } return $res; } /** * @param array $map * * @return HospitalDataCheckResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['allDeptCount'])) { $model->allDeptCount = $map['allDeptCount']; } if (isset($map['allDeptUserCount'])) { $model->allDeptUserCount = $map['allDeptUserCount']; } if (isset($map['allGroupCount'])) { $model->allGroupCount = $map['allGroupCount']; } if (isset($map['allGroupUserCount'])) { $model->allGroupUserCount = $map['allGroupUserCount']; } if (isset($map['deptCount'])) { $model->deptCount = $map['deptCount']; } if (isset($map['deptUserCount'])) { $model->deptUserCount = $map['deptUserCount']; } if (isset($map['groupCount'])) { $model->groupCount = $map['groupCount']; } if (isset($map['groupUserCount'])) { $model->groupUserCount = $map['groupUserCount']; } if (isset($map['match'])) { $model->match = $map['match']; } return $model; } } src/industry_1_0/Models/IndustryManufactureCommonEventHeaders.php000064400000002374146412132660021305 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IndustryManufactureCommonEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/IndustryManufactureCommonEventRequest.php000064400000003355146412132660021362 0ustar00 'action', 'appKey' => 'appKey', 'bizData' => 'bizData', 'eventType' => 'eventType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->bizData) { $res['bizData'] = $this->bizData; } if (null !== $this->eventType) { $res['eventType'] = $this->eventType; } return $res; } /** * @param array $map * * @return IndustryManufactureCommonEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['bizData'])) { $model->bizData = $map['bizData']; } if (isset($map['eventType'])) { if (!empty($map['eventType'])) { $model->eventType = $map['eventType']; } } return $model; } } src/industry_1_0/Models/IndustryManufactureCommonEventResponse.php000064400000003026146412132660021523 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustryManufactureCommonEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustryManufactureCommonEventResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/IndustryManufactureCommonEventResponseBody.php000064400000003114146412132660022337 0ustar00 'errorMsg', 'requestId' => 'requestId', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } 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 IndustryManufactureCommonEventResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/industry_1_0/Models/IndustryManufactureCommonEventResponseBody/result.php000064400000002154146412132660023660 0ustar00 'content', 'httpCode' => 'httpCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->httpCode) { $res['httpCode'] = $this->httpCode; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['httpCode'])) { $model->httpCode = $map['httpCode']; } return $model; } } src/industry_1_0/Models/IndustryManufactureCostRecordListGetHeaders.php000064400000002410146412132660022405 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IndustryManufactureCostRecordListGetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/IndustryManufactureCostRecordListGetRequest.php000064400000013650146412132660022472 0ustar00 'appId', 'appIds' => 'appIds', 'appName' => 'appName', 'corpId' => 'corpId', 'cursor' => 'cursor', 'endTime' => 'endTime', 'instanceId' => 'instanceId', 'isvOrgId' => 'isvOrgId', 'materialNo' => 'materialNo', 'microappAgentId' => 'microappAgentId', 'orderNo' => 'orderNo', 'orgId' => 'orgId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'productionTaskNo' => 'productionTaskNo', 'startTime' => 'startTime', 'suiteKey' => 'suiteKey', 'tokenGrantType' => 'tokenGrantType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->appIds) { $res['appIds'] = $this->appIds; } if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->cursor) { $res['cursor'] = $this->cursor; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->isvOrgId) { $res['isvOrgId'] = $this->isvOrgId; } if (null !== $this->materialNo) { $res['materialNo'] = $this->materialNo; } if (null !== $this->microappAgentId) { $res['microappAgentId'] = $this->microappAgentId; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->orgId) { $res['orgId'] = $this->orgId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->productionTaskNo) { $res['productionTaskNo'] = $this->productionTaskNo; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->suiteKey) { $res['suiteKey'] = $this->suiteKey; } if (null !== $this->tokenGrantType) { $res['tokenGrantType'] = $this->tokenGrantType; } return $res; } /** * @param array $map * * @return IndustryManufactureCostRecordListGetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['appIds'])) { if (!empty($map['appIds'])) { $model->appIds = $map['appIds']; } } if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['cursor'])) { $model->cursor = $map['cursor']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['isvOrgId'])) { $model->isvOrgId = $map['isvOrgId']; } if (isset($map['materialNo'])) { $model->materialNo = $map['materialNo']; } if (isset($map['microappAgentId'])) { $model->microappAgentId = $map['microappAgentId']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['orgId'])) { $model->orgId = $map['orgId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['productionTaskNo'])) { $model->productionTaskNo = $map['productionTaskNo']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['suiteKey'])) { $model->suiteKey = $map['suiteKey']; } if (isset($map['tokenGrantType'])) { $model->tokenGrantType = $map['tokenGrantType']; } return $model; } } src/industry_1_0/Models/IndustryManufactureCostRecordListGetResponse.php000064400000003056146412132660022637 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustryManufactureCostRecordListGetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustryManufactureCostRecordListGetResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/IndustryManufactureCostRecordListGetResponseBody.php000064400000004444146412132660023457 0ustar00 '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 IndustryManufactureCostRecordListGetResponseBody */ 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/industry_1_0/Models/IndustryManufactureCostRecordListGetResponseBody/list_.php000064400000014322146412132660024565 0ustar00 'corpId', 'count' => 'count', 'ext' => 'ext', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'instanceId' => 'instanceId', 'isDeleted' => 'isDeleted', 'materialCostRecordNo' => 'materialCostRecordNo', 'materialName' => 'materialName', 'materialNo' => 'materialNo', 'memo' => 'memo', 'orderNo' => 'orderNo', 'price' => 'price', 'processCode' => 'processCode', 'productionTaskNo' => 'productionTaskNo', 'realCount' => 'realCount', 'realPrice' => 'realPrice', 'type' => 'type', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->ext) { $res['ext'] = $this->ext; } 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->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->materialCostRecordNo) { $res['materialCostRecordNo'] = $this->materialCostRecordNo; } if (null !== $this->materialName) { $res['materialName'] = $this->materialName; } if (null !== $this->materialNo) { $res['materialNo'] = $this->materialNo; } if (null !== $this->memo) { $res['memo'] = $this->memo; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->price) { $res['price'] = $this->price; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->productionTaskNo) { $res['productionTaskNo'] = $this->productionTaskNo; } if (null !== $this->realCount) { $res['realCount'] = $this->realCount; } if (null !== $this->realPrice) { $res['realPrice'] = $this->realPrice; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['ext'])) { $model->ext = $map['ext']; } 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['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['materialCostRecordNo'])) { $model->materialCostRecordNo = $map['materialCostRecordNo']; } if (isset($map['materialName'])) { $model->materialName = $map['materialName']; } if (isset($map['materialNo'])) { $model->materialNo = $map['materialNo']; } if (isset($map['memo'])) { $model->memo = $map['memo']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['price'])) { $model->price = $map['price']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['productionTaskNo'])) { $model->productionTaskNo = $map['productionTaskNo']; } if (isset($map['realCount'])) { $model->realCount = $map['realCount']; } if (isset($map['realPrice'])) { $model->realPrice = $map['realPrice']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/industry_1_0/Models/IndustryManufactureFeeListGetHeaders.php000064400000002372146412132660021044 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IndustryManufactureFeeListGetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/IndustryManufactureFeeListGetRequest.php000064400000013112146412132660021113 0ustar00 'appId', 'appIds' => 'appIds', 'appName' => 'appName', 'corpId' => 'corpId', 'cursor' => 'cursor', 'endTime' => 'endTime', 'isvOrgId' => 'isvOrgId', 'materialNo' => 'materialNo', 'microappAgentId' => 'microappAgentId', 'orgId' => 'orgId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'productionTaskNo' => 'productionTaskNo', 'startTime' => 'startTime', 'suiteKey' => 'suiteKey', 'tokenGrantType' => 'tokenGrantType', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->appIds) { $res['appIds'] = $this->appIds; } if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->cursor) { $res['cursor'] = $this->cursor; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->isvOrgId) { $res['isvOrgId'] = $this->isvOrgId; } if (null !== $this->materialNo) { $res['materialNo'] = $this->materialNo; } if (null !== $this->microappAgentId) { $res['microappAgentId'] = $this->microappAgentId; } if (null !== $this->orgId) { $res['orgId'] = $this->orgId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->productionTaskNo) { $res['productionTaskNo'] = $this->productionTaskNo; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->suiteKey) { $res['suiteKey'] = $this->suiteKey; } if (null !== $this->tokenGrantType) { $res['tokenGrantType'] = $this->tokenGrantType; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return IndustryManufactureFeeListGetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['appIds'])) { if (!empty($map['appIds'])) { $model->appIds = $map['appIds']; } } if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['cursor'])) { $model->cursor = $map['cursor']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['isvOrgId'])) { $model->isvOrgId = $map['isvOrgId']; } if (isset($map['materialNo'])) { $model->materialNo = $map['materialNo']; } if (isset($map['microappAgentId'])) { $model->microappAgentId = $map['microappAgentId']; } if (isset($map['orgId'])) { $model->orgId = $map['orgId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['productionTaskNo'])) { $model->productionTaskNo = $map['productionTaskNo']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['suiteKey'])) { $model->suiteKey = $map['suiteKey']; } if (isset($map['tokenGrantType'])) { $model->tokenGrantType = $map['tokenGrantType']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/industry_1_0/Models/IndustryManufactureFeeListGetResponse.php000064400000003022146412132660021260 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustryManufactureFeeListGetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustryManufactureFeeListGetResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/IndustryManufactureFeeListGetResponseBody.php000064400000004417146412132660022107 0ustar00 '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 IndustryManufactureFeeListGetResponseBody */ 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/industry_1_0/Models/IndustryManufactureFeeListGetResponseBody/list_.php000064400000012656146412132660023225 0ustar00 'amount', 'corpId' => 'corpId', 'count' => 'count', 'ext' => 'ext', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'id' => 'id', 'instanceId' => 'instanceId', 'isDeleted' => 'isDeleted', 'materialName' => 'materialName', 'materialNo' => 'materialNo', 'perAmount' => 'perAmount', 'processCode' => 'processCode', 'productionTaskNo' => 'productionTaskNo', 'title' => 'title', 'type' => 'type', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->ext) { $res['ext'] = $this->ext; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->materialName) { $res['materialName'] = $this->materialName; } if (null !== $this->materialNo) { $res['materialNo'] = $this->materialNo; } if (null !== $this->perAmount) { $res['perAmount'] = $this->perAmount; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->productionTaskNo) { $res['productionTaskNo'] = $this->productionTaskNo; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['ext'])) { $model->ext = $map['ext']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['materialName'])) { $model->materialName = $map['materialName']; } if (isset($map['materialNo'])) { $model->materialNo = $map['materialNo']; } if (isset($map['perAmount'])) { $model->perAmount = $map['perAmount']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['productionTaskNo'])) { $model->productionTaskNo = $map['productionTaskNo']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/industry_1_0/Models/IndustryManufactureLabourCostHeaders.php000064400000002372146412132660021126 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IndustryManufactureLabourCostHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/IndustryManufactureLabourCostRequest.php000064400000012375146412132660021207 0ustar00 'appId', 'appIds' => 'appIds', 'appName' => 'appName', 'corpId' => 'corpId', 'cursor' => 'cursor', 'endTime' => 'endTime', 'isvOrgId' => 'isvOrgId', 'materialNo' => 'materialNo', 'microappAgentId' => 'microappAgentId', 'orgId' => 'orgId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'processNo' => 'processNo', 'startTime' => 'startTime', 'suiteKey' => 'suiteKey', 'tokenGrantType' => 'tokenGrantType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->appIds) { $res['appIds'] = $this->appIds; } if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->cursor) { $res['cursor'] = $this->cursor; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->isvOrgId) { $res['isvOrgId'] = $this->isvOrgId; } if (null !== $this->materialNo) { $res['materialNo'] = $this->materialNo; } if (null !== $this->microappAgentId) { $res['microappAgentId'] = $this->microappAgentId; } if (null !== $this->orgId) { $res['orgId'] = $this->orgId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->processNo) { $res['processNo'] = $this->processNo; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->suiteKey) { $res['suiteKey'] = $this->suiteKey; } if (null !== $this->tokenGrantType) { $res['tokenGrantType'] = $this->tokenGrantType; } return $res; } /** * @param array $map * * @return IndustryManufactureLabourCostRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['appIds'])) { if (!empty($map['appIds'])) { $model->appIds = $map['appIds']; } } if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['cursor'])) { $model->cursor = $map['cursor']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['isvOrgId'])) { $model->isvOrgId = $map['isvOrgId']; } if (isset($map['materialNo'])) { $model->materialNo = $map['materialNo']; } if (isset($map['microappAgentId'])) { $model->microappAgentId = $map['microappAgentId']; } if (isset($map['orgId'])) { $model->orgId = $map['orgId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['processNo'])) { $model->processNo = $map['processNo']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['suiteKey'])) { $model->suiteKey = $map['suiteKey']; } if (isset($map['tokenGrantType'])) { $model->tokenGrantType = $map['tokenGrantType']; } return $model; } } src/industry_1_0/Models/IndustryManufactureLabourCostResponse.php000064400000003022146412132660021342 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustryManufactureLabourCostResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustryManufactureLabourCostResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/IndustryManufactureLabourCostResponseBody.php000064400000004417146412132660022171 0ustar00 '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 IndustryManufactureLabourCostResponseBody */ 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/industry_1_0/Models/IndustryManufactureLabourCostResponseBody/list_.php000064400000014544146412132660023305 0ustar00 'corpId', 'ext' => 'ext', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'instanceId' => 'instanceId', 'labourCostName' => 'labourCostName', 'labourCostNo' => 'labourCostNo', 'materialName' => 'materialName', 'materialNo' => 'materialNo', 'processCode' => 'processCode', 'processName' => 'processName', 'processNo' => 'processNo', 'qualifiedPrice' => 'qualifiedPrice', 'unQualifiedInfo' => 'unQualifiedInfo', 'unQualifiedPrice1' => 'unQualifiedPrice1', 'unQualifiedPrice2' => 'unQualifiedPrice2', 'unQualifiedReason1' => 'unQualifiedReason1', 'unQualifiedReason2' => 'unQualifiedReason2', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->ext) { $res['ext'] = $this->ext; } 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->labourCostName) { $res['labourCostName'] = $this->labourCostName; } if (null !== $this->labourCostNo) { $res['labourCostNo'] = $this->labourCostNo; } if (null !== $this->materialName) { $res['materialName'] = $this->materialName; } if (null !== $this->materialNo) { $res['materialNo'] = $this->materialNo; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->processName) { $res['processName'] = $this->processName; } if (null !== $this->processNo) { $res['processNo'] = $this->processNo; } if (null !== $this->qualifiedPrice) { $res['qualifiedPrice'] = $this->qualifiedPrice; } if (null !== $this->unQualifiedInfo) { $res['unQualifiedInfo'] = $this->unQualifiedInfo; } if (null !== $this->unQualifiedPrice1) { $res['unQualifiedPrice1'] = $this->unQualifiedPrice1; } if (null !== $this->unQualifiedPrice2) { $res['unQualifiedPrice2'] = $this->unQualifiedPrice2; } if (null !== $this->unQualifiedReason1) { $res['unQualifiedReason1'] = $this->unQualifiedReason1; } if (null !== $this->unQualifiedReason2) { $res['unQualifiedReason2'] = $this->unQualifiedReason2; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['ext'])) { $model->ext = $map['ext']; } 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['labourCostName'])) { $model->labourCostName = $map['labourCostName']; } if (isset($map['labourCostNo'])) { $model->labourCostNo = $map['labourCostNo']; } if (isset($map['materialName'])) { $model->materialName = $map['materialName']; } if (isset($map['materialNo'])) { $model->materialNo = $map['materialNo']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['processName'])) { $model->processName = $map['processName']; } if (isset($map['processNo'])) { $model->processNo = $map['processNo']; } if (isset($map['qualifiedPrice'])) { $model->qualifiedPrice = $map['qualifiedPrice']; } if (isset($map['unQualifiedInfo'])) { $model->unQualifiedInfo = $map['unQualifiedInfo']; } if (isset($map['unQualifiedPrice1'])) { $model->unQualifiedPrice1 = $map['unQualifiedPrice1']; } if (isset($map['unQualifiedPrice2'])) { $model->unQualifiedPrice2 = $map['unQualifiedPrice2']; } if (isset($map['unQualifiedReason1'])) { $model->unQualifiedReason1 = $map['unQualifiedReason1']; } if (isset($map['unQualifiedReason2'])) { $model->unQualifiedReason2 = $map['unQualifiedReason2']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMaterialListHeaders.php000064400000002376146412132660021447 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IndustryManufactureMaterialListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMaterialListRequest.php000064400000012416146412132660021520 0ustar00 'appId', 'appIds' => 'appIds', 'appName' => 'appName', 'corpId' => 'corpId', 'currentPage' => 'currentPage', 'cursor' => 'cursor', 'endTime' => 'endTime', 'instanceId' => 'instanceId', 'isvOrgId' => 'isvOrgId', 'materialNo' => 'materialNo', 'microappAgentId' => 'microappAgentId', 'orgId' => 'orgId', 'pageSize' => 'pageSize', 'startTime' => 'startTime', 'suiteKey' => 'suiteKey', 'tokenGrantType' => 'tokenGrantType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->appIds) { $res['appIds'] = $this->appIds; } if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->currentPage) { $res['currentPage'] = $this->currentPage; } if (null !== $this->cursor) { $res['cursor'] = $this->cursor; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->isvOrgId) { $res['isvOrgId'] = $this->isvOrgId; } if (null !== $this->materialNo) { $res['materialNo'] = $this->materialNo; } if (null !== $this->microappAgentId) { $res['microappAgentId'] = $this->microappAgentId; } if (null !== $this->orgId) { $res['orgId'] = $this->orgId; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->suiteKey) { $res['suiteKey'] = $this->suiteKey; } if (null !== $this->tokenGrantType) { $res['tokenGrantType'] = $this->tokenGrantType; } return $res; } /** * @param array $map * * @return IndustryManufactureMaterialListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['appIds'])) { if (!empty($map['appIds'])) { $model->appIds = $map['appIds']; } } if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } if (isset($map['cursor'])) { $model->cursor = $map['cursor']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['isvOrgId'])) { $model->isvOrgId = $map['isvOrgId']; } if (isset($map['materialNo'])) { $model->materialNo = $map['materialNo']; } if (isset($map['microappAgentId'])) { $model->microappAgentId = $map['microappAgentId']; } if (isset($map['orgId'])) { $model->orgId = $map['orgId']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['suiteKey'])) { $model->suiteKey = $map['suiteKey']; } if (isset($map['tokenGrantType'])) { $model->tokenGrantType = $map['tokenGrantType']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMaterialListResponse.php000064400000003032146412132660021660 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustryManufactureMaterialListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustryManufactureMaterialListResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMaterialListResponseBody.php000064400000004425146412132660022505 0ustar00 '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 IndustryManufactureMaterialListResponseBody */ 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/industry_1_0/Models/IndustryManufactureMaterialListResponseBody/list_.php000064400000010065146412132660023614 0ustar00 'category', 'corpId' => 'corpId', 'ext' => 'ext', 'instanceId' => 'instanceId', 'materialName' => 'materialName', 'materialNo' => 'materialNo', 'processCode' => 'processCode', 'specification' => 'specification', 'stockMaxWarn' => 'stockMaxWarn', 'stockMinWarn' => 'stockMinWarn', 'type' => 'type', 'unit' => 'unit', ]; 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->ext) { $res['ext'] = $this->ext; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->materialName) { $res['materialName'] = $this->materialName; } if (null !== $this->materialNo) { $res['materialNo'] = $this->materialNo; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->specification) { $res['specification'] = $this->specification; } if (null !== $this->stockMaxWarn) { $res['stockMaxWarn'] = $this->stockMaxWarn; } if (null !== $this->stockMinWarn) { $res['stockMinWarn'] = $this->stockMinWarn; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return list_ */ 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['ext'])) { $model->ext = $map['ext']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['materialName'])) { $model->materialName = $map['materialName']; } if (isset($map['materialNo'])) { $model->materialNo = $map['materialNo']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['specification'])) { $model->specification = $map['specification']; } if (isset($map['stockMaxWarn'])) { $model->stockMaxWarn = $map['stockMaxWarn']; } if (isset($map['stockMinWarn'])) { $model->stockMinWarn = $map['stockMinWarn']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesDispatchTaskHeaders.php000064400000002404146412132660022074 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IndustryManufactureMesDispatchTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesDispatchTaskRequest.php000064400000022542146412132660022156 0ustar00 'action', 'appKey' => 'appKey', 'baseDataName' => 'baseDataName', 'defectsAmount' => 'defectsAmount', 'dispatchStaffName' => 'dispatchStaffName', 'dispatchStaffNo' => 'dispatchStaffNo', 'fineAmount' => 'fineAmount', 'overdue' => 'overdue', 'planQuantity' => 'planQuantity', 'priority' => 'priority', 'processName' => 'processName', 'processUuid' => 'processUuid', 'productCode' => 'productCode', 'productName' => 'productName', 'productSpecification' => 'productSpecification', 'projectCode' => 'projectCode', 'projectId' => 'projectId', 'projectStatus' => 'projectStatus', 'taskOperators' => 'taskOperators', 'taskPlanEndTime' => 'taskPlanEndTime', 'taskPlanStartTime' => 'taskPlanStartTime', 'taskStatus' => 'taskStatus', 'taskType' => 'taskType', 'teamId' => 'teamId', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->baseDataName) { $res['baseDataName'] = $this->baseDataName; } if (null !== $this->defectsAmount) { $res['defectsAmount'] = $this->defectsAmount; } if (null !== $this->dispatchStaffName) { $res['dispatchStaffName'] = $this->dispatchStaffName; } if (null !== $this->dispatchStaffNo) { $res['dispatchStaffNo'] = $this->dispatchStaffNo; } if (null !== $this->fineAmount) { $res['fineAmount'] = $this->fineAmount; } if (null !== $this->overdue) { $res['overdue'] = $this->overdue; } if (null !== $this->planQuantity) { $res['planQuantity'] = $this->planQuantity; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->processName) { $res['processName'] = $this->processName; } if (null !== $this->processUuid) { $res['processUuid'] = $this->processUuid; } if (null !== $this->productCode) { $res['productCode'] = $this->productCode; } if (null !== $this->productName) { $res['productName'] = $this->productName; } if (null !== $this->productSpecification) { $res['productSpecification'] = $this->productSpecification; } if (null !== $this->projectCode) { $res['projectCode'] = $this->projectCode; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->projectStatus) { $res['projectStatus'] = $this->projectStatus; } if (null !== $this->taskOperators) { $res['taskOperators'] = $this->taskOperators; } if (null !== $this->taskPlanEndTime) { $res['taskPlanEndTime'] = $this->taskPlanEndTime; } if (null !== $this->taskPlanStartTime) { $res['taskPlanStartTime'] = $this->taskPlanStartTime; } if (null !== $this->taskStatus) { $res['taskStatus'] = $this->taskStatus; } if (null !== $this->taskType) { $res['taskType'] = $this->taskType; } if (null !== $this->teamId) { $res['teamId'] = $this->teamId; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return IndustryManufactureMesDispatchTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['baseDataName'])) { $model->baseDataName = $map['baseDataName']; } if (isset($map['defectsAmount'])) { $model->defectsAmount = $map['defectsAmount']; } if (isset($map['dispatchStaffName'])) { $model->dispatchStaffName = $map['dispatchStaffName']; } if (isset($map['dispatchStaffNo'])) { $model->dispatchStaffNo = $map['dispatchStaffNo']; } if (isset($map['fineAmount'])) { $model->fineAmount = $map['fineAmount']; } if (isset($map['overdue'])) { $model->overdue = $map['overdue']; } if (isset($map['planQuantity'])) { $model->planQuantity = $map['planQuantity']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['processName'])) { $model->processName = $map['processName']; } if (isset($map['processUuid'])) { $model->processUuid = $map['processUuid']; } if (isset($map['productCode'])) { $model->productCode = $map['productCode']; } if (isset($map['productName'])) { $model->productName = $map['productName']; } if (isset($map['productSpecification'])) { $model->productSpecification = $map['productSpecification']; } if (isset($map['projectCode'])) { $model->projectCode = $map['projectCode']; } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['projectStatus'])) { $model->projectStatus = $map['projectStatus']; } if (isset($map['taskOperators'])) { $model->taskOperators = $map['taskOperators']; } if (isset($map['taskPlanEndTime'])) { $model->taskPlanEndTime = $map['taskPlanEndTime']; } if (isset($map['taskPlanStartTime'])) { $model->taskPlanStartTime = $map['taskPlanStartTime']; } if (isset($map['taskStatus'])) { $model->taskStatus = $map['taskStatus']; } if (isset($map['taskType'])) { $model->taskType = $map['taskType']; } if (isset($map['teamId'])) { $model->teamId = $map['teamId']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesDispatchTaskResponse.php000064400000003046146412132660022322 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustryManufactureMesDispatchTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustryManufactureMesDispatchTaskResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesDispatchTaskResponseBody.php000064400000002013146412132660023131 0ustar00 '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 IndustryManufactureMesDispatchTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesDispatchTaskResponseBody/result.php000064400000001517146412132660024457 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesMaterialHeaders.php000064400000002374146412132660021256 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IndustryManufactureMesMaterialHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesMaterialRequest.php000064400000011515146412132660021330 0ustar00 'action', 'appKey' => 'appKey', 'baseDataName' => 'baseDataName', 'category' => 'category', 'extendData' => 'extendData', 'productCode' => 'productCode', 'productName' => 'productName', 'productSpecification' => 'productSpecification', 'prop' => 'prop', 'unit' => 'unit', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->baseDataName) { $res['baseDataName'] = $this->baseDataName; } if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->extendData) { $res['extendData'] = []; if (null !== $this->extendData && \is_array($this->extendData)) { $n = 0; foreach ($this->extendData as $item) { $res['extendData'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->productCode) { $res['productCode'] = $this->productCode; } if (null !== $this->productName) { $res['productName'] = $this->productName; } if (null !== $this->productSpecification) { $res['productSpecification'] = $this->productSpecification; } if (null !== $this->prop) { $res['prop'] = $this->prop; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return IndustryManufactureMesMaterialRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['baseDataName'])) { $model->baseDataName = $map['baseDataName']; } if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['extendData'])) { if (!empty($map['extendData'])) { $model->extendData = []; $n = 0; foreach ($map['extendData'] as $item) { $model->extendData[$n++] = null !== $item ? extendData::fromMap($item) : $item; } } } if (isset($map['productCode'])) { $model->productCode = $map['productCode']; } if (isset($map['productName'])) { $model->productName = $map['productName']; } if (isset($map['productSpecification'])) { $model->productSpecification = $map['productSpecification']; } if (isset($map['prop'])) { $model->prop = $map['prop']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesMaterialRequest/extendData.php000064400000003354146412132660023413 0ustar00 'code', 'name' => 'name', 'value' => 'value', 'valueType' => 'valueType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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 extendData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } 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/industry_1_0/Models/IndustryManufactureMesMaterialResponse.php000064400000003026146412132660021474 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustryManufactureMesMaterialResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustryManufactureMesMaterialResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesMaterialResponseBody.php000064400000001777146412132660022325 0ustar00 '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 IndustryManufactureMesMaterialResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesMaterialResponseBody/result.php000064400000001513146412132660023627 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesOutPlanHeaders.php000064400000002372146412132660021100 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IndustryManufactureMesOutPlanHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesOutPlanRequest.php000064400000016463146412132660021163 0ustar00 'approvalStatus', 'approver' => 'approver', 'baseDataName' => 'baseDataName', 'outSourceProjectCode' => 'outSourceProjectCode', 'outSourceTeamId' => 'outSourceTeamId', 'price' => 'price', 'processIdentificationCode' => 'processIdentificationCode', 'processUuids' => 'processUuids', 'productCode' => 'productCode', 'productName' => 'productName', 'productSpecification' => 'productSpecification', 'projectCode' => 'projectCode', 'projectId' => 'projectId', 'sendPlanQuantity' => 'sendPlanQuantity', 'supplierCode' => 'supplierCode', 'supplierName' => 'supplierName', 'totalWage' => 'totalWage', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approvalStatus) { $res['approvalStatus'] = $this->approvalStatus; } if (null !== $this->approver) { $res['approver'] = $this->approver; } if (null !== $this->baseDataName) { $res['baseDataName'] = $this->baseDataName; } if (null !== $this->outSourceProjectCode) { $res['outSourceProjectCode'] = $this->outSourceProjectCode; } if (null !== $this->outSourceTeamId) { $res['outSourceTeamId'] = $this->outSourceTeamId; } if (null !== $this->price) { $res['price'] = $this->price; } if (null !== $this->processIdentificationCode) { $res['processIdentificationCode'] = $this->processIdentificationCode; } if (null !== $this->processUuids) { $res['processUuids'] = $this->processUuids; } if (null !== $this->productCode) { $res['productCode'] = $this->productCode; } if (null !== $this->productName) { $res['productName'] = $this->productName; } if (null !== $this->productSpecification) { $res['productSpecification'] = $this->productSpecification; } if (null !== $this->projectCode) { $res['projectCode'] = $this->projectCode; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->sendPlanQuantity) { $res['sendPlanQuantity'] = $this->sendPlanQuantity; } if (null !== $this->supplierCode) { $res['supplierCode'] = $this->supplierCode; } if (null !== $this->supplierName) { $res['supplierName'] = $this->supplierName; } if (null !== $this->totalWage) { $res['totalWage'] = $this->totalWage; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return IndustryManufactureMesOutPlanRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approvalStatus'])) { $model->approvalStatus = $map['approvalStatus']; } if (isset($map['approver'])) { $model->approver = $map['approver']; } if (isset($map['baseDataName'])) { $model->baseDataName = $map['baseDataName']; } if (isset($map['outSourceProjectCode'])) { $model->outSourceProjectCode = $map['outSourceProjectCode']; } if (isset($map['outSourceTeamId'])) { $model->outSourceTeamId = $map['outSourceTeamId']; } if (isset($map['price'])) { $model->price = $map['price']; } if (isset($map['processIdentificationCode'])) { $model->processIdentificationCode = $map['processIdentificationCode']; } if (isset($map['processUuids'])) { $model->processUuids = $map['processUuids']; } if (isset($map['productCode'])) { $model->productCode = $map['productCode']; } if (isset($map['productName'])) { $model->productName = $map['productName']; } if (isset($map['productSpecification'])) { $model->productSpecification = $map['productSpecification']; } if (isset($map['projectCode'])) { $model->projectCode = $map['projectCode']; } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['sendPlanQuantity'])) { $model->sendPlanQuantity = $map['sendPlanQuantity']; } if (isset($map['supplierCode'])) { $model->supplierCode = $map['supplierCode']; } if (isset($map['supplierName'])) { $model->supplierName = $map['supplierName']; } if (isset($map['totalWage'])) { $model->totalWage = $map['totalWage']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesOutPlanResponse.php000064400000003022146412132660021314 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustryManufactureMesOutPlanResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustryManufactureMesOutPlanResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesOutPlanResponseBody.php000064400000001774146412132660022146 0ustar00 '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 IndustryManufactureMesOutPlanResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesOutPlanResponseBody/result.php000064400000001512146412132660023452 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesOutputHeaders.php000064400000002370146412132660021014 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IndustryManufactureMesOutputHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesOutputRequest.php000064400000025263146412132660021077 0ustar00 'action', 'appKey' => 'appKey', 'approveStatus' => 'approveStatus', 'baseDataName' => 'baseDataName', 'defectsAmount' => 'defectsAmount', 'defectsReason' => 'defectsReason', 'fineAmount' => 'fineAmount', 'hasQualityTest' => 'hasQualityTest', 'overdue' => 'overdue', 'planQuantity' => 'planQuantity', 'priority' => 'priority', 'processName' => 'processName', 'processUuid' => 'processUuid', 'productCode' => 'productCode', 'productName' => 'productName', 'productSpecification' => 'productSpecification', 'projectCode' => 'projectCode', 'projectId' => 'projectId', 'projectStatus' => 'projectStatus', 'qualityTestStatus' => 'qualityTestStatus', 'taskPlanEndTime' => 'taskPlanEndTime', 'taskPlanStartTime' => 'taskPlanStartTime', 'taskStatus' => 'taskStatus', 'taskType' => 'taskType', 'taskUuid' => 'taskUuid', 'teamId' => 'teamId', 'userId' => 'userId', 'userName' => 'userName', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->approveStatus) { $res['approveStatus'] = $this->approveStatus; } if (null !== $this->baseDataName) { $res['baseDataName'] = $this->baseDataName; } if (null !== $this->defectsAmount) { $res['defectsAmount'] = $this->defectsAmount; } if (null !== $this->defectsReason) { $res['defectsReason'] = $this->defectsReason; } if (null !== $this->fineAmount) { $res['fineAmount'] = $this->fineAmount; } if (null !== $this->hasQualityTest) { $res['hasQualityTest'] = $this->hasQualityTest; } if (null !== $this->overdue) { $res['overdue'] = $this->overdue; } if (null !== $this->planQuantity) { $res['planQuantity'] = $this->planQuantity; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->processName) { $res['processName'] = $this->processName; } if (null !== $this->processUuid) { $res['processUuid'] = $this->processUuid; } if (null !== $this->productCode) { $res['productCode'] = $this->productCode; } if (null !== $this->productName) { $res['productName'] = $this->productName; } if (null !== $this->productSpecification) { $res['productSpecification'] = $this->productSpecification; } if (null !== $this->projectCode) { $res['projectCode'] = $this->projectCode; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->projectStatus) { $res['projectStatus'] = $this->projectStatus; } if (null !== $this->qualityTestStatus) { $res['qualityTestStatus'] = $this->qualityTestStatus; } if (null !== $this->taskPlanEndTime) { $res['taskPlanEndTime'] = $this->taskPlanEndTime; } if (null !== $this->taskPlanStartTime) { $res['taskPlanStartTime'] = $this->taskPlanStartTime; } if (null !== $this->taskStatus) { $res['taskStatus'] = $this->taskStatus; } if (null !== $this->taskType) { $res['taskType'] = $this->taskType; } if (null !== $this->taskUuid) { $res['taskUuid'] = $this->taskUuid; } if (null !== $this->teamId) { $res['teamId'] = $this->teamId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userName) { $res['userName'] = $this->userName; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return IndustryManufactureMesOutputRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['approveStatus'])) { $model->approveStatus = $map['approveStatus']; } if (isset($map['baseDataName'])) { $model->baseDataName = $map['baseDataName']; } if (isset($map['defectsAmount'])) { $model->defectsAmount = $map['defectsAmount']; } if (isset($map['defectsReason'])) { $model->defectsReason = $map['defectsReason']; } if (isset($map['fineAmount'])) { $model->fineAmount = $map['fineAmount']; } if (isset($map['hasQualityTest'])) { $model->hasQualityTest = $map['hasQualityTest']; } if (isset($map['overdue'])) { $model->overdue = $map['overdue']; } if (isset($map['planQuantity'])) { $model->planQuantity = $map['planQuantity']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['processName'])) { $model->processName = $map['processName']; } if (isset($map['processUuid'])) { $model->processUuid = $map['processUuid']; } if (isset($map['productCode'])) { $model->productCode = $map['productCode']; } if (isset($map['productName'])) { $model->productName = $map['productName']; } if (isset($map['productSpecification'])) { $model->productSpecification = $map['productSpecification']; } if (isset($map['projectCode'])) { $model->projectCode = $map['projectCode']; } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['projectStatus'])) { $model->projectStatus = $map['projectStatus']; } if (isset($map['qualityTestStatus'])) { $model->qualityTestStatus = $map['qualityTestStatus']; } if (isset($map['taskPlanEndTime'])) { $model->taskPlanEndTime = $map['taskPlanEndTime']; } if (isset($map['taskPlanStartTime'])) { $model->taskPlanStartTime = $map['taskPlanStartTime']; } if (isset($map['taskStatus'])) { $model->taskStatus = $map['taskStatus']; } if (isset($map['taskType'])) { $model->taskType = $map['taskType']; } if (isset($map['taskUuid'])) { $model->taskUuid = $map['taskUuid']; } if (isset($map['teamId'])) { $model->teamId = $map['teamId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesOutputResponse.php000064400000003016146412132660021235 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustryManufactureMesOutputResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustryManufactureMesOutputResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesOutputResponseBody.php000064400000001771146412132660022061 0ustar00 '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 IndustryManufactureMesOutputResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesOutputResponseBody/result.php000064400000001511146412132660023367 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesProcessHeaders.php000064400000002372146412132660021134 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IndustryManufactureMesProcessHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesProcessRequest.php000064400000012327146412132660021212 0ustar00 'action', 'appKey' => 'appKey', 'baseDataName' => 'baseDataName', 'extendData' => 'extendData', 'name' => 'name', 'needDispatch' => 'needDispatch', 'needQualityTest' => 'needQualityTest', 'no' => 'no', 'price' => 'price', 'prop' => 'prop', 'remark' => 'remark', 'sop' => 'sop', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->baseDataName) { $res['baseDataName'] = $this->baseDataName; } if (null !== $this->extendData) { $res['extendData'] = []; if (null !== $this->extendData && \is_array($this->extendData)) { $n = 0; foreach ($this->extendData as $item) { $res['extendData'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->needDispatch) { $res['needDispatch'] = $this->needDispatch; } if (null !== $this->needQualityTest) { $res['needQualityTest'] = $this->needQualityTest; } if (null !== $this->no) { $res['no'] = $this->no; } if (null !== $this->price) { $res['price'] = $this->price; } if (null !== $this->prop) { $res['prop'] = $this->prop; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->sop) { $res['sop'] = $this->sop; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return IndustryManufactureMesProcessRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['baseDataName'])) { $model->baseDataName = $map['baseDataName']; } if (isset($map['extendData'])) { if (!empty($map['extendData'])) { $model->extendData = []; $n = 0; foreach ($map['extendData'] as $item) { $model->extendData[$n++] = null !== $item ? extendData::fromMap($item) : $item; } } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['needDispatch'])) { $model->needDispatch = $map['needDispatch']; } if (isset($map['needQualityTest'])) { $model->needQualityTest = $map['needQualityTest']; } if (isset($map['no'])) { $model->no = $map['no']; } if (isset($map['price'])) { $model->price = $map['price']; } if (isset($map['prop'])) { $model->prop = $map['prop']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['sop'])) { $model->sop = $map['sop']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesProcessRequest/extendData.php000064400000003352146412132660023271 0ustar00 'code', 'name' => 'name', 'value' => 'value', 'valueType' => 'valueType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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 extendData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } 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/industry_1_0/Models/IndustryManufactureMesProcessResponse.php000064400000003022146412132660021350 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustryManufactureMesProcessResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustryManufactureMesProcessResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesProcessResponseBody.php000064400000001774146412132660022202 0ustar00 '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 IndustryManufactureMesProcessResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesProcessResponseBody/result.php000064400000001512146412132660023506 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesProductionPlanHeaders.php000064400000002410146412132660022450 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IndustryManufactureMesProductionPlanHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesProductionPlanRequest.php000064400000023553146412132660022540 0ustar00 'action', 'actualEndTime' => 'actualEndTime', 'actualStartTime' => 'actualStartTime', 'appKey' => 'appKey', 'baseDataName' => 'baseDataName', 'bomUuid' => 'bomUuid', 'events' => 'events', 'extendData' => 'extendData', 'no' => 'no', 'overdue' => 'overdue', 'planEndTime' => 'planEndTime', 'planQuantity' => 'planQuantity', 'planStartTime' => 'planStartTime', 'processUuids' => 'processUuids', 'productCode' => 'productCode', 'productName' => 'productName', 'productSpecification' => 'productSpecification', 'qualifiedQuantity' => 'qualifiedQuantity', 'sellOrderNo' => 'sellOrderNo', 'status' => 'status', 'teamList' => 'teamList', 'title' => 'title', 'type' => 'type', 'unit' => 'unit', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->actualEndTime) { $res['actualEndTime'] = $this->actualEndTime; } if (null !== $this->actualStartTime) { $res['actualStartTime'] = $this->actualStartTime; } if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->baseDataName) { $res['baseDataName'] = $this->baseDataName; } if (null !== $this->bomUuid) { $res['bomUuid'] = $this->bomUuid; } if (null !== $this->events) { $res['events'] = $this->events; } if (null !== $this->extendData) { $res['extendData'] = []; if (null !== $this->extendData && \is_array($this->extendData)) { $n = 0; foreach ($this->extendData as $item) { $res['extendData'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->no) { $res['no'] = $this->no; } if (null !== $this->overdue) { $res['overdue'] = $this->overdue; } if (null !== $this->planEndTime) { $res['planEndTime'] = $this->planEndTime; } if (null !== $this->planQuantity) { $res['planQuantity'] = $this->planQuantity; } if (null !== $this->planStartTime) { $res['planStartTime'] = $this->planStartTime; } if (null !== $this->processUuids) { $res['processUuids'] = $this->processUuids; } if (null !== $this->productCode) { $res['productCode'] = $this->productCode; } if (null !== $this->productName) { $res['productName'] = $this->productName; } if (null !== $this->productSpecification) { $res['productSpecification'] = $this->productSpecification; } if (null !== $this->qualifiedQuantity) { $res['qualifiedQuantity'] = $this->qualifiedQuantity; } if (null !== $this->sellOrderNo) { $res['sellOrderNo'] = $this->sellOrderNo; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->teamList) { $res['teamList'] = $this->teamList; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return IndustryManufactureMesProductionPlanRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['actualEndTime'])) { $model->actualEndTime = $map['actualEndTime']; } if (isset($map['actualStartTime'])) { $model->actualStartTime = $map['actualStartTime']; } if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['baseDataName'])) { $model->baseDataName = $map['baseDataName']; } if (isset($map['bomUuid'])) { $model->bomUuid = $map['bomUuid']; } if (isset($map['events'])) { if (!empty($map['events'])) { $model->events = $map['events']; } } if (isset($map['extendData'])) { if (!empty($map['extendData'])) { $model->extendData = []; $n = 0; foreach ($map['extendData'] as $item) { $model->extendData[$n++] = null !== $item ? extendData::fromMap($item) : $item; } } } if (isset($map['no'])) { $model->no = $map['no']; } if (isset($map['overdue'])) { $model->overdue = $map['overdue']; } if (isset($map['planEndTime'])) { $model->planEndTime = $map['planEndTime']; } if (isset($map['planQuantity'])) { $model->planQuantity = $map['planQuantity']; } if (isset($map['planStartTime'])) { $model->planStartTime = $map['planStartTime']; } if (isset($map['processUuids'])) { $model->processUuids = $map['processUuids']; } if (isset($map['productCode'])) { $model->productCode = $map['productCode']; } if (isset($map['productName'])) { $model->productName = $map['productName']; } if (isset($map['productSpecification'])) { $model->productSpecification = $map['productSpecification']; } if (isset($map['qualifiedQuantity'])) { $model->qualifiedQuantity = $map['qualifiedQuantity']; } if (isset($map['sellOrderNo'])) { $model->sellOrderNo = $map['sellOrderNo']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['teamList'])) { $model->teamList = $map['teamList']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesProductionPlanRequest/extendData.php000064400000003362146412132660024615 0ustar00 'code', 'name' => 'name', 'value' => 'value', 'valueType' => 'valueType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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 extendData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } 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/industry_1_0/Models/IndustryManufactureMesProductionPlanResponse.php000064400000003056146412132660022702 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustryManufactureMesProductionPlanResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustryManufactureMesProductionPlanResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesProductionPlanResponseBody.php000064400000002021146412132660023507 0ustar00 '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 IndustryManufactureMesProductionPlanResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesProductionPlanResponseBody/result.php000064400000001521146412132660025031 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesSubCooperationTeamHeaders.php000064400000002420146412132660023253 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IndustryManufactureMesSubCooperationTeamHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesSubCooperationTeamRequest.php000064400000016213146412132660023335 0ustar00 'action', 'appKey' => 'appKey', 'baseDataName' => 'baseDataName', 'events' => 'events', 'extendData' => 'extendData', 'groupPlugins' => 'groupPlugins', 'groupType' => 'groupType', 'leaders' => 'leaders', 'members' => 'members', 'name' => 'name', 'outCorpId' => 'outCorpId', 'processIds' => 'processIds', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->baseDataName) { $res['baseDataName'] = $this->baseDataName; } if (null !== $this->events) { $res['events'] = $this->events; } if (null !== $this->extendData) { $res['extendData'] = []; if (null !== $this->extendData && \is_array($this->extendData)) { $n = 0; foreach ($this->extendData as $item) { $res['extendData'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->groupPlugins) { $res['groupPlugins'] = []; if (null !== $this->groupPlugins && \is_array($this->groupPlugins)) { $n = 0; foreach ($this->groupPlugins as $item) { $res['groupPlugins'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->groupType) { $res['groupType'] = $this->groupType; } if (null !== $this->leaders) { $res['leaders'] = []; if (null !== $this->leaders && \is_array($this->leaders)) { $n = 0; foreach ($this->leaders as $item) { $res['leaders'][$n++] = null !== $item ? $item->toMap() : $item; } } } 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->name) { $res['name'] = $this->name; } if (null !== $this->outCorpId) { $res['outCorpId'] = $this->outCorpId; } if (null !== $this->processIds) { $res['processIds'] = $this->processIds; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return IndustryManufactureMesSubCooperationTeamRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['baseDataName'])) { $model->baseDataName = $map['baseDataName']; } if (isset($map['events'])) { if (!empty($map['events'])) { $model->events = $map['events']; } } if (isset($map['extendData'])) { if (!empty($map['extendData'])) { $model->extendData = []; $n = 0; foreach ($map['extendData'] as $item) { $model->extendData[$n++] = null !== $item ? extendData::fromMap($item) : $item; } } } if (isset($map['groupPlugins'])) { if (!empty($map['groupPlugins'])) { $model->groupPlugins = []; $n = 0; foreach ($map['groupPlugins'] as $item) { $model->groupPlugins[$n++] = null !== $item ? groupPlugins::fromMap($item) : $item; } } } if (isset($map['groupType'])) { $model->groupType = $map['groupType']; } if (isset($map['leaders'])) { if (!empty($map['leaders'])) { $model->leaders = []; $n = 0; foreach ($map['leaders'] as $item) { $model->leaders[$n++] = null !== $item ? leaders::fromMap($item) : $item; } } } 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['name'])) { $model->name = $map['name']; } if (isset($map['outCorpId'])) { $model->outCorpId = $map['outCorpId']; } if (isset($map['processIds'])) { if (!empty($map['processIds'])) { $model->processIds = $map['processIds']; } } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesSubCooperationTeamRequest/extendData.php000064400000003355146412132660025421 0ustar00 'code', 'name' => 'name', 'value' => 'value', 'valueType' => 'valueType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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 extendData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } 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/industry_1_0/Models/IndustryManufactureMesSubCooperationTeamRequest/groupPlugins.php000064400000002117146412132660026031 0ustar00 '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 groupPlugins */ 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/industry_1_0/Models/IndustryManufactureMesSubCooperationTeamRequest/leaders.php000064400000002215146412132660024751 0ustar00 '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 leaders */ 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/industry_1_0/Models/IndustryManufactureMesSubCooperationTeamRequest/members.php000064400000002215146412132660024764 0ustar00 '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 members */ 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/industry_1_0/Models/IndustryManufactureMesSubCooperationTeamResponse.php000064400000003076146412132660023506 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustryManufactureMesSubCooperationTeamResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustryManufactureMesSubCooperationTeamResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesSubCooperationTeamResponseBody.php000064400000002035146412132660024316 0ustar00 '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 IndustryManufactureMesSubCooperationTeamResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesSubCooperationTeamResponseBody/result.php000064400000001525146412132660025637 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesTeamMgmtHeaders.php000064400000002374146412132660021233 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IndustryManufactureMesTeamMgmtHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/IndustryManufactureMesTeamMgmtRequest.php000064400000017224146412132660021310 0ustar00 'action', 'appKey' => 'appKey', 'baseDataName' => 'baseDataName', 'events' => 'events', 'extendData' => 'extendData', 'groupConfig' => 'groupConfig', 'groupPlugins' => 'groupPlugins', 'groupType' => 'groupType', 'id' => 'id', 'leaders' => 'leaders', 'members' => 'members', 'name' => 'name', 'processIds' => 'processIds', 'tagKey' => 'tagKey', 'tagValues' => 'tagValues', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->baseDataName) { $res['baseDataName'] = $this->baseDataName; } if (null !== $this->events) { $res['events'] = $this->events; } if (null !== $this->extendData) { $res['extendData'] = []; if (null !== $this->extendData && \is_array($this->extendData)) { $n = 0; foreach ($this->extendData as $item) { $res['extendData'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->groupConfig) { $res['groupConfig'] = $this->groupConfig; } if (null !== $this->groupPlugins) { $res['groupPlugins'] = []; if (null !== $this->groupPlugins && \is_array($this->groupPlugins)) { $n = 0; foreach ($this->groupPlugins as $item) { $res['groupPlugins'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->groupType) { $res['groupType'] = $this->groupType; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->leaders) { $res['leaders'] = []; if (null !== $this->leaders && \is_array($this->leaders)) { $n = 0; foreach ($this->leaders as $item) { $res['leaders'][$n++] = null !== $item ? $item->toMap() : $item; } } } 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->name) { $res['name'] = $this->name; } if (null !== $this->processIds) { $res['processIds'] = $this->processIds; } if (null !== $this->tagKey) { $res['tagKey'] = $this->tagKey; } if (null !== $this->tagValues) { $res['tagValues'] = $this->tagValues; } return $res; } /** * @param array $map * * @return IndustryManufactureMesTeamMgmtRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['baseDataName'])) { $model->baseDataName = $map['baseDataName']; } if (isset($map['events'])) { if (!empty($map['events'])) { $model->events = $map['events']; } } if (isset($map['extendData'])) { if (!empty($map['extendData'])) { $model->extendData = []; $n = 0; foreach ($map['extendData'] as $item) { $model->extendData[$n++] = null !== $item ? extendData::fromMap($item) : $item; } } } if (isset($map['groupConfig'])) { $model->groupConfig = $map['groupConfig']; } if (isset($map['groupPlugins'])) { if (!empty($map['groupPlugins'])) { $model->groupPlugins = []; $n = 0; foreach ($map['groupPlugins'] as $item) { $model->groupPlugins[$n++] = null !== $item ? groupPlugins::fromMap($item) : $item; } } } if (isset($map['groupType'])) { $model->groupType = $map['groupType']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['leaders'])) { if (!empty($map['leaders'])) { $model->leaders = []; $n = 0; foreach ($map['leaders'] as $item) { $model->leaders[$n++] = null !== $item ? leaders::fromMap($item) : $item; } } } 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['name'])) { $model->name = $map['name']; } if (isset($map['processIds'])) { if (!empty($map['processIds'])) { $model->processIds = $map['processIds']; } } if (isset($map['tagKey'])) { $model->tagKey = $map['tagKey']; } if (isset($map['tagValues'])) { if (!empty($map['tagValues'])) { $model->tagValues = $map['tagValues']; } } return $model; } } src/industry_1_0/Models/IndustryManufactureMesTeamMgmtRequest/extendData.php000064400000003343146412132660023366 0ustar00 'code', 'name' => 'name', 'value' => 'value', 'valueType' => 'valueType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } 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 extendData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } 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/industry_1_0/Models/IndustryManufactureMesTeamMgmtRequest/groupPlugins.php000064400000002105146412132660023776 0ustar00 '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 groupPlugins */ 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/industry_1_0/Models/IndustryManufactureMesTeamMgmtRequest/leaders.php000064400000002203146412132660022716 0ustar00 '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 leaders */ 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/industry_1_0/Models/IndustryManufactureMesTeamMgmtRequest/members.php000064400000002203146412132660022731 0ustar00 '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 members */ 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/industry_1_0/Models/IndustryManufactureMesTeamMgmtResponse.php000064400000003026146412132660021451 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustryManufactureMesTeamMgmtResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustryManufactureMesTeamMgmtResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesTeamMgmtResponseBody.php000064400000003213146412132660022265 0ustar00 'dingOpenErrcode', 'errorMsg' => 'errorMsg', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingOpenErrcode) { $res['dingOpenErrcode'] = $this->dingOpenErrcode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return IndustryManufactureMesTeamMgmtResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingOpenErrcode'])) { $model->dingOpenErrcode = $map['dingOpenErrcode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/industry_1_0/Models/IndustryManufactureMesTeamMgmtResponseBody/result.php000064400000001513146412132660023604 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/industry_1_0/Models/IndustryMmanufactureMaterialCostGetHeaders.php000064400000002406146412132660022253 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IndustryMmanufactureMaterialCostGetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/IndustryMmanufactureMaterialCostGetRequest.php000064400000012416146412132660022332 0ustar00 'appId', 'appIds' => 'appIds', 'appName' => 'appName', 'corpId' => 'corpId', 'cursor' => 'cursor', 'endTime' => 'endTime', 'instanceId' => 'instanceId', 'isvOrgId' => 'isvOrgId', 'materialNo' => 'materialNo', 'microappAgentId' => 'microappAgentId', 'orgId' => 'orgId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'startTime' => 'startTime', 'suiteKey' => 'suiteKey', 'tokenGrantType' => 'tokenGrantType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->appIds) { $res['appIds'] = $this->appIds; } if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->cursor) { $res['cursor'] = $this->cursor; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->isvOrgId) { $res['isvOrgId'] = $this->isvOrgId; } if (null !== $this->materialNo) { $res['materialNo'] = $this->materialNo; } if (null !== $this->microappAgentId) { $res['microappAgentId'] = $this->microappAgentId; } if (null !== $this->orgId) { $res['orgId'] = $this->orgId; } 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->suiteKey) { $res['suiteKey'] = $this->suiteKey; } if (null !== $this->tokenGrantType) { $res['tokenGrantType'] = $this->tokenGrantType; } return $res; } /** * @param array $map * * @return IndustryMmanufactureMaterialCostGetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['appIds'])) { if (!empty($map['appIds'])) { $model->appIds = $map['appIds']; } } if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['cursor'])) { $model->cursor = $map['cursor']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['isvOrgId'])) { $model->isvOrgId = $map['isvOrgId']; } if (isset($map['materialNo'])) { $model->materialNo = $map['materialNo']; } if (isset($map['microappAgentId'])) { $model->microappAgentId = $map['microappAgentId']; } if (isset($map['orgId'])) { $model->orgId = $map['orgId']; } 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['suiteKey'])) { $model->suiteKey = $map['suiteKey']; } if (isset($map['tokenGrantType'])) { $model->tokenGrantType = $map['tokenGrantType']; } return $model; } } src/industry_1_0/Models/IndustryMmanufactureMaterialCostGetResponse.php000064400000003052146412132660022474 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustryMmanufactureMaterialCostGetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustryMmanufactureMaterialCostGetResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/IndustryMmanufactureMaterialCostGetResponseBody.php000064400000004441146412132660023315 0ustar00 '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 IndustryMmanufactureMaterialCostGetResponseBody */ 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/industry_1_0/Models/IndustryMmanufactureMaterialCostGetResponseBody/list_.php000064400000011102146412132660024417 0ustar00 'actPrice', 'corpId' => 'corpId', 'count' => 'count', 'ext' => 'ext', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'instanceId' => 'instanceId', 'materialCostNo' => 'materialCostNo', 'materialName' => 'materialName', 'materialNo' => 'materialNo', 'memo' => 'memo', 'price' => 'price', 'processCode' => 'processCode', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actPrice) { $res['actPrice'] = $this->actPrice; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->ext) { $res['ext'] = $this->ext; } 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->materialCostNo) { $res['materialCostNo'] = $this->materialCostNo; } if (null !== $this->materialName) { $res['materialName'] = $this->materialName; } if (null !== $this->materialNo) { $res['materialNo'] = $this->materialNo; } if (null !== $this->memo) { $res['memo'] = $this->memo; } if (null !== $this->price) { $res['price'] = $this->price; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actPrice'])) { $model->actPrice = $map['actPrice']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['ext'])) { $model->ext = $map['ext']; } 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['materialCostNo'])) { $model->materialCostNo = $map['materialCostNo']; } if (isset($map['materialName'])) { $model->materialName = $map['materialName']; } if (isset($map['materialNo'])) { $model->materialNo = $map['materialNo']; } if (isset($map['memo'])) { $model->memo = $map['memo']; } if (isset($map['price'])) { $model->price = $map['price']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/industry_1_0/Models/PushDingMessageHeaders.php000064400000002336146412132660016142 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PushDingMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/PushDingMessageRequest.php000064400000007045146412132660016221 0ustar00 'appId', 'content' => 'content', 'messageType' => 'messageType', 'messageUrl' => 'messageUrl', 'pictureUrl' => 'pictureUrl', 'singleTitle' => 'singleTitle', 'singleUrl' => 'singleUrl', 'title' => 'title', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->messageType) { $res['messageType'] = $this->messageType; } if (null !== $this->messageUrl) { $res['messageUrl'] = $this->messageUrl; } if (null !== $this->pictureUrl) { $res['pictureUrl'] = $this->pictureUrl; } if (null !== $this->singleTitle) { $res['singleTitle'] = $this->singleTitle; } if (null !== $this->singleUrl) { $res['singleUrl'] = $this->singleUrl; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return PushDingMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['messageType'])) { $model->messageType = $map['messageType']; } if (isset($map['messageUrl'])) { $model->messageUrl = $map['messageUrl']; } if (isset($map['pictureUrl'])) { $model->pictureUrl = $map['pictureUrl']; } if (isset($map['singleTitle'])) { $model->singleTitle = $map['singleTitle']; } if (isset($map['singleUrl'])) { $model->singleUrl = $map['singleUrl']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/industry_1_0/Models/PushDingMessageResponse.php000064400000002732146412132660016365 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PushDingMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PushDingMessageResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/PushDingMessageResponseBody.php000064400000002134146412132660017177 0ustar00 'content', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return PushDingMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/industry_1_0/Models/QueryAllDepartmentHeaders.php000064400000002344146412132660016675 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAllDepartmentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryAllDepartmentRequest.php000064400000002261146412132660016750 0ustar00 '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 QueryAllDepartmentRequest */ 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/industry_1_0/Models/QueryAllDepartmentResponse.php000064400000002746146412132660017126 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAllDepartmentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAllDepartmentResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryAllDepartmentResponseBody.php000064400000004617146412132660017743 0ustar00 'content', 'currentPage' => 'currentPage', 'totalCount' => 'totalCount', 'totalPages' => 'totalPages', ]; 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->currentPage) { $res['currentPage'] = $this->currentPage; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } if (null !== $this->totalPages) { $res['totalPages'] = $this->totalPages; } return $res; } /** * @param array $map * * @return QueryAllDepartmentResponseBody */ 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 ? content::fromMap($item) : $item; } } } if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } if (isset($map['totalPages'])) { $model->totalPages = $map['totalPages']; } return $model; } } src/industry_1_0/Models/QueryAllDepartmentResponseBody/content.php000064400000005110146412132660021402 0ustar00 'deptAndExt', 'groupAndExtList' => 'groupAndExtList', 'id' => 'id', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptAndExt) { $res['deptAndExt'] = null !== $this->deptAndExt ? $this->deptAndExt->toMap() : null; } if (null !== $this->groupAndExtList) { $res['groupAndExtList'] = []; if (null !== $this->groupAndExtList && \is_array($this->groupAndExtList)) { $n = 0; foreach ($this->groupAndExtList as $item) { $res['groupAndExtList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptAndExt'])) { $model->deptAndExt = deptAndExt::fromMap($map['deptAndExt']); } if (isset($map['groupAndExtList'])) { if (!empty($map['groupAndExtList'])) { $model->groupAndExtList = []; $n = 0; foreach ($map['groupAndExtList'] as $item) { $model->groupAndExtList[$n++] = null !== $item ? groupAndExtList::fromMap($item) : $item; } } } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/industry_1_0/Models/QueryAllDepartmentResponseBody/content/deptAndExt.php000064400000003751146412132660023453 0ustar00 'department', 'extendInfos' => 'extendInfos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->department) { $res['department'] = null !== $this->department ? $this->department->toMap() : null; } if (null !== $this->extendInfos) { $res['extendInfos'] = []; if (null !== $this->extendInfos && \is_array($this->extendInfos)) { $n = 0; foreach ($this->extendInfos as $item) { $res['extendInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return deptAndExt */ public static function fromMap($map = []) { $model = new self(); if (isset($map['department'])) { $model->department = department::fromMap($map['department']); } if (isset($map['extendInfos'])) { if (!empty($map['extendInfos'])) { $model->extendInfos = []; $n = 0; foreach ($map['extendInfos'] as $item) { $model->extendInfos[$n++] = null !== $item ? extendInfos::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/QueryAllDepartmentResponseBody/content/deptAndExt/department.php000064400000010733146412132660025614 0ustar00 'deptCode', 'deptName' => 'deptName', 'deptOrder' => 'deptOrder', 'deptStatus' => 'deptStatus', 'deptType' => 'deptType', 'gmtCreateStr' => 'gmtCreateStr', 'gmtModifiedStr' => 'gmtModifiedStr', 'id' => 'id', 'name' => 'name', 'parentDeptCode' => 'parentDeptCode', 'remark' => 'remark', 'wardIdList' => 'wardIdList', ]; 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->deptOrder) { $res['deptOrder'] = $this->deptOrder; } if (null !== $this->deptStatus) { $res['deptStatus'] = $this->deptStatus; } if (null !== $this->deptType) { $res['deptType'] = $this->deptType; } if (null !== $this->gmtCreateStr) { $res['gmtCreateStr'] = $this->gmtCreateStr; } if (null !== $this->gmtModifiedStr) { $res['gmtModifiedStr'] = $this->gmtModifiedStr; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentDeptCode) { $res['parentDeptCode'] = $this->parentDeptCode; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->wardIdList) { $res['wardIdList'] = $this->wardIdList; } return $res; } /** * @param array $map * * @return department */ 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['deptOrder'])) { $model->deptOrder = $map['deptOrder']; } if (isset($map['deptStatus'])) { $model->deptStatus = $map['deptStatus']; } if (isset($map['deptType'])) { $model->deptType = $map['deptType']; } if (isset($map['gmtCreateStr'])) { $model->gmtCreateStr = $map['gmtCreateStr']; } if (isset($map['gmtModifiedStr'])) { $model->gmtModifiedStr = $map['gmtModifiedStr']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentDeptCode'])) { $model->parentDeptCode = $map['parentDeptCode']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['wardIdList'])) { if (!empty($map['wardIdList'])) { $model->wardIdList = $map['wardIdList']; } } return $model; } } src/industry_1_0/Models/QueryAllDepartmentResponseBody/content/deptAndExt/extendInfos.php000064400000006746146412132660025750 0ustar00 'deptCode', 'deptExtendDisplayName' => 'deptExtendDisplayName', 'deptExtendKey' => 'deptExtendKey', 'deptExtendValue' => 'deptExtendValue', 'gmtCreateStr' => 'gmtCreateStr', 'gmtModifiedStr' => 'gmtModifiedStr', 'id' => 'id', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptCode) { $res['deptCode'] = $this->deptCode; } if (null !== $this->deptExtendDisplayName) { $res['deptExtendDisplayName'] = $this->deptExtendDisplayName; } if (null !== $this->deptExtendKey) { $res['deptExtendKey'] = $this->deptExtendKey; } if (null !== $this->deptExtendValue) { $res['deptExtendValue'] = $this->deptExtendValue; } if (null !== $this->gmtCreateStr) { $res['gmtCreateStr'] = $this->gmtCreateStr; } if (null !== $this->gmtModifiedStr) { $res['gmtModifiedStr'] = $this->gmtModifiedStr; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return extendInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptCode'])) { $model->deptCode = $map['deptCode']; } if (isset($map['deptExtendDisplayName'])) { $model->deptExtendDisplayName = $map['deptExtendDisplayName']; } if (isset($map['deptExtendKey'])) { $model->deptExtendKey = $map['deptExtendKey']; } if (isset($map['deptExtendValue'])) { $model->deptExtendValue = $map['deptExtendValue']; } if (isset($map['gmtCreateStr'])) { $model->gmtCreateStr = $map['gmtCreateStr']; } if (isset($map['gmtModifiedStr'])) { $model->gmtModifiedStr = $map['gmtModifiedStr']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/industry_1_0/Models/QueryAllDepartmentResponseBody/content/groupAndExtList.php000064400000003701146412132660024502 0ustar00 'extendInfos', 'group' => 'group', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extendInfos) { $res['extendInfos'] = []; if (null !== $this->extendInfos && \is_array($this->extendInfos)) { $n = 0; foreach ($this->extendInfos as $item) { $res['extendInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->group) { $res['group'] = null !== $this->group ? $this->group->toMap() : null; } return $res; } /** * @param array $map * * @return groupAndExtList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extendInfos'])) { if (!empty($map['extendInfos'])) { $model->extendInfos = []; $n = 0; foreach ($map['extendInfos'] as $item) { $model->extendInfos[$n++] = null !== $item ? extendInfos::fromMap($item) : $item; } } } if (isset($map['group'])) { $model->group = group::fromMap($map['group']); } return $model; } } src/industry_1_0/Models/QueryAllDepartmentResponseBody/content/groupAndExtList/extendInfos.php000064400000006753146412132660027002 0ustar00 'deptCode', 'deptExtendDisplayName' => 'deptExtendDisplayName', 'deptExtendKey' => 'deptExtendKey', 'deptExtendValue' => 'deptExtendValue', 'gmtCreateStr' => 'gmtCreateStr', 'gmtModifiedStr' => 'gmtModifiedStr', 'id' => 'id', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptCode) { $res['deptCode'] = $this->deptCode; } if (null !== $this->deptExtendDisplayName) { $res['deptExtendDisplayName'] = $this->deptExtendDisplayName; } if (null !== $this->deptExtendKey) { $res['deptExtendKey'] = $this->deptExtendKey; } if (null !== $this->deptExtendValue) { $res['deptExtendValue'] = $this->deptExtendValue; } if (null !== $this->gmtCreateStr) { $res['gmtCreateStr'] = $this->gmtCreateStr; } if (null !== $this->gmtModifiedStr) { $res['gmtModifiedStr'] = $this->gmtModifiedStr; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return extendInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptCode'])) { $model->deptCode = $map['deptCode']; } if (isset($map['deptExtendDisplayName'])) { $model->deptExtendDisplayName = $map['deptExtendDisplayName']; } if (isset($map['deptExtendKey'])) { $model->deptExtendKey = $map['deptExtendKey']; } if (isset($map['deptExtendValue'])) { $model->deptExtendValue = $map['deptExtendValue']; } if (isset($map['gmtCreateStr'])) { $model->gmtCreateStr = $map['gmtCreateStr']; } if (isset($map['gmtModifiedStr'])) { $model->gmtModifiedStr = $map['gmtModifiedStr']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/industry_1_0/Models/QueryAllDepartmentResponseBody/content/groupAndExtList/group.php000064400000007122146412132660025637 0ustar00 'deptId', 'deptStatus' => 'deptStatus', 'gmtCreateStr' => 'gmtCreateStr', 'gmtModifiedStr' => 'gmtModifiedStr', 'id' => 'id', 'leader' => 'leader', 'name' => 'name', 'parentDeptCode' => 'parentDeptCode', 'remark' => 'remark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptStatus) { $res['deptStatus'] = $this->deptStatus; } if (null !== $this->gmtCreateStr) { $res['gmtCreateStr'] = $this->gmtCreateStr; } if (null !== $this->gmtModifiedStr) { $res['gmtModifiedStr'] = $this->gmtModifiedStr; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->leader) { $res['leader'] = null !== $this->leader ? $this->leader->toMap() : null; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentDeptCode) { $res['parentDeptCode'] = $this->parentDeptCode; } if (null !== $this->remark) { $res['remark'] = $this->remark; } return $res; } /** * @param array $map * * @return group */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptStatus'])) { $model->deptStatus = $map['deptStatus']; } if (isset($map['gmtCreateStr'])) { $model->gmtCreateStr = $map['gmtCreateStr']; } if (isset($map['gmtModifiedStr'])) { $model->gmtModifiedStr = $map['gmtModifiedStr']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['leader'])) { $model->leader = leader::fromMap($map['leader']); } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentDeptCode'])) { $model->parentDeptCode = $map['parentDeptCode']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } return $model; } } src/industry_1_0/Models/QueryAllDepartmentResponseBody/content/groupAndExtList/group/leader.php000064400000002733146412132660027076 0ustar00 'jobNumber', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobNumber) { $res['jobNumber'] = $this->jobNumber; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return leader */ public static function fromMap($map = []) { $model = new self(); if (isset($map['jobNumber'])) { $model->jobNumber = $map['jobNumber']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/QueryAllDoctorsHeaders.php000064400000002336146412132660016210 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAllDoctorsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryAllDoctorsRequest.php000064400000002672146412132660016270 0ustar00 'monthMark', 'pageNum' => 'pageNum', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->monthMark) { $res['monthMark'] = $this->monthMark; } if (null !== $this->pageNum) { $res['pageNum'] = $this->pageNum; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryAllDoctorsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['monthMark'])) { $model->monthMark = $map['monthMark']; } if (isset($map['pageNum'])) { $model->pageNum = $map['pageNum']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/industry_1_0/Models/QueryAllDoctorsResponse.php000064400000002732146412132660016433 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAllDoctorsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAllDoctorsResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryAllDoctorsResponseBody.php000064400000004522146412132660017250 0ustar00 'content', 'currentPage' => 'currentPage', 'totalCount' => 'totalCount', 'totalPages' => 'totalPages', ]; 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->currentPage) { $res['currentPage'] = $this->currentPage; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } if (null !== $this->totalPages) { $res['totalPages'] = $this->totalPages; } return $res; } /** * @param array $map * * @return QueryAllDoctorsResponseBody */ 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 ? content::fromMap($item) : $item; } } } if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } if (isset($map['totalPages'])) { $model->totalPages = $map['totalPages']; } return $model; } } src/industry_1_0/Models/QueryAllDoctorsResponseBody/content.php000064400000010673146412132660020726 0ustar00 'assessGroupId', 'assessGroupName' => 'assessGroupName', 'deptCode' => 'deptCode', 'deptType' => 'deptType', 'gmtCreateStr' => 'gmtCreateStr', 'gmtModifiedStr' => 'gmtModifiedStr', 'id' => 'id', 'jobNum' => 'jobNum', 'status' => 'status', 'uid' => 'uid', 'userCode' => 'userCode', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assessGroupId) { $res['assessGroupId'] = $this->assessGroupId; } if (null !== $this->assessGroupName) { $res['assessGroupName'] = $this->assessGroupName; } if (null !== $this->deptCode) { $res['deptCode'] = $this->deptCode; } if (null !== $this->deptType) { $res['deptType'] = $this->deptType; } if (null !== $this->gmtCreateStr) { $res['gmtCreateStr'] = $this->gmtCreateStr; } if (null !== $this->gmtModifiedStr) { $res['gmtModifiedStr'] = $this->gmtModifiedStr; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->jobNum) { $res['jobNum'] = $this->jobNum; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->uid) { $res['uid'] = $this->uid; } if (null !== $this->userCode) { $res['userCode'] = $this->userCode; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assessGroupId'])) { $model->assessGroupId = $map['assessGroupId']; } if (isset($map['assessGroupName'])) { $model->assessGroupName = $map['assessGroupName']; } if (isset($map['deptCode'])) { $model->deptCode = $map['deptCode']; } if (isset($map['deptType'])) { $model->deptType = $map['deptType']; } if (isset($map['gmtCreateStr'])) { $model->gmtCreateStr = $map['gmtCreateStr']; } if (isset($map['gmtModifiedStr'])) { $model->gmtModifiedStr = $map['gmtModifiedStr']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['jobNum'])) { $model->jobNum = $map['jobNum']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['uid'])) { $model->uid = $map['uid']; } if (isset($map['userCode'])) { $model->userCode = $map['userCode']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/industry_1_0/Models/QueryAllGroupHeaders.php000064400000002332146412132660015663 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAllGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryAllGroupRequest.php000064400000002247146412132660015745 0ustar00 '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 QueryAllGroupRequest */ 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/industry_1_0/Models/QueryAllGroupResponse.php000064400000002722146412132660016111 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAllGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAllGroupResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryAllGroupResponseBody.php000064400000004462146412132660016732 0ustar00 'content', 'currentPage' => 'currentPage', 'totalCount' => 'totalCount', 'totalPages' => 'totalPages', ]; 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->currentPage) { $res['currentPage'] = $this->currentPage; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } if (null !== $this->totalPages) { $res['totalPages'] = $this->totalPages; } return $res; } /** * @param array $map * * @return QueryAllGroupResponseBody */ 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 ? content::fromMap($item) : $item; } } } if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } if (isset($map['totalPages'])) { $model->totalPages = $map['totalPages']; } return $model; } } src/industry_1_0/Models/QueryAllGroupResponseBody/content.php000064400000002556146412132660020406 0ustar00 'deptId', 'id' => 'id', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/industry_1_0/Models/QueryAllGroupsInDeptHeaders.php000064400000002350146412132660017152 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAllGroupsInDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryAllGroupsInDeptRequest.php000064400000002265146412132660017234 0ustar00 '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 QueryAllGroupsInDeptRequest */ 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/industry_1_0/Models/QueryAllGroupsInDeptResponse.php000064400000002756146412132660017407 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAllGroupsInDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAllGroupsInDeptResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryAllGroupsInDeptResponseBody.php000064400000004507146412132660020221 0ustar00 'content', 'currentPage' => 'currentPage', 'totalCount' => 'totalCount', 'totalPages' => 'totalPages', ]; 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->currentPage) { $res['currentPage'] = $this->currentPage; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } if (null !== $this->totalPages) { $res['totalPages'] = $this->totalPages; } return $res; } /** * @param array $map * * @return QueryAllGroupsInDeptResponseBody */ 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 ? content::fromMap($item) : $item; } } } if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } if (isset($map['totalPages'])) { $model->totalPages = $map['totalPages']; } return $model; } } src/industry_1_0/Models/QueryAllGroupsInDeptResponseBody/content.php000064400000002565146412132660021675 0ustar00 'deptId', 'id' => 'id', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/industry_1_0/Models/QueryAllMemberByDeptHeaders.php000064400000002350146412132660017106 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAllMemberByDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryAllMemberByDeptRequest.php000064400000002737146412132660017174 0ustar00 'monthMark', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->monthMark) { $res['monthMark'] = $this->monthMark; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryAllMemberByDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['monthMark'])) { $model->monthMark = $map['monthMark']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/industry_1_0/Models/QueryAllMemberByDeptResponse.php000064400000002756146412132660017343 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAllMemberByDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAllMemberByDeptResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryAllMemberByDeptResponseBody.php000064400000004541146412132660020153 0ustar00 'content', 'currentPage' => 'currentPage', 'totalCount' => 'totalCount', 'totalPages' => 'totalPages', ]; 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->currentPage) { $res['currentPage'] = $this->currentPage; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } if (null !== $this->totalPages) { $res['totalPages'] = $this->totalPages; } return $res; } /** * @param array $map * * @return QueryAllMemberByDeptResponseBody */ 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 ? content::fromMap($item) : $item; } } } if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } if (isset($map['totalPages'])) { $model->totalPages = $map['totalPages']; } return $model; } } src/industry_1_0/Models/QueryAllMemberByDeptResponseBody/content.php000064400000002672146412132660021630 0ustar00 'jobNum', 'uid' => 'uid', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobNum) { $res['jobNum'] = $this->jobNum; } if (null !== $this->uid) { $res['uid'] = $this->uid; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['jobNum'])) { $model->jobNum = $map['jobNum']; } if (isset($map['uid'])) { $model->uid = $map['uid']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/industry_1_0/Models/QueryAllMemberByGroupHeaders.php000064400000002352146412132660017310 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAllMemberByGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryAllMemberByGroupRequest.php000064400000002741146412132660017367 0ustar00 'monthMark', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->monthMark) { $res['monthMark'] = $this->monthMark; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryAllMemberByGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['monthMark'])) { $model->monthMark = $map['monthMark']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/industry_1_0/Models/QueryAllMemberByGroupResponse.php000064400000002762146412132660017540 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAllMemberByGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAllMemberByGroupResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryAllMemberByGroupResponseBody.php000064400000004544146412132660020356 0ustar00 'content', 'currentPage' => 'currentPage', 'totalCount' => 'totalCount', 'totalPages' => 'totalPages', ]; 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->currentPage) { $res['currentPage'] = $this->currentPage; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } if (null !== $this->totalPages) { $res['totalPages'] = $this->totalPages; } return $res; } /** * @param array $map * * @return QueryAllMemberByGroupResponseBody */ 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 ? content::fromMap($item) : $item; } } } if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } if (isset($map['totalPages'])) { $model->totalPages = $map['totalPages']; } return $model; } } src/industry_1_0/Models/QueryAllMemberByGroupResponseBody/content.php000064400000002673146412132660022031 0ustar00 'jobNum', 'uid' => 'uid', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobNum) { $res['jobNum'] = $this->jobNum; } if (null !== $this->uid) { $res['uid'] = $this->uid; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['jobNum'])) { $model->jobNum = $map['jobNum']; } if (isset($map['uid'])) { $model->uid = $map['uid']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/industry_1_0/Models/QueryBizOptLogHeaders.php000064400000002334146412132660016011 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryBizOptLogHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryBizOptLogRequest.php000064400000002232146412132660016063 0ustar00 '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 QueryBizOptLogRequest */ 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/industry_1_0/Models/QueryBizOptLogResponse.php000064400000002726146412132660016241 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryBizOptLogResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryBizOptLogResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryBizOptLogResponseBody.php000064400000003301146412132660017045 0ustar00 'content', 'nextToken' => 'nextToken', ]; 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->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return QueryBizOptLogResponseBody */ 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 ? content::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/industry_1_0/Models/QueryBizOptLogResponseBody/content.php000064400000014040146412132660020521 0ustar00 'bizType', 'dataType' => 'dataType', 'id' => 'id', 'optAfterData' => 'optAfterData', 'optBeforeData' => 'optBeforeData', 'optBizType' => 'optBizType', 'optExtend' => 'optExtend', 'optJobNumber' => 'optJobNumber', 'optObjectCode' => 'optObjectCode', 'optObjectName' => 'optObjectName', 'optObjectUserJobNo' => 'optObjectUserJobNo', 'optSuccess' => 'optSuccess', 'optTime' => 'optTime', 'optType' => 'optType', 'optUserCode' => 'optUserCode', 'optUserName' => 'optUserName', 'remark' => 'remark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->dataType) { $res['dataType'] = $this->dataType; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->optAfterData) { $res['optAfterData'] = $this->optAfterData; } if (null !== $this->optBeforeData) { $res['optBeforeData'] = $this->optBeforeData; } if (null !== $this->optBizType) { $res['optBizType'] = $this->optBizType; } if (null !== $this->optExtend) { $res['optExtend'] = $this->optExtend; } if (null !== $this->optJobNumber) { $res['optJobNumber'] = $this->optJobNumber; } if (null !== $this->optObjectCode) { $res['optObjectCode'] = $this->optObjectCode; } if (null !== $this->optObjectName) { $res['optObjectName'] = $this->optObjectName; } if (null !== $this->optObjectUserJobNo) { $res['optObjectUserJobNo'] = $this->optObjectUserJobNo; } if (null !== $this->optSuccess) { $res['optSuccess'] = $this->optSuccess; } if (null !== $this->optTime) { $res['optTime'] = $this->optTime; } if (null !== $this->optType) { $res['optType'] = $this->optType; } if (null !== $this->optUserCode) { $res['optUserCode'] = $this->optUserCode; } if (null !== $this->optUserName) { $res['optUserName'] = $this->optUserName; } if (null !== $this->remark) { $res['remark'] = $this->remark; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['dataType'])) { $model->dataType = $map['dataType']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['optAfterData'])) { $model->optAfterData = $map['optAfterData']; } if (isset($map['optBeforeData'])) { $model->optBeforeData = $map['optBeforeData']; } if (isset($map['optBizType'])) { $model->optBizType = $map['optBizType']; } if (isset($map['optExtend'])) { $model->optExtend = $map['optExtend']; } if (isset($map['optJobNumber'])) { $model->optJobNumber = $map['optJobNumber']; } if (isset($map['optObjectCode'])) { $model->optObjectCode = $map['optObjectCode']; } if (isset($map['optObjectName'])) { $model->optObjectName = $map['optObjectName']; } if (isset($map['optObjectUserJobNo'])) { $model->optObjectUserJobNo = $map['optObjectUserJobNo']; } if (isset($map['optSuccess'])) { $model->optSuccess = $map['optSuccess']; } if (isset($map['optTime'])) { $model->optTime = $map['optTime']; } if (isset($map['optType'])) { $model->optType = $map['optType']; } if (isset($map['optUserCode'])) { $model->optUserCode = $map['optUserCode']; } if (isset($map['optUserName'])) { $model->optUserName = $map['optUserName']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } return $model; } } src/industry_1_0/Models/QueryDepartmentExtendInfoHeaders.php000064400000002362146412132660020230 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDepartmentExtendInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryDepartmentExtendInfoRequest.php000064400000002257146412132660020310 0ustar00 'deptCode', 'propCode' => 'propCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptCode) { $res['deptCode'] = $this->deptCode; } if (null !== $this->propCode) { $res['propCode'] = $this->propCode; } return $res; } /** * @param array $map * * @return QueryDepartmentExtendInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptCode'])) { $model->deptCode = $map['deptCode']; } if (isset($map['propCode'])) { $model->propCode = $map['propCode']; } return $model; } } src/industry_1_0/Models/QueryDepartmentExtendInfoResponse.php000064400000003002146412132660020443 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDepartmentExtendInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDepartmentExtendInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryDepartmentExtendInfoResponseBody.php000064400000002672146412132660021275 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return QueryDepartmentExtendInfoResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/QueryDepartmentExtendInfoResponseBody/content.php000064400000006535146412132660022751 0ustar00 'deptCode', 'deptExtendDisplayName' => 'deptExtendDisplayName', 'deptExtendKey' => 'deptExtendKey', 'deptExtendValue' => 'deptExtendValue', 'gmtCreateStr' => 'gmtCreateStr', 'gmtModifiedStr' => 'gmtModifiedStr', 'id' => 'id', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptCode) { $res['deptCode'] = $this->deptCode; } if (null !== $this->deptExtendDisplayName) { $res['deptExtendDisplayName'] = $this->deptExtendDisplayName; } if (null !== $this->deptExtendKey) { $res['deptExtendKey'] = $this->deptExtendKey; } if (null !== $this->deptExtendValue) { $res['deptExtendValue'] = $this->deptExtendValue; } if (null !== $this->gmtCreateStr) { $res['gmtCreateStr'] = $this->gmtCreateStr; } if (null !== $this->gmtModifiedStr) { $res['gmtModifiedStr'] = $this->gmtModifiedStr; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->status) { $res['status'] = $this->status; } 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['deptExtendDisplayName'])) { $model->deptExtendDisplayName = $map['deptExtendDisplayName']; } if (isset($map['deptExtendKey'])) { $model->deptExtendKey = $map['deptExtendKey']; } if (isset($map['deptExtendValue'])) { $model->deptExtendValue = $map['deptExtendValue']; } if (isset($map['gmtCreateStr'])) { $model->gmtCreateStr = $map['gmtCreateStr']; } if (isset($map['gmtModifiedStr'])) { $model->gmtModifiedStr = $map['gmtModifiedStr']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/industry_1_0/Models/QueryDepartmentInfoHeaders.php000064400000002346146412132660017062 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDepartmentInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryDepartmentInfoResponse.php000064400000002752146412132660017306 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDepartmentInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDepartmentInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryDepartmentInfoResponseBody.php000064400000001753146412132660020124 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDepartmentInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } return $model; } } src/industry_1_0/Models/QueryDepartmentInfoResponseBody/content.php000064400000003710146412132660021571 0ustar00 'department', 'extendInfos' => 'extendInfos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->department) { $res['department'] = null !== $this->department ? $this->department->toMap() : null; } if (null !== $this->extendInfos) { $res['extendInfos'] = []; if (null !== $this->extendInfos && \is_array($this->extendInfos)) { $n = 0; foreach ($this->extendInfos as $item) { $res['extendInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['department'])) { $model->department = department::fromMap($map['department']); } if (isset($map['extendInfos'])) { if (!empty($map['extendInfos'])) { $model->extendInfos = []; $n = 0; foreach ($map['extendInfos'] as $item) { $model->extendInfos[$n++] = null !== $item ? extendInfos::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/QueryDepartmentInfoResponseBody/content/department.php000064400000010722146412132660023735 0ustar00 'deptCode', 'deptName' => 'deptName', 'deptOrder' => 'deptOrder', 'deptStatus' => 'deptStatus', 'deptType' => 'deptType', 'gmtCreateStr' => 'gmtCreateStr', 'gmtModifiedStr' => 'gmtModifiedStr', 'id' => 'id', 'name' => 'name', 'parentDeptCode' => 'parentDeptCode', 'remark' => 'remark', 'wardIdList' => 'wardIdList', ]; 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->deptOrder) { $res['deptOrder'] = $this->deptOrder; } if (null !== $this->deptStatus) { $res['deptStatus'] = $this->deptStatus; } if (null !== $this->deptType) { $res['deptType'] = $this->deptType; } if (null !== $this->gmtCreateStr) { $res['gmtCreateStr'] = $this->gmtCreateStr; } if (null !== $this->gmtModifiedStr) { $res['gmtModifiedStr'] = $this->gmtModifiedStr; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentDeptCode) { $res['parentDeptCode'] = $this->parentDeptCode; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->wardIdList) { $res['wardIdList'] = $this->wardIdList; } return $res; } /** * @param array $map * * @return department */ 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['deptOrder'])) { $model->deptOrder = $map['deptOrder']; } if (isset($map['deptStatus'])) { $model->deptStatus = $map['deptStatus']; } if (isset($map['deptType'])) { $model->deptType = $map['deptType']; } if (isset($map['gmtCreateStr'])) { $model->gmtCreateStr = $map['gmtCreateStr']; } if (isset($map['gmtModifiedStr'])) { $model->gmtModifiedStr = $map['gmtModifiedStr']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentDeptCode'])) { $model->parentDeptCode = $map['parentDeptCode']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['wardIdList'])) { if (!empty($map['wardIdList'])) { $model->wardIdList = $map['wardIdList']; } } return $model; } } src/industry_1_0/Models/QueryDepartmentInfoResponseBody/content/extendInfos.php000064400000006563146412132660024070 0ustar00 'deptCode', 'deptExtendDisplayName' => 'deptExtendDisplayName', 'deptExtendKey' => 'deptExtendKey', 'deptExtendValue' => 'deptExtendValue', 'gmtCreateStr' => 'gmtCreateStr', 'gmtModifiedStr' => 'gmtModifiedStr', 'id' => 'id', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptCode) { $res['deptCode'] = $this->deptCode; } if (null !== $this->deptExtendDisplayName) { $res['deptExtendDisplayName'] = $this->deptExtendDisplayName; } if (null !== $this->deptExtendKey) { $res['deptExtendKey'] = $this->deptExtendKey; } if (null !== $this->deptExtendValue) { $res['deptExtendValue'] = $this->deptExtendValue; } if (null !== $this->gmtCreateStr) { $res['gmtCreateStr'] = $this->gmtCreateStr; } if (null !== $this->gmtModifiedStr) { $res['gmtModifiedStr'] = $this->gmtModifiedStr; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return extendInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptCode'])) { $model->deptCode = $map['deptCode']; } if (isset($map['deptExtendDisplayName'])) { $model->deptExtendDisplayName = $map['deptExtendDisplayName']; } if (isset($map['deptExtendKey'])) { $model->deptExtendKey = $map['deptExtendKey']; } if (isset($map['deptExtendValue'])) { $model->deptExtendValue = $map['deptExtendValue']; } if (isset($map['gmtCreateStr'])) { $model->gmtCreateStr = $map['gmtCreateStr']; } if (isset($map['gmtModifiedStr'])) { $model->gmtModifiedStr = $map['gmtModifiedStr']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/industry_1_0/Models/QueryDoctorDetailsByJobNumberHeaders.php000064400000002372146412132660021001 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDoctorDetailsByJobNumberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryDoctorDetailsByJobNumberRequest.php000064400000001607146412132660021056 0ustar00 'monthMark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->monthMark) { $res['monthMark'] = $this->monthMark; } return $res; } /** * @param array $map * * @return QueryDoctorDetailsByJobNumberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['monthMark'])) { $model->monthMark = $map['monthMark']; } return $model; } } src/industry_1_0/Models/QueryDoctorDetailsByJobNumberResponse.php000064400000003022146412132660021215 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDoctorDetailsByJobNumberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDoctorDetailsByJobNumberResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryDoctorDetailsByJobNumberResponseBody.php000064400000002011146412132660022030 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDoctorDetailsByJobNumberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } return $model; } } src/industry_1_0/Models/QueryDoctorDetailsByJobNumberResponseBody/content.php000064400000013272146412132660023515 0ustar00 'deptList', 'groupList' => 'groupList', 'jobNumber' => 'jobNumber', 'jobStatus' => 'jobStatus', 'professionalTitle' => 'professionalTitle', 'userId' => 'userId', 'userName' => 'userName', 'userProbList' => 'userProbList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptList) { $res['deptList'] = []; if (null !== $this->deptList && \is_array($this->deptList)) { $n = 0; foreach ($this->deptList as $item) { $res['deptList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->groupList) { $res['groupList'] = []; if (null !== $this->groupList && \is_array($this->groupList)) { $n = 0; foreach ($this->groupList as $item) { $res['groupList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->jobNumber) { $res['jobNumber'] = $this->jobNumber; } if (null !== $this->jobStatus) { $res['jobStatus'] = []; if (null !== $this->jobStatus && \is_array($this->jobStatus)) { $n = 0; foreach ($this->jobStatus as $item) { $res['jobStatus'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->professionalTitle) { $res['professionalTitle'] = null !== $this->professionalTitle ? $this->professionalTitle->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userName) { $res['userName'] = $this->userName; } if (null !== $this->userProbList) { $res['userProbList'] = []; if (null !== $this->userProbList && \is_array($this->userProbList)) { $n = 0; foreach ($this->userProbList as $item) { $res['userProbList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptList'])) { if (!empty($map['deptList'])) { $model->deptList = []; $n = 0; foreach ($map['deptList'] as $item) { $model->deptList[$n++] = null !== $item ? deptList::fromMap($item) : $item; } } } if (isset($map['groupList'])) { if (!empty($map['groupList'])) { $model->groupList = []; $n = 0; foreach ($map['groupList'] as $item) { $model->groupList[$n++] = null !== $item ? groupList::fromMap($item) : $item; } } } if (isset($map['jobNumber'])) { $model->jobNumber = $map['jobNumber']; } if (isset($map['jobStatus'])) { if (!empty($map['jobStatus'])) { $model->jobStatus = []; $n = 0; foreach ($map['jobStatus'] as $item) { $model->jobStatus[$n++] = null !== $item ? jobStatus::fromMap($item) : $item; } } } if (isset($map['professionalTitle'])) { $model->professionalTitle = professionalTitle::fromMap($map['professionalTitle']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } if (isset($map['userProbList'])) { if (!empty($map['userProbList'])) { $model->userProbList = []; $n = 0; foreach ($map['userProbList'] as $item) { $model->userProbList[$n++] = null !== $item ? userProbList::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/QueryDoctorDetailsByJobNumberResponseBody/content/deptList.php000064400000004521146412132660025302 0ustar00 'categoryName', 'deptId' => 'deptId', 'deptName' => 'deptName', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'relationId' => 'relationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->categoryName) { $res['categoryName'] = $this->categoryName; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->relationId) { $res['relationId'] = $this->relationId; } return $res; } /** * @param array $map * * @return deptList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['categoryName'])) { $model->categoryName = $map['categoryName']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['relationId'])) { $model->relationId = $map['relationId']; } return $model; } } src/industry_1_0/Models/QueryDoctorDetailsByJobNumberResponseBody/content/groupList.php000064400000005141146412132660025501 0ustar00 'deptId', 'deptName' => 'deptName', 'groupId' => 'groupId', 'groupName' => 'groupName', 'isAssessGroup' => 'isAssessGroup', 'isLeader' => 'isLeader', 'relationId' => 'relationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->isAssessGroup) { $res['isAssessGroup'] = $this->isAssessGroup; } if (null !== $this->isLeader) { $res['isLeader'] = $this->isLeader; } if (null !== $this->relationId) { $res['relationId'] = $this->relationId; } return $res; } /** * @param array $map * * @return groupList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['isAssessGroup'])) { $model->isAssessGroup = $map['isAssessGroup']; } if (isset($map['isLeader'])) { $model->isLeader = $map['isLeader']; } if (isset($map['relationId'])) { $model->relationId = $map['relationId']; } return $model; } } src/industry_1_0/Models/QueryDoctorDetailsByJobNumberResponseBody/content/jobStatus.php000064400000002165146412132660025472 0ustar00 'code', 'statusName' => 'statusName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->statusName) { $res['statusName'] = $this->statusName; } return $res; } /** * @param array $map * * @return jobStatus */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['statusName'])) { $model->statusName = $map['statusName']; } return $model; } } src/industry_1_0/Models/QueryDoctorDetailsByJobNumberResponseBody/content/professionalTitle.php000064400000003304146412132660027216 0ustar00 'code', 'professionalTitleCategory' => 'professionalTitleCategory', 'professionalTitleDetail' => 'professionalTitleDetail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->professionalTitleCategory) { $res['professionalTitleCategory'] = $this->professionalTitleCategory; } if (null !== $this->professionalTitleDetail) { $res['professionalTitleDetail'] = $this->professionalTitleDetail; } return $res; } /** * @param array $map * * @return professionalTitle */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['professionalTitleCategory'])) { $model->professionalTitleCategory = $map['professionalTitleCategory']; } if (isset($map['professionalTitleDetail'])) { $model->professionalTitleDetail = $map['professionalTitleDetail']; } return $model; } } src/industry_1_0/Models/QueryDoctorDetailsByJobNumberResponseBody/content/userProbList.php000064400000002267146412132660026154 0ustar00 'code', 'userPropertyName' => 'userPropertyName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->userPropertyName) { $res['userPropertyName'] = $this->userPropertyName; } return $res; } /** * @param array $map * * @return userProbList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['userPropertyName'])) { $model->userPropertyName = $map['userPropertyName']; } return $model; } } src/industry_1_0/Models/QueryGroupInfoHeaders.php000064400000002334146412132660016050 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGroupInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryGroupInfoResponse.php000064400000002726146412132660016300 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGroupInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGroupInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryGroupInfoResponseBody.php000064400000001734146412132660017114 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGroupInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } return $model; } } src/industry_1_0/Models/QueryGroupInfoResponseBody/content.php000064400000003575146412132660020573 0ustar00 'extendInfos', 'group' => 'group', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extendInfos) { $res['extendInfos'] = []; if (null !== $this->extendInfos && \is_array($this->extendInfos)) { $n = 0; foreach ($this->extendInfos as $item) { $res['extendInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->group) { $res['group'] = null !== $this->group ? $this->group->toMap() : null; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extendInfos'])) { if (!empty($map['extendInfos'])) { $model->extendInfos = []; $n = 0; foreach ($map['extendInfos'] as $item) { $model->extendInfos[$n++] = null !== $item ? extendInfos::fromMap($item) : $item; } } } if (isset($map['group'])) { $model->group = group::fromMap($map['group']); } return $model; } } src/industry_1_0/Models/QueryGroupInfoResponseBody/content/extendInfos.php000064400000006662146412132660023061 0ustar00 'deptCode', 'deptExtendDisplayName' => 'deptExtendDisplayName', 'deptExtendKey' => 'deptExtendKey', 'deptExtendValue' => 'deptExtendValue', 'gmtCreateStr' => 'gmtCreateStr', 'gmtModifiedStr' => 'gmtModifiedStr', 'id' => 'id', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptCode) { $res['deptCode'] = $this->deptCode; } if (null !== $this->deptExtendDisplayName) { $res['deptExtendDisplayName'] = $this->deptExtendDisplayName; } if (null !== $this->deptExtendKey) { $res['deptExtendKey'] = $this->deptExtendKey; } if (null !== $this->deptExtendValue) { $res['deptExtendValue'] = $this->deptExtendValue; } if (null !== $this->gmtCreateStr) { $res['gmtCreateStr'] = $this->gmtCreateStr; } if (null !== $this->gmtModifiedStr) { $res['gmtModifiedStr'] = $this->gmtModifiedStr; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return extendInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptCode'])) { $model->deptCode = $map['deptCode']; } if (isset($map['deptExtendDisplayName'])) { $model->deptExtendDisplayName = $map['deptExtendDisplayName']; } if (isset($map['deptExtendKey'])) { $model->deptExtendKey = $map['deptExtendKey']; } if (isset($map['deptExtendValue'])) { $model->deptExtendValue = $map['deptExtendValue']; } if (isset($map['gmtCreateStr'])) { $model->gmtCreateStr = $map['gmtCreateStr']; } if (isset($map['gmtModifiedStr'])) { $model->gmtModifiedStr = $map['gmtModifiedStr']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/industry_1_0/Models/QueryGroupInfoResponseBody/content/group.php000064400000007046146412132660021724 0ustar00 'deptId', 'deptStatus' => 'deptStatus', 'gmtCreateStr' => 'gmtCreateStr', 'gmtModifiedStr' => 'gmtModifiedStr', 'id' => 'id', 'leader' => 'leader', 'name' => 'name', 'parentDeptCode' => 'parentDeptCode', 'remark' => 'remark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptStatus) { $res['deptStatus'] = $this->deptStatus; } if (null !== $this->gmtCreateStr) { $res['gmtCreateStr'] = $this->gmtCreateStr; } if (null !== $this->gmtModifiedStr) { $res['gmtModifiedStr'] = $this->gmtModifiedStr; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->leader) { $res['leader'] = null !== $this->leader ? $this->leader->toMap() : null; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentDeptCode) { $res['parentDeptCode'] = $this->parentDeptCode; } if (null !== $this->remark) { $res['remark'] = $this->remark; } return $res; } /** * @param array $map * * @return group */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptStatus'])) { $model->deptStatus = $map['deptStatus']; } if (isset($map['gmtCreateStr'])) { $model->gmtCreateStr = $map['gmtCreateStr']; } if (isset($map['gmtModifiedStr'])) { $model->gmtModifiedStr = $map['gmtModifiedStr']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['leader'])) { $model->leader = leader::fromMap($map['leader']); } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentDeptCode'])) { $model->parentDeptCode = $map['parentDeptCode']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } return $model; } } src/industry_1_0/Models/QueryGroupInfoResponseBody/content/group/leader.php000064400000002703146412132660023153 0ustar00 'jobNumber', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobNumber) { $res['jobNumber'] = $this->jobNumber; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return leader */ public static function fromMap($map = []) { $model = new self(); if (isset($map['jobNumber'])) { $model->jobNumber = $map['jobNumber']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/QueryHospitalDistrictInfoHeaders.php000064400000002362146412132660020246 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryHospitalDistrictInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryHospitalDistrictInfoRequest.php000064400000002277146412132660020330 0ustar00 '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 QueryHospitalDistrictInfoRequest */ 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/industry_1_0/Models/QueryHospitalDistrictInfoResponse.php000064400000003002146412132660020461 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryHospitalDistrictInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryHospitalDistrictInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryHospitalDistrictInfoResponseBody.php000064400000004644146412132660021314 0ustar00 'content', 'currentPage' => 'currentPage', 'totalCount' => 'totalCount', 'totalPages' => 'totalPages', ]; 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->currentPage) { $res['currentPage'] = $this->currentPage; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } if (null !== $this->totalPages) { $res['totalPages'] = $this->totalPages; } return $res; } /** * @param array $map * * @return QueryHospitalDistrictInfoResponseBody */ 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 ? content::fromMap($item) : $item; } } } if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } if (isset($map['totalPages'])) { $model->totalPages = $map['totalPages']; } return $model; } } src/industry_1_0/Models/QueryHospitalDistrictInfoResponseBody/content.php000064400000006302146412132660022757 0ustar00 'address', 'deleted' => 'deleted', 'districtName' => 'districtName', 'districtType' => 'districtType', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'id' => 'id', 'parentDistrictId' => 'parentDistrictId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->deleted) { $res['deleted'] = $this->deleted; } if (null !== $this->districtName) { $res['districtName'] = $this->districtName; } if (null !== $this->districtType) { $res['districtType'] = $this->districtType; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->parentDistrictId) { $res['parentDistrictId'] = $this->parentDistrictId; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['deleted'])) { $model->deleted = $map['deleted']; } if (isset($map['districtName'])) { $model->districtName = $map['districtName']; } if (isset($map['districtType'])) { $model->districtType = $map['districtType']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['parentDistrictId'])) { $model->parentDistrictId = $map['parentDistrictId']; } return $model; } } src/industry_1_0/Models/QueryHospitalRoleUserInfoHeaders.php000064400000002362146412132660020221 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryHospitalRoleUserInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryHospitalRoleUserInfoRequest.php000064400000002277146412132660020303 0ustar00 '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 QueryHospitalRoleUserInfoRequest */ 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/industry_1_0/Models/QueryHospitalRoleUserInfoResponse.php000064400000003002146412132660020434 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryHospitalRoleUserInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryHospitalRoleUserInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryHospitalRoleUserInfoResponseBody.php000064400000004644146412132660021267 0ustar00 'content', 'currentPage' => 'currentPage', 'totalCount' => 'totalCount', 'totalPages' => 'totalPages', ]; 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->currentPage) { $res['currentPage'] = $this->currentPage; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } if (null !== $this->totalPages) { $res['totalPages'] = $this->totalPages; } return $res; } /** * @param array $map * * @return QueryHospitalRoleUserInfoResponseBody */ 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 ? content::fromMap($item) : $item; } } } if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } if (isset($map['totalPages'])) { $model->totalPages = $map['totalPages']; } return $model; } } src/industry_1_0/Models/QueryHospitalRoleUserInfoResponseBody/content.php000064400000006122146412132660022732 0ustar00 'gmtCreate', 'gmtModified' => 'gmtModified', 'jobNumber' => 'jobNumber', 'roleCode' => 'roleCode', 'roleName' => 'roleName', 'status' => 'status', 'userCode' => 'userCode', 'userName' => 'userName', ]; 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->jobNumber) { $res['jobNumber'] = $this->jobNumber; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userCode) { $res['userCode'] = $this->userCode; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return content */ 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['jobNumber'])) { $model->jobNumber = $map['jobNumber']; } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userCode'])) { $model->userCode = $map['userCode']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/industry_1_0/Models/QueryHospitalRolesHeaders.php000064400000002344146412132660016731 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryHospitalRolesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryHospitalRolesResponse.php000064400000002746146412132660017162 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryHospitalRolesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryHospitalRolesResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryHospitalRolesResponseBody.php000064400000002645146412132660017776 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return QueryHospitalRolesResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/QueryHospitalRolesResponseBody/content.php000064400000005602146412132660021444 0ustar00 'gmtCreate', 'id' => 'id', 'isDeleted' => 'isDeleted', 'readOnly' => 'readOnly', 'remark' => 'remark', 'roleCode' => 'roleCode', 'roleName' => 'roleName', 'sort' => 'sort', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } if (null !== $this->sort) { $res['sort'] = $this->sort; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } if (isset($map['sort'])) { $model->sort = $map['sort']; } return $model; } } src/industry_1_0/Models/QueryJobCodeDictionaryHeaders.php000064400000002354146412132660017475 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryJobCodeDictionaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryJobCodeDictionaryResponse.php000064400000002766146412132660017727 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryJobCodeDictionaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryJobCodeDictionaryResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryJobCodeDictionaryResponseBody.php000064400000002661146412132660020537 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return QueryJobCodeDictionaryResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/QueryJobCodeDictionaryResponseBody/content.php000064400000003466146412132660022215 0ustar00 'category', 'code' => 'code', 'displayName' => 'displayName', 'doctorType' => 'doctorType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->doctorType) { $res['doctorType'] = $this->doctorType; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['doctorType'])) { $model->doctorType = $map['doctorType']; } return $model; } } src/industry_1_0/Models/QueryJobStatusCodeDictionaryHeaders.php000064400000002370146412132660020677 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryJobStatusCodeDictionaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryJobStatusCodeDictionaryResponse.php000064400000003016146412132660021120 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryJobStatusCodeDictionaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryJobStatusCodeDictionaryResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryJobStatusCodeDictionaryResponseBody.php000064400000002703146412132660021740 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return QueryJobStatusCodeDictionaryResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/QueryJobStatusCodeDictionaryResponseBody/content.php000064400000002753146412132660023417 0ustar00 'category', 'code' => 'code', 'displayName' => 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/industry_1_0/Models/QueryMedicalEventsHeaders.php000064400000002344146412132660016664 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryMedicalEventsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryMedicalEventsResponse.php000064400000002746146412132660017115 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMedicalEventsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryMedicalEventsResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryMedicalEventsResponseBody.php000064400000003757146412132660017736 0ustar00 'content', 'success' => 'success', 'totalCount' => 'totalCount', ]; 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->success) { $res['success'] = $this->success; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryMedicalEventsResponseBody */ 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 ? content::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/industry_1_0/Models/QueryMedicalEventsResponseBody/content.php000064400000002524146412132660021377 0ustar00 'code', 'content' => 'content', 'eventId' => 'eventId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->eventId) { $res['eventId'] = $this->eventId; } 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['content'])) { $model->content = $map['content']; } if (isset($map['eventId'])) { $model->eventId = $map['eventId']; } return $model; } } src/industry_1_0/Models/QueryUserCredentialsHeaders.php000064400000002350146412132660017232 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserCredentialsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryUserCredentialsRequest.php000064400000001611146412132660017306 0ustar00 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return QueryUserCredentialsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/industry_1_0/Models/QueryUserCredentialsResponse.php000064400000002756146412132660017467 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserCredentialsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserCredentialsResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryUserCredentialsResponseBody.php000064400000002653146412132660020301 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return QueryUserCredentialsResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/QueryUserCredentialsResponseBody/content.php000064400000003522146412132660021747 0ustar00 'credentialList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->credentialList) { $res['credentialList'] = []; if (null !== $this->credentialList && \is_array($this->credentialList)) { $n = 0; foreach ($this->credentialList as $item) { $res['credentialList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['credentialList'])) { if (!empty($map['credentialList'])) { $model->credentialList = []; $n = 0; foreach ($map['credentialList'] as $item) { $model->credentialList[$n++] = null !== $item ? credentialList::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/QueryUserCredentialsResponseBody/content/credentialList.php000064400000003246146412132660024720 0ustar00 'credentialName', 'credentialType' => 'credentialType', 'termOfValidity' => 'termOfValidity', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->credentialName) { $res['credentialName'] = $this->credentialName; } if (null !== $this->credentialType) { $res['credentialType'] = $this->credentialType; } if (null !== $this->termOfValidity) { $res['termOfValidity'] = $this->termOfValidity; } return $res; } /** * @param array $map * * @return credentialList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['credentialName'])) { $model->credentialName = $map['credentialName']; } if (isset($map['credentialType'])) { $model->credentialType = $map['credentialType']; } if (isset($map['termOfValidity'])) { $model->termOfValidity = $map['termOfValidity']; } return $model; } } src/industry_1_0/Models/QueryUserExtInfoHeaders.php000064400000002340146412132660016350 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserExtInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryUserExtInfoResponse.php000064400000002736146412132660016604 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserExtInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserExtInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryUserExtInfoResponseBody.php000064400000002637146412132660017422 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return QueryUserExtInfoResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/QueryUserExtInfoResponseBody/content.php000064400000006102146412132660021063 0ustar00 'gmtCreate', 'gmtModified' => 'gmtModified', 'status' => 'status', 'userCode' => 'userCode', 'userExtendDisplayName' => 'userExtendDisplayName', 'userExtendKey' => 'userExtendKey', 'userExtendValue' => 'userExtendValue', ]; 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->status) { $res['status'] = $this->status; } if (null !== $this->userCode) { $res['userCode'] = $this->userCode; } if (null !== $this->userExtendDisplayName) { $res['userExtendDisplayName'] = $this->userExtendDisplayName; } if (null !== $this->userExtendKey) { $res['userExtendKey'] = $this->userExtendKey; } if (null !== $this->userExtendValue) { $res['userExtendValue'] = $this->userExtendValue; } return $res; } /** * @param array $map * * @return content */ 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['status'])) { $model->status = $map['status']; } if (isset($map['userCode'])) { $model->userCode = $map['userCode']; } if (isset($map['userExtendDisplayName'])) { $model->userExtendDisplayName = $map['userExtendDisplayName']; } if (isset($map['userExtendKey'])) { $model->userExtendKey = $map['userExtendKey']; } if (isset($map['userExtendValue'])) { $model->userExtendValue = $map['userExtendValue']; } return $model; } } src/industry_1_0/Models/QueryUserExtendValuesHeaders.php000064400000002352146412132660017406 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserExtendValuesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryUserExtendValuesRequest.php000064400000002336146412132660017465 0ustar00 'userExtendKey', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userExtendKey) { $res['userExtendKey'] = $this->userExtendKey; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return QueryUserExtendValuesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userExtendKey'])) { $model->userExtendKey = $map['userExtendKey']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/industry_1_0/Models/QueryUserExtendValuesResponse.php000064400000002762146412132660017636 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserExtendValuesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserExtendValuesResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryUserExtendValuesResponseBody.php000064400000003770146412132660020454 0ustar00 'content', 'success' => 'success', 'totalCount' => 'totalCount', ]; 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->success) { $res['success'] = $this->success; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryUserExtendValuesResponseBody */ 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 ? content::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/industry_1_0/Models/QueryUserExtendValuesResponseBody/content.php000064400000003651146412132660022124 0ustar00 'userCode', 'userExtendDisplayName' => 'userExtendDisplayName', 'userExtendKey' => 'userExtendKey', 'userExtendValue' => 'userExtendValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userCode) { $res['userCode'] = $this->userCode; } if (null !== $this->userExtendDisplayName) { $res['userExtendDisplayName'] = $this->userExtendDisplayName; } if (null !== $this->userExtendKey) { $res['userExtendKey'] = $this->userExtendKey; } if (null !== $this->userExtendValue) { $res['userExtendValue'] = $this->userExtendValue; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userCode'])) { $model->userCode = $map['userCode']; } if (isset($map['userExtendDisplayName'])) { $model->userExtendDisplayName = $map['userExtendDisplayName']; } if (isset($map['userExtendKey'])) { $model->userExtendKey = $map['userExtendKey']; } if (isset($map['userExtendValue'])) { $model->userExtendValue = $map['userExtendValue']; } return $model; } } src/industry_1_0/Models/QueryUserInfoHeaders.php000064400000002332146412132660015670 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryUserInfoRequest.php000064400000001516146412132660015750 0ustar00 'monthMark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->monthMark) { $res['monthMark'] = $this->monthMark; } return $res; } /** * @param array $map * * @return QueryUserInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['monthMark'])) { $model->monthMark = $map['monthMark']; } return $model; } } src/industry_1_0/Models/QueryUserInfoResponse.php000064400000002722146412132660016116 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryUserInfoResponseBody.php000064400000001731146412132660016733 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } return $model; } } src/industry_1_0/Models/QueryUserInfoResponseBody/content.php000064400000013223146412132660020404 0ustar00 'comments', 'dept' => 'dept', 'group' => 'group', 'job' => 'job', 'jobNum' => 'jobNum', 'jobStatus' => 'jobStatus', 'jobStatusList' => 'jobStatusList', 'uid' => 'uid', 'userName' => 'userName', 'userProb' => 'userProb', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->comments) { $res['comments'] = $this->comments; } if (null !== $this->dept) { $res['dept'] = []; if (null !== $this->dept && \is_array($this->dept)) { $n = 0; foreach ($this->dept as $item) { $res['dept'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->group) { $res['group'] = []; if (null !== $this->group && \is_array($this->group)) { $n = 0; foreach ($this->group as $item) { $res['group'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->job) { $res['job'] = null !== $this->job ? $this->job->toMap() : null; } if (null !== $this->jobNum) { $res['jobNum'] = $this->jobNum; } if (null !== $this->jobStatus) { $res['jobStatus'] = null !== $this->jobStatus ? $this->jobStatus->toMap() : null; } if (null !== $this->jobStatusList) { $res['jobStatusList'] = []; if (null !== $this->jobStatusList && \is_array($this->jobStatusList)) { $n = 0; foreach ($this->jobStatusList as $item) { $res['jobStatusList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->uid) { $res['uid'] = $this->uid; } if (null !== $this->userName) { $res['userName'] = $this->userName; } if (null !== $this->userProb) { $res['userProb'] = null !== $this->userProb ? $this->userProb->toMap() : null; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['comments'])) { $model->comments = $map['comments']; } if (isset($map['dept'])) { if (!empty($map['dept'])) { $model->dept = []; $n = 0; foreach ($map['dept'] as $item) { $model->dept[$n++] = null !== $item ? dept::fromMap($item) : $item; } } } if (isset($map['group'])) { if (!empty($map['group'])) { $model->group = []; $n = 0; foreach ($map['group'] as $item) { $model->group[$n++] = null !== $item ? group::fromMap($item) : $item; } } } if (isset($map['job'])) { $model->job = job::fromMap($map['job']); } if (isset($map['jobNum'])) { $model->jobNum = $map['jobNum']; } if (isset($map['jobStatus'])) { $model->jobStatus = jobStatus::fromMap($map['jobStatus']); } if (isset($map['jobStatusList'])) { if (!empty($map['jobStatusList'])) { $model->jobStatusList = []; $n = 0; foreach ($map['jobStatusList'] as $item) { $model->jobStatusList[$n++] = null !== $item ? jobStatusList::fromMap($item) : $item; } } } if (isset($map['uid'])) { $model->uid = $map['uid']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } if (isset($map['userProb'])) { $model->userProb = userProb::fromMap($map['userProb']); } return $model; } } src/industry_1_0/Models/QueryUserInfoResponseBody/content/dept.php000064400000004135146412132660021342 0ustar00 'gmtCreateStr', 'gmtModifiedStr' => 'gmtModifiedStr', 'id' => 'id', 'name' => 'name', 'relId' => 'relId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->gmtCreateStr) { $res['gmtCreateStr'] = $this->gmtCreateStr; } if (null !== $this->gmtModifiedStr) { $res['gmtModifiedStr'] = $this->gmtModifiedStr; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->relId) { $res['relId'] = $this->relId; } return $res; } /** * @param array $map * * @return dept */ public static function fromMap($map = []) { $model = new self(); if (isset($map['gmtCreateStr'])) { $model->gmtCreateStr = $map['gmtCreateStr']; } if (isset($map['gmtModifiedStr'])) { $model->gmtModifiedStr = $map['gmtModifiedStr']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['relId'])) { $model->relId = $map['relId']; } return $model; } } src/industry_1_0/Models/QueryUserInfoResponseBody/content/group.php000064400000005333146412132660021543 0ustar00 'deptId', 'deptName' => 'deptName', 'gmtCreateStr' => 'gmtCreateStr', 'gmtModifiedStr' => 'gmtModifiedStr', 'id' => 'id', 'name' => 'name', 'relId' => 'relId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->gmtCreateStr) { $res['gmtCreateStr'] = $this->gmtCreateStr; } if (null !== $this->gmtModifiedStr) { $res['gmtModifiedStr'] = $this->gmtModifiedStr; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->relId) { $res['relId'] = $this->relId; } return $res; } /** * @param array $map * * @return group */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['gmtCreateStr'])) { $model->gmtCreateStr = $map['gmtCreateStr']; } if (isset($map['gmtModifiedStr'])) { $model->gmtModifiedStr = $map['gmtModifiedStr']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['relId'])) { $model->relId = $map['relId']; } return $model; } } src/industry_1_0/Models/QueryUserInfoResponseBody/content/job.php000064400000003431146412132660021156 0ustar00 'bizType', 'category' => 'category', 'code' => 'code', 'displayName' => 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return job */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/industry_1_0/Models/QueryUserInfoResponseBody/content/jobStatus.php000064400000003452146412132660022365 0ustar00 'bizType', 'category' => 'category', 'code' => 'code', 'displayName' => 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return jobStatus */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/industry_1_0/Models/QueryUserInfoResponseBody/content/jobStatusList.php000064400000003462146412132660023222 0ustar00 'bizType', 'category' => 'category', 'code' => 'code', 'displayName' => 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return jobStatusList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/industry_1_0/Models/QueryUserInfoResponseBody/content/userProb.php000064400000003450146412132660022206 0ustar00 'bizType', 'category' => 'category', 'code' => 'code', 'displayName' => 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return userProb */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/industry_1_0/Models/QueryUserProbCodeDictionaryHeaders.php000064400000002366146412132660020527 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserProbCodeDictionaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryUserProbCodeDictionaryResponse.php000064400000003012146412132660020737 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserProbCodeDictionaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserProbCodeDictionaryResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryUserProbCodeDictionaryResponseBody.php000064400000002700146412132660021560 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return QueryUserProbCodeDictionaryResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/QueryUserProbCodeDictionaryResponseBody/content.php000064400000002752146412132660023241 0ustar00 'category', 'code' => 'code', 'displayName' => 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/industry_1_0/Models/QueryUserRolesHeaders.php000064400000002334146412132660016063 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserRolesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/QueryUserRolesResponse.php000064400000002726146412132660016313 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserRolesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserRolesResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/QueryUserRolesResponseBody.php000064400000002631146412132660017124 0ustar00 'content', ]; 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; } } } return $res; } /** * @param array $map * * @return QueryUserRolesResponseBody */ 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 ? content::fromMap($item) : $item; } } } return $model; } } src/industry_1_0/Models/QueryUserRolesResponseBody/content.php000064400000002245146412132660020577 0ustar00 '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 content */ 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/industry_1_0/Models/SaveUserExtendValuesHeaders.php000064400000002350146412132660017175 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveUserExtendValuesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SaveUserExtendValuesRequest.php000064400000003100146412132660017244 0ustar00 'userDisplayName', 'userExtendKey' => 'userExtendKey', 'userExtendValue' => 'userExtendValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userDisplayName) { $res['userDisplayName'] = $this->userDisplayName; } if (null !== $this->userExtendKey) { $res['userExtendKey'] = $this->userExtendKey; } if (null !== $this->userExtendValue) { $res['userExtendValue'] = $this->userExtendValue; } return $res; } /** * @param array $map * * @return SaveUserExtendValuesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userDisplayName'])) { $model->userDisplayName = $map['userDisplayName']; } if (isset($map['userExtendKey'])) { $model->userExtendKey = $map['userExtendKey']; } if (isset($map['userExtendValue'])) { $model->userExtendValue = $map['userExtendValue']; } return $model; } } src/industry_1_0/Models/SaveUserExtendValuesResponse.php000064400000002756146412132660017432 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveUserExtendValuesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveUserExtendValuesResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SaveUserExtendValuesResponseBody.php000064400000001522146412132660020236 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SaveUserExtendValuesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/industry_1_0/Models/SupplAddRoleHeaders.php000064400000002330146412132660015444 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplAddRoleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplAddRoleRequest.php000064400000002275146412132660015531 0ustar00 'parentRoleGroupId', 'roleName' => 'roleName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->parentRoleGroupId) { $res['parentRoleGroupId'] = $this->parentRoleGroupId; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } return $res; } /** * @param array $map * * @return SupplAddRoleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['parentRoleGroupId'])) { $model->parentRoleGroupId = $map['parentRoleGroupId']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } return $model; } } src/industry_1_0/Models/SupplAddRoleResponse.php000064400000002716146412132660015677 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplAddRoleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplAddRoleResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplAddRoleResponseBody.php000064400000001527146412132660016514 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SupplAddRoleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/SupplyAddDeptHeaders.php000064400000002332146412132660015632 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyAddDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyAddDeptRequest.php000064400000003671146412132660015716 0ustar00 'deptName', 'partnerNumber' => 'partnerNumber', 'superDeptId' => 'superDeptId', 'supplyDeptType' => 'supplyDeptType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->partnerNumber) { $res['partnerNumber'] = $this->partnerNumber; } if (null !== $this->superDeptId) { $res['superDeptId'] = $this->superDeptId; } if (null !== $this->supplyDeptType) { $res['supplyDeptType'] = $this->supplyDeptType; } return $res; } /** * @param array $map * * @return SupplyAddDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['partnerNumber'])) { $model->partnerNumber = $map['partnerNumber']; } if (isset($map['superDeptId'])) { $model->superDeptId = $map['superDeptId']; } if (isset($map['supplyDeptType'])) { $model->supplyDeptType = $map['supplyDeptType']; } return $model; } } src/industry_1_0/Models/SupplyAddDeptResponse.php000064400000002722146412132660016060 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyAddDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyAddDeptResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyAddDeptResponseBody.php000064400000001714146412132660016676 0ustar00 '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 SupplyAddDeptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/industry_1_0/Models/SupplyAddDeptResponseBody/result.php000064400000001456146412132660020217 0ustar00 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/industry_1_0/Models/SupplyAddMemberHeaders.php000064400000002336146412132660016151 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyAddMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyAddMemberRequest.php000064400000005260146412132660016225 0ustar00 'isPartnerManager', 'memberMobile' => 'memberMobile', 'memberName' => 'memberName', 'memberTitle' => 'memberTitle', 'memberWorkNumber' => 'memberWorkNumber', 'supplyDeptId' => 'supplyDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isPartnerManager) { $res['isPartnerManager'] = $this->isPartnerManager; } if (null !== $this->memberMobile) { $res['memberMobile'] = $this->memberMobile; } if (null !== $this->memberName) { $res['memberName'] = $this->memberName; } if (null !== $this->memberTitle) { $res['memberTitle'] = $this->memberTitle; } if (null !== $this->memberWorkNumber) { $res['memberWorkNumber'] = $this->memberWorkNumber; } if (null !== $this->supplyDeptId) { $res['supplyDeptId'] = $this->supplyDeptId; } return $res; } /** * @param array $map * * @return SupplyAddMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isPartnerManager'])) { $model->isPartnerManager = $map['isPartnerManager']; } if (isset($map['memberMobile'])) { $model->memberMobile = $map['memberMobile']; } if (isset($map['memberName'])) { $model->memberName = $map['memberName']; } if (isset($map['memberTitle'])) { $model->memberTitle = $map['memberTitle']; } if (isset($map['memberWorkNumber'])) { $model->memberWorkNumber = $map['memberWorkNumber']; } if (isset($map['supplyDeptId'])) { $model->supplyDeptId = $map['supplyDeptId']; } return $model; } } src/industry_1_0/Models/SupplyAddMemberResponse.php000064400000002732146412132660016374 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyAddMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyAddMemberResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyAddMemberResponseBody.php000064400000001722146412132660017210 0ustar00 '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 SupplyAddMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/industry_1_0/Models/SupplyAddMemberResponseBody/result.php000064400000003043146412132660020524 0ustar00 'dingMemberStatus', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingMemberStatus) { $res['dingMemberStatus'] = $this->dingMemberStatus; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } 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['dingMemberStatus'])) { $model->dingMemberStatus = $map['dingMemberStatus']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/SupplyAddPartnerAdminsHeaders.php000064400000002354146412132660017511 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyAddPartnerAdminsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyAddPartnerAdminsRequest.php000064400000002204146412132660017560 0ustar00 'deptId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SupplyAddPartnerAdminsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/SupplyAddPartnerAdminsResponse.php000064400000002766146412132660017743 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyAddPartnerAdminsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyAddPartnerAdminsResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyAddPartnerAdminsResponseBody.php000064400000001515146412132660020550 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SupplyAddPartnerAdminsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/SupplyAddPartnerManagersHeaders.php000064400000002360146412132660020030 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyAddPartnerManagersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyAddPartnerManagersRequest.php000064400000002767146412132660020120 0ustar00 'deptId', 'interfaceId' => 'interfaceId', 'interfaceType' => 'interfaceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->interfaceId) { $res['interfaceId'] = $this->interfaceId; } if (null !== $this->interfaceType) { $res['interfaceType'] = $this->interfaceType; } return $res; } /** * @param array $map * * @return SupplyAddPartnerManagersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['interfaceId'])) { $model->interfaceId = $map['interfaceId']; } if (isset($map['interfaceType'])) { $model->interfaceType = $map['interfaceType']; } return $model; } } src/industry_1_0/Models/SupplyAddPartnerManagersResponse.php000064400000002776146412132660020266 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyAddPartnerManagersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyAddPartnerManagersResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyAddPartnerManagersResponseBody.php000064400000001521146412132660021067 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SupplyAddPartnerManagersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/SupplyAddPartnerTypeHeaders.php000064400000002350146412132660017213 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyAddPartnerTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyAddPartnerTypeRequest.php000064400000002205146412132660017267 0ustar00 'name', 'superId' => 'superId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->superId) { $res['superId'] = $this->superId; } return $res; } /** * @param array $map * * @return SupplyAddPartnerTypeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['superId'])) { $model->superId = $map['superId']; } return $model; } } src/industry_1_0/Models/SupplyAddPartnerTypeResponse.php000064400000002756146412132660017450 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyAddPartnerTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyAddPartnerTypeResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyAddPartnerTypeResponseBody.php000064400000001510146412132660020251 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SupplyAddPartnerTypeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/SupplyChainDeleteDeptHeaders.php000064400000002352146412132660017311 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyChainDeleteDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyChainDeleteDeptRequest.php000064400000001622146412132660017365 0ustar00 'supplyDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->supplyDeptId) { $res['supplyDeptId'] = $this->supplyDeptId; } return $res; } /** * @param array $map * * @return SupplyChainDeleteDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['supplyDeptId'])) { $model->supplyDeptId = $map['supplyDeptId']; } return $model; } } src/industry_1_0/Models/SupplyChainDeleteDeptResponse.php000064400000002762146412132660017541 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyChainDeleteDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyChainDeleteDeptResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyChainDeleteDeptResponseBody.php000064400000001513146412132660020350 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SupplyChainDeleteDeptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/SupplyChainQueryDeptInfoHeaders.php000064400000002360146412132660020027 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyChainQueryDeptInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyChainQueryDeptInfoRequest.php000064400000001630146412132660020103 0ustar00 'supplyDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->supplyDeptId) { $res['supplyDeptId'] = $this->supplyDeptId; } return $res; } /** * @param array $map * * @return SupplyChainQueryDeptInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['supplyDeptId'])) { $model->supplyDeptId = $map['supplyDeptId']; } return $model; } } src/industry_1_0/Models/SupplyChainQueryDeptInfoResponse.php000064400000002776146412132660020265 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyChainQueryDeptInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyChainQueryDeptInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyChainQueryDeptInfoResponseBody.php000064400000001755146412132660021077 0ustar00 '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 SupplyChainQueryDeptInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/industry_1_0/Models/SupplyChainQueryDeptInfoResponseBody/result.php000064400000007024146412132660022410 0ustar00 'deptId', 'deptType' => 'deptType', 'hasSubDept' => 'hasSubDept', 'name' => 'name', 'partnerNumber' => 'partnerNumber', 'partnerTypeInfoList' => 'partnerTypeInfoList', 'superId' => 'superId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptType) { $res['deptType'] = $this->deptType; } if (null !== $this->hasSubDept) { $res['hasSubDept'] = $this->hasSubDept; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->partnerNumber) { $res['partnerNumber'] = $this->partnerNumber; } if (null !== $this->partnerTypeInfoList) { $res['partnerTypeInfoList'] = []; if (null !== $this->partnerTypeInfoList && \is_array($this->partnerTypeInfoList)) { $n = 0; foreach ($this->partnerTypeInfoList as $item) { $res['partnerTypeInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->superId) { $res['superId'] = $this->superId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptType'])) { $model->deptType = $map['deptType']; } if (isset($map['hasSubDept'])) { $model->hasSubDept = $map['hasSubDept']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['partnerNumber'])) { $model->partnerNumber = $map['partnerNumber']; } if (isset($map['partnerTypeInfoList'])) { if (!empty($map['partnerTypeInfoList'])) { $model->partnerTypeInfoList = []; $n = 0; foreach ($map['partnerTypeInfoList'] as $item) { $model->partnerTypeInfoList[$n++] = null !== $item ? partnerTypeInfoList::fromMap($item) : $item; } } } if (isset($map['superId'])) { $model->superId = $map['superId']; } return $model; } } src/industry_1_0/Models/SupplyChainQueryDeptInfoResponseBody/result/partnerTypeInfoList.php000064400000003355146412132660026400 0ustar00 'id', 'name' => 'name', 'superId' => 'superId', 'superName' => 'superName', ]; 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->superId) { $res['superId'] = $this->superId; } if (null !== $this->superName) { $res['superName'] = $this->superName; } return $res; } /** * @param array $map * * @return partnerTypeInfoList */ 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['superId'])) { $model->superId = $map['superId']; } if (isset($map['superName'])) { $model->superName = $map['superName']; } return $model; } } src/industry_1_0/Models/SupplyChainUpdateDeptInfoHeaders.php000064400000002362146412132660020146 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyChainUpdateDeptInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyChainUpdateDeptInfoRequest.php000064400000004414146412132660020223 0ustar00 'name', 'partnerNumber' => 'partnerNumber', 'partnerTypeList' => 'partnerTypeList', 'superId' => 'superId', 'supplyDeptId' => 'supplyDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->partnerNumber) { $res['partnerNumber'] = $this->partnerNumber; } if (null !== $this->partnerTypeList) { $res['partnerTypeList'] = $this->partnerTypeList; } if (null !== $this->superId) { $res['superId'] = $this->superId; } if (null !== $this->supplyDeptId) { $res['supplyDeptId'] = $this->supplyDeptId; } return $res; } /** * @param array $map * * @return SupplyChainUpdateDeptInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['partnerNumber'])) { $model->partnerNumber = $map['partnerNumber']; } if (isset($map['partnerTypeList'])) { if (!empty($map['partnerTypeList'])) { $model->partnerTypeList = $map['partnerTypeList']; } } if (isset($map['superId'])) { $model->superId = $map['superId']; } if (isset($map['supplyDeptId'])) { $model->supplyDeptId = $map['supplyDeptId']; } return $model; } } src/industry_1_0/Models/SupplyChainUpdateDeptInfoResponse.php000064400000003002146412132660020361 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyChainUpdateDeptInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyChainUpdateDeptInfoResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyChainUpdateDeptInfoResponseBody.php000064400000001523146412132660021205 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SupplyChainUpdateDeptInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/SupplyDeleteMemberHeaders.php000064400000002344146412132660016662 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyDeleteMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyDeleteMemberRequest.php000064400000003345146412132660016741 0ustar00 'deptId', 'mobile' => 'mobile', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SupplyDeleteMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/SupplyDeleteMemberResponse.php000064400000002746146412132660017113 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyDeleteMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyDeleteMemberResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyDeleteMemberResponseBody.php000064400000001505146412132660017721 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SupplyDeleteMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/SupplyDeletePartnerAdminsHeaders.php000064400000002362146412132660020222 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyDeletePartnerAdminsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyDeletePartnerAdminsRequest.php000064400000002215146412132660020274 0ustar00 'deptId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SupplyDeletePartnerAdminsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/SupplyDeletePartnerAdminsResponse.php000064400000003002146412132660020435 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyDeletePartnerAdminsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyDeletePartnerAdminsResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyDeletePartnerAdminsResponseBody.php000064400000001523146412132660021261 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SupplyDeletePartnerAdminsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/SupplyDeletePartnerManagersHeaders.php000064400000002366146412132660020550 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyDeletePartnerManagersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyDeletePartnerManagersRequest.php000064400000003062146412132660020617 0ustar00 'deptId', 'interfaceId' => 'interfaceId', 'interfaceType' => 'interfaceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->interfaceId) { $res['interfaceId'] = $this->interfaceId; } if (null !== $this->interfaceType) { $res['interfaceType'] = $this->interfaceType; } return $res; } /** * @param array $map * * @return SupplyDeletePartnerManagersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['interfaceId'])) { $model->interfaceId = $map['interfaceId']; } if (isset($map['interfaceType'])) { $model->interfaceType = $map['interfaceType']; } return $model; } } src/industry_1_0/Models/SupplyDeletePartnerManagersResponse.php000064400000003012146412132660020760 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyDeletePartnerManagersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyDeletePartnerManagersResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyDeletePartnerManagersResponseBody.php000064400000001527146412132660021607 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SupplyDeletePartnerManagersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/SupplyDeletePartnerTypeHeaders.php000064400000002356146412132660017733 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyDeletePartnerTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyDeletePartnerTypeRequest.php000064400000001546146412132660020010 0ustar00 'labelId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } return $res; } /** * @param array $map * * @return SupplyDeletePartnerTypeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } return $model; } } src/industry_1_0/Models/SupplyDeletePartnerTypeResponse.php000064400000002772146412132660020160 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyDeletePartnerTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyDeletePartnerTypeResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyDeletePartnerTypeResponseBody.php000064400000001517146412132660020772 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SupplyDeletePartnerTypeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/SupplyDeleteRoleHeaders.php000064400000002340146412132660016350 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyDeleteRoleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyDeleteRoleRequest.php000064400000002167146412132660016434 0ustar00 'isRoleGroup', 'roleId' => 'roleId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isRoleGroup) { $res['isRoleGroup'] = $this->isRoleGroup; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } return $res; } /** * @param array $map * * @return SupplyDeleteRoleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isRoleGroup'])) { $model->isRoleGroup = $map['isRoleGroup']; } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } return $model; } } src/industry_1_0/Models/SupplyDeleteRoleResponse.php000064400000002736146412132660016604 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyDeleteRoleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyDeleteRoleResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyDeleteRoleResponseBody.php000064400000001501146412132660017407 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SupplyDeleteRoleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/SupplyGetMemberHeaders.php000064400000002336146412132660016200 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyGetMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyGetMemberRequest.php000064400000002601146412132660016250 0ustar00 'mobile', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SupplyGetMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/SupplyGetMemberResponse.php000064400000002732146412132660016423 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyGetMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyGetMemberResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyGetMemberResponseBody.php000064400000001722146412132660017237 0ustar00 '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 SupplyGetMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/industry_1_0/Models/SupplyGetMemberResponseBody/result.php000064400000010004146412132660020546 0ustar00 'deptIdList', 'dingMemberStatus' => 'dingMemberStatus', 'isActive' => 'isActive', 'memberName' => 'memberName', 'memberTitle' => 'memberTitle', 'memberWorkNumber' => 'memberWorkNumber', 'roleInfoList' => 'roleInfoList', 'supplyNodeList' => 'supplyNodeList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIdList) { $res['deptIdList'] = $this->deptIdList; } if (null !== $this->dingMemberStatus) { $res['dingMemberStatus'] = $this->dingMemberStatus; } if (null !== $this->isActive) { $res['isActive'] = $this->isActive; } if (null !== $this->memberName) { $res['memberName'] = $this->memberName; } if (null !== $this->memberTitle) { $res['memberTitle'] = $this->memberTitle; } if (null !== $this->memberWorkNumber) { $res['memberWorkNumber'] = $this->memberWorkNumber; } if (null !== $this->roleInfoList) { $res['roleInfoList'] = []; if (null !== $this->roleInfoList && \is_array($this->roleInfoList)) { $n = 0; foreach ($this->roleInfoList as $item) { $res['roleInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->supplyNodeList) { $res['supplyNodeList'] = $this->supplyNodeList; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIdList'])) { if (!empty($map['deptIdList'])) { $model->deptIdList = $map['deptIdList']; } } if (isset($map['dingMemberStatus'])) { $model->dingMemberStatus = $map['dingMemberStatus']; } if (isset($map['isActive'])) { $model->isActive = $map['isActive']; } if (isset($map['memberName'])) { $model->memberName = $map['memberName']; } if (isset($map['memberTitle'])) { $model->memberTitle = $map['memberTitle']; } if (isset($map['memberWorkNumber'])) { $model->memberWorkNumber = $map['memberWorkNumber']; } if (isset($map['roleInfoList'])) { if (!empty($map['roleInfoList'])) { $model->roleInfoList = []; $n = 0; foreach ($map['roleInfoList'] as $item) { $model->roleInfoList[$n++] = null !== $item ? roleInfoList::fromMap($item) : $item; } } } if (isset($map['supplyNodeList'])) { if (!empty($map['supplyNodeList'])) { $model->supplyNodeList = $map['supplyNodeList']; } } return $model; } } src/industry_1_0/Models/SupplyGetMemberResponseBody/result/roleInfoList.php000064400000002241146412132660023163 0ustar00 'roleId', 'roleName' => 'roleName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } return $res; } /** * @param array $map * * @return roleInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } return $model; } } src/industry_1_0/Models/SupplyListDeptMembersHeaders.php000064400000002352146412132660017372 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyListDeptMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyListDeptMembersRequest.php000064400000003031146412132660017442 0ustar00 'pageNumber', 'pageSize' => 'pageSize', 'supplyDeptId' => 'supplyDeptId', ]; 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->supplyDeptId) { $res['supplyDeptId'] = $this->supplyDeptId; } return $res; } /** * @param array $map * * @return SupplyListDeptMembersRequest */ 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['supplyDeptId'])) { $model->supplyDeptId = $map['supplyDeptId']; } return $model; } } src/industry_1_0/Models/SupplyListDeptMembersResponse.php000064400000002762146412132660017622 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyListDeptMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyListDeptMembersResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyListDeptMembersResponseBody.php000064400000003257146412132660020440 0ustar00 '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 SupplyListDeptMembersResponseBody */ 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/industry_1_0/Models/SupplyListDeptMembersResponseBody/list_.php000064400000005634146412132660021553 0ustar00 'dingMemberStatus', 'isActive' => 'isActive', 'memberName' => 'memberName', 'memberTitle' => 'memberTitle', 'memberWorkNumber' => 'memberWorkNumber', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingMemberStatus) { $res['dingMemberStatus'] = $this->dingMemberStatus; } if (null !== $this->isActive) { $res['isActive'] = $this->isActive; } if (null !== $this->memberName) { $res['memberName'] = $this->memberName; } if (null !== $this->memberTitle) { $res['memberTitle'] = $this->memberTitle; } if (null !== $this->memberWorkNumber) { $res['memberWorkNumber'] = $this->memberWorkNumber; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } 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['dingMemberStatus'])) { $model->dingMemberStatus = $map['dingMemberStatus']; } if (isset($map['isActive'])) { $model->isActive = $map['isActive']; } if (isset($map['memberName'])) { $model->memberName = $map['memberName']; } if (isset($map['memberTitle'])) { $model->memberTitle = $map['memberTitle']; } if (isset($map['memberWorkNumber'])) { $model->memberWorkNumber = $map['memberWorkNumber']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/SupplyListPartnerAdminsHeaders.php000064400000002356146412132660017736 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyListPartnerAdminsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyListPartnerAdminsRequest.php000064400000001544146412132660020011 0ustar00 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return SupplyListPartnerAdminsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/industry_1_0/Models/SupplyListPartnerAdminsResponse.php000064400000002772146412132660020163 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyListPartnerAdminsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyListPartnerAdminsResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyListPartnerAdminsResponseBody.php000064400000002642146412132660020775 0ustar00 '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 SupplyListPartnerAdminsResponseBody */ 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/industry_1_0/Models/SupplyListPartnerAdminsResponseBody/result.php000064400000002676146412132660022322 0ustar00 'name', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } 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['name'])) { $model->name = $map['name']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/SupplyListPartnerManagersHeaders.php000064400000002362146412132660020255 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyListPartnerManagersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyListPartnerManagersRequest.php000064400000001550146412132660020330 0ustar00 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return SupplyListPartnerManagersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/industry_1_0/Models/SupplyListPartnerManagersResponse.php000064400000003002146412132660020470 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyListPartnerManagersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyListPartnerManagersResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyListPartnerManagersResponseBody.php000064400000002650146412132660021316 0ustar00 '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 SupplyListPartnerManagersResponseBody */ 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/industry_1_0/Models/SupplyListPartnerManagersResponseBody/result.php000064400000004225146412132660022634 0ustar00 'deptId', 'deptName' => 'deptName', 'interfaceType' => 'interfaceType', 'userId' => 'userId', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->interfaceType) { $res['interfaceType'] = $this->interfaceType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } 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['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['interfaceType'])) { $model->interfaceType = $map['interfaceType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/industry_1_0/Models/SupplyListPartnerTypeHeaders.php000064400000002352146412132660017440 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyListPartnerTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyListPartnerTypeRequest.php000064400000001542146412132660017515 0ustar00 'labelId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } return $res; } /** * @param array $map * * @return SupplyListPartnerTypeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } return $model; } } src/industry_1_0/Models/SupplyListPartnerTypeResponse.php000064400000002762146412132660017670 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyListPartnerTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyListPartnerTypeResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyListPartnerTypeResponseBody.php000064400000002634146412132660020504 0ustar00 '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 SupplyListPartnerTypeResponseBody */ 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/industry_1_0/Models/SupplyListPartnerTypeResponseBody/result.php000064400000002644146412132660022023 0ustar00 'labelId', 'name' => 'name', 'superId' => 'superId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->superId) { $res['superId'] = $this->superId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['superId'])) { $model->superId = $map['superId']; } return $model; } } src/industry_1_0/Models/SupplyListRoleHeaders.php000064400000002334146412132660016064 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyListRoleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyListRoleRequest.php000064400000001606146412132660016142 0ustar00 'parentRoleId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->parentRoleId) { $res['parentRoleId'] = $this->parentRoleId; } return $res; } /** * @param array $map * * @return SupplyListRoleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['parentRoleId'])) { $model->parentRoleId = $map['parentRoleId']; } return $model; } } src/industry_1_0/Models/SupplyListRoleResponse.php000064400000002726146412132660016314 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyListRoleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyListRoleResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyListRoleResponseBody.php000064400000002607146412132660017130 0ustar00 '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 SupplyListRoleResponseBody */ 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/industry_1_0/Models/SupplyListRoleResponseBody/result.php000064400000002714146412132660020445 0ustar00 'isRoleGroup', 'roleId' => 'roleId', 'roleName' => 'roleName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isRoleGroup) { $res['isRoleGroup'] = $this->isRoleGroup; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isRoleGroup'])) { $model->isRoleGroup = $map['isRoleGroup']; } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } return $model; } } src/industry_1_0/Models/SupplyListSubDeptHeaders.php000064400000002342146412132660016530 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyListSubDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyListSubDeptRequest.php000064400000001612146412132660016604 0ustar00 'supplyDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->supplyDeptId) { $res['supplyDeptId'] = $this->supplyDeptId; } return $res; } /** * @param array $map * * @return SupplyListSubDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['supplyDeptId'])) { $model->supplyDeptId = $map['supplyDeptId']; } return $model; } } src/industry_1_0/Models/SupplyListSubDeptResponse.php000064400000002742146412132660016757 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyListSubDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyListSubDeptResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyListSubDeptResponseBody.php000064400000002620146412132660017570 0ustar00 '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 SupplyListSubDeptResponseBody */ 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/industry_1_0/Models/SupplyListSubDeptResponseBody/result.php000064400000007006146412132660021111 0ustar00 'deptId', 'deptType' => 'deptType', 'hasSubDept' => 'hasSubDept', 'name' => 'name', 'partnerNumber' => 'partnerNumber', 'partnerTypeInfoList' => 'partnerTypeInfoList', 'superId' => 'superId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptType) { $res['deptType'] = $this->deptType; } if (null !== $this->hasSubDept) { $res['hasSubDept'] = $this->hasSubDept; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->partnerNumber) { $res['partnerNumber'] = $this->partnerNumber; } if (null !== $this->partnerTypeInfoList) { $res['partnerTypeInfoList'] = []; if (null !== $this->partnerTypeInfoList && \is_array($this->partnerTypeInfoList)) { $n = 0; foreach ($this->partnerTypeInfoList as $item) { $res['partnerTypeInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->superId) { $res['superId'] = $this->superId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptType'])) { $model->deptType = $map['deptType']; } if (isset($map['hasSubDept'])) { $model->hasSubDept = $map['hasSubDept']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['partnerNumber'])) { $model->partnerNumber = $map['partnerNumber']; } if (isset($map['partnerTypeInfoList'])) { if (!empty($map['partnerTypeInfoList'])) { $model->partnerTypeInfoList = []; $n = 0; foreach ($map['partnerTypeInfoList'] as $item) { $model->partnerTypeInfoList[$n++] = null !== $item ? partnerTypeInfoList::fromMap($item) : $item; } } } if (isset($map['superId'])) { $model->superId = $map['superId']; } return $model; } } src/industry_1_0/Models/SupplyListSubDeptResponseBody/result/partnerTypeInfoList.php000064400000003346146412132660025101 0ustar00 'id', 'name' => 'name', 'superId' => 'superId', 'superName' => 'superName', ]; 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->superId) { $res['superId'] = $this->superId; } if (null !== $this->superName) { $res['superName'] = $this->superName; } return $res; } /** * @param array $map * * @return partnerTypeInfoList */ 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['superId'])) { $model->superId = $map['superId']; } if (isset($map['superName'])) { $model->superName = $map['superName']; } return $model; } } src/industry_1_0/Models/SupplyQueryPartnerTypeHeaders.php000064400000002354146412132660017634 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyQueryPartnerTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyQueryPartnerTypeRequest.php000064400000001544146412132660017711 0ustar00 'labelId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } return $res; } /** * @param array $map * * @return SupplyQueryPartnerTypeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } return $model; } } src/industry_1_0/Models/SupplyQueryPartnerTypeResponse.php000064400000002766146412132660020066 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyQueryPartnerTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyQueryPartnerTypeResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyQueryPartnerTypeResponseBody.php000064400000001747146412132660020702 0ustar00 '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 SupplyQueryPartnerTypeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/industry_1_0/Models/SupplyQueryPartnerTypeResponseBody/result.php000064400000002645146412132660022216 0ustar00 'labelId', 'name' => 'name', 'superId' => 'superId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->superId) { $res['superId'] = $this->superId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['superId'])) { $model->superId = $map['superId']; } return $model; } } src/industry_1_0/Models/SupplyUpdateMemberHeaders.php000064400000002344146412132660016702 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyUpdateMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyUpdateMemberRequest.php000064400000006774146412132660016772 0ustar00 'isCopyDept', 'memberTitle' => 'memberTitle', 'memberWorkNumber' => 'memberWorkNumber', 'mobile' => 'mobile', 'newDeptId' => 'newDeptId', 'oldDeptId' => 'oldDeptId', 'roleIdList' => 'roleIdList', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isCopyDept) { $res['isCopyDept'] = $this->isCopyDept; } if (null !== $this->memberTitle) { $res['memberTitle'] = $this->memberTitle; } if (null !== $this->memberWorkNumber) { $res['memberWorkNumber'] = $this->memberWorkNumber; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->newDeptId) { $res['newDeptId'] = $this->newDeptId; } if (null !== $this->oldDeptId) { $res['oldDeptId'] = $this->oldDeptId; } if (null !== $this->roleIdList) { $res['roleIdList'] = $this->roleIdList; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SupplyUpdateMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isCopyDept'])) { $model->isCopyDept = $map['isCopyDept']; } if (isset($map['memberTitle'])) { $model->memberTitle = $map['memberTitle']; } if (isset($map['memberWorkNumber'])) { $model->memberWorkNumber = $map['memberWorkNumber']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['newDeptId'])) { $model->newDeptId = $map['newDeptId']; } if (isset($map['oldDeptId'])) { $model->oldDeptId = $map['oldDeptId']; } if (isset($map['roleIdList'])) { if (!empty($map['roleIdList'])) { $model->roleIdList = $map['roleIdList']; } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/industry_1_0/Models/SupplyUpdateMemberResponse.php000064400000002746146412132660017133 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyUpdateMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyUpdateMemberResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyUpdateMemberResponseBody.php000064400000001505146412132660017741 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SupplyUpdateMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/SupplyUpdatePartnerTypeHeaders.php000064400000002356146412132660017753 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyUpdatePartnerTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyUpdatePartnerTypeRequest.php000064400000002670146412132660020027 0ustar00 'labelId', 'name' => 'name', 'superId' => 'superId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->superId) { $res['superId'] = $this->superId; } return $res; } /** * @param array $map * * @return SupplyUpdatePartnerTypeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['superId'])) { $model->superId = $map['superId']; } return $model; } } src/industry_1_0/Models/SupplyUpdatePartnerTypeResponse.php000064400000002772146412132660020200 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyUpdatePartnerTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyUpdatePartnerTypeResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyUpdatePartnerTypeResponseBody.php000064400000001517146412132660021012 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SupplyUpdatePartnerTypeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/SupplyUpdateRoleHeaders.php000064400000002340146412132660016370 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SupplyUpdateRoleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/SupplyUpdateRoleRequest.php000064400000002632146412132660016451 0ustar00 'isRoleGroup', 'roleId' => 'roleId', 'roleName' => 'roleName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isRoleGroup) { $res['isRoleGroup'] = $this->isRoleGroup; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } return $res; } /** * @param array $map * * @return SupplyUpdateRoleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isRoleGroup'])) { $model->isRoleGroup = $map['isRoleGroup']; } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } return $model; } } src/industry_1_0/Models/SupplyUpdateRoleResponse.php000064400000002736146412132660016624 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SupplyUpdateRoleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SupplyUpdateRoleResponseBody::fromMap($map['body']); } return $model; } } src/industry_1_0/Models/SupplyUpdateRoleResponseBody.php000064400000001501146412132660017427 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SupplyUpdateRoleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/industry_1_0/Models/UpdateUserExtendInfoHeaders.php000064400000002350146412132660017155 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateUserExtendInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/industry_1_0/Models/UpdateUserExtendInfoRequest.php000064400000003740146412132660017236 0ustar00 'comments', 'jobCode' => 'jobCode', 'jobStatusCode' => 'jobStatusCode', 'userProbCode' => 'userProbCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->comments) { $res['comments'] = $this->comments; } if (null !== $this->jobCode) { $res['jobCode'] = $this->jobCode; } if (null !== $this->jobStatusCode) { $res['jobStatusCode'] = $this->jobStatusCode; } if (null !== $this->userProbCode) { $res['userProbCode'] = $this->userProbCode; } return $res; } /** * @param array $map * * @return UpdateUserExtendInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['comments'])) { $model->comments = $map['comments']; } if (isset($map['jobCode'])) { $model->jobCode = $map['jobCode']; } if (isset($map['jobStatusCode'])) { if (!empty($map['jobStatusCode'])) { $model->jobStatusCode = $map['jobStatusCode']; } } if (isset($map['userProbCode'])) { $model->userProbCode = $map['userProbCode']; } return $model; } } src/industry_1_0/Models/UpdateUserExtendInfoResponse.php000064400000002200146412132660017372 0ustar00 '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 UpdateUserExtendInfoResponse */ 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/jzcrm_1_0/Dingtalk.php000064400000103422146412132660011374 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param EditContactRequest $request * @param EditContactHeaders $headers * @param RuntimeOptions $runtime * * @return EditContactResponse */ public function editContactWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->datatype)) { $body['datatype'] = $request->datatype; } if (!Utils::isUnset($request->msgid)) { $body['msgid'] = $request->msgid; } if (!Utils::isUnset($request->stamp)) { $body['stamp'] = $request->stamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EditContact', 'version' => 'jzcrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/jzcrm/contacts', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EditContactResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EditContactRequest $request * * @return EditContactResponse */ public function editContact($request) { $runtime = new RuntimeOptions([]); $headers = new EditContactHeaders([]); return $this->editContactWithOptions($request, $headers, $runtime); } /** * @param EditCustomerRequest $request * @param EditCustomerHeaders $headers * @param RuntimeOptions $runtime * * @return EditCustomerResponse */ public function editCustomerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->datatype)) { $body['datatype'] = $request->datatype; } if (!Utils::isUnset($request->msgid)) { $body['msgid'] = $request->msgid; } if (!Utils::isUnset($request->stamp)) { $body['stamp'] = $request->stamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EditCustomer', 'version' => 'jzcrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/jzcrm/customers', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EditCustomerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EditCustomerRequest $request * * @return EditCustomerResponse */ public function editCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new EditCustomerHeaders([]); return $this->editCustomerWithOptions($request, $headers, $runtime); } /** * @param EditCustomerPoolRequest $request * @param EditCustomerPoolHeaders $headers * @param RuntimeOptions $runtime * * @return EditCustomerPoolResponse */ public function editCustomerPoolWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->datatype)) { $body['datatype'] = $request->datatype; } if (!Utils::isUnset($request->msgid)) { $body['msgid'] = $request->msgid; } if (!Utils::isUnset($request->stamp)) { $body['stamp'] = $request->stamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EditCustomerPool', 'version' => 'jzcrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/jzcrm/customerPools', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EditCustomerPoolResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EditCustomerPoolRequest $request * * @return EditCustomerPoolResponse */ public function editCustomerPool($request) { $runtime = new RuntimeOptions([]); $headers = new EditCustomerPoolHeaders([]); return $this->editCustomerPoolWithOptions($request, $headers, $runtime); } /** * @param EditExchangeRequest $request * @param EditExchangeHeaders $headers * @param RuntimeOptions $runtime * * @return EditExchangeResponse */ public function editExchangeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->datatype)) { $body['datatype'] = $request->datatype; } if (!Utils::isUnset($request->msgid)) { $body['msgid'] = $request->msgid; } if (!Utils::isUnset($request->stamp)) { $body['stamp'] = $request->stamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EditExchange', 'version' => 'jzcrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/jzcrm/exchanges', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EditExchangeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EditExchangeRequest $request * * @return EditExchangeResponse */ public function editExchange($request) { $runtime = new RuntimeOptions([]); $headers = new EditExchangeHeaders([]); return $this->editExchangeWithOptions($request, $headers, $runtime); } /** * @param EditGoodsRequest $request * @param EditGoodsHeaders $headers * @param RuntimeOptions $runtime * * @return EditGoodsResponse */ public function editGoodsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->datatype)) { $body['datatype'] = $request->datatype; } if (!Utils::isUnset($request->msgid)) { $body['msgid'] = $request->msgid; } if (!Utils::isUnset($request->stamp)) { $body['stamp'] = $request->stamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EditGoods', 'version' => 'jzcrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/jzcrm/goods', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EditGoodsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EditGoodsRequest $request * * @return EditGoodsResponse */ public function editGoods($request) { $runtime = new RuntimeOptions([]); $headers = new EditGoodsHeaders([]); return $this->editGoodsWithOptions($request, $headers, $runtime); } /** * @param EditIntostockRequest $request * @param EditIntostockHeaders $headers * @param RuntimeOptions $runtime * * @return EditIntostockResponse */ public function editIntostockWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->datatype)) { $body['datatype'] = $request->datatype; } if (!Utils::isUnset($request->msgid)) { $body['msgid'] = $request->msgid; } if (!Utils::isUnset($request->stamp)) { $body['stamp'] = $request->stamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EditIntostock', 'version' => 'jzcrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/jzcrm/intostocks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EditIntostockResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EditIntostockRequest $request * * @return EditIntostockResponse */ public function editIntostock($request) { $runtime = new RuntimeOptions([]); $headers = new EditIntostockHeaders([]); return $this->editIntostockWithOptions($request, $headers, $runtime); } /** * @param EditInvoiceRequest $request * @param EditInvoiceHeaders $headers * @param RuntimeOptions $runtime * * @return EditInvoiceResponse */ public function editInvoiceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->datatype)) { $body['datatype'] = $request->datatype; } if (!Utils::isUnset($request->msgid)) { $body['msgid'] = $request->msgid; } if (!Utils::isUnset($request->stamp)) { $body['stamp'] = $request->stamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EditInvoice', 'version' => 'jzcrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/jzcrm/invoices', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EditInvoiceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EditInvoiceRequest $request * * @return EditInvoiceResponse */ public function editInvoice($request) { $runtime = new RuntimeOptions([]); $headers = new EditInvoiceHeaders([]); return $this->editInvoiceWithOptions($request, $headers, $runtime); } /** * @param EditOrderRequest $request * @param EditOrderHeaders $headers * @param RuntimeOptions $runtime * * @return EditOrderResponse */ public function editOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->datatype)) { $body['datatype'] = $request->datatype; } if (!Utils::isUnset($request->msgid)) { $body['msgid'] = $request->msgid; } if (!Utils::isUnset($request->stamp)) { $body['stamp'] = $request->stamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EditOrder', 'version' => 'jzcrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/jzcrm/orders', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EditOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EditOrderRequest $request * * @return EditOrderResponse */ public function editOrder($request) { $runtime = new RuntimeOptions([]); $headers = new EditOrderHeaders([]); return $this->editOrderWithOptions($request, $headers, $runtime); } /** * @param EditOutstockRequest $request * @param EditOutstockHeaders $headers * @param RuntimeOptions $runtime * * @return EditOutstockResponse */ public function editOutstockWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->datatype)) { $body['datatype'] = $request->datatype; } if (!Utils::isUnset($request->msgid)) { $body['msgid'] = $request->msgid; } if (!Utils::isUnset($request->stamp)) { $body['stamp'] = $request->stamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EditOutstock', 'version' => 'jzcrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/jzcrm/outstocks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EditOutstockResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EditOutstockRequest $request * * @return EditOutstockResponse */ public function editOutstock($request) { $runtime = new RuntimeOptions([]); $headers = new EditOutstockHeaders([]); return $this->editOutstockWithOptions($request, $headers, $runtime); } /** * @param EditProductionRequest $request * @param EditProductionHeaders $headers * @param RuntimeOptions $runtime * * @return EditProductionResponse */ public function editProductionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->datatype)) { $body['datatype'] = $request->datatype; } if (!Utils::isUnset($request->msgid)) { $body['msgid'] = $request->msgid; } if (!Utils::isUnset($request->stamp)) { $body['stamp'] = $request->stamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EditProduction', 'version' => 'jzcrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/jzcrm/productions', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EditProductionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EditProductionRequest $request * * @return EditProductionResponse */ public function editProduction($request) { $runtime = new RuntimeOptions([]); $headers = new EditProductionHeaders([]); return $this->editProductionWithOptions($request, $headers, $runtime); } /** * @param EditPurchaseRequest $request * @param EditPurchaseHeaders $headers * @param RuntimeOptions $runtime * * @return EditPurchaseResponse */ public function editPurchaseWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->datatype)) { $body['datatype'] = $request->datatype; } if (!Utils::isUnset($request->msgid)) { $body['msgid'] = $request->msgid; } if (!Utils::isUnset($request->stamp)) { $body['stamp'] = $request->stamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EditPurchase', 'version' => 'jzcrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/jzcrm/purchases', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EditPurchaseResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EditPurchaseRequest $request * * @return EditPurchaseResponse */ public function editPurchase($request) { $runtime = new RuntimeOptions([]); $headers = new EditPurchaseHeaders([]); return $this->editPurchaseWithOptions($request, $headers, $runtime); } /** * @param EditQuotationRecordRequest $request * @param EditQuotationRecordHeaders $headers * @param RuntimeOptions $runtime * * @return EditQuotationRecordResponse */ public function editQuotationRecordWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->datatype)) { $body['datatype'] = $request->datatype; } if (!Utils::isUnset($request->msgid)) { $body['msgid'] = $request->msgid; } if (!Utils::isUnset($request->stamp)) { $body['stamp'] = $request->stamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EditQuotationRecord', 'version' => 'jzcrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/jzcrm/quotationRecords', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EditQuotationRecordResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EditQuotationRecordRequest $request * * @return EditQuotationRecordResponse */ public function editQuotationRecord($request) { $runtime = new RuntimeOptions([]); $headers = new EditQuotationRecordHeaders([]); return $this->editQuotationRecordWithOptions($request, $headers, $runtime); } /** * @param EditSalesRequest $request * @param EditSalesHeaders $headers * @param RuntimeOptions $runtime * * @return EditSalesResponse */ public function editSalesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->datatype)) { $body['datatype'] = $request->datatype; } if (!Utils::isUnset($request->msgid)) { $body['msgid'] = $request->msgid; } if (!Utils::isUnset($request->stamp)) { $body['stamp'] = $request->stamp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EditSales', 'version' => 'jzcrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/jzcrm/sales', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EditSalesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EditSalesRequest $request * * @return EditSalesResponse */ public function editSales($request) { $runtime = new RuntimeOptions([]); $headers = new EditSalesHeaders([]); return $this->editSalesWithOptions($request, $headers, $runtime); } /** * @param GetDataListRequest $request * @param GetDataListHeaders $headers * @param RuntimeOptions $runtime * * @return GetDataListResponse */ public function getDataListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->datatype)) { $query['datatype'] = $request->datatype; } if (!Utils::isUnset($request->page)) { $query['page'] = $request->page; } 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' => 'GetDataList', 'version' => 'jzcrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/jzcrm/data', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDataListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetDataListRequest $request * * @return GetDataListResponse */ public function getDataList($request) { $runtime = new RuntimeOptions([]); $headers = new GetDataListHeaders([]); return $this->getDataListWithOptions($request, $headers, $runtime); } /** * @param GetDataViewRequest $request * @param GetDataViewHeaders $headers * @param RuntimeOptions $runtime * * @return GetDataViewResponse */ public function getDataViewWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->datatype)) { $query['datatype'] = $request->datatype; } if (!Utils::isUnset($request->msgid)) { $query['msgid'] = $request->msgid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetDataView', 'version' => 'jzcrm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/jzcrm/dataView', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDataViewResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetDataViewRequest $request * * @return GetDataViewResponse */ public function getDataView($request) { $runtime = new RuntimeOptions([]); $headers = new GetDataViewHeaders([]); return $this->getDataViewWithOptions($request, $headers, $runtime); } } src/jzcrm_1_0/Models/EditContactHeaders.php000064400000002323146412132660014555 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EditContactHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/jzcrm_1_0/Models/EditContactRequest.php000064400000003430146412132660014632 0ustar00 'data', 'datatype' => 'datatype', 'msgid' => 'msgid', 'stamp' => 'stamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->datatype) { $res['datatype'] = $this->datatype; } if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->stamp) { $res['stamp'] = $this->stamp; } return $res; } /** * @param array $map * * @return EditContactRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['datatype'])) { $model->datatype = $map['datatype']; } if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['stamp'])) { $model->stamp = $map['stamp']; } return $model; } } src/jzcrm_1_0/Models/EditContactRequest/data.php000064400000021607146412132660015551 0ustar00 'data_userid', 'lxrAddress' => 'lxr_address', 'lxrBirthday' => 'lxr_birthday', 'lxrChengwei' => 'lxr_chengwei', 'lxrCtnumber' => 'lxr_ctnumber', 'lxrCttype' => 'lxr_cttype', 'lxrCustomerid' => 'lxr_customerid', 'lxrDepartment' => 'lxr_department', 'lxrDingtalk' => 'lxr_dingtalk', 'lxrEmail' => 'lxr_email', 'lxrFax' => 'lxr_fax', 'lxrGroup' => 'lxr_group', 'lxrHandset' => 'lxr_handset', 'lxrHeadship' => 'lxr_headship', 'lxrLike' => 'lxr_like', 'lxrName' => 'lxr_name', 'lxrPhoto' => 'lxr_photo', 'lxrPreside' => 'lxr_preside', 'lxrPst' => 'lxr_pst', 'lxrQq' => 'lxr_qq', 'lxrRemark' => 'lxr_remark', 'lxrSex' => 'lxr_sex', 'lxrSkype' => 'lxr_skype', 'lxrTel' => 'lxr_tel', 'lxrType' => 'lxr_type', 'lxrWangwang' => 'lxr_wangwang', 'lxrWeixin' => 'lxr_weixin', 'lxrWorktel' => 'lxr_worktel', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataUserid) { $res['data_userid'] = $this->dataUserid; } if (null !== $this->lxrAddress) { $res['lxr_address'] = $this->lxrAddress; } if (null !== $this->lxrBirthday) { $res['lxr_birthday'] = $this->lxrBirthday; } if (null !== $this->lxrChengwei) { $res['lxr_chengwei'] = $this->lxrChengwei; } if (null !== $this->lxrCtnumber) { $res['lxr_ctnumber'] = $this->lxrCtnumber; } if (null !== $this->lxrCttype) { $res['lxr_cttype'] = $this->lxrCttype; } if (null !== $this->lxrCustomerid) { $res['lxr_customerid'] = $this->lxrCustomerid; } if (null !== $this->lxrDepartment) { $res['lxr_department'] = $this->lxrDepartment; } if (null !== $this->lxrDingtalk) { $res['lxr_dingtalk'] = $this->lxrDingtalk; } if (null !== $this->lxrEmail) { $res['lxr_email'] = $this->lxrEmail; } if (null !== $this->lxrFax) { $res['lxr_fax'] = $this->lxrFax; } if (null !== $this->lxrGroup) { $res['lxr_group'] = $this->lxrGroup; } if (null !== $this->lxrHandset) { $res['lxr_handset'] = $this->lxrHandset; } if (null !== $this->lxrHeadship) { $res['lxr_headship'] = $this->lxrHeadship; } if (null !== $this->lxrLike) { $res['lxr_like'] = $this->lxrLike; } if (null !== $this->lxrName) { $res['lxr_name'] = $this->lxrName; } if (null !== $this->lxrPhoto) { $res['lxr_photo'] = $this->lxrPhoto; } if (null !== $this->lxrPreside) { $res['lxr_preside'] = $this->lxrPreside; } if (null !== $this->lxrPst) { $res['lxr_pst'] = $this->lxrPst; } if (null !== $this->lxrQq) { $res['lxr_qq'] = $this->lxrQq; } if (null !== $this->lxrRemark) { $res['lxr_remark'] = $this->lxrRemark; } if (null !== $this->lxrSex) { $res['lxr_sex'] = $this->lxrSex; } if (null !== $this->lxrSkype) { $res['lxr_skype'] = $this->lxrSkype; } if (null !== $this->lxrTel) { $res['lxr_tel'] = $this->lxrTel; } if (null !== $this->lxrType) { $res['lxr_type'] = $this->lxrType; } if (null !== $this->lxrWangwang) { $res['lxr_wangwang'] = $this->lxrWangwang; } if (null !== $this->lxrWeixin) { $res['lxr_weixin'] = $this->lxrWeixin; } if (null !== $this->lxrWorktel) { $res['lxr_worktel'] = $this->lxrWorktel; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data_userid'])) { $model->dataUserid = $map['data_userid']; } if (isset($map['lxr_address'])) { $model->lxrAddress = $map['lxr_address']; } if (isset($map['lxr_birthday'])) { $model->lxrBirthday = $map['lxr_birthday']; } if (isset($map['lxr_chengwei'])) { $model->lxrChengwei = $map['lxr_chengwei']; } if (isset($map['lxr_ctnumber'])) { $model->lxrCtnumber = $map['lxr_ctnumber']; } if (isset($map['lxr_cttype'])) { $model->lxrCttype = $map['lxr_cttype']; } if (isset($map['lxr_customerid'])) { $model->lxrCustomerid = $map['lxr_customerid']; } if (isset($map['lxr_department'])) { $model->lxrDepartment = $map['lxr_department']; } if (isset($map['lxr_dingtalk'])) { $model->lxrDingtalk = $map['lxr_dingtalk']; } if (isset($map['lxr_email'])) { $model->lxrEmail = $map['lxr_email']; } if (isset($map['lxr_fax'])) { $model->lxrFax = $map['lxr_fax']; } if (isset($map['lxr_group'])) { $model->lxrGroup = $map['lxr_group']; } if (isset($map['lxr_handset'])) { $model->lxrHandset = $map['lxr_handset']; } if (isset($map['lxr_headship'])) { $model->lxrHeadship = $map['lxr_headship']; } if (isset($map['lxr_like'])) { $model->lxrLike = $map['lxr_like']; } if (isset($map['lxr_name'])) { $model->lxrName = $map['lxr_name']; } if (isset($map['lxr_photo'])) { $model->lxrPhoto = $map['lxr_photo']; } if (isset($map['lxr_preside'])) { $model->lxrPreside = $map['lxr_preside']; } if (isset($map['lxr_pst'])) { $model->lxrPst = $map['lxr_pst']; } if (isset($map['lxr_qq'])) { $model->lxrQq = $map['lxr_qq']; } if (isset($map['lxr_remark'])) { $model->lxrRemark = $map['lxr_remark']; } if (isset($map['lxr_sex'])) { $model->lxrSex = $map['lxr_sex']; } if (isset($map['lxr_skype'])) { $model->lxrSkype = $map['lxr_skype']; } if (isset($map['lxr_tel'])) { $model->lxrTel = $map['lxr_tel']; } if (isset($map['lxr_type'])) { $model->lxrType = $map['lxr_type']; } if (isset($map['lxr_wangwang'])) { $model->lxrWangwang = $map['lxr_wangwang']; } if (isset($map['lxr_weixin'])) { $model->lxrWeixin = $map['lxr_weixin']; } if (isset($map['lxr_worktel'])) { $model->lxrWorktel = $map['lxr_worktel']; } return $model; } } src/jzcrm_1_0/Models/EditContactResponse.php000064400000002707146412132660015006 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EditContactResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EditContactResponseBody::fromMap($map['body']); } return $model; } } src/jzcrm_1_0/Models/EditContactResponseBody.php000064400000002047146412132660015621 0ustar00 'msgid', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return EditContactResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/jzcrm_1_0/Models/EditCustomerHeaders.php000064400000002325146412132660014765 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EditCustomerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/jzcrm_1_0/Models/EditCustomerPoolHeaders.php000064400000002335146412132660015620 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EditCustomerPoolHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/jzcrm_1_0/Models/EditCustomerPoolRequest.php000064400000003447146412132660015702 0ustar00 'data', 'datatype' => 'datatype', 'msgid' => 'msgid', 'stamp' => 'stamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->datatype) { $res['datatype'] = $this->datatype; } if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->stamp) { $res['stamp'] = $this->stamp; } return $res; } /** * @param array $map * * @return EditCustomerPoolRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['datatype'])) { $model->datatype = $map['datatype']; } if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['stamp'])) { $model->stamp = $map['stamp']; } return $model; } } src/jzcrm_1_0/Models/EditCustomerPoolRequest/data.php000064400000035711146412132660016612 0ustar00 'data_userid', 'khAddress' => 'kh_address', 'khAppellation' => 'kh_appellation', 'khBefontof' => 'kh_befontof', 'khBillinfo' => 'kh_billinfo', 'khCity' => 'kh_city', 'khClass' => 'kh_class', 'khCoaddress' => 'kh_coaddress', 'khContype' => 'kh_contype', 'khCountry' => 'kh_country', 'khCreditgrade' => 'kh_creditgrade', 'khCtnumber' => 'kh_ctnumber', 'khCttype' => 'kh_cttype', 'khDepartment' => 'kh_department', 'khDingtalk' => 'kh_dingtalk', 'khEmail' => 'kh_email', 'khEmployees' => 'kh_employees', 'khFax' => 'kh_fax', 'khFrom' => 'kh_from', 'khGenzongtime' => 'kh_genzongtime', 'khHandset' => 'kh_handset', 'khHeadship' => 'kh_headship', 'khHotfl' => 'kh_hotfl', 'khHotlevel' => 'kh_hotlevel', 'khHotmemo' => 'kh_hotmemo', 'khHottype' => 'kh_hottype', 'khIndustry' => 'kh_industry', 'khInfo' => 'kh_info', 'khJibie' => 'kh_jibie', 'khName' => 'kh_name', 'khPkhid' => 'kh_pkhid', 'khPreside' => 'kh_preside', 'khProvince' => 'kh_province', 'khPst' => 'kh_pst', 'khQq' => 'kh_qq', 'khRalagrade' => 'kh_ralagrade', 'khRemark' => 'kh_remark', 'khSex' => 'kh_sex', 'khShortname' => 'kh_shortname', 'khSkype' => 'kh_skype', 'khSn' => 'kh_sn', 'khStatus' => 'kh_status', 'khTel' => 'kh_tel', 'khType' => 'kh_type', 'khValrating' => 'kh_valrating', 'khWangwang' => 'kh_wangwang', 'khWeb' => 'kh_web', 'khWeixin' => 'kh_weixin', 'khWorktel' => 'kh_worktel', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataUserid) { $res['data_userid'] = $this->dataUserid; } if (null !== $this->khAddress) { $res['kh_address'] = $this->khAddress; } if (null !== $this->khAppellation) { $res['kh_appellation'] = $this->khAppellation; } if (null !== $this->khBefontof) { $res['kh_befontof'] = $this->khBefontof; } if (null !== $this->khBillinfo) { $res['kh_billinfo'] = $this->khBillinfo; } if (null !== $this->khCity) { $res['kh_city'] = $this->khCity; } if (null !== $this->khClass) { $res['kh_class'] = $this->khClass; } if (null !== $this->khCoaddress) { $res['kh_coaddress'] = $this->khCoaddress; } if (null !== $this->khContype) { $res['kh_contype'] = $this->khContype; } if (null !== $this->khCountry) { $res['kh_country'] = $this->khCountry; } if (null !== $this->khCreditgrade) { $res['kh_creditgrade'] = $this->khCreditgrade; } if (null !== $this->khCtnumber) { $res['kh_ctnumber'] = $this->khCtnumber; } if (null !== $this->khCttype) { $res['kh_cttype'] = $this->khCttype; } if (null !== $this->khDepartment) { $res['kh_department'] = $this->khDepartment; } if (null !== $this->khDingtalk) { $res['kh_dingtalk'] = $this->khDingtalk; } if (null !== $this->khEmail) { $res['kh_email'] = $this->khEmail; } if (null !== $this->khEmployees) { $res['kh_employees'] = $this->khEmployees; } if (null !== $this->khFax) { $res['kh_fax'] = $this->khFax; } if (null !== $this->khFrom) { $res['kh_from'] = $this->khFrom; } if (null !== $this->khGenzongtime) { $res['kh_genzongtime'] = $this->khGenzongtime; } if (null !== $this->khHandset) { $res['kh_handset'] = $this->khHandset; } if (null !== $this->khHeadship) { $res['kh_headship'] = $this->khHeadship; } if (null !== $this->khHotfl) { $res['kh_hotfl'] = $this->khHotfl; } if (null !== $this->khHotlevel) { $res['kh_hotlevel'] = $this->khHotlevel; } if (null !== $this->khHotmemo) { $res['kh_hotmemo'] = $this->khHotmemo; } if (null !== $this->khHottype) { $res['kh_hottype'] = $this->khHottype; } if (null !== $this->khIndustry) { $res['kh_industry'] = $this->khIndustry; } if (null !== $this->khInfo) { $res['kh_info'] = $this->khInfo; } if (null !== $this->khJibie) { $res['kh_jibie'] = $this->khJibie; } if (null !== $this->khName) { $res['kh_name'] = $this->khName; } if (null !== $this->khPkhid) { $res['kh_pkhid'] = $this->khPkhid; } if (null !== $this->khPreside) { $res['kh_preside'] = $this->khPreside; } if (null !== $this->khProvince) { $res['kh_province'] = $this->khProvince; } if (null !== $this->khPst) { $res['kh_pst'] = $this->khPst; } if (null !== $this->khQq) { $res['kh_qq'] = $this->khQq; } if (null !== $this->khRalagrade) { $res['kh_ralagrade'] = $this->khRalagrade; } if (null !== $this->khRemark) { $res['kh_remark'] = $this->khRemark; } if (null !== $this->khSex) { $res['kh_sex'] = $this->khSex; } if (null !== $this->khShortname) { $res['kh_shortname'] = $this->khShortname; } if (null !== $this->khSkype) { $res['kh_skype'] = $this->khSkype; } if (null !== $this->khSn) { $res['kh_sn'] = $this->khSn; } if (null !== $this->khStatus) { $res['kh_status'] = $this->khStatus; } if (null !== $this->khTel) { $res['kh_tel'] = $this->khTel; } if (null !== $this->khType) { $res['kh_type'] = $this->khType; } if (null !== $this->khValrating) { $res['kh_valrating'] = $this->khValrating; } if (null !== $this->khWangwang) { $res['kh_wangwang'] = $this->khWangwang; } if (null !== $this->khWeb) { $res['kh_web'] = $this->khWeb; } if (null !== $this->khWeixin) { $res['kh_weixin'] = $this->khWeixin; } if (null !== $this->khWorktel) { $res['kh_worktel'] = $this->khWorktel; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data_userid'])) { $model->dataUserid = $map['data_userid']; } if (isset($map['kh_address'])) { $model->khAddress = $map['kh_address']; } if (isset($map['kh_appellation'])) { $model->khAppellation = $map['kh_appellation']; } if (isset($map['kh_befontof'])) { $model->khBefontof = $map['kh_befontof']; } if (isset($map['kh_billinfo'])) { $model->khBillinfo = $map['kh_billinfo']; } if (isset($map['kh_city'])) { $model->khCity = $map['kh_city']; } if (isset($map['kh_class'])) { $model->khClass = $map['kh_class']; } if (isset($map['kh_coaddress'])) { $model->khCoaddress = $map['kh_coaddress']; } if (isset($map['kh_contype'])) { $model->khContype = $map['kh_contype']; } if (isset($map['kh_country'])) { $model->khCountry = $map['kh_country']; } if (isset($map['kh_creditgrade'])) { $model->khCreditgrade = $map['kh_creditgrade']; } if (isset($map['kh_ctnumber'])) { $model->khCtnumber = $map['kh_ctnumber']; } if (isset($map['kh_cttype'])) { $model->khCttype = $map['kh_cttype']; } if (isset($map['kh_department'])) { $model->khDepartment = $map['kh_department']; } if (isset($map['kh_dingtalk'])) { $model->khDingtalk = $map['kh_dingtalk']; } if (isset($map['kh_email'])) { $model->khEmail = $map['kh_email']; } if (isset($map['kh_employees'])) { $model->khEmployees = $map['kh_employees']; } if (isset($map['kh_fax'])) { $model->khFax = $map['kh_fax']; } if (isset($map['kh_from'])) { $model->khFrom = $map['kh_from']; } if (isset($map['kh_genzongtime'])) { $model->khGenzongtime = $map['kh_genzongtime']; } if (isset($map['kh_handset'])) { $model->khHandset = $map['kh_handset']; } if (isset($map['kh_headship'])) { $model->khHeadship = $map['kh_headship']; } if (isset($map['kh_hotfl'])) { $model->khHotfl = $map['kh_hotfl']; } if (isset($map['kh_hotlevel'])) { $model->khHotlevel = $map['kh_hotlevel']; } if (isset($map['kh_hotmemo'])) { $model->khHotmemo = $map['kh_hotmemo']; } if (isset($map['kh_hottype'])) { $model->khHottype = $map['kh_hottype']; } if (isset($map['kh_industry'])) { $model->khIndustry = $map['kh_industry']; } if (isset($map['kh_info'])) { $model->khInfo = $map['kh_info']; } if (isset($map['kh_jibie'])) { $model->khJibie = $map['kh_jibie']; } if (isset($map['kh_name'])) { $model->khName = $map['kh_name']; } if (isset($map['kh_pkhid'])) { $model->khPkhid = $map['kh_pkhid']; } if (isset($map['kh_preside'])) { $model->khPreside = $map['kh_preside']; } if (isset($map['kh_province'])) { $model->khProvince = $map['kh_province']; } if (isset($map['kh_pst'])) { $model->khPst = $map['kh_pst']; } if (isset($map['kh_qq'])) { $model->khQq = $map['kh_qq']; } if (isset($map['kh_ralagrade'])) { $model->khRalagrade = $map['kh_ralagrade']; } if (isset($map['kh_remark'])) { $model->khRemark = $map['kh_remark']; } if (isset($map['kh_sex'])) { $model->khSex = $map['kh_sex']; } if (isset($map['kh_shortname'])) { $model->khShortname = $map['kh_shortname']; } if (isset($map['kh_skype'])) { $model->khSkype = $map['kh_skype']; } if (isset($map['kh_sn'])) { $model->khSn = $map['kh_sn']; } if (isset($map['kh_status'])) { $model->khStatus = $map['kh_status']; } if (isset($map['kh_tel'])) { $model->khTel = $map['kh_tel']; } if (isset($map['kh_type'])) { $model->khType = $map['kh_type']; } if (isset($map['kh_valrating'])) { $model->khValrating = $map['kh_valrating']; } if (isset($map['kh_wangwang'])) { $model->khWangwang = $map['kh_wangwang']; } if (isset($map['kh_web'])) { $model->khWeb = $map['kh_web']; } if (isset($map['kh_weixin'])) { $model->khWeixin = $map['kh_weixin']; } if (isset($map['kh_worktel'])) { $model->khWorktel = $map['kh_worktel']; } return $model; } } src/jzcrm_1_0/Models/EditCustomerPoolResponse.php000064400000002733146412132660016045 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EditCustomerPoolResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EditCustomerPoolResponseBody::fromMap($map['body']); } return $model; } } src/jzcrm_1_0/Models/EditCustomerPoolResponseBody.php000064400000002061146412132660016655 0ustar00 'msgid', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return EditCustomerPoolResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/jzcrm_1_0/Models/EditCustomerRequest.php000064400000003433146412132660015043 0ustar00 'data', 'datatype' => 'datatype', 'msgid' => 'msgid', 'stamp' => 'stamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->datatype) { $res['datatype'] = $this->datatype; } if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->stamp) { $res['stamp'] = $this->stamp; } return $res; } /** * @param array $map * * @return EditCustomerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['datatype'])) { $model->datatype = $map['datatype']; } if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['stamp'])) { $model->stamp = $map['stamp']; } return $model; } } src/jzcrm_1_0/Models/EditCustomerRequest/data.php000064400000035164146412132660015762 0ustar00 'data_userid', 'khAddress' => 'kh_address', 'khAppellation' => 'kh_appellation', 'khBefontof' => 'kh_befontof', 'khBillinfo' => 'kh_billinfo', 'khCity' => 'kh_city', 'khClass' => 'kh_class', 'khCoaddress' => 'kh_coaddress', 'khContype' => 'kh_contype', 'khCountry' => 'kh_country', 'khCreditgrade' => 'kh_creditgrade', 'khCtnumber' => 'kh_ctnumber', 'khCttype' => 'kh_cttype', 'khDepartment' => 'kh_department', 'khDingtalk' => 'kh_dingtalk', 'khEmail' => 'kh_email', 'khEmployees' => 'kh_employees', 'khFax' => 'kh_fax', 'khFrom' => 'kh_from', 'khHandset' => 'kh_handset', 'khHeadship' => 'kh_headship', 'khHotfl' => 'kh_hotfl', 'khHotlevel' => 'kh_hotlevel', 'khHotmemo' => 'kh_hotmemo', 'khHottype' => 'kh_hottype', 'khIndustry' => 'kh_industry', 'khInfo' => 'kh_info', 'khJibie' => 'kh_jibie', 'khName' => 'kh_name', 'khPkhid' => 'kh_pkhid', 'khPreside' => 'kh_preside', 'khProvince' => 'kh_province', 'khPst' => 'kh_pst', 'khQq' => 'kh_qq', 'khRalagrade' => 'kh_ralagrade', 'khRemark' => 'kh_remark', 'khSex' => 'kh_sex', 'khShortname' => 'kh_shortname', 'khSkype' => 'kh_skype', 'khSn' => 'kh_sn', 'khStatus' => 'kh_status', 'khTel' => 'kh_tel', 'khType' => 'kh_type', 'khValrating' => 'kh_valrating', 'khWangwang' => 'kh_wangwang', 'khWeb' => 'kh_web', 'khWeixin' => 'kh_weixin', 'khWorktel' => 'kh_worktel', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataUserid) { $res['data_userid'] = $this->dataUserid; } if (null !== $this->khAddress) { $res['kh_address'] = $this->khAddress; } if (null !== $this->khAppellation) { $res['kh_appellation'] = $this->khAppellation; } if (null !== $this->khBefontof) { $res['kh_befontof'] = $this->khBefontof; } if (null !== $this->khBillinfo) { $res['kh_billinfo'] = $this->khBillinfo; } if (null !== $this->khCity) { $res['kh_city'] = $this->khCity; } if (null !== $this->khClass) { $res['kh_class'] = $this->khClass; } if (null !== $this->khCoaddress) { $res['kh_coaddress'] = $this->khCoaddress; } if (null !== $this->khContype) { $res['kh_contype'] = $this->khContype; } if (null !== $this->khCountry) { $res['kh_country'] = $this->khCountry; } if (null !== $this->khCreditgrade) { $res['kh_creditgrade'] = $this->khCreditgrade; } if (null !== $this->khCtnumber) { $res['kh_ctnumber'] = $this->khCtnumber; } if (null !== $this->khCttype) { $res['kh_cttype'] = $this->khCttype; } if (null !== $this->khDepartment) { $res['kh_department'] = $this->khDepartment; } if (null !== $this->khDingtalk) { $res['kh_dingtalk'] = $this->khDingtalk; } if (null !== $this->khEmail) { $res['kh_email'] = $this->khEmail; } if (null !== $this->khEmployees) { $res['kh_employees'] = $this->khEmployees; } if (null !== $this->khFax) { $res['kh_fax'] = $this->khFax; } if (null !== $this->khFrom) { $res['kh_from'] = $this->khFrom; } if (null !== $this->khHandset) { $res['kh_handset'] = $this->khHandset; } if (null !== $this->khHeadship) { $res['kh_headship'] = $this->khHeadship; } if (null !== $this->khHotfl) { $res['kh_hotfl'] = $this->khHotfl; } if (null !== $this->khHotlevel) { $res['kh_hotlevel'] = $this->khHotlevel; } if (null !== $this->khHotmemo) { $res['kh_hotmemo'] = $this->khHotmemo; } if (null !== $this->khHottype) { $res['kh_hottype'] = $this->khHottype; } if (null !== $this->khIndustry) { $res['kh_industry'] = $this->khIndustry; } if (null !== $this->khInfo) { $res['kh_info'] = $this->khInfo; } if (null !== $this->khJibie) { $res['kh_jibie'] = $this->khJibie; } if (null !== $this->khName) { $res['kh_name'] = $this->khName; } if (null !== $this->khPkhid) { $res['kh_pkhid'] = $this->khPkhid; } if (null !== $this->khPreside) { $res['kh_preside'] = $this->khPreside; } if (null !== $this->khProvince) { $res['kh_province'] = $this->khProvince; } if (null !== $this->khPst) { $res['kh_pst'] = $this->khPst; } if (null !== $this->khQq) { $res['kh_qq'] = $this->khQq; } if (null !== $this->khRalagrade) { $res['kh_ralagrade'] = $this->khRalagrade; } if (null !== $this->khRemark) { $res['kh_remark'] = $this->khRemark; } if (null !== $this->khSex) { $res['kh_sex'] = $this->khSex; } if (null !== $this->khShortname) { $res['kh_shortname'] = $this->khShortname; } if (null !== $this->khSkype) { $res['kh_skype'] = $this->khSkype; } if (null !== $this->khSn) { $res['kh_sn'] = $this->khSn; } if (null !== $this->khStatus) { $res['kh_status'] = $this->khStatus; } if (null !== $this->khTel) { $res['kh_tel'] = $this->khTel; } if (null !== $this->khType) { $res['kh_type'] = $this->khType; } if (null !== $this->khValrating) { $res['kh_valrating'] = $this->khValrating; } if (null !== $this->khWangwang) { $res['kh_wangwang'] = $this->khWangwang; } if (null !== $this->khWeb) { $res['kh_web'] = $this->khWeb; } if (null !== $this->khWeixin) { $res['kh_weixin'] = $this->khWeixin; } if (null !== $this->khWorktel) { $res['kh_worktel'] = $this->khWorktel; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data_userid'])) { $model->dataUserid = $map['data_userid']; } if (isset($map['kh_address'])) { $model->khAddress = $map['kh_address']; } if (isset($map['kh_appellation'])) { $model->khAppellation = $map['kh_appellation']; } if (isset($map['kh_befontof'])) { $model->khBefontof = $map['kh_befontof']; } if (isset($map['kh_billinfo'])) { $model->khBillinfo = $map['kh_billinfo']; } if (isset($map['kh_city'])) { $model->khCity = $map['kh_city']; } if (isset($map['kh_class'])) { $model->khClass = $map['kh_class']; } if (isset($map['kh_coaddress'])) { $model->khCoaddress = $map['kh_coaddress']; } if (isset($map['kh_contype'])) { $model->khContype = $map['kh_contype']; } if (isset($map['kh_country'])) { $model->khCountry = $map['kh_country']; } if (isset($map['kh_creditgrade'])) { $model->khCreditgrade = $map['kh_creditgrade']; } if (isset($map['kh_ctnumber'])) { $model->khCtnumber = $map['kh_ctnumber']; } if (isset($map['kh_cttype'])) { $model->khCttype = $map['kh_cttype']; } if (isset($map['kh_department'])) { $model->khDepartment = $map['kh_department']; } if (isset($map['kh_dingtalk'])) { $model->khDingtalk = $map['kh_dingtalk']; } if (isset($map['kh_email'])) { $model->khEmail = $map['kh_email']; } if (isset($map['kh_employees'])) { $model->khEmployees = $map['kh_employees']; } if (isset($map['kh_fax'])) { $model->khFax = $map['kh_fax']; } if (isset($map['kh_from'])) { $model->khFrom = $map['kh_from']; } if (isset($map['kh_handset'])) { $model->khHandset = $map['kh_handset']; } if (isset($map['kh_headship'])) { $model->khHeadship = $map['kh_headship']; } if (isset($map['kh_hotfl'])) { $model->khHotfl = $map['kh_hotfl']; } if (isset($map['kh_hotlevel'])) { $model->khHotlevel = $map['kh_hotlevel']; } if (isset($map['kh_hotmemo'])) { $model->khHotmemo = $map['kh_hotmemo']; } if (isset($map['kh_hottype'])) { $model->khHottype = $map['kh_hottype']; } if (isset($map['kh_industry'])) { $model->khIndustry = $map['kh_industry']; } if (isset($map['kh_info'])) { $model->khInfo = $map['kh_info']; } if (isset($map['kh_jibie'])) { $model->khJibie = $map['kh_jibie']; } if (isset($map['kh_name'])) { $model->khName = $map['kh_name']; } if (isset($map['kh_pkhid'])) { $model->khPkhid = $map['kh_pkhid']; } if (isset($map['kh_preside'])) { $model->khPreside = $map['kh_preside']; } if (isset($map['kh_province'])) { $model->khProvince = $map['kh_province']; } if (isset($map['kh_pst'])) { $model->khPst = $map['kh_pst']; } if (isset($map['kh_qq'])) { $model->khQq = $map['kh_qq']; } if (isset($map['kh_ralagrade'])) { $model->khRalagrade = $map['kh_ralagrade']; } if (isset($map['kh_remark'])) { $model->khRemark = $map['kh_remark']; } if (isset($map['kh_sex'])) { $model->khSex = $map['kh_sex']; } if (isset($map['kh_shortname'])) { $model->khShortname = $map['kh_shortname']; } if (isset($map['kh_skype'])) { $model->khSkype = $map['kh_skype']; } if (isset($map['kh_sn'])) { $model->khSn = $map['kh_sn']; } if (isset($map['kh_status'])) { $model->khStatus = $map['kh_status']; } if (isset($map['kh_tel'])) { $model->khTel = $map['kh_tel']; } if (isset($map['kh_type'])) { $model->khType = $map['kh_type']; } if (isset($map['kh_valrating'])) { $model->khValrating = $map['kh_valrating']; } if (isset($map['kh_wangwang'])) { $model->khWangwang = $map['kh_wangwang']; } if (isset($map['kh_web'])) { $model->khWeb = $map['kh_web']; } if (isset($map['kh_weixin'])) { $model->khWeixin = $map['kh_weixin']; } if (isset($map['kh_worktel'])) { $model->khWorktel = $map['kh_worktel']; } return $model; } } src/jzcrm_1_0/Models/EditCustomerResponse.php000064400000002713146412132660015211 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EditCustomerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EditCustomerResponseBody::fromMap($map['body']); } return $model; } } src/jzcrm_1_0/Models/EditCustomerResponseBody.php000064400000002051146412132660016022 0ustar00 'msgid', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return EditCustomerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/jzcrm_1_0/Models/EditExchangeHeaders.php000064400000002325146412132660014706 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EditExchangeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/jzcrm_1_0/Models/EditExchangeRequest.php000064400000003433146412132660014764 0ustar00 'data', 'datatype' => 'datatype', 'msgid' => 'msgid', 'stamp' => 'stamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->datatype) { $res['datatype'] = $this->datatype; } if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->stamp) { $res['stamp'] = $this->stamp; } return $res; } /** * @param array $map * * @return EditExchangeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['datatype'])) { $model->datatype = $map['datatype']; } if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['stamp'])) { $model->stamp = $map['stamp']; } return $model; } } src/jzcrm_1_0/Models/EditExchangeRequest/data.php000064400000013136146412132660015676 0ustar00 'child_mx', 'dataUserid' => 'data_userid', 'hhCustomerid' => 'hh_customerid', 'hhDate' => 'hh_date', 'hhInempid' => 'hh_inempid', 'hhInlibid' => 'hh_inlibid', 'hhIntime' => 'hh_intime', 'hhNumber' => 'hh_number', 'hhOrderid' => 'hh_orderid', 'hhOutempid' => 'hh_outempid', 'hhOutlibid' => 'hh_outlibid', 'hhOuttime' => 'hh_outtime', 'hhRemark' => 'hh_remark', 'hhState' => 'hh_state', 'hhTitle' => 'hh_title', 'hhType' => 'hh_type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->childMx) { $res['child_mx'] = $this->childMx; } if (null !== $this->dataUserid) { $res['data_userid'] = $this->dataUserid; } if (null !== $this->hhCustomerid) { $res['hh_customerid'] = $this->hhCustomerid; } if (null !== $this->hhDate) { $res['hh_date'] = $this->hhDate; } if (null !== $this->hhInempid) { $res['hh_inempid'] = $this->hhInempid; } if (null !== $this->hhInlibid) { $res['hh_inlibid'] = $this->hhInlibid; } if (null !== $this->hhIntime) { $res['hh_intime'] = $this->hhIntime; } if (null !== $this->hhNumber) { $res['hh_number'] = $this->hhNumber; } if (null !== $this->hhOrderid) { $res['hh_orderid'] = $this->hhOrderid; } if (null !== $this->hhOutempid) { $res['hh_outempid'] = $this->hhOutempid; } if (null !== $this->hhOutlibid) { $res['hh_outlibid'] = $this->hhOutlibid; } if (null !== $this->hhOuttime) { $res['hh_outtime'] = $this->hhOuttime; } if (null !== $this->hhRemark) { $res['hh_remark'] = $this->hhRemark; } if (null !== $this->hhState) { $res['hh_state'] = $this->hhState; } if (null !== $this->hhTitle) { $res['hh_title'] = $this->hhTitle; } if (null !== $this->hhType) { $res['hh_type'] = $this->hhType; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['child_mx'])) { $model->childMx = $map['child_mx']; } if (isset($map['data_userid'])) { $model->dataUserid = $map['data_userid']; } if (isset($map['hh_customerid'])) { $model->hhCustomerid = $map['hh_customerid']; } if (isset($map['hh_date'])) { $model->hhDate = $map['hh_date']; } if (isset($map['hh_inempid'])) { $model->hhInempid = $map['hh_inempid']; } if (isset($map['hh_inlibid'])) { $model->hhInlibid = $map['hh_inlibid']; } if (isset($map['hh_intime'])) { $model->hhIntime = $map['hh_intime']; } if (isset($map['hh_number'])) { $model->hhNumber = $map['hh_number']; } if (isset($map['hh_orderid'])) { $model->hhOrderid = $map['hh_orderid']; } if (isset($map['hh_outempid'])) { $model->hhOutempid = $map['hh_outempid']; } if (isset($map['hh_outlibid'])) { $model->hhOutlibid = $map['hh_outlibid']; } if (isset($map['hh_outtime'])) { $model->hhOuttime = $map['hh_outtime']; } if (isset($map['hh_remark'])) { $model->hhRemark = $map['hh_remark']; } if (isset($map['hh_state'])) { $model->hhState = $map['hh_state']; } if (isset($map['hh_title'])) { $model->hhTitle = $map['hh_title']; } if (isset($map['hh_type'])) { $model->hhType = $map['hh_type']; } return $model; } } src/jzcrm_1_0/Models/EditExchangeResponse.php000064400000002713146412132660015132 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EditExchangeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EditExchangeResponseBody::fromMap($map['body']); } return $model; } } src/jzcrm_1_0/Models/EditExchangeResponseBody.php000064400000002051146412132660015743 0ustar00 'msgid', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return EditExchangeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/jzcrm_1_0/Models/EditGoodsHeaders.php000064400000002317146412132660014240 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EditGoodsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/jzcrm_1_0/Models/EditGoodsRequest.php000064400000003422146412132660014313 0ustar00 'data', 'datatype' => 'datatype', 'msgid' => 'msgid', 'stamp' => 'stamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->datatype) { $res['datatype'] = $this->datatype; } if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->stamp) { $res['stamp'] = $this->stamp; } return $res; } /** * @param array $map * * @return EditGoodsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['datatype'])) { $model->datatype = $map['datatype']; } if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['stamp'])) { $model->stamp = $map['stamp']; } return $model; } } src/jzcrm_1_0/Models/EditGoodsRequest/data.php000064400000021405146412132660015225 0ustar00 'addedtime', 'cbprice' => 'cbprice', 'cpParentid' => 'cp_parentid', 'cparea' => 'cparea', 'cpbarcode' => 'cpbarcode', 'cpbrand' => 'cpbrand', 'cpcontent' => 'cpcontent', 'cpguige' => 'cpguige', 'cpimg' => 'cpimg', 'cpname' => 'cpname', 'cpno' => 'cpno', 'cpremark' => 'cpremark', 'cptype' => 'cptype', 'cpunit' => 'cpunit', 'cpweight' => 'cpweight', 'dataUserid' => 'data_userid', 'gysid' => 'gysid', 'ispicimanage' => 'ispicimanage', 'issnmanage' => 'issnmanage', 'isstock' => 'isstock', 'isstop' => 'isstop', 'preprice1' => 'preprice1', 'preprice2' => 'preprice2', 'preprice3' => 'preprice3', 'preprice4' => 'preprice4', 'stockdown' => 'stockdown', 'stockup' => 'stockup', 'typeid' => 'typeid', 'unitrate' => 'unitrate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->addedtime) { $res['addedtime'] = $this->addedtime; } if (null !== $this->cbprice) { $res['cbprice'] = $this->cbprice; } if (null !== $this->cpParentid) { $res['cp_parentid'] = $this->cpParentid; } if (null !== $this->cparea) { $res['cparea'] = $this->cparea; } if (null !== $this->cpbarcode) { $res['cpbarcode'] = $this->cpbarcode; } if (null !== $this->cpbrand) { $res['cpbrand'] = $this->cpbrand; } if (null !== $this->cpcontent) { $res['cpcontent'] = $this->cpcontent; } if (null !== $this->cpguige) { $res['cpguige'] = $this->cpguige; } if (null !== $this->cpimg) { $res['cpimg'] = $this->cpimg; } if (null !== $this->cpname) { $res['cpname'] = $this->cpname; } if (null !== $this->cpno) { $res['cpno'] = $this->cpno; } if (null !== $this->cpremark) { $res['cpremark'] = $this->cpremark; } if (null !== $this->cptype) { $res['cptype'] = $this->cptype; } if (null !== $this->cpunit) { $res['cpunit'] = $this->cpunit; } if (null !== $this->cpweight) { $res['cpweight'] = $this->cpweight; } if (null !== $this->dataUserid) { $res['data_userid'] = $this->dataUserid; } if (null !== $this->gysid) { $res['gysid'] = $this->gysid; } if (null !== $this->ispicimanage) { $res['ispicimanage'] = $this->ispicimanage; } if (null !== $this->issnmanage) { $res['issnmanage'] = $this->issnmanage; } if (null !== $this->isstock) { $res['isstock'] = $this->isstock; } if (null !== $this->isstop) { $res['isstop'] = $this->isstop; } if (null !== $this->preprice1) { $res['preprice1'] = $this->preprice1; } if (null !== $this->preprice2) { $res['preprice2'] = $this->preprice2; } if (null !== $this->preprice3) { $res['preprice3'] = $this->preprice3; } if (null !== $this->preprice4) { $res['preprice4'] = $this->preprice4; } if (null !== $this->stockdown) { $res['stockdown'] = $this->stockdown; } if (null !== $this->stockup) { $res['stockup'] = $this->stockup; } if (null !== $this->typeid) { $res['typeid'] = $this->typeid; } if (null !== $this->unitrate) { $res['unitrate'] = $this->unitrate; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['addedtime'])) { $model->addedtime = $map['addedtime']; } if (isset($map['cbprice'])) { $model->cbprice = $map['cbprice']; } if (isset($map['cp_parentid'])) { $model->cpParentid = $map['cp_parentid']; } if (isset($map['cparea'])) { $model->cparea = $map['cparea']; } if (isset($map['cpbarcode'])) { $model->cpbarcode = $map['cpbarcode']; } if (isset($map['cpbrand'])) { $model->cpbrand = $map['cpbrand']; } if (isset($map['cpcontent'])) { $model->cpcontent = $map['cpcontent']; } if (isset($map['cpguige'])) { $model->cpguige = $map['cpguige']; } if (isset($map['cpimg'])) { $model->cpimg = $map['cpimg']; } if (isset($map['cpname'])) { $model->cpname = $map['cpname']; } if (isset($map['cpno'])) { $model->cpno = $map['cpno']; } if (isset($map['cpremark'])) { $model->cpremark = $map['cpremark']; } if (isset($map['cptype'])) { $model->cptype = $map['cptype']; } if (isset($map['cpunit'])) { $model->cpunit = $map['cpunit']; } if (isset($map['cpweight'])) { $model->cpweight = $map['cpweight']; } if (isset($map['data_userid'])) { $model->dataUserid = $map['data_userid']; } if (isset($map['gysid'])) { $model->gysid = $map['gysid']; } if (isset($map['ispicimanage'])) { $model->ispicimanage = $map['ispicimanage']; } if (isset($map['issnmanage'])) { $model->issnmanage = $map['issnmanage']; } if (isset($map['isstock'])) { $model->isstock = $map['isstock']; } if (isset($map['isstop'])) { $model->isstop = $map['isstop']; } if (isset($map['preprice1'])) { $model->preprice1 = $map['preprice1']; } if (isset($map['preprice2'])) { $model->preprice2 = $map['preprice2']; } if (isset($map['preprice3'])) { $model->preprice3 = $map['preprice3']; } if (isset($map['preprice4'])) { $model->preprice4 = $map['preprice4']; } if (isset($map['stockdown'])) { $model->stockdown = $map['stockdown']; } if (isset($map['stockup'])) { $model->stockup = $map['stockup']; } if (isset($map['typeid'])) { $model->typeid = $map['typeid']; } if (isset($map['unitrate'])) { $model->unitrate = $map['unitrate']; } return $model; } } src/jzcrm_1_0/Models/EditGoodsResponse.php000064400000002677146412132660014474 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EditGoodsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EditGoodsResponseBody::fromMap($map['body']); } return $model; } } src/jzcrm_1_0/Models/EditGoodsResponseBody.php000064400000002043146412132660015275 0ustar00 'msgid', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return EditGoodsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/jzcrm_1_0/Models/EditIntostockHeaders.php000064400000002327146412132660015143 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EditIntostockHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/jzcrm_1_0/Models/EditIntostockRequest.php000064400000003436146412132660015222 0ustar00 'data', 'datatype' => 'datatype', 'msgid' => 'msgid', 'stamp' => 'stamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->datatype) { $res['datatype'] = $this->datatype; } if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->stamp) { $res['stamp'] = $this->stamp; } return $res; } /** * @param array $map * * @return EditIntostockRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['datatype'])) { $model->datatype = $map['datatype']; } if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['stamp'])) { $model->stamp = $map['stamp']; } return $model; } } src/jzcrm_1_0/Models/EditIntostockRequest/data.php000064400000011262146412132660016127 0ustar00 'askempid', 'auditreson' => 'auditreson', 'billno' => 'billno', 'childMx' => 'child_mx', 'customerid' => 'customerid', 'dataUserid' => 'data_userid', 'empid' => 'empid', 'inorout' => 'inorout', 'libiodate' => 'libiodate', 'libioname' => 'libioname', 'libiostate' => 'libiostate', 'orderid' => 'orderid', 'remark' => 'remark', 'stocklibid' => 'stocklibid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->askempid) { $res['askempid'] = $this->askempid; } if (null !== $this->auditreson) { $res['auditreson'] = $this->auditreson; } if (null !== $this->billno) { $res['billno'] = $this->billno; } if (null !== $this->childMx) { $res['child_mx'] = $this->childMx; } if (null !== $this->customerid) { $res['customerid'] = $this->customerid; } if (null !== $this->dataUserid) { $res['data_userid'] = $this->dataUserid; } if (null !== $this->empid) { $res['empid'] = $this->empid; } if (null !== $this->inorout) { $res['inorout'] = $this->inorout; } if (null !== $this->libiodate) { $res['libiodate'] = $this->libiodate; } if (null !== $this->libioname) { $res['libioname'] = $this->libioname; } if (null !== $this->libiostate) { $res['libiostate'] = $this->libiostate; } if (null !== $this->orderid) { $res['orderid'] = $this->orderid; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->stocklibid) { $res['stocklibid'] = $this->stocklibid; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['askempid'])) { $model->askempid = $map['askempid']; } if (isset($map['auditreson'])) { $model->auditreson = $map['auditreson']; } if (isset($map['billno'])) { $model->billno = $map['billno']; } if (isset($map['child_mx'])) { $model->childMx = $map['child_mx']; } if (isset($map['customerid'])) { $model->customerid = $map['customerid']; } if (isset($map['data_userid'])) { $model->dataUserid = $map['data_userid']; } if (isset($map['empid'])) { $model->empid = $map['empid']; } if (isset($map['inorout'])) { $model->inorout = $map['inorout']; } if (isset($map['libiodate'])) { $model->libiodate = $map['libiodate']; } if (isset($map['libioname'])) { $model->libioname = $map['libioname']; } if (isset($map['libiostate'])) { $model->libiostate = $map['libiostate']; } if (isset($map['orderid'])) { $model->orderid = $map['orderid']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['stocklibid'])) { $model->stocklibid = $map['stocklibid']; } return $model; } } src/jzcrm_1_0/Models/EditIntostockResponse.php000064400000002717146412132660015371 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EditIntostockResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EditIntostockResponseBody::fromMap($map['body']); } return $model; } } src/jzcrm_1_0/Models/EditIntostockResponseBody.php000064400000002053146412132660016200 0ustar00 'msgid', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return EditIntostockResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/jzcrm_1_0/Models/EditInvoiceHeaders.php000064400000002323146412132660014556 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EditInvoiceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/jzcrm_1_0/Models/EditInvoiceRequest.php000064400000003430146412132660014633 0ustar00 'data', 'datatype' => 'datatype', 'msgid' => 'msgid', 'stamp' => 'stamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->datatype) { $res['datatype'] = $this->datatype; } if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->stamp) { $res['stamp'] = $this->stamp; } return $res; } /** * @param array $map * * @return EditInvoiceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['datatype'])) { $model->datatype = $map['datatype']; } if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['stamp'])) { $model->stamp = $map['stamp']; } return $model; } } src/jzcrm_1_0/Models/EditInvoiceRequest/data.php000064400000016424146412132660015553 0ustar00 'child_mx', 'dataUserid' => 'data_userid', 'fhAddress' => 'fh_address', 'fhCustomerid' => 'fh_customerid', 'fhDate' => 'fh_date', 'fhEmail' => 'fh_email', 'fhHandset' => 'fh_handset', 'fhHtorder' => 'fh_htorder', 'fhJianshu' => 'fh_jianshu', 'fhKg' => 'fh_kg', 'fhLinkman' => 'fh_linkman', 'fhLxrid' => 'fh_lxrid', 'fhMode' => 'fh_mode', 'fhMsn' => 'fh_msn', 'fhNumber' => 'fh_number', 'fhPost' => 'fh_post', 'fhPreside' => 'fh_preside', 'fhRemark' => 'fh_remark', 'fhShipper' => 'fh_shipper', 'fhState' => 'fh_state', 'fhTel' => 'fh_tel', 'fhTitle' => 'fh_title', 'fhYunfei' => 'fh_yunfei', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->childMx) { $res['child_mx'] = $this->childMx; } if (null !== $this->dataUserid) { $res['data_userid'] = $this->dataUserid; } if (null !== $this->fhAddress) { $res['fh_address'] = $this->fhAddress; } if (null !== $this->fhCustomerid) { $res['fh_customerid'] = $this->fhCustomerid; } if (null !== $this->fhDate) { $res['fh_date'] = $this->fhDate; } if (null !== $this->fhEmail) { $res['fh_email'] = $this->fhEmail; } if (null !== $this->fhHandset) { $res['fh_handset'] = $this->fhHandset; } if (null !== $this->fhHtorder) { $res['fh_htorder'] = $this->fhHtorder; } if (null !== $this->fhJianshu) { $res['fh_jianshu'] = $this->fhJianshu; } if (null !== $this->fhKg) { $res['fh_kg'] = $this->fhKg; } if (null !== $this->fhLinkman) { $res['fh_linkman'] = $this->fhLinkman; } if (null !== $this->fhLxrid) { $res['fh_lxrid'] = $this->fhLxrid; } if (null !== $this->fhMode) { $res['fh_mode'] = $this->fhMode; } if (null !== $this->fhMsn) { $res['fh_msn'] = $this->fhMsn; } if (null !== $this->fhNumber) { $res['fh_number'] = $this->fhNumber; } if (null !== $this->fhPost) { $res['fh_post'] = $this->fhPost; } if (null !== $this->fhPreside) { $res['fh_preside'] = $this->fhPreside; } if (null !== $this->fhRemark) { $res['fh_remark'] = $this->fhRemark; } if (null !== $this->fhShipper) { $res['fh_shipper'] = $this->fhShipper; } if (null !== $this->fhState) { $res['fh_state'] = $this->fhState; } if (null !== $this->fhTel) { $res['fh_tel'] = $this->fhTel; } if (null !== $this->fhTitle) { $res['fh_title'] = $this->fhTitle; } if (null !== $this->fhYunfei) { $res['fh_yunfei'] = $this->fhYunfei; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['child_mx'])) { $model->childMx = $map['child_mx']; } if (isset($map['data_userid'])) { $model->dataUserid = $map['data_userid']; } if (isset($map['fh_address'])) { $model->fhAddress = $map['fh_address']; } if (isset($map['fh_customerid'])) { $model->fhCustomerid = $map['fh_customerid']; } if (isset($map['fh_date'])) { $model->fhDate = $map['fh_date']; } if (isset($map['fh_email'])) { $model->fhEmail = $map['fh_email']; } if (isset($map['fh_handset'])) { $model->fhHandset = $map['fh_handset']; } if (isset($map['fh_htorder'])) { $model->fhHtorder = $map['fh_htorder']; } if (isset($map['fh_jianshu'])) { $model->fhJianshu = $map['fh_jianshu']; } if (isset($map['fh_kg'])) { $model->fhKg = $map['fh_kg']; } if (isset($map['fh_linkman'])) { $model->fhLinkman = $map['fh_linkman']; } if (isset($map['fh_lxrid'])) { $model->fhLxrid = $map['fh_lxrid']; } if (isset($map['fh_mode'])) { $model->fhMode = $map['fh_mode']; } if (isset($map['fh_msn'])) { $model->fhMsn = $map['fh_msn']; } if (isset($map['fh_number'])) { $model->fhNumber = $map['fh_number']; } if (isset($map['fh_post'])) { $model->fhPost = $map['fh_post']; } if (isset($map['fh_preside'])) { $model->fhPreside = $map['fh_preside']; } if (isset($map['fh_remark'])) { $model->fhRemark = $map['fh_remark']; } if (isset($map['fh_shipper'])) { $model->fhShipper = $map['fh_shipper']; } if (isset($map['fh_state'])) { $model->fhState = $map['fh_state']; } if (isset($map['fh_tel'])) { $model->fhTel = $map['fh_tel']; } if (isset($map['fh_title'])) { $model->fhTitle = $map['fh_title']; } if (isset($map['fh_yunfei'])) { $model->fhYunfei = $map['fh_yunfei']; } return $model; } } src/jzcrm_1_0/Models/EditInvoiceResponse.php000064400000002707146412132660015007 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EditInvoiceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EditInvoiceResponseBody::fromMap($map['body']); } return $model; } } src/jzcrm_1_0/Models/EditInvoiceResponseBody.php000064400000002047146412132660015622 0ustar00 'msgid', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return EditInvoiceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/jzcrm_1_0/Models/EditOrderHeaders.php000064400000002317146412132660014240 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EditOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/jzcrm_1_0/Models/EditOrderRequest.php000064400000003422146412132660014313 0ustar00 'data', 'datatype' => 'datatype', 'msgid' => 'msgid', 'stamp' => 'stamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->datatype) { $res['datatype'] = $this->datatype; } if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->stamp) { $res['stamp'] = $this->stamp; } return $res; } /** * @param array $map * * @return EditOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['datatype'])) { $model->datatype = $map['datatype']; } if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['stamp'])) { $model->stamp = $map['stamp']; } return $model; } } src/jzcrm_1_0/Models/EditOrderRequest/data.php000064400000023252146412132660015227 0ustar00 'child_mx', 'dataUserid' => 'data_userid', 'fahuoaddressid' => 'fahuoaddressid', 'htBegindate' => 'ht_begindate', 'htContract' => 'ht_contract', 'htCustomerid' => 'ht_customerid', 'htCusub' => 'ht_cusub', 'htDate' => 'ht_date', 'htDeliplace' => 'ht_deliplace', 'htEnddate' => 'ht_enddate', 'htFjmoney' => 'ht_fjmoney', 'htFjmoneylx' => 'ht_fjmoneylx', 'htKjmoney' => 'ht_kjmoney', 'htLxrid' => 'ht_lxrid', 'htLxrinfo' => 'ht_lxrinfo', 'htMoneyzhekou' => 'ht_moneyzhekou', 'htNumber' => 'ht_number', 'htOrder' => 'ht_order', 'htPaymode' => 'ht_paymode', 'htPreside' => 'ht_preside', 'htRemark' => 'ht_remark', 'htState' => 'ht_state', 'htSummemo' => 'ht_summemo', 'htSummoney' => 'ht_summoney', 'htTitle' => 'ht_title', 'htType' => 'ht_type', 'htWesub' => 'ht_wesub', 'htWuliutype' => 'ht_wuliutype', 'htXshid' => 'ht_xshid', 'htYunfeimoney' => 'ht_yunfeimoney', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->childMx) { $res['child_mx'] = $this->childMx; } if (null !== $this->dataUserid) { $res['data_userid'] = $this->dataUserid; } if (null !== $this->fahuoaddressid) { $res['fahuoaddressid'] = $this->fahuoaddressid; } if (null !== $this->htBegindate) { $res['ht_begindate'] = $this->htBegindate; } if (null !== $this->htContract) { $res['ht_contract'] = $this->htContract; } if (null !== $this->htCustomerid) { $res['ht_customerid'] = $this->htCustomerid; } if (null !== $this->htCusub) { $res['ht_cusub'] = $this->htCusub; } if (null !== $this->htDate) { $res['ht_date'] = $this->htDate; } if (null !== $this->htDeliplace) { $res['ht_deliplace'] = $this->htDeliplace; } if (null !== $this->htEnddate) { $res['ht_enddate'] = $this->htEnddate; } if (null !== $this->htFjmoney) { $res['ht_fjmoney'] = $this->htFjmoney; } if (null !== $this->htFjmoneylx) { $res['ht_fjmoneylx'] = $this->htFjmoneylx; } if (null !== $this->htKjmoney) { $res['ht_kjmoney'] = $this->htKjmoney; } if (null !== $this->htLxrid) { $res['ht_lxrid'] = $this->htLxrid; } if (null !== $this->htLxrinfo) { $res['ht_lxrinfo'] = $this->htLxrinfo; } if (null !== $this->htMoneyzhekou) { $res['ht_moneyzhekou'] = $this->htMoneyzhekou; } if (null !== $this->htNumber) { $res['ht_number'] = $this->htNumber; } if (null !== $this->htOrder) { $res['ht_order'] = $this->htOrder; } if (null !== $this->htPaymode) { $res['ht_paymode'] = $this->htPaymode; } if (null !== $this->htPreside) { $res['ht_preside'] = $this->htPreside; } if (null !== $this->htRemark) { $res['ht_remark'] = $this->htRemark; } if (null !== $this->htState) { $res['ht_state'] = $this->htState; } if (null !== $this->htSummemo) { $res['ht_summemo'] = $this->htSummemo; } if (null !== $this->htSummoney) { $res['ht_summoney'] = $this->htSummoney; } if (null !== $this->htTitle) { $res['ht_title'] = $this->htTitle; } if (null !== $this->htType) { $res['ht_type'] = $this->htType; } if (null !== $this->htWesub) { $res['ht_wesub'] = $this->htWesub; } if (null !== $this->htWuliutype) { $res['ht_wuliutype'] = $this->htWuliutype; } if (null !== $this->htXshid) { $res['ht_xshid'] = $this->htXshid; } if (null !== $this->htYunfeimoney) { $res['ht_yunfeimoney'] = $this->htYunfeimoney; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['child_mx'])) { $model->childMx = $map['child_mx']; } if (isset($map['data_userid'])) { $model->dataUserid = $map['data_userid']; } if (isset($map['fahuoaddressid'])) { $model->fahuoaddressid = $map['fahuoaddressid']; } if (isset($map['ht_begindate'])) { $model->htBegindate = $map['ht_begindate']; } if (isset($map['ht_contract'])) { $model->htContract = $map['ht_contract']; } if (isset($map['ht_customerid'])) { $model->htCustomerid = $map['ht_customerid']; } if (isset($map['ht_cusub'])) { $model->htCusub = $map['ht_cusub']; } if (isset($map['ht_date'])) { $model->htDate = $map['ht_date']; } if (isset($map['ht_deliplace'])) { $model->htDeliplace = $map['ht_deliplace']; } if (isset($map['ht_enddate'])) { $model->htEnddate = $map['ht_enddate']; } if (isset($map['ht_fjmoney'])) { $model->htFjmoney = $map['ht_fjmoney']; } if (isset($map['ht_fjmoneylx'])) { $model->htFjmoneylx = $map['ht_fjmoneylx']; } if (isset($map['ht_kjmoney'])) { $model->htKjmoney = $map['ht_kjmoney']; } if (isset($map['ht_lxrid'])) { $model->htLxrid = $map['ht_lxrid']; } if (isset($map['ht_lxrinfo'])) { $model->htLxrinfo = $map['ht_lxrinfo']; } if (isset($map['ht_moneyzhekou'])) { $model->htMoneyzhekou = $map['ht_moneyzhekou']; } if (isset($map['ht_number'])) { $model->htNumber = $map['ht_number']; } if (isset($map['ht_order'])) { $model->htOrder = $map['ht_order']; } if (isset($map['ht_paymode'])) { $model->htPaymode = $map['ht_paymode']; } if (isset($map['ht_preside'])) { $model->htPreside = $map['ht_preside']; } if (isset($map['ht_remark'])) { $model->htRemark = $map['ht_remark']; } if (isset($map['ht_state'])) { $model->htState = $map['ht_state']; } if (isset($map['ht_summemo'])) { $model->htSummemo = $map['ht_summemo']; } if (isset($map['ht_summoney'])) { $model->htSummoney = $map['ht_summoney']; } if (isset($map['ht_title'])) { $model->htTitle = $map['ht_title']; } if (isset($map['ht_type'])) { $model->htType = $map['ht_type']; } if (isset($map['ht_wesub'])) { $model->htWesub = $map['ht_wesub']; } if (isset($map['ht_wuliutype'])) { $model->htWuliutype = $map['ht_wuliutype']; } if (isset($map['ht_xshid'])) { $model->htXshid = $map['ht_xshid']; } if (isset($map['ht_yunfeimoney'])) { $model->htYunfeimoney = $map['ht_yunfeimoney']; } return $model; } } src/jzcrm_1_0/Models/EditOrderResponse.php000064400000002677146412132660014474 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EditOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EditOrderResponseBody::fromMap($map['body']); } return $model; } } src/jzcrm_1_0/Models/EditOrderResponseBody.php000064400000002043146412132660015275 0ustar00 'msgid', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return EditOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/jzcrm_1_0/Models/EditOutstockHeaders.php000064400000002325146412132660014777 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EditOutstockHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/jzcrm_1_0/Models/EditOutstockRequest.php000064400000003433146412132660015055 0ustar00 'data', 'datatype' => 'datatype', 'msgid' => 'msgid', 'stamp' => 'stamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->datatype) { $res['datatype'] = $this->datatype; } if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->stamp) { $res['stamp'] = $this->stamp; } return $res; } /** * @param array $map * * @return EditOutstockRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['datatype'])) { $model->datatype = $map['datatype']; } if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['stamp'])) { $model->stamp = $map['stamp']; } return $model; } } src/jzcrm_1_0/Models/EditOutstockRequest/data.php000064400000011261146412132660015764 0ustar00 'askempid', 'auditreson' => 'auditreson', 'billno' => 'billno', 'childMx' => 'child_mx', 'customerid' => 'customerid', 'dataUserid' => 'data_userid', 'empid' => 'empid', 'inorout' => 'inorout', 'libiodate' => 'libiodate', 'libioname' => 'libioname', 'libiostate' => 'libiostate', 'orderid' => 'orderid', 'remark' => 'remark', 'stocklibid' => 'stocklibid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->askempid) { $res['askempid'] = $this->askempid; } if (null !== $this->auditreson) { $res['auditreson'] = $this->auditreson; } if (null !== $this->billno) { $res['billno'] = $this->billno; } if (null !== $this->childMx) { $res['child_mx'] = $this->childMx; } if (null !== $this->customerid) { $res['customerid'] = $this->customerid; } if (null !== $this->dataUserid) { $res['data_userid'] = $this->dataUserid; } if (null !== $this->empid) { $res['empid'] = $this->empid; } if (null !== $this->inorout) { $res['inorout'] = $this->inorout; } if (null !== $this->libiodate) { $res['libiodate'] = $this->libiodate; } if (null !== $this->libioname) { $res['libioname'] = $this->libioname; } if (null !== $this->libiostate) { $res['libiostate'] = $this->libiostate; } if (null !== $this->orderid) { $res['orderid'] = $this->orderid; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->stocklibid) { $res['stocklibid'] = $this->stocklibid; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['askempid'])) { $model->askempid = $map['askempid']; } if (isset($map['auditreson'])) { $model->auditreson = $map['auditreson']; } if (isset($map['billno'])) { $model->billno = $map['billno']; } if (isset($map['child_mx'])) { $model->childMx = $map['child_mx']; } if (isset($map['customerid'])) { $model->customerid = $map['customerid']; } if (isset($map['data_userid'])) { $model->dataUserid = $map['data_userid']; } if (isset($map['empid'])) { $model->empid = $map['empid']; } if (isset($map['inorout'])) { $model->inorout = $map['inorout']; } if (isset($map['libiodate'])) { $model->libiodate = $map['libiodate']; } if (isset($map['libioname'])) { $model->libioname = $map['libioname']; } if (isset($map['libiostate'])) { $model->libiostate = $map['libiostate']; } if (isset($map['orderid'])) { $model->orderid = $map['orderid']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['stocklibid'])) { $model->stocklibid = $map['stocklibid']; } return $model; } } src/jzcrm_1_0/Models/EditOutstockResponse.php000064400000002713146412132660015223 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EditOutstockResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EditOutstockResponseBody::fromMap($map['body']); } return $model; } } src/jzcrm_1_0/Models/EditOutstockResponseBody.php000064400000002051146412132660016034 0ustar00 'msgid', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return EditOutstockResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/jzcrm_1_0/Models/EditProductionHeaders.php000064400000002331146412132660015307 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EditProductionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/jzcrm_1_0/Models/EditProductionRequest.php000064400000003441146412132660015367 0ustar00 'data', 'datatype' => 'datatype', 'msgid' => 'msgid', 'stamp' => 'stamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->datatype) { $res['datatype'] = $this->datatype; } if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->stamp) { $res['stamp'] = $this->stamp; } return $res; } /** * @param array $map * * @return EditProductionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['datatype'])) { $model->datatype = $map['datatype']; } if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['stamp'])) { $model->stamp = $map['stamp']; } return $model; } } src/jzcrm_1_0/Models/EditProductionRequest/data.php000064400000011140146412132660016273 0ustar00 'data_userid', 'schCustomerid' => 'sch_customerid', 'schEndtime' => 'sch_endtime', 'schFinished' => 'sch_finished', 'schHtid' => 'sch_htid', 'schMakeemp' => 'sch_makeemp', 'schNumber' => 'sch_number', 'schPlanendtime' => 'sch_planendtime', 'schPrincipal' => 'sch_principal', 'schRemark' => 'sch_remark', 'schStarttime' => 'sch_starttime', 'schStatesstr' => 'sch_statesstr', 'schTitle' => 'sch_title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataUserid) { $res['data_userid'] = $this->dataUserid; } if (null !== $this->schCustomerid) { $res['sch_customerid'] = $this->schCustomerid; } if (null !== $this->schEndtime) { $res['sch_endtime'] = $this->schEndtime; } if (null !== $this->schFinished) { $res['sch_finished'] = $this->schFinished; } if (null !== $this->schHtid) { $res['sch_htid'] = $this->schHtid; } if (null !== $this->schMakeemp) { $res['sch_makeemp'] = $this->schMakeemp; } if (null !== $this->schNumber) { $res['sch_number'] = $this->schNumber; } if (null !== $this->schPlanendtime) { $res['sch_planendtime'] = $this->schPlanendtime; } if (null !== $this->schPrincipal) { $res['sch_principal'] = $this->schPrincipal; } if (null !== $this->schRemark) { $res['sch_remark'] = $this->schRemark; } if (null !== $this->schStarttime) { $res['sch_starttime'] = $this->schStarttime; } if (null !== $this->schStatesstr) { $res['sch_statesstr'] = $this->schStatesstr; } if (null !== $this->schTitle) { $res['sch_title'] = $this->schTitle; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data_userid'])) { $model->dataUserid = $map['data_userid']; } if (isset($map['sch_customerid'])) { $model->schCustomerid = $map['sch_customerid']; } if (isset($map['sch_endtime'])) { $model->schEndtime = $map['sch_endtime']; } if (isset($map['sch_finished'])) { $model->schFinished = $map['sch_finished']; } if (isset($map['sch_htid'])) { $model->schHtid = $map['sch_htid']; } if (isset($map['sch_makeemp'])) { $model->schMakeemp = $map['sch_makeemp']; } if (isset($map['sch_number'])) { $model->schNumber = $map['sch_number']; } if (isset($map['sch_planendtime'])) { $model->schPlanendtime = $map['sch_planendtime']; } if (isset($map['sch_principal'])) { $model->schPrincipal = $map['sch_principal']; } if (isset($map['sch_remark'])) { $model->schRemark = $map['sch_remark']; } if (isset($map['sch_starttime'])) { $model->schStarttime = $map['sch_starttime']; } if (isset($map['sch_statesstr'])) { $model->schStatesstr = $map['sch_statesstr']; } if (isset($map['sch_title'])) { $model->schTitle = $map['sch_title']; } return $model; } } src/jzcrm_1_0/Models/EditProductionResponse.php000064400000002723146412132660015537 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EditProductionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EditProductionResponseBody::fromMap($map['body']); } return $model; } } src/jzcrm_1_0/Models/EditProductionResponseBody.php000064400000002055146412132660016353 0ustar00 'msgid', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return EditProductionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/jzcrm_1_0/Models/EditPurchaseHeaders.php000064400000002325146412132660014736 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EditPurchaseHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/jzcrm_1_0/Models/EditPurchaseRequest.php000064400000003433146412132660015014 0ustar00 'data', 'datatype' => 'datatype', 'msgid' => 'msgid', 'stamp' => 'stamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->datatype) { $res['datatype'] = $this->datatype; } if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->stamp) { $res['stamp'] = $this->stamp; } return $res; } /** * @param array $map * * @return EditPurchaseRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['datatype'])) { $model->datatype = $map['datatype']; } if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['stamp'])) { $model->stamp = $map['stamp']; } return $model; } } src/jzcrm_1_0/Models/EditPurchaseRequest/data.php000064400000014735146412132660015734 0ustar00 'cg_fjmoney', 'cgFjmoneylx' => 'cg_fjmoneylx', 'cgKjmoney' => 'cg_kjmoney', 'cgMoneyzhekou' => 'cg_moneyzhekou', 'cgZxstate' => 'cg_zxstate', 'cgdate' => 'cgdate', 'cgname' => 'cgname', 'cgno' => 'cgno', 'cgremark' => 'cgremark', 'cgtype' => 'cgtype', 'childMx' => 'child_mx', 'dataUserid' => 'data_userid', 'empid' => 'empid', 'gysLxrid' => 'gys_lxrid', 'gysLxrinfo' => 'gys_lxrinfo', 'gysid' => 'gysid', 'gysjingban' => 'gysjingban', 'orderHtid' => 'order_htid', 'orderKhid' => 'order_khid', 'summoney' => 'summoney', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cgFjmoney) { $res['cg_fjmoney'] = $this->cgFjmoney; } if (null !== $this->cgFjmoneylx) { $res['cg_fjmoneylx'] = $this->cgFjmoneylx; } if (null !== $this->cgKjmoney) { $res['cg_kjmoney'] = $this->cgKjmoney; } if (null !== $this->cgMoneyzhekou) { $res['cg_moneyzhekou'] = $this->cgMoneyzhekou; } if (null !== $this->cgZxstate) { $res['cg_zxstate'] = $this->cgZxstate; } if (null !== $this->cgdate) { $res['cgdate'] = $this->cgdate; } if (null !== $this->cgname) { $res['cgname'] = $this->cgname; } if (null !== $this->cgno) { $res['cgno'] = $this->cgno; } if (null !== $this->cgremark) { $res['cgremark'] = $this->cgremark; } if (null !== $this->cgtype) { $res['cgtype'] = $this->cgtype; } if (null !== $this->childMx) { $res['child_mx'] = $this->childMx; } if (null !== $this->dataUserid) { $res['data_userid'] = $this->dataUserid; } if (null !== $this->empid) { $res['empid'] = $this->empid; } if (null !== $this->gysLxrid) { $res['gys_lxrid'] = $this->gysLxrid; } if (null !== $this->gysLxrinfo) { $res['gys_lxrinfo'] = $this->gysLxrinfo; } if (null !== $this->gysid) { $res['gysid'] = $this->gysid; } if (null !== $this->gysjingban) { $res['gysjingban'] = $this->gysjingban; } if (null !== $this->orderHtid) { $res['order_htid'] = $this->orderHtid; } if (null !== $this->orderKhid) { $res['order_khid'] = $this->orderKhid; } if (null !== $this->summoney) { $res['summoney'] = $this->summoney; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cg_fjmoney'])) { $model->cgFjmoney = $map['cg_fjmoney']; } if (isset($map['cg_fjmoneylx'])) { $model->cgFjmoneylx = $map['cg_fjmoneylx']; } if (isset($map['cg_kjmoney'])) { $model->cgKjmoney = $map['cg_kjmoney']; } if (isset($map['cg_moneyzhekou'])) { $model->cgMoneyzhekou = $map['cg_moneyzhekou']; } if (isset($map['cg_zxstate'])) { $model->cgZxstate = $map['cg_zxstate']; } if (isset($map['cgdate'])) { $model->cgdate = $map['cgdate']; } if (isset($map['cgname'])) { $model->cgname = $map['cgname']; } if (isset($map['cgno'])) { $model->cgno = $map['cgno']; } if (isset($map['cgremark'])) { $model->cgremark = $map['cgremark']; } if (isset($map['cgtype'])) { $model->cgtype = $map['cgtype']; } if (isset($map['child_mx'])) { $model->childMx = $map['child_mx']; } if (isset($map['data_userid'])) { $model->dataUserid = $map['data_userid']; } if (isset($map['empid'])) { $model->empid = $map['empid']; } if (isset($map['gys_lxrid'])) { $model->gysLxrid = $map['gys_lxrid']; } if (isset($map['gys_lxrinfo'])) { $model->gysLxrinfo = $map['gys_lxrinfo']; } if (isset($map['gysid'])) { $model->gysid = $map['gysid']; } if (isset($map['gysjingban'])) { $model->gysjingban = $map['gysjingban']; } if (isset($map['order_htid'])) { $model->orderHtid = $map['order_htid']; } if (isset($map['order_khid'])) { $model->orderKhid = $map['order_khid']; } if (isset($map['summoney'])) { $model->summoney = $map['summoney']; } return $model; } } src/jzcrm_1_0/Models/EditPurchaseResponse.php000064400000002713146412132660015162 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EditPurchaseResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EditPurchaseResponseBody::fromMap($map['body']); } return $model; } } src/jzcrm_1_0/Models/EditPurchaseResponseBody.php000064400000002051146412132660015773 0ustar00 'msgid', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return EditPurchaseResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/jzcrm_1_0/Models/EditQuotationRecordHeaders.php000064400000002343146412132660016306 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EditQuotationRecordHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/jzcrm_1_0/Models/EditQuotationRecordRequest.php000064400000003460146412132660016364 0ustar00 'data', 'datatype' => 'datatype', 'msgid' => 'msgid', 'stamp' => 'stamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->datatype) { $res['datatype'] = $this->datatype; } if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->stamp) { $res['stamp'] = $this->stamp; } return $res; } /** * @param array $map * * @return EditQuotationRecordRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['datatype'])) { $model->datatype = $map['datatype']; } if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['stamp'])) { $model->stamp = $map['stamp']; } return $model; } } src/jzcrm_1_0/Models/EditQuotationRecordRequest/data.php000064400000015150146412132660017274 0ustar00 'bj_bjren', 'bjBzremark' => 'bj_bzremark', 'bjCustomerid' => 'bj_customerid', 'bjDate' => 'bj_date', 'bjFjmoney' => 'bj_fjmoney', 'bjFjmoneylx' => 'bj_fjmoneylx', 'bjFkremark' => 'bj_fkremark', 'bjJfremark' => 'bj_jfremark', 'bjJshren' => 'bj_jshren', 'bjKjmoney' => 'bj_kjmoney', 'bjLianxi' => 'bj_lianxi', 'bjMoneyzhekou' => 'bj_moneyzhekou', 'bjNumber' => 'bj_number', 'bjPrice' => 'bj_price', 'bjRemark' => 'bj_remark', 'bjState' => 'bj_state', 'bjTitle' => 'bj_title', 'bjXshid' => 'bj_xshid', 'childMx' => 'child_mx', 'dataUserid' => 'data_userid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bjBjren) { $res['bj_bjren'] = $this->bjBjren; } if (null !== $this->bjBzremark) { $res['bj_bzremark'] = $this->bjBzremark; } if (null !== $this->bjCustomerid) { $res['bj_customerid'] = $this->bjCustomerid; } if (null !== $this->bjDate) { $res['bj_date'] = $this->bjDate; } if (null !== $this->bjFjmoney) { $res['bj_fjmoney'] = $this->bjFjmoney; } if (null !== $this->bjFjmoneylx) { $res['bj_fjmoneylx'] = $this->bjFjmoneylx; } if (null !== $this->bjFkremark) { $res['bj_fkremark'] = $this->bjFkremark; } if (null !== $this->bjJfremark) { $res['bj_jfremark'] = $this->bjJfremark; } if (null !== $this->bjJshren) { $res['bj_jshren'] = $this->bjJshren; } if (null !== $this->bjKjmoney) { $res['bj_kjmoney'] = $this->bjKjmoney; } if (null !== $this->bjLianxi) { $res['bj_lianxi'] = $this->bjLianxi; } if (null !== $this->bjMoneyzhekou) { $res['bj_moneyzhekou'] = $this->bjMoneyzhekou; } if (null !== $this->bjNumber) { $res['bj_number'] = $this->bjNumber; } if (null !== $this->bjPrice) { $res['bj_price'] = $this->bjPrice; } if (null !== $this->bjRemark) { $res['bj_remark'] = $this->bjRemark; } if (null !== $this->bjState) { $res['bj_state'] = $this->bjState; } if (null !== $this->bjTitle) { $res['bj_title'] = $this->bjTitle; } if (null !== $this->bjXshid) { $res['bj_xshid'] = $this->bjXshid; } if (null !== $this->childMx) { $res['child_mx'] = $this->childMx; } if (null !== $this->dataUserid) { $res['data_userid'] = $this->dataUserid; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bj_bjren'])) { $model->bjBjren = $map['bj_bjren']; } if (isset($map['bj_bzremark'])) { $model->bjBzremark = $map['bj_bzremark']; } if (isset($map['bj_customerid'])) { $model->bjCustomerid = $map['bj_customerid']; } if (isset($map['bj_date'])) { $model->bjDate = $map['bj_date']; } if (isset($map['bj_fjmoney'])) { $model->bjFjmoney = $map['bj_fjmoney']; } if (isset($map['bj_fjmoneylx'])) { $model->bjFjmoneylx = $map['bj_fjmoneylx']; } if (isset($map['bj_fkremark'])) { $model->bjFkremark = $map['bj_fkremark']; } if (isset($map['bj_jfremark'])) { $model->bjJfremark = $map['bj_jfremark']; } if (isset($map['bj_jshren'])) { $model->bjJshren = $map['bj_jshren']; } if (isset($map['bj_kjmoney'])) { $model->bjKjmoney = $map['bj_kjmoney']; } if (isset($map['bj_lianxi'])) { $model->bjLianxi = $map['bj_lianxi']; } if (isset($map['bj_moneyzhekou'])) { $model->bjMoneyzhekou = $map['bj_moneyzhekou']; } if (isset($map['bj_number'])) { $model->bjNumber = $map['bj_number']; } if (isset($map['bj_price'])) { $model->bjPrice = $map['bj_price']; } if (isset($map['bj_remark'])) { $model->bjRemark = $map['bj_remark']; } if (isset($map['bj_state'])) { $model->bjState = $map['bj_state']; } if (isset($map['bj_title'])) { $model->bjTitle = $map['bj_title']; } if (isset($map['bj_xshid'])) { $model->bjXshid = $map['bj_xshid']; } if (isset($map['child_mx'])) { $model->childMx = $map['child_mx']; } if (isset($map['data_userid'])) { $model->dataUserid = $map['data_userid']; } return $model; } } src/jzcrm_1_0/Models/EditQuotationRecordResponse.php000064400000002747146412132660016541 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EditQuotationRecordResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EditQuotationRecordResponseBody::fromMap($map['body']); } return $model; } } src/jzcrm_1_0/Models/EditQuotationRecordResponseBody.php000064400000002067146412132660017352 0ustar00 'msgid', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return EditQuotationRecordResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/jzcrm_1_0/Models/EditSalesHeaders.php000064400000002317146412132660014234 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EditSalesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/jzcrm_1_0/Models/EditSalesRequest.php000064400000003422146412132660014307 0ustar00 'data', 'datatype' => 'datatype', 'msgid' => 'msgid', 'stamp' => 'stamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->datatype) { $res['datatype'] = $this->datatype; } if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->stamp) { $res['stamp'] = $this->stamp; } return $res; } /** * @param array $map * * @return EditSalesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['datatype'])) { $model->datatype = $map['datatype']; } if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['stamp'])) { $model->stamp = $map['stamp']; } return $model; } } src/jzcrm_1_0/Models/EditSalesRequest/data.php000064400000014374146412132660015230 0ustar00 'data_userid', 'xshCustomerid' => 'xsh_customerid', 'xshDate' => 'xsh_date', 'xshExpdate' => 'xsh_expdate', 'xshExpmoney' => 'xsh_expmoney', 'xshFrom' => 'xsh_from', 'xshKnx' => 'xsh_knx', 'xshLianxi' => 'xsh_lianxi', 'xshLxrid' => 'xsh_lxrid', 'xshMoneynote' => 'xsh_moneynote', 'xshNumber' => 'xsh_number', 'xshPhase' => 'xsh_phase', 'xshPhasenote' => 'xsh_phasenote', 'xshPreside' => 'xsh_preside', 'xshProvider' => 'xsh_provider', 'xshRequire' => 'xsh_require', 'xshState' => 'xsh_state', 'xshTitle' => 'xsh_title', 'xshType' => 'xsh_type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataUserid) { $res['data_userid'] = $this->dataUserid; } if (null !== $this->xshCustomerid) { $res['xsh_customerid'] = $this->xshCustomerid; } if (null !== $this->xshDate) { $res['xsh_date'] = $this->xshDate; } if (null !== $this->xshExpdate) { $res['xsh_expdate'] = $this->xshExpdate; } if (null !== $this->xshExpmoney) { $res['xsh_expmoney'] = $this->xshExpmoney; } if (null !== $this->xshFrom) { $res['xsh_from'] = $this->xshFrom; } if (null !== $this->xshKnx) { $res['xsh_knx'] = $this->xshKnx; } if (null !== $this->xshLianxi) { $res['xsh_lianxi'] = $this->xshLianxi; } if (null !== $this->xshLxrid) { $res['xsh_lxrid'] = $this->xshLxrid; } if (null !== $this->xshMoneynote) { $res['xsh_moneynote'] = $this->xshMoneynote; } if (null !== $this->xshNumber) { $res['xsh_number'] = $this->xshNumber; } if (null !== $this->xshPhase) { $res['xsh_phase'] = $this->xshPhase; } if (null !== $this->xshPhasenote) { $res['xsh_phasenote'] = $this->xshPhasenote; } if (null !== $this->xshPreside) { $res['xsh_preside'] = $this->xshPreside; } if (null !== $this->xshProvider) { $res['xsh_provider'] = $this->xshProvider; } if (null !== $this->xshRequire) { $res['xsh_require'] = $this->xshRequire; } if (null !== $this->xshState) { $res['xsh_state'] = $this->xshState; } if (null !== $this->xshTitle) { $res['xsh_title'] = $this->xshTitle; } if (null !== $this->xshType) { $res['xsh_type'] = $this->xshType; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data_userid'])) { $model->dataUserid = $map['data_userid']; } if (isset($map['xsh_customerid'])) { $model->xshCustomerid = $map['xsh_customerid']; } if (isset($map['xsh_date'])) { $model->xshDate = $map['xsh_date']; } if (isset($map['xsh_expdate'])) { $model->xshExpdate = $map['xsh_expdate']; } if (isset($map['xsh_expmoney'])) { $model->xshExpmoney = $map['xsh_expmoney']; } if (isset($map['xsh_from'])) { $model->xshFrom = $map['xsh_from']; } if (isset($map['xsh_knx'])) { $model->xshKnx = $map['xsh_knx']; } if (isset($map['xsh_lianxi'])) { $model->xshLianxi = $map['xsh_lianxi']; } if (isset($map['xsh_lxrid'])) { $model->xshLxrid = $map['xsh_lxrid']; } if (isset($map['xsh_moneynote'])) { $model->xshMoneynote = $map['xsh_moneynote']; } if (isset($map['xsh_number'])) { $model->xshNumber = $map['xsh_number']; } if (isset($map['xsh_phase'])) { $model->xshPhase = $map['xsh_phase']; } if (isset($map['xsh_phasenote'])) { $model->xshPhasenote = $map['xsh_phasenote']; } if (isset($map['xsh_preside'])) { $model->xshPreside = $map['xsh_preside']; } if (isset($map['xsh_provider'])) { $model->xshProvider = $map['xsh_provider']; } if (isset($map['xsh_require'])) { $model->xshRequire = $map['xsh_require']; } if (isset($map['xsh_state'])) { $model->xshState = $map['xsh_state']; } if (isset($map['xsh_title'])) { $model->xshTitle = $map['xsh_title']; } if (isset($map['xsh_type'])) { $model->xshType = $map['xsh_type']; } return $model; } } src/jzcrm_1_0/Models/EditSalesResponse.php000064400000002677146412132660014470 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EditSalesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EditSalesResponseBody::fromMap($map['body']); } return $model; } } src/jzcrm_1_0/Models/EditSalesResponseBody.php000064400000002043146412132660015271 0ustar00 'msgid', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return EditSalesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/jzcrm_1_0/Models/GetDataListHeaders.php000064400000002323146412132660014521 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDataListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/jzcrm_1_0/Models/GetDataListRequest.php000064400000002646146412132660014606 0ustar00 'datatype', 'page' => 'page', 'pagesize' => 'pagesize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->datatype) { $res['datatype'] = $this->datatype; } if (null !== $this->page) { $res['page'] = $this->page; } if (null !== $this->pagesize) { $res['pagesize'] = $this->pagesize; } return $res; } /** * @param array $map * * @return GetDataListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['datatype'])) { $model->datatype = $map['datatype']; } if (isset($map['page'])) { $model->page = $map['page']; } if (isset($map['pagesize'])) { $model->pagesize = $map['pagesize']; } return $model; } } src/jzcrm_1_0/Models/GetDataListResponse.php000064400000002707146412132660014752 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDataListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDataListResponseBody::fromMap($map['body']); } return $model; } } src/jzcrm_1_0/Models/GetDataListResponseBody.php000064400000005315146412132660015566 0ustar00 'data', 'dataname' => 'dataname', 'page' => 'page', 'pageSize' => 'pageSize', 'time' => 'time', '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->dataname) { $res['dataname'] = $this->dataname; } if (null !== $this->page) { $res['page'] = $this->page; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->time) { $res['time'] = $this->time; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return GetDataListResponseBody */ 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['dataname'])) { $model->dataname = $map['dataname']; } if (isset($map['page'])) { $model->page = $map['page']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['time'])) { $model->time = $map['time']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/jzcrm_1_0/Models/GetDataListResponseBody/data.php000064400000001452146412132660016475 0ustar00 'detail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->detail) { $res['detail'] = $this->detail; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['detail'])) { $model->detail = $map['detail']; } return $model; } } src/jzcrm_1_0/Models/GetDataViewHeaders.php000064400000002323146412132660014520 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDataViewHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/jzcrm_1_0/Models/GetDataViewRequest.php000064400000002167146412132660014603 0ustar00 'datatype', 'msgid' => 'msgid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->datatype) { $res['datatype'] = $this->datatype; } if (null !== $this->msgid) { $res['msgid'] = $this->msgid; } return $res; } /** * @param array $map * * @return GetDataViewRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['datatype'])) { $model->datatype = $map['datatype']; } if (isset($map['msgid'])) { $model->msgid = $map['msgid']; } return $model; } } src/jzcrm_1_0/Models/GetDataViewResponse.php000064400000002707146412132660014751 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDataViewResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDataViewResponseBody::fromMap($map['body']); } return $model; } } src/jzcrm_1_0/Models/GetDataViewResponseBody.php000064400000002715146412132660015566 0ustar00 'data', 'dataname' => 'dataname', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->dataname) { $res['dataname'] = $this->dataname; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return GetDataViewResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['dataname'])) { $model->dataname = $map['dataname']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/jzcrm_1_0/Models/GetDataViewResponseBody/data.php000064400000001452146412132660016474 0ustar00 'detail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->detail) { $res['detail'] = $this->detail; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['detail'])) { $model->detail = $map['detail']; } return $model; } } src/link_1_0/Dingtalk.php000064400000104700146412132660011204 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param ApplyFollowerAuthInfoRequest $request * @param ApplyFollowerAuthInfoHeaders $headers * @param RuntimeOptions $runtime * * @return ApplyFollowerAuthInfoResponse */ public function applyFollowerAuthInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appAuthKey)) { $body['appAuthKey'] = $request->appAuthKey; } if (!Utils::isUnset($request->fieldScope)) { $body['fieldScope'] = $request->fieldScope; } if (!Utils::isUnset($request->sessionId)) { $body['sessionId'] = $request->sessionId; } 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' => 'ApplyFollowerAuthInfo', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/followers/authInfos/apply', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ApplyFollowerAuthInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ApplyFollowerAuthInfoRequest $request * * @return ApplyFollowerAuthInfoResponse */ public function applyFollowerAuthInfo($request) { $runtime = new RuntimeOptions([]); $headers = new ApplyFollowerAuthInfoHeaders([]); return $this->applyFollowerAuthInfoWithOptions($request, $headers, $runtime); } /** * @param CallbackRegiesterRequest $request * @param CallbackRegiesterHeaders $headers * @param RuntimeOptions $runtime * * @return CallbackRegiesterResponse */ public function callbackRegiesterWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->apiSecret)) { $body['apiSecret'] = $request->apiSecret; } if (!Utils::isUnset($request->callbackKey)) { $body['callbackKey'] = $request->callbackKey; } if (!Utils::isUnset($request->callbackUrl)) { $body['callbackUrl'] = $request->callbackUrl; } 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' => 'CallbackRegiester', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/callbacks/regiester', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CallbackRegiesterResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CallbackRegiesterRequest $request * * @return CallbackRegiesterResponse */ public function callbackRegiester($request) { $runtime = new RuntimeOptions([]); $headers = new CallbackRegiesterHeaders([]); return $this->callbackRegiesterWithOptions($request, $headers, $runtime); } /** * @param CloseTopBoxInteractiveOTOMessageRequest $request * @param CloseTopBoxInteractiveOTOMessageHeaders $headers * @param RuntimeOptions $runtime * * @return CloseTopBoxInteractiveOTOMessageResponse */ public function closeTopBoxInteractiveOTOMessageWithOptions($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' => 'CloseTopBoxInteractiveOTOMessage', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/oToMessages/topBoxes/close', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CloseTopBoxInteractiveOTOMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CloseTopBoxInteractiveOTOMessageRequest $request * * @return CloseTopBoxInteractiveOTOMessageResponse */ public function closeTopBoxInteractiveOTOMessage($request) { $runtime = new RuntimeOptions([]); $headers = new CloseTopBoxInteractiveOTOMessageHeaders([]); return $this->closeTopBoxInteractiveOTOMessageWithOptions($request, $headers, $runtime); } /** * @param GetFollowerAuthInfoRequest $request * @param GetFollowerAuthInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetFollowerAuthInfoResponse */ public function getFollowerAuthInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accountId)) { $query['accountId'] = $request->accountId; } 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' => 'GetFollowerAuthInfo', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/followers/authInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFollowerAuthInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetFollowerAuthInfoRequest $request * * @return GetFollowerAuthInfoResponse */ public function getFollowerAuthInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetFollowerAuthInfoHeaders([]); return $this->getFollowerAuthInfoWithOptions($request, $headers, $runtime); } /** * @param GetFollowerInfoRequest $request * @param GetFollowerInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetFollowerInfoResponse */ public function getFollowerInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accountId)) { $query['accountId'] = $request->accountId; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } 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' => 'GetFollowerInfo', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/followers/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFollowerInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetFollowerInfoRequest $request * * @return GetFollowerInfoResponse */ public function getFollowerInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetFollowerInfoHeaders([]); return $this->getFollowerInfoWithOptions($request, $headers, $runtime); } /** * @param GetPictureDownloadUrlRequest $request * @param GetPictureDownloadUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetPictureDownloadUrlResponse */ public function getPictureDownloadUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->downloadCode)) { $query['downloadCode'] = $request->downloadCode; } if (!Utils::isUnset($request->sessionId)) { $query['sessionId'] = $request->sessionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetPictureDownloadUrl', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/oToMessages/pictures/downloadUrls', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetPictureDownloadUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetPictureDownloadUrlRequest $request * * @return GetPictureDownloadUrlResponse */ public function getPictureDownloadUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetPictureDownloadUrlHeaders([]); return $this->getPictureDownloadUrlWithOptions($request, $headers, $runtime); } /** * @param GetUserFollowStatusRequest $request * @param GetUserFollowStatusHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserFollowStatusResponse */ public function getUserFollowStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accountId)) { $query['accountId'] = $request->accountId; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } 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' => 'GetUserFollowStatus', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/followers/statuses', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserFollowStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUserFollowStatusRequest $request * * @return GetUserFollowStatusResponse */ public function getUserFollowStatus($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserFollowStatusHeaders([]); return $this->getUserFollowStatusWithOptions($request, $headers, $runtime); } /** * @param ListAccountHeaders $headers * @param RuntimeOptions $runtime * * @return ListAccountResponse */ public function listAccountWithOptions($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' => 'ListAccount', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/accounts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListAccountResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return ListAccountResponse */ public function listAccount() { $runtime = new RuntimeOptions([]); $headers = new ListAccountHeaders([]); return $this->listAccountWithOptions($headers, $runtime); } /** * @param ListAccountInfoHeaders $headers * @param RuntimeOptions $runtime * * @return ListAccountInfoResponse */ public function listAccountInfoWithOptions($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' => 'ListAccountInfo', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/isv/accounts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListAccountInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return ListAccountInfoResponse */ public function listAccountInfo() { $runtime = new RuntimeOptions([]); $headers = new ListAccountInfoHeaders([]); return $this->listAccountInfoWithOptions($headers, $runtime); } /** * @param ListFollowerRequest $request * @param ListFollowerHeaders $headers * @param RuntimeOptions $runtime * * @return ListFollowerResponse */ public function listFollowerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accountId)) { $query['accountId'] = $request->accountId; } 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' => 'ListFollower', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/followers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListFollowerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListFollowerRequest $request * * @return ListFollowerResponse */ public function listFollower($request) { $runtime = new RuntimeOptions([]); $headers = new ListFollowerHeaders([]); return $this->listFollowerWithOptions($request, $headers, $runtime); } /** * @param QueryUserFollowStatusRequest $request * @param QueryUserFollowStatusHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUserFollowStatusResponse */ public function queryUserFollowStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accountId)) { $query['accountId'] = $request->accountId; } 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' => 'QueryUserFollowStatus', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/isv/followers/statuses', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUserFollowStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryUserFollowStatusRequest $request * * @return QueryUserFollowStatusResponse */ public function queryUserFollowStatus($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUserFollowStatusHeaders([]); return $this->queryUserFollowStatusWithOptions($request, $headers, $runtime); } /** * @param SendAgentOTOMessageRequest $request * @param SendAgentOTOMessageHeaders $headers * @param RuntimeOptions $runtime * * @return SendAgentOTOMessageResponse */ public function sendAgentOTOMessageWithOptions($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' => 'SendAgentOTOMessage', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/oToMessages/agentMessages', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendAgentOTOMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendAgentOTOMessageRequest $request * * @return SendAgentOTOMessageResponse */ public function sendAgentOTOMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendAgentOTOMessageHeaders([]); return $this->sendAgentOTOMessageWithOptions($request, $headers, $runtime); } /** * @param SendInteractiveOTOMessageRequest $request * @param SendInteractiveOTOMessageHeaders $headers * @param RuntimeOptions $runtime * * @return SendInteractiveOTOMessageResponse */ public function sendInteractiveOTOMessageWithOptions($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' => 'SendInteractiveOTOMessage', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/oToMessages/interactiveMessages', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendInteractiveOTOMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendInteractiveOTOMessageRequest $request * * @return SendInteractiveOTOMessageResponse */ public function sendInteractiveOTOMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendInteractiveOTOMessageHeaders([]); return $this->sendInteractiveOTOMessageWithOptions($request, $headers, $runtime); } /** * @param SendTopBoxInteractiveOTOMessageRequest $request * @param SendTopBoxInteractiveOTOMessageHeaders $headers * @param RuntimeOptions $runtime * * @return SendTopBoxInteractiveOTOMessageResponse */ public function sendTopBoxInteractiveOTOMessageWithOptions($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' => 'SendTopBoxInteractiveOTOMessage', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/oToMessages/topBoxes/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendTopBoxInteractiveOTOMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendTopBoxInteractiveOTOMessageRequest $request * * @return SendTopBoxInteractiveOTOMessageResponse */ public function sendTopBoxInteractiveOTOMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendTopBoxInteractiveOTOMessageHeaders([]); return $this->sendTopBoxInteractiveOTOMessageWithOptions($request, $headers, $runtime); } /** * @param UpdateInteractiveOTOMessageRequest $request * @param UpdateInteractiveOTOMessageHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateInteractiveOTOMessageResponse */ public function updateInteractiveOTOMessageWithOptions($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' => 'UpdateInteractiveOTOMessage', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/oToMessages/interactiveMessages', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateInteractiveOTOMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateInteractiveOTOMessageRequest $request * * @return UpdateInteractiveOTOMessageResponse */ public function updateInteractiveOTOMessage($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInteractiveOTOMessageHeaders([]); return $this->updateInteractiveOTOMessageWithOptions($request, $headers, $runtime); } /** * @param UpdateShortcutsRequest $request * @param UpdateShortcutsHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateShortcutsResponse */ public function updateShortcutsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->details)) { $body['details'] = $request->details; } if (!Utils::isUnset($request->sessionId)) { $body['sessionId'] = $request->sessionId; } 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' => 'UpdateShortcuts', 'version' => 'link_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/link/shortcuts', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateShortcutsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateShortcutsRequest $request * * @return UpdateShortcutsResponse */ public function updateShortcuts($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateShortcutsHeaders([]); return $this->updateShortcutsWithOptions($request, $headers, $runtime); } } src/link_1_0/Models/ApplyFollowerAuthInfoHeaders.php000064400000002346146412132660016426 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ApplyFollowerAuthInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/ApplyFollowerAuthInfoRequest.php000064400000003526146412132660016504 0ustar00 'appAuthKey', 'fieldScope' => 'fieldScope', 'sessionId' => 'sessionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appAuthKey) { $res['appAuthKey'] = $this->appAuthKey; } if (null !== $this->fieldScope) { $res['fieldScope'] = $this->fieldScope; } if (null !== $this->sessionId) { $res['sessionId'] = $this->sessionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ApplyFollowerAuthInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appAuthKey'])) { $model->appAuthKey = $map['appAuthKey']; } if (isset($map['fieldScope'])) { $model->fieldScope = $map['fieldScope']; } if (isset($map['sessionId'])) { $model->sessionId = $map['sessionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/link_1_0/Models/ApplyFollowerAuthInfoResponse.php000064400000002756146412132660016656 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ApplyFollowerAuthInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ApplyFollowerAuthInfoResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/ApplyFollowerAuthInfoResponseBody.php000064400000001734146412132660017467 0ustar00 '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 ApplyFollowerAuthInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/link_1_0/Models/ApplyFollowerAuthInfoResponseBody/result.php000064400000001542146412132660021002 0ustar00 'openApplyId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openApplyId) { $res['openApplyId'] = $this->openApplyId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openApplyId'])) { $model->openApplyId = $map['openApplyId']; } return $model; } } src/link_1_0/Models/CallbackRegiesterHeaders.php000064400000002336146412132660015536 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CallbackRegiesterHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/CallbackRegiesterRequest.php000064400000003560146412132660015613 0ustar00 'apiSecret', 'callbackKey' => 'callbackKey', 'callbackUrl' => 'callbackUrl', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->apiSecret) { $res['apiSecret'] = $this->apiSecret; } if (null !== $this->callbackKey) { $res['callbackKey'] = $this->callbackKey; } if (null !== $this->callbackUrl) { $res['callbackUrl'] = $this->callbackUrl; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return CallbackRegiesterRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['apiSecret'])) { $model->apiSecret = $map['apiSecret']; } if (isset($map['callbackKey'])) { $model->callbackKey = $map['callbackKey']; } if (isset($map['callbackUrl'])) { $model->callbackUrl = $map['callbackUrl']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/link_1_0/Models/CallbackRegiesterResponse.php000064400000002736146412132660015765 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CallbackRegiesterResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CallbackRegiesterResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/CallbackRegiesterResponseBody.php000064400000001720146412132660016573 0ustar00 '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 CallbackRegiesterResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/link_1_0/Models/CallbackRegiesterResponseBody/result.php000064400000002211146412132660020105 0ustar00 '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/link_1_0/Models/CloseTopBoxInteractiveOTOMessageHeaders.php000064400000002374146412132660020460 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CloseTopBoxInteractiveOTOMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/CloseTopBoxInteractiveOTOMessageRequest.php000064400000001756146412132660020540 0ustar00 '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 CloseTopBoxInteractiveOTOMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['detail'])) { $model->detail = detail::fromMap($map['detail']); } return $model; } } src/link_1_0/Models/CloseTopBoxInteractiveOTOMessageRequest/detail.php000064400000003116146412132660021772 0ustar00 'cardBizId', 'cardTemplateId' => 'cardTemplateId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardBizId) { $res['cardBizId'] = $this->cardBizId; } if (null !== $this->cardTemplateId) { $res['cardTemplateId'] = $this->cardTemplateId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return detail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardBizId'])) { $model->cardBizId = $map['cardBizId']; } if (isset($map['cardTemplateId'])) { $model->cardTemplateId = $map['cardTemplateId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/link_1_0/Models/CloseTopBoxInteractiveOTOMessageResponse.php000064400000003032146412132660020673 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CloseTopBoxInteractiveOTOMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CloseTopBoxInteractiveOTOMessageResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/CloseTopBoxInteractiveOTOMessageResponseBody.php000064400000002211146412132660021507 0ustar00 '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 CloseTopBoxInteractiveOTOMessageResponseBody */ 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/link_1_0/Models/DetailUserIdPrivateDataMapValue.php000064400000002407146412132660016771 0ustar00 'cardParamMap', 'cardMediaIdParamMap' => 'cardMediaIdParamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardParamMap) { $res['cardParamMap'] = $this->cardParamMap; } if (null !== $this->cardMediaIdParamMap) { $res['cardMediaIdParamMap'] = $this->cardMediaIdParamMap; } return $res; } /** * @param array $map * * @return DetailUserIdPrivateDataMapValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardParamMap'])) { $model->cardParamMap = $map['cardParamMap']; } if (isset($map['cardMediaIdParamMap'])) { $model->cardMediaIdParamMap = $map['cardMediaIdParamMap']; } return $model; } } src/link_1_0/Models/GetFollowerAuthInfoHeaders.php000064400000002342146412132660016054 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFollowerAuthInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/GetFollowerAuthInfoRequest.php000064400000002272146412132660016133 0ustar00 'accountId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetFollowerAuthInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/link_1_0/Models/GetFollowerAuthInfoResponse.php000064400000002746146412132660016307 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFollowerAuthInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFollowerAuthInfoResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/GetFollowerAuthInfoResponseBody.php000064400000001726146412132660017122 0ustar00 '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 GetFollowerAuthInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/link_1_0/Models/GetFollowerAuthInfoResponseBody/result.php000064400000001745146412132660020441 0ustar00 'authInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authInfo) { $res['authInfo'] = null !== $this->authInfo ? $this->authInfo->toMap() : null; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authInfo'])) { $model->authInfo = authInfo::fromMap($map['authInfo']); } return $model; } } src/link_1_0/Models/GetFollowerAuthInfoResponseBody/result/authInfo.php000064400000002652146412132660022214 0ustar00 'mainCorp', 'mobile' => 'mobile', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mainCorp) { $res['mainCorp'] = null !== $this->mainCorp ? $this->mainCorp->toMap() : null; } if (null !== $this->mobile) { $res['mobile'] = null !== $this->mobile ? $this->mobile->toMap() : null; } return $res; } /** * @param array $map * * @return authInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mainCorp'])) { $model->mainCorp = mainCorp::fromMap($map['mainCorp']); } if (isset($map['mobile'])) { $model->mobile = mobile::fromMap($map['mobile']); } return $model; } } src/link_1_0/Models/GetFollowerAuthInfoResponseBody/result/authInfo/mainCorp.php000064400000002213146412132660023755 0ustar00 'authorized', 'corpName' => 'corpName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authorized) { $res['authorized'] = $this->authorized; } if (null !== $this->corpName) { $res['corpName'] = $this->corpName; } return $res; } /** * @param array $map * * @return mainCorp */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authorized'])) { $model->authorized = $map['authorized']; } if (isset($map['corpName'])) { $model->corpName = $map['corpName']; } return $model; } } src/link_1_0/Models/GetFollowerAuthInfoResponseBody/result/authInfo/mobile.php000064400000002641146412132660023461 0ustar00 'authorized', 'mobile' => 'mobile', 'stateCode' => 'stateCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authorized) { $res['authorized'] = $this->authorized; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->stateCode) { $res['stateCode'] = $this->stateCode; } return $res; } /** * @param array $map * * @return mobile */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authorized'])) { $model->authorized = $map['authorized']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['stateCode'])) { $model->stateCode = $map['stateCode']; } return $model; } } src/link_1_0/Models/GetFollowerInfoHeaders.php000064400000002332146412132660015231 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFollowerInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/GetFollowerInfoRequest.php000064400000003006146412132660015305 0ustar00 'accountId', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetFollowerInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/link_1_0/Models/GetFollowerInfoResponse.php000064400000002726146412132660015463 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFollowerInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFollowerInfoResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/GetFollowerInfoResponseBody.php000064400000002366146412132660016301 0ustar00 '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 GetFollowerInfoResponseBody */ 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/link_1_0/Models/GetFollowerInfoResponseBody/result.php000064400000001651146412132660017613 0ustar00 'user', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->user) { $res['user'] = null !== $this->user ? $this->user->toMap() : null; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['user'])) { $model->user = user::fromMap($map['user']); } return $model; } } src/link_1_0/Models/GetFollowerInfoResponseBody/result/user.php000064400000002700146412132660020565 0ustar00 'name', 'timestamp' => 'timestamp', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return user */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/link_1_0/Models/GetPictureDownloadUrlHeaders.php000064400000002346146412132660016417 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPictureDownloadUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/GetPictureDownloadUrlRequest.php000064400000002375146412132660016476 0ustar00 'downloadCode', 'sessionId' => 'sessionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->downloadCode) { $res['downloadCode'] = $this->downloadCode; } if (null !== $this->sessionId) { $res['sessionId'] = $this->sessionId; } return $res; } /** * @param array $map * * @return GetPictureDownloadUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['downloadCode'])) { $model->downloadCode = $map['downloadCode']; } if (isset($map['sessionId'])) { $model->sessionId = $map['sessionId']; } return $model; } } src/link_1_0/Models/GetPictureDownloadUrlResponse.php000064400000002756146412132660016647 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPictureDownloadUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPictureDownloadUrlResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/GetPictureDownloadUrlResponseBody.php000064400000002410146412132660017450 0ustar00 '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 GetPictureDownloadUrlResponseBody */ 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/link_1_0/Models/GetPictureDownloadUrlResponseBody/result.php000064400000001472146412132660020775 0ustar00 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/link_1_0/Models/GetUserFollowStatusHeaders.php000064400000002342146412132660016132 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserFollowStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/GetUserFollowStatusRequest.php000064400000003016146412132660016206 0ustar00 'accountId', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetUserFollowStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/link_1_0/Models/GetUserFollowStatusResponse.php000064400000002746146412132660016365 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserFollowStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserFollowStatusResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/GetUserFollowStatusResponseBody.php000064400000001726146412132660017200 0ustar00 '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 GetUserFollowStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/link_1_0/Models/GetUserFollowStatusResponseBody/result.php000064400000001463146412132660020514 0ustar00 '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/link_1_0/Models/ListAccountHeaders.php000064400000002322146412132660014413 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAccountHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/ListAccountInfoHeaders.php000064400000002332146412132660015230 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAccountInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/ListAccountInfoResponse.php000064400000002726146412132660015462 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAccountInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAccountInfoResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/ListAccountInfoResponseBody.php000064400000002602146412132660016271 0ustar00 '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 ListAccountInfoResponseBody */ 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/link_1_0/Models/ListAccountInfoResponseBody/result.php000064400000002207146412132660017610 0ustar00 'accountId', 'accountName' => 'accountName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } return $model; } } src/link_1_0/Models/ListAccountResponse.php000064400000002706146412132660014644 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAccountResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAccountResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/ListAccountResponseBody.php000064400000002566146412132660015466 0ustar00 '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 ListAccountResponseBody */ 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/link_1_0/Models/ListAccountResponseBody/result.php000064400000002203146412132660016770 0ustar00 'accountId', 'accountName' => 'accountName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } return $model; } } src/link_1_0/Models/ListFollowerHeaders.php000064400000002324146412132660014612 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListFollowerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/ListFollowerRequest.php000064400000003017146412132660014667 0ustar00 'accountId', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListFollowerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/link_1_0/Models/ListFollowerResponse.php000064400000002712146412132660015036 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListFollowerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListFollowerResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/ListFollowerResponseBody.php000064400000002355146412132660015657 0ustar00 '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 ListFollowerResponseBody */ 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/link_1_0/Models/ListFollowerResponseBody/result.php000064400000003303146412132660017167 0ustar00 'nextToken', 'userList' => 'userList', ]; public function validate() { } public function toMap() { $res = []; 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['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/link_1_0/Models/ListFollowerResponseBody/result/userList.php000064400000002541146412132660021004 0ustar00 'name', 'timestamp' => 'timestamp', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } 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['name'])) { $model->name = $map['name']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/link_1_0/Models/QueryUserFollowStatusHeaders.php000064400000002346146412132660016524 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserFollowStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/QueryUserFollowStatusRequest.php000064400000002316146412132660016576 0ustar00 'accountId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryUserFollowStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/link_1_0/Models/QueryUserFollowStatusResponse.php000064400000002756146412132660016754 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserFollowStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserFollowStatusResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/QueryUserFollowStatusResponseBody.php000064400000001734146412132660017565 0ustar00 '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 QueryUserFollowStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/link_1_0/Models/QueryUserFollowStatusResponseBody/result.php000064400000001465146412132660021104 0ustar00 '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/link_1_0/Models/SendAgentOTOMessageHeaders.php000064400000002342146412132660015724 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendAgentOTOMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/SendAgentOTOMessageRequest.php000064400000001707146412132660016005 0ustar00 '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 SendAgentOTOMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['detail'])) { $model->detail = detail::fromMap($map['detail']); } return $model; } } src/link_1_0/Models/SendAgentOTOMessageRequest/detail.php000064400000004354146412132660017250 0ustar00 'messageBody', 'msgType' => 'msgType', 'sessionId' => 'sessionId', '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->sessionId) { $res['sessionId'] = $this->sessionId; } 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['sessionId'])) { $model->sessionId = $map['sessionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/link_1_0/Models/SendAgentOTOMessageRequest/detail/messageBody.php000064400000006443146412132660021513 0ustar00 'actionCard', 'image' => 'image', 'interactiveMessage' => 'interactiveMessage', '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->interactiveMessage) { $res['interactiveMessage'] = null !== $this->interactiveMessage ? $this->interactiveMessage->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['interactiveMessage'])) { $model->interactiveMessage = interactiveMessage::fromMap($map['interactiveMessage']); } 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/link_1_0/Models/SendAgentOTOMessageRequest/detail/messageBody/actionCard.php000064400000006322146412132660023556 0ustar00 '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/link_1_0/Models/SendAgentOTOMessageRequest/detail/messageBody/actionCard/buttonList.php000064400000002315146412132660025723 0ustar00 '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/link_1_0/Models/SendAgentOTOMessageRequest/detail/messageBody/image.php000064400000001510146412132660022563 0ustar00 '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/link_1_0/Models/SendAgentOTOMessageRequest/detail/messageBody/interactiveMessage.php000064400000003463146412132660025334 0ustar00 'callbackUrl', 'cardBizId' => 'cardBizId', 'cardData' => 'cardData', 'cardTemplateId' => 'cardTemplateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callbackUrl) { $res['callbackUrl'] = $this->callbackUrl; } if (null !== $this->cardBizId) { $res['cardBizId'] = $this->cardBizId; } if (null !== $this->cardData) { $res['cardData'] = $this->cardData; } if (null !== $this->cardTemplateId) { $res['cardTemplateId'] = $this->cardTemplateId; } return $res; } /** * @param array $map * * @return interactiveMessage */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callbackUrl'])) { $model->callbackUrl = $map['callbackUrl']; } if (isset($map['cardBizId'])) { $model->cardBizId = $map['cardBizId']; } if (isset($map['cardData'])) { $model->cardData = $map['cardData']; } if (isset($map['cardTemplateId'])) { $model->cardTemplateId = $map['cardTemplateId']; } return $model; } } src/link_1_0/Models/SendAgentOTOMessageRequest/detail/messageBody/link.php000064400000003432146412132660022443 0ustar00 '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/link_1_0/Models/SendAgentOTOMessageRequest/detail/messageBody/markdown.php000064400000002207146412132660023327 0ustar00 '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/link_1_0/Models/SendAgentOTOMessageRequest/detail/messageBody/text.php000064400000001577146412132660022502 0ustar00 '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/link_1_0/Models/SendAgentOTOMessageResponse.php000064400000002746146412132660016157 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendAgentOTOMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendAgentOTOMessageResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/SendAgentOTOMessageResponseBody.php000064400000002402146412132660016762 0ustar00 '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 SendAgentOTOMessageResponseBody */ 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/link_1_0/Models/SendAgentOTOMessageResponseBody/result.php000064400000001527146412132660020307 0ustar00 '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/link_1_0/Models/SendInteractiveOTOMessageHeaders.php000064400000002356146412132660017150 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendInteractiveOTOMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/SendInteractiveOTOMessageRequest.php000064400000001731146412132660017221 0ustar00 '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 SendInteractiveOTOMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['detail'])) { $model->detail = detail::fromMap($map['detail']); } return $model; } } src/link_1_0/Models/SendInteractiveOTOMessageRequest/detail.php000064400000005270146412132660020465 0ustar00 'callbackUrl', 'cardBizId' => 'cardBizId', 'cardData' => 'cardData', 'cardTemplateId' => 'cardTemplateId', 'userId' => 'userId', 'userIdPrivateDataMap' => 'userIdPrivateDataMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callbackUrl) { $res['callbackUrl'] = $this->callbackUrl; } if (null !== $this->cardBizId) { $res['cardBizId'] = $this->cardBizId; } if (null !== $this->cardData) { $res['cardData'] = $this->cardData; } if (null !== $this->cardTemplateId) { $res['cardTemplateId'] = $this->cardTemplateId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userIdPrivateDataMap) { $res['userIdPrivateDataMap'] = $this->userIdPrivateDataMap; } return $res; } /** * @param array $map * * @return detail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callbackUrl'])) { $model->callbackUrl = $map['callbackUrl']; } if (isset($map['cardBizId'])) { $model->cardBizId = $map['cardBizId']; } if (isset($map['cardData'])) { $model->cardData = $map['cardData']; } if (isset($map['cardTemplateId'])) { $model->cardTemplateId = $map['cardTemplateId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userIdPrivateDataMap'])) { $model->userIdPrivateDataMap = $map['userIdPrivateDataMap']; } return $model; } } src/link_1_0/Models/SendInteractiveOTOMessageResponse.php000064400000002776146412132660017401 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendInteractiveOTOMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendInteractiveOTOMessageResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/SendInteractiveOTOMessageResponseBody.php000064400000002424146412132660020205 0ustar00 '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 SendInteractiveOTOMessageResponseBody */ 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/link_1_0/Models/SendInteractiveOTOMessageResponseBody/result.php000064400000001535146412132660021525 0ustar00 '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/link_1_0/Models/SendTopBoxInteractiveOTOMessageHeaders.php000064400000002372146412132660020302 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendTopBoxInteractiveOTOMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/SendTopBoxInteractiveOTOMessageRequest.php000064400000001753146412132660020361 0ustar00 '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 SendTopBoxInteractiveOTOMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['detail'])) { $model->detail = detail::fromMap($map['detail']); } return $model; } } src/link_1_0/Models/SendTopBoxInteractiveOTOMessageRequest/detail.php000064400000006772146412132660021631 0ustar00 'callbackUrl', 'cardBizId' => 'cardBizId', 'cardData' => 'cardData', 'cardTemplateId' => 'cardTemplateId', 'expiredTime' => 'expiredTime', 'userId' => 'userId', 'userIdPrivateDataMap' => 'userIdPrivateDataMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callbackUrl) { $res['callbackUrl'] = $this->callbackUrl; } if (null !== $this->cardBizId) { $res['cardBizId'] = $this->cardBizId; } if (null !== $this->cardData) { $res['cardData'] = null !== $this->cardData ? $this->cardData->toMap() : null; } if (null !== $this->cardTemplateId) { $res['cardTemplateId'] = $this->cardTemplateId; } if (null !== $this->expiredTime) { $res['expiredTime'] = $this->expiredTime; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userIdPrivateDataMap) { $res['userIdPrivateDataMap'] = []; if (null !== $this->userIdPrivateDataMap && \is_array($this->userIdPrivateDataMap)) { foreach ($this->userIdPrivateDataMap as $key => $val) { $res['userIdPrivateDataMap'][$key] = null !== $val ? $val->toMap() : $val; } } } return $res; } /** * @param array $map * * @return detail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callbackUrl'])) { $model->callbackUrl = $map['callbackUrl']; } if (isset($map['cardBizId'])) { $model->cardBizId = $map['cardBizId']; } if (isset($map['cardData'])) { $model->cardData = cardData::fromMap($map['cardData']); } if (isset($map['cardTemplateId'])) { $model->cardTemplateId = $map['cardTemplateId']; } if (isset($map['expiredTime'])) { $model->expiredTime = $map['expiredTime']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userIdPrivateDataMap'])) { $model->userIdPrivateDataMap = $map['userIdPrivateDataMap']; } return $model; } } src/link_1_0/Models/SendTopBoxInteractiveOTOMessageRequest/detail/cardData.php000064400000002407146412132660023323 0ustar00 'cardMediaIdParamMap', 'cardParamMap' => 'cardParamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardMediaIdParamMap) { $res['cardMediaIdParamMap'] = $this->cardMediaIdParamMap; } 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['cardMediaIdParamMap'])) { $model->cardMediaIdParamMap = $map['cardMediaIdParamMap']; } if (isset($map['cardParamMap'])) { $model->cardParamMap = $map['cardParamMap']; } return $model; } } src/link_1_0/Models/SendTopBoxInteractiveOTOMessageResponse.php000064400000003026146412132660020522 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendTopBoxInteractiveOTOMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendTopBoxInteractiveOTOMessageResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/SendTopBoxInteractiveOTOMessageResponseBody.php000064400000002207146412132660021340 0ustar00 '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 SendTopBoxInteractiveOTOMessageResponseBody */ 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/link_1_0/Models/UpdateInteractiveOTOMessageHeaders.php000064400000002362146412132660017476 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInteractiveOTOMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/UpdateInteractiveOTOMessageRequest.php000064400000001737146412132660017560 0ustar00 '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 UpdateInteractiveOTOMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['detail'])) { $model->detail = detail::fromMap($map['detail']); } return $model; } } src/link_1_0/Models/UpdateInteractiveOTOMessageRequest/detail.php000064400000004226146412132660021016 0ustar00 'cardBizId', 'cardData' => 'cardData', 'updateOptions' => 'updateOptions', 'userIdPrivateDataMap' => 'userIdPrivateDataMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardBizId) { $res['cardBizId'] = $this->cardBizId; } if (null !== $this->cardData) { $res['cardData'] = $this->cardData; } if (null !== $this->updateOptions) { $res['updateOptions'] = null !== $this->updateOptions ? $this->updateOptions->toMap() : null; } if (null !== $this->userIdPrivateDataMap) { $res['userIdPrivateDataMap'] = $this->userIdPrivateDataMap; } return $res; } /** * @param array $map * * @return detail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardBizId'])) { $model->cardBizId = $map['cardBizId']; } if (isset($map['cardData'])) { $model->cardData = $map['cardData']; } if (isset($map['updateOptions'])) { $model->updateOptions = updateOptions::fromMap($map['updateOptions']); } if (isset($map['userIdPrivateDataMap'])) { $model->userIdPrivateDataMap = $map['userIdPrivateDataMap']; } return $model; } } src/link_1_0/Models/UpdateInteractiveOTOMessageRequest/detail/updateOptions.php000064400000002535146412132660023655 0ustar00 '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 updateOptions */ 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/link_1_0/Models/UpdateInteractiveOTOMessageResponse.php000064400000003006146412132660017715 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInteractiveOTOMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateInteractiveOTOMessageResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/UpdateInteractiveOTOMessageResponseBody.php000064400000002432146412132660020535 0ustar00 '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 UpdateInteractiveOTOMessageResponseBody */ 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/link_1_0/Models/UpdateInteractiveOTOMessageResponseBody/result.php000064400000001537146412132660022060 0ustar00 '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/link_1_0/Models/UpdateShortcutsHeaders.php000064400000002332146412132660015325 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateShortcutsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/link_1_0/Models/UpdateShortcutsRequest.php000064400000004015146412132660015402 0ustar00 'details', 'sessionId' => 'sessionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->details) { $res['details'] = []; if (null !== $this->details && \is_array($this->details)) { $n = 0; foreach ($this->details as $item) { $res['details'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sessionId) { $res['sessionId'] = $this->sessionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateShortcutsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['details'])) { if (!empty($map['details'])) { $model->details = []; $n = 0; foreach ($map['details'] as $item) { $model->details[$n++] = null !== $item ? details::fromMap($item) : $item; } } } if (isset($map['sessionId'])) { $model->sessionId = $map['sessionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/link_1_0/Models/UpdateShortcutsRequest/details.php000064400000005706146412132660017037 0ustar00 'actionUrl', 'callbackKey' => 'callbackKey', 'iconFont' => 'iconFont', 'iconMediaId' => 'iconMediaId', 'shortcutId' => 'shortcutId', 'slideIconMediaId' => 'slideIconMediaId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionUrl) { $res['actionUrl'] = $this->actionUrl; } if (null !== $this->callbackKey) { $res['callbackKey'] = $this->callbackKey; } if (null !== $this->iconFont) { $res['iconFont'] = $this->iconFont; } if (null !== $this->iconMediaId) { $res['iconMediaId'] = $this->iconMediaId; } if (null !== $this->shortcutId) { $res['shortcutId'] = $this->shortcutId; } if (null !== $this->slideIconMediaId) { $res['slideIconMediaId'] = $this->slideIconMediaId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return details */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionUrl'])) { $model->actionUrl = $map['actionUrl']; } if (isset($map['callbackKey'])) { $model->callbackKey = $map['callbackKey']; } if (isset($map['iconFont'])) { $model->iconFont = $map['iconFont']; } if (isset($map['iconMediaId'])) { $model->iconMediaId = $map['iconMediaId']; } if (isset($map['shortcutId'])) { $model->shortcutId = $map['shortcutId']; } if (isset($map['slideIconMediaId'])) { $model->slideIconMediaId = $map['slideIconMediaId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/link_1_0/Models/UpdateShortcutsResponse.php000064400000002726146412132660015557 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateShortcutsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateShortcutsResponseBody::fromMap($map['body']); } return $model; } } src/link_1_0/Models/UpdateShortcutsResponseBody.php000064400000001473146412132660016373 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateShortcutsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/live_1_0/Dingtalk.php000064400000143516146412132660011216 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $feedId * @param AddShareCidListRequest $request * @param AddShareCidListHeaders $headers * @param RuntimeOptions $runtime * * @return AddShareCidListResponse */ public function addShareCidListWithOptions($feedId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupIdType)) { $body['groupIdType'] = $request->groupIdType; } if (!Utils::isUnset($request->groupIds)) { $body['groupIds'] = $request->groupIds; } 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' => 'AddShareCidList', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/cloudFeeds/' . $feedId . '/share', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AddShareCidListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $feedId * @param AddShareCidListRequest $request * * @return AddShareCidListResponse */ public function addShareCidList($feedId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddShareCidListHeaders([]); return $this->addShareCidListWithOptions($feedId, $request, $headers, $runtime); } /** * @param CreateCloudFeedRequest $request * @param CreateCloudFeedHeaders $headers * @param RuntimeOptions $runtime * * @return CreateCloudFeedResponse */ public function createCloudFeedWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->coverUrl)) { $body['coverUrl'] = $request->coverUrl; } if (!Utils::isUnset($request->intro)) { $body['intro'] = $request->intro; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->videoUrl)) { $body['videoUrl'] = $request->videoUrl; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateCloudFeed', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/cloudFeeds', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateCloudFeedResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateCloudFeedRequest $request * * @return CreateCloudFeedResponse */ public function createCloudFeed($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCloudFeedHeaders([]); return $this->createCloudFeedWithOptions($request, $headers, $runtime); } /** * @param CreateLiveRequest $request * @param CreateLiveHeaders $headers * @param RuntimeOptions $runtime * * @return CreateLiveResponse */ public function createLiveWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->coverUrl)) { $body['coverUrl'] = $request->coverUrl; } if (!Utils::isUnset($request->introduction)) { $body['introduction'] = $request->introduction; } if (!Utils::isUnset($request->preEndTime)) { $body['preEndTime'] = $request->preEndTime; } if (!Utils::isUnset($request->preStartTime)) { $body['preStartTime'] = $request->preStartTime; } if (!Utils::isUnset($request->publicType)) { $body['publicType'] = $request->publicType; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } 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' => 'CreateLive', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/lives', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateLiveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateLiveRequest $request * * @return CreateLiveResponse */ public function createLive($request) { $runtime = new RuntimeOptions([]); $headers = new CreateLiveHeaders([]); return $this->createLiveWithOptions($request, $headers, $runtime); } /** * @param DeleteLiveRequest $request * @param DeleteLiveHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteLiveResponse */ public function deleteLiveWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->liveId)) { $query['liveId'] = $request->liveId; } 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' => 'DeleteLive', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/lives', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteLiveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteLiveRequest $request * * @return DeleteLiveResponse */ public function deleteLive($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteLiveHeaders([]); return $this->deleteLiveWithOptions($request, $headers, $runtime); } /** * @param string $feedId * @param DeleteLiveFeedRequest $request * @param DeleteLiveFeedHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteLiveFeedResponse */ public function deleteLiveFeedWithOptions($feedId, $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' => 'DeleteLiveFeed', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/openFeeds/' . $feedId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteLiveFeedResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $feedId * @param DeleteLiveFeedRequest $request * * @return DeleteLiveFeedResponse */ public function deleteLiveFeed($feedId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteLiveFeedHeaders([]); return $this->deleteLiveFeedWithOptions($feedId, $request, $headers, $runtime); } /** * @param string $feedId * @param EditFeedReplayRequest $request * @param EditFeedReplayHeaders $headers * @param RuntimeOptions $runtime * * @return EditFeedReplayResponse */ public function editFeedReplayWithOptions($feedId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->editEndTime)) { $body['editEndTime'] = $request->editEndTime; } if (!Utils::isUnset($request->editStartTime)) { $body['editStartTime'] = $request->editStartTime; } 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' => 'EditFeedReplay', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/openFeeds/' . $feedId . '/cutReplay', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return EditFeedReplayResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $feedId * @param EditFeedReplayRequest $request * * @return EditFeedReplayResponse */ public function editFeedReplay($feedId, $request) { $runtime = new RuntimeOptions([]); $headers = new EditFeedReplayHeaders([]); return $this->editFeedReplayWithOptions($feedId, $request, $headers, $runtime); } /** * @param GetLiveReplayUrlRequest $request * @param GetLiveReplayUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetLiveReplayUrlResponse */ public function getLiveReplayUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->liveId)) { $query['liveId'] = $request->liveId; } 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' => 'GetLiveReplayUrl', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/lives/replayUrls', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetLiveReplayUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetLiveReplayUrlRequest $request * * @return GetLiveReplayUrlResponse */ public function getLiveReplayUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetLiveReplayUrlHeaders([]); return $this->getLiveReplayUrlWithOptions($request, $headers, $runtime); } /** * @param GetUserAllLiveListRequest $request * @param GetUserAllLiveListHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserAllLiveListResponse */ public function getUserAllLiveListWithOptions($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->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->statuses)) { $body['statuses'] = $request->statuses; } 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' => 'GetUserAllLiveList', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/users/allLiveInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserAllLiveListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUserAllLiveListRequest $request * * @return GetUserAllLiveListResponse */ public function getUserAllLiveList($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserAllLiveListHeaders([]); return $this->getUserAllLiveListWithOptions($request, $headers, $runtime); } /** * @param GetUserCreateLiveListRequest $request * @param GetUserCreateLiveListHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserCreateLiveListResponse */ public function getUserCreateLiveListWithOptions($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->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->statuses)) { $body['statuses'] = $request->statuses; } 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' => 'GetUserCreateLiveList', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/users/createLiveInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserCreateLiveListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUserCreateLiveListRequest $request * * @return GetUserCreateLiveListResponse */ public function getUserCreateLiveList($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserCreateLiveListHeaders([]); return $this->getUserCreateLiveListWithOptions($request, $headers, $runtime); } /** * @param GetUserWatchLiveListRequest $request * @param GetUserWatchLiveListHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserWatchLiveListResponse */ public function getUserWatchLiveListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->filterType)) { $query['filterType'] = $request->filterType; } 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' => 'GetUserWatchLiveList', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/users/watchRecords', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserWatchLiveListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUserWatchLiveListRequest $request * * @return GetUserWatchLiveListResponse */ public function getUserWatchLiveList($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserWatchLiveListHeaders([]); return $this->getUserWatchLiveListWithOptions($request, $headers, $runtime); } /** * @param string $feedId * @param ModifyFeedWhiteListRequest $tmpReq * @param ModifyFeedWhiteListHeaders $headers * @param RuntimeOptions $runtime * * @return ModifyFeedWhiteListResponse */ public function modifyFeedWhiteListWithOptions($feedId, $tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new ModifyFeedWhiteListShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->modifyUserList)) { $request->modifyUserListShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->modifyUserList, 'modifyUserList', 'json'); } $query = []; if (!Utils::isUnset($request->action)) { $query['action'] = $request->action; } if (!Utils::isUnset($request->modifyUserListShrink)) { $query['modifyUserList'] = $request->modifyUserListShrink; } 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' => 'ModifyFeedWhiteList', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/openFeeds/' . $feedId . '/whiteList', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ModifyFeedWhiteListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $feedId * @param ModifyFeedWhiteListRequest $request * * @return ModifyFeedWhiteListResponse */ public function modifyFeedWhiteList($feedId, $request) { $runtime = new RuntimeOptions([]); $headers = new ModifyFeedWhiteListHeaders([]); return $this->modifyFeedWhiteListWithOptions($feedId, $request, $headers, $runtime); } /** * @param string $feedId * @param QueryFeedWhiteListRequest $request * @param QueryFeedWhiteListHeaders $headers * @param RuntimeOptions $runtime * * @return QueryFeedWhiteListResponse */ public function queryFeedWhiteListWithOptions($feedId, $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' => 'QueryFeedWhiteList', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/openFeeds/' . $feedId . '/whiteList', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryFeedWhiteListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $feedId * @param QueryFeedWhiteListRequest $request * * @return QueryFeedWhiteListResponse */ public function queryFeedWhiteList($feedId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryFeedWhiteListHeaders([]); return $this->queryFeedWhiteListWithOptions($feedId, $request, $headers, $runtime); } /** * @param QueryLiveInfoRequest $request * @param QueryLiveInfoHeaders $headers * @param RuntimeOptions $runtime * * @return QueryLiveInfoResponse */ public function queryLiveInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->liveId)) { $query['liveId'] = $request->liveId; } 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' => 'QueryLiveInfo', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/lives', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryLiveInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryLiveInfoRequest $request * * @return QueryLiveInfoResponse */ public function queryLiveInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryLiveInfoHeaders([]); return $this->queryLiveInfoWithOptions($request, $headers, $runtime); } /** * @param QueryLiveWatchDetailRequest $request * @param QueryLiveWatchDetailHeaders $headers * @param RuntimeOptions $runtime * * @return QueryLiveWatchDetailResponse */ public function queryLiveWatchDetailWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->liveId)) { $query['liveId'] = $request->liveId; } 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' => 'QueryLiveWatchDetail', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/lives/watchDetails', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryLiveWatchDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryLiveWatchDetailRequest $request * * @return QueryLiveWatchDetailResponse */ public function queryLiveWatchDetail($request) { $runtime = new RuntimeOptions([]); $headers = new QueryLiveWatchDetailHeaders([]); return $this->queryLiveWatchDetailWithOptions($request, $headers, $runtime); } /** * @param QueryLiveWatchUserListRequest $request * @param QueryLiveWatchUserListHeaders $headers * @param RuntimeOptions $runtime * * @return QueryLiveWatchUserListResponse */ public function queryLiveWatchUserListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->liveId)) { $query['liveId'] = $request->liveId; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } 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' => 'QueryLiveWatchUserList', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/lives/watchUsers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryLiveWatchUserListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryLiveWatchUserListRequest $request * * @return QueryLiveWatchUserListResponse */ public function queryLiveWatchUserList($request) { $runtime = new RuntimeOptions([]); $headers = new QueryLiveWatchUserListHeaders([]); return $this->queryLiveWatchUserListWithOptions($request, $headers, $runtime); } /** * @param QuerySubscribeStatusRequest $tmpReq * @param QuerySubscribeStatusHeaders $headers * @param RuntimeOptions $runtime * * @return QuerySubscribeStatusResponse */ public function querySubscribeStatusWithOptions($tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new QuerySubscribeStatusShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->body)) { $request->bodyShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->body, 'body', 'json'); } $query = []; if (!Utils::isUnset($request->bodyShrink)) { $query['body'] = $request->bodyShrink; } 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' => 'QuerySubscribeStatus', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/subscribeStatuses/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QuerySubscribeStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QuerySubscribeStatusRequest $request * * @return QuerySubscribeStatusResponse */ public function querySubscribeStatus($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySubscribeStatusHeaders([]); return $this->querySubscribeStatusWithOptions($request, $headers, $runtime); } /** * @param string $feedId * @param StartCloudFeedRequest $request * @param StartCloudFeedHeaders $headers * @param RuntimeOptions $runtime * * @return StartCloudFeedResponse */ public function startCloudFeedWithOptions($feedId, $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' => 'StartCloudFeed', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/cloudFeeds/' . $feedId . '/start', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return StartCloudFeedResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $feedId * @param StartCloudFeedRequest $request * * @return StartCloudFeedResponse */ public function startCloudFeed($feedId, $request) { $runtime = new RuntimeOptions([]); $headers = new StartCloudFeedHeaders([]); return $this->startCloudFeedWithOptions($feedId, $request, $headers, $runtime); } /** * @param string $feedId * @param StopCloudFeedRequest $request * @param StopCloudFeedHeaders $headers * @param RuntimeOptions $runtime * * @return StopCloudFeedResponse */ public function stopCloudFeedWithOptions($feedId, $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' => 'StopCloudFeed', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/cloudFeeds/' . $feedId . '/stop', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return StopCloudFeedResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $feedId * @param StopCloudFeedRequest $request * * @return StopCloudFeedResponse */ public function stopCloudFeed($feedId, $request) { $runtime = new RuntimeOptions([]); $headers = new StopCloudFeedHeaders([]); return $this->stopCloudFeedWithOptions($feedId, $request, $headers, $runtime); } /** * @param SubscribeLiveRequest $request * @param SubscribeLiveHeaders $headers * @param RuntimeOptions $runtime * * @return SubscribeLiveResponse */ public function subscribeLiveWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->liveId)) { $query['liveId'] = $request->liveId; } if (!Utils::isUnset($request->subscribe)) { $query['subscribe'] = $request->subscribe; } 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' => 'SubscribeLive', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/lives/subscribe', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SubscribeLiveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SubscribeLiveRequest $request * * @return SubscribeLiveResponse */ public function subscribeLive($request) { $runtime = new RuntimeOptions([]); $headers = new SubscribeLiveHeaders([]); return $this->subscribeLiveWithOptions($request, $headers, $runtime); } /** * @param UpdateLiveRequest $request * @param UpdateLiveHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateLiveResponse */ public function updateLiveWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->coverUrl)) { $body['coverUrl'] = $request->coverUrl; } if (!Utils::isUnset($request->introduction)) { $body['introduction'] = $request->introduction; } if (!Utils::isUnset($request->liveId)) { $body['liveId'] = $request->liveId; } if (!Utils::isUnset($request->preEndTime)) { $body['preEndTime'] = $request->preEndTime; } if (!Utils::isUnset($request->preStartTime)) { $body['preStartTime'] = $request->preStartTime; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } 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' => 'UpdateLive', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/lives', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateLiveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateLiveRequest $request * * @return UpdateLiveResponse */ public function updateLive($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateLiveHeaders([]); return $this->updateLiveWithOptions($request, $headers, $runtime); } /** * @param string $feedId * @param UpdateLiveFeedRequest $request * @param UpdateLiveFeedHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateLiveFeedResponse */ public function updateLiveFeedWithOptions($feedId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->coverUrl)) { $query['coverUrl'] = $request->coverUrl; } if (!Utils::isUnset($request->introduction)) { $query['introduction'] = $request->introduction; } if (!Utils::isUnset($request->startTime)) { $query['startTime'] = $request->startTime; } if (!Utils::isUnset($request->title)) { $query['title'] = $request->title; } 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' => 'UpdateLiveFeed', 'version' => 'live_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/live/openFeeds/' . $feedId . '', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateLiveFeedResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $feedId * @param UpdateLiveFeedRequest $request * * @return UpdateLiveFeedResponse */ public function updateLiveFeed($feedId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateLiveFeedHeaders([]); return $this->updateLiveFeedWithOptions($feedId, $request, $headers, $runtime); } } src/live_1_0/Models/AddShareCidListHeaders.php000064400000002332146412132660015115 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddShareCidListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/AddShareCidListRequest.php000064400000003012146412132660015166 0ustar00 'groupIdType', 'groupIds' => 'groupIds', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupIdType) { $res['groupIdType'] = $this->groupIdType; } if (null !== $this->groupIds) { $res['groupIds'] = $this->groupIds; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return AddShareCidListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupIdType'])) { $model->groupIdType = $map['groupIdType']; } if (isset($map['groupIds'])) { if (!empty($map['groupIds'])) { $model->groupIds = $map['groupIds']; } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/live_1_0/Models/AddShareCidListResponse.php000064400000002726146412132660015347 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddShareCidListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddShareCidListResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/AddShareCidListResponseBody.php000064400000002620146412132660016156 0ustar00 'hasShareSuccess', 'shareSuccessGroupList' => 'shareSuccessGroupList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasShareSuccess) { $res['hasShareSuccess'] = $this->hasShareSuccess; } if (null !== $this->shareSuccessGroupList) { $res['shareSuccessGroupList'] = $this->shareSuccessGroupList; } return $res; } /** * @param array $map * * @return AddShareCidListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasShareSuccess'])) { $model->hasShareSuccess = $map['hasShareSuccess']; } if (isset($map['shareSuccessGroupList'])) { if (!empty($map['shareSuccessGroupList'])) { $model->shareSuccessGroupList = $map['shareSuccessGroupList']; } } return $model; } } src/live_1_0/Models/CreateCloudFeedHeaders.php000064400000002332146412132660015144 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateCloudFeedHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/CreateCloudFeedRequest.php000064400000004714146412132660015227 0ustar00 'coverUrl', 'intro' => 'intro', 'startTime' => 'startTime', 'title' => 'title', 'userId' => 'userId', 'videoUrl' => 'videoUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->intro) { $res['intro'] = $this->intro; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->videoUrl) { $res['videoUrl'] = $this->videoUrl; } return $res; } /** * @param array $map * * @return CreateCloudFeedRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['intro'])) { $model->intro = $map['intro']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['videoUrl'])) { $model->videoUrl = $map['videoUrl']; } return $model; } } src/live_1_0/Models/CreateCloudFeedResponse.php000064400000002726146412132660015376 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateCloudFeedResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateCloudFeedResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/CreateCloudFeedResponseBody.php000064400000001562146412132660016211 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CreateCloudFeedResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/live_1_0/Models/CreateLiveHeaders.php000064400000002320146412132660014206 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateLiveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/CreateLiveRequest.php000064400000005613146412132660014273 0ustar00 'coverUrl', 'introduction' => 'introduction', 'preEndTime' => 'preEndTime', 'preStartTime' => 'preStartTime', 'publicType' => 'publicType', 'title' => 'title', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->introduction) { $res['introduction'] = $this->introduction; } if (null !== $this->preEndTime) { $res['preEndTime'] = $this->preEndTime; } if (null !== $this->preStartTime) { $res['preStartTime'] = $this->preStartTime; } if (null !== $this->publicType) { $res['publicType'] = $this->publicType; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return CreateLiveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['introduction'])) { $model->introduction = $map['introduction']; } if (isset($map['preEndTime'])) { $model->preEndTime = $map['preEndTime']; } if (isset($map['preStartTime'])) { $model->preStartTime = $map['preStartTime']; } if (isset($map['publicType'])) { $model->publicType = $map['publicType']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/live_1_0/Models/CreateLiveResponse.php000064400000002702146412132660014435 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateLiveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateLiveResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/CreateLiveResponseBody.php000064400000001673146412132660015261 0ustar00 '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 CreateLiveResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/live_1_0/Models/CreateLiveResponseBody/result.php000064400000001546146412132660016576 0ustar00 'liveId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->liveId) { $res['liveId'] = $this->liveId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['liveId'])) { $model->liveId = $map['liveId']; } return $model; } } src/live_1_0/Models/DeleteLiveFeedHeaders.php000064400000002330146412132660014772 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteLiveFeedHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/DeleteLiveFeedRequest.php000064400000001531146412132660015051 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DeleteLiveFeedRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/live_1_0/Models/DeleteLiveFeedResponse.php000064400000002722146412132660015222 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteLiveFeedResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteLiveFeedResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/DeleteLiveFeedResponseBody.php000064400000001560146412132660016037 0ustar00 'hasDelete', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasDelete) { $res['hasDelete'] = $this->hasDelete; } return $res; } /** * @param array $map * * @return DeleteLiveFeedResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasDelete'])) { $model->hasDelete = $map['hasDelete']; } return $model; } } src/live_1_0/Models/DeleteLiveHeaders.php000064400000002320146412132660014205 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteLiveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/DeleteLiveRequest.php000064400000002257146412132660014273 0ustar00 'liveId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->liveId) { $res['liveId'] = $this->liveId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return DeleteLiveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['liveId'])) { $model->liveId = $map['liveId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/live_1_0/Models/DeleteLiveResponse.php000064400000002702146412132660014434 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteLiveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteLiveResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/DeleteLiveResponseBody.php000064400000001673146412132660015260 0ustar00 '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 DeleteLiveResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/live_1_0/Models/DeleteLiveResponseBody/result.php000064400000001461146412132660016571 0ustar00 '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/live_1_0/Models/EditFeedReplayHeaders.php000064400000002330146412132660015012 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EditFeedReplayHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/EditFeedReplayRequest.php000064400000003056146412132660015075 0ustar00 'editEndTime', 'editStartTime' => 'editStartTime', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->editEndTime) { $res['editEndTime'] = $this->editEndTime; } if (null !== $this->editStartTime) { $res['editStartTime'] = $this->editStartTime; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return EditFeedReplayRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['editEndTime'])) { $model->editEndTime = $map['editEndTime']; } if (isset($map['editStartTime'])) { $model->editStartTime = $map['editStartTime']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/live_1_0/Models/EditFeedReplayResponse.php000064400000002722146412132660015242 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EditFeedReplayResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EditFeedReplayResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/EditFeedReplayResponseBody.php000064400000001473146412132660016062 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return EditFeedReplayResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/live_1_0/Models/GetLiveReplayUrlHeaders.php000064400000002334146412132660015367 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetLiveReplayUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/GetLiveReplayUrlRequest.php000064400000002273146412132660015446 0ustar00 'liveId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->liveId) { $res['liveId'] = $this->liveId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetLiveReplayUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['liveId'])) { $model->liveId = $map['liveId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/live_1_0/Models/GetLiveReplayUrlResponse.php000064400000002732146412132660015614 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetLiveReplayUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetLiveReplayUrlResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/GetLiveReplayUrlResponseBody.php000064400000001715146412132660016432 0ustar00 '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 GetLiveReplayUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/live_1_0/Models/GetLiveReplayUrlResponseBody/result.php000064400000001700146412132660017742 0ustar00 'replayUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->replayUrl) { $res['replayUrl'] = $this->replayUrl; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['replayUrl'])) { $model->replayUrl = $map['replayUrl']; } return $model; } } src/live_1_0/Models/GetUserAllLiveListHeaders.php000064400000002340146412132660015650 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserAllLiveListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/GetUserAllLiveListRequest.php000064400000005241146412132660015730 0ustar00 'endTime', 'startTime' => 'startTime', 'statuses' => 'statuses', 'title' => 'title', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', '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->statuses) { $res['statuses'] = $this->statuses; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetUserAllLiveListRequest */ 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['statuses'])) { if (!empty($map['statuses'])) { $model->statuses = $map['statuses']; } } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/live_1_0/Models/GetUserAllLiveListResponse.php000064400000002742146412132660016101 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserAllLiveListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserAllLiveListResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/GetUserAllLiveListResponseBody.php000064400000001723146412132660016715 0ustar00 '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 GetUserAllLiveListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/live_1_0/Models/GetUserAllLiveListResponseBody/result.php000064400000003657146412132660020243 0ustar00 'hasFinish', 'liveInfoPopModelList' => 'liveInfoPopModelList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasFinish) { $res['hasFinish'] = $this->hasFinish; } if (null !== $this->liveInfoPopModelList) { $res['liveInfoPopModelList'] = []; if (null !== $this->liveInfoPopModelList && \is_array($this->liveInfoPopModelList)) { $n = 0; foreach ($this->liveInfoPopModelList as $item) { $res['liveInfoPopModelList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasFinish'])) { $model->hasFinish = $map['hasFinish']; } if (isset($map['liveInfoPopModelList'])) { if (!empty($map['liveInfoPopModelList'])) { $model->liveInfoPopModelList = []; $n = 0; foreach ($map['liveInfoPopModelList'] as $item) { $model->liveInfoPopModelList[$n++] = null !== $item ? liveInfoPopModelList::fromMap($item) : $item; } } } return $model; } } src/live_1_0/Models/GetUserAllLiveListResponseBody/result/liveInfoPopModelList.php000064400000003101146412132660024272 0ustar00 'extraInfo', 'liveBasicInfo' => 'liveBasicInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extraInfo) { $res['extraInfo'] = null !== $this->extraInfo ? $this->extraInfo->toMap() : null; } if (null !== $this->liveBasicInfo) { $res['liveBasicInfo'] = null !== $this->liveBasicInfo ? $this->liveBasicInfo->toMap() : null; } return $res; } /** * @param array $map * * @return liveInfoPopModelList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extraInfo'])) { $model->extraInfo = extraInfo::fromMap($map['extraInfo']); } if (isset($map['liveBasicInfo'])) { $model->liveBasicInfo = liveBasicInfo::fromMap($map['liveBasicInfo']); } return $model; } } src/live_1_0/Models/GetUserAllLiveListResponseBody/result/liveInfoPopModelList/extraInfo.php000064400000003142146412132660026236 0ustar00 'hasSubscribed', 'isForecastExpired' => 'isForecastExpired', 'watchProgressMs' => 'watchProgressMs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasSubscribed) { $res['hasSubscribed'] = $this->hasSubscribed; } if (null !== $this->isForecastExpired) { $res['isForecastExpired'] = $this->isForecastExpired; } if (null !== $this->watchProgressMs) { $res['watchProgressMs'] = $this->watchProgressMs; } return $res; } /** * @param array $map * * @return extraInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasSubscribed'])) { $model->hasSubscribed = $map['hasSubscribed']; } if (isset($map['isForecastExpired'])) { $model->isForecastExpired = $map['isForecastExpired']; } if (isset($map['watchProgressMs'])) { $model->watchProgressMs = $map['watchProgressMs']; } return $model; } } src/live_1_0/Models/GetUserAllLiveListResponseBody/result/liveInfoPopModelList/liveBasicInfo.php000064400000010034146412132660027012 0ustar00 'coverUrl', 'duration' => 'duration', 'endTime' => 'endTime', 'introduction' => 'introduction', 'liveId' => 'liveId', 'livePlayUrl' => 'livePlayUrl', 'liveStatus' => 'liveStatus', 'startTime' => 'startTime', 'subscribeCount' => 'subscribeCount', 'title' => 'title', 'unionId' => 'unionId', 'uv' => 'uv', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->introduction) { $res['introduction'] = $this->introduction; } if (null !== $this->liveId) { $res['liveId'] = $this->liveId; } if (null !== $this->livePlayUrl) { $res['livePlayUrl'] = $this->livePlayUrl; } if (null !== $this->liveStatus) { $res['liveStatus'] = $this->liveStatus; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->subscribeCount) { $res['subscribeCount'] = $this->subscribeCount; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->uv) { $res['uv'] = $this->uv; } return $res; } /** * @param array $map * * @return liveBasicInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['introduction'])) { $model->introduction = $map['introduction']; } if (isset($map['liveId'])) { $model->liveId = $map['liveId']; } if (isset($map['livePlayUrl'])) { $model->livePlayUrl = $map['livePlayUrl']; } if (isset($map['liveStatus'])) { $model->liveStatus = $map['liveStatus']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['subscribeCount'])) { $model->subscribeCount = $map['subscribeCount']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['uv'])) { $model->uv = $map['uv']; } return $model; } } src/live_1_0/Models/GetUserCreateLiveListHeaders.php000064400000002346146412132660016351 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserCreateLiveListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/GetUserCreateLiveListRequest.php000064400000005263146412132660016427 0ustar00 'endTime', 'startTime' => 'startTime', 'statuses' => 'statuses', 'title' => 'title', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', '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->statuses) { $res['statuses'] = $this->statuses; } if (null !== $this->title) { $res['title'] = $this->title; } 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 GetUserCreateLiveListRequest */ 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['statuses'])) { if (!empty($map['statuses'])) { $model->statuses = $map['statuses']; } } if (isset($map['title'])) { $model->title = $map['title']; } 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/live_1_0/Models/GetUserCreateLiveListResponse.php000064400000002756146412132660016601 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserCreateLiveListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserCreateLiveListResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/GetUserCreateLiveListResponseBody.php000064400000001734146412132660017412 0ustar00 '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 GetUserCreateLiveListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/live_1_0/Models/GetUserCreateLiveListResponseBody/result.php000064400000004772146412132660020735 0ustar00 'hasFinish', 'liveInfoPopModelList' => 'liveInfoPopModelList', 'nextToken' => 'nextToken', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasFinish) { $res['hasFinish'] = $this->hasFinish; } if (null !== $this->liveInfoPopModelList) { $res['liveInfoPopModelList'] = []; if (null !== $this->liveInfoPopModelList && \is_array($this->liveInfoPopModelList)) { $n = 0; foreach ($this->liveInfoPopModelList as $item) { $res['liveInfoPopModelList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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['hasFinish'])) { $model->hasFinish = $map['hasFinish']; } if (isset($map['liveInfoPopModelList'])) { if (!empty($map['liveInfoPopModelList'])) { $model->liveInfoPopModelList = []; $n = 0; foreach ($map['liveInfoPopModelList'] as $item) { $model->liveInfoPopModelList[$n++] = null !== $item ? liveInfoPopModelList::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/live_1_0/Models/GetUserCreateLiveListResponseBody/result/liveInfoPopModelList.php000064400000003172146412132660024775 0ustar00 'hasSubscribed', 'liveBasicInfo' => 'liveBasicInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasSubscribed) { $res['hasSubscribed'] = null !== $this->hasSubscribed ? $this->hasSubscribed->toMap() : null; } if (null !== $this->liveBasicInfo) { $res['liveBasicInfo'] = null !== $this->liveBasicInfo ? $this->liveBasicInfo->toMap() : null; } return $res; } /** * @param array $map * * @return liveInfoPopModelList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasSubscribed'])) { $model->hasSubscribed = hasSubscribed::fromMap($map['hasSubscribed']); } if (isset($map['liveBasicInfo'])) { $model->liveBasicInfo = liveBasicInfo::fromMap($map['liveBasicInfo']); } return $model; } } src/live_1_0/Models/GetUserCreateLiveListResponseBody/result/liveInfoPopModelList/hasSubscribed.php000064400000003155146412132660027557 0ustar00 'hasSubscribed', 'isForecastExpired' => 'isForecastExpired', 'watchProgressMs' => 'watchProgressMs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasSubscribed) { $res['hasSubscribed'] = $this->hasSubscribed; } if (null !== $this->isForecastExpired) { $res['isForecastExpired'] = $this->isForecastExpired; } if (null !== $this->watchProgressMs) { $res['watchProgressMs'] = $this->watchProgressMs; } return $res; } /** * @param array $map * * @return hasSubscribed */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasSubscribed'])) { $model->hasSubscribed = $map['hasSubscribed']; } if (isset($map['isForecastExpired'])) { $model->isForecastExpired = $map['isForecastExpired']; } if (isset($map['watchProgressMs'])) { $model->watchProgressMs = $map['watchProgressMs']; } return $model; } } src/live_1_0/Models/GetUserCreateLiveListResponseBody/result/liveInfoPopModelList/liveBasicInfo.php000064400000010037146412132660027510 0ustar00 'coverUrl', 'duration' => 'duration', 'endTime' => 'endTime', 'introduction' => 'introduction', 'liveId' => 'liveId', 'livePlayUrl' => 'livePlayUrl', 'liveStatus' => 'liveStatus', 'startTime' => 'startTime', 'subscribeCount' => 'subscribeCount', 'title' => 'title', 'unionId' => 'unionId', 'uv' => 'uv', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->introduction) { $res['introduction'] = $this->introduction; } if (null !== $this->liveId) { $res['liveId'] = $this->liveId; } if (null !== $this->livePlayUrl) { $res['livePlayUrl'] = $this->livePlayUrl; } if (null !== $this->liveStatus) { $res['liveStatus'] = $this->liveStatus; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->subscribeCount) { $res['subscribeCount'] = $this->subscribeCount; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->uv) { $res['uv'] = $this->uv; } return $res; } /** * @param array $map * * @return liveBasicInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['introduction'])) { $model->introduction = $map['introduction']; } if (isset($map['liveId'])) { $model->liveId = $map['liveId']; } if (isset($map['livePlayUrl'])) { $model->livePlayUrl = $map['livePlayUrl']; } if (isset($map['liveStatus'])) { $model->liveStatus = $map['liveStatus']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['subscribeCount'])) { $model->subscribeCount = $map['subscribeCount']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['uv'])) { $model->uv = $map['uv']; } return $model; } } src/live_1_0/Models/GetUserWatchLiveListHeaders.php000064400000002344146412132660016212 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserWatchLiveListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/GetUserWatchLiveListRequest.php000064400000003561146412132660016271 0ustar00 'filterType', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->filterType) { $res['filterType'] = $this->filterType; } 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 GetUserWatchLiveListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['filterType'])) { $model->filterType = $map['filterType']; } 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/live_1_0/Models/GetUserWatchLiveListResponse.php000064400000002752146412132660016440 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserWatchLiveListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserWatchLiveListResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/GetUserWatchLiveListResponseBody.php000064400000001731146412132660017252 0ustar00 '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 GetUserWatchLiveListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/live_1_0/Models/GetUserWatchLiveListResponseBody/result.php000064400000004770146412132660020576 0ustar00 'hasFinish', 'liveInfoPopModelList' => 'liveInfoPopModelList', 'nextToken' => 'nextToken', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasFinish) { $res['hasFinish'] = $this->hasFinish; } if (null !== $this->liveInfoPopModelList) { $res['liveInfoPopModelList'] = []; if (null !== $this->liveInfoPopModelList && \is_array($this->liveInfoPopModelList)) { $n = 0; foreach ($this->liveInfoPopModelList as $item) { $res['liveInfoPopModelList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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['hasFinish'])) { $model->hasFinish = $map['hasFinish']; } if (isset($map['liveInfoPopModelList'])) { if (!empty($map['liveInfoPopModelList'])) { $model->liveInfoPopModelList = []; $n = 0; foreach ($map['liveInfoPopModelList'] as $item) { $model->liveInfoPopModelList[$n++] = null !== $item ? liveInfoPopModelList::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/live_1_0/Models/GetUserWatchLiveListResponseBody/result/liveInfoPopModelList.php000064400000003107146412132660024636 0ustar00 'extraInfo', 'liveBasicInfo' => 'liveBasicInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extraInfo) { $res['extraInfo'] = null !== $this->extraInfo ? $this->extraInfo->toMap() : null; } if (null !== $this->liveBasicInfo) { $res['liveBasicInfo'] = null !== $this->liveBasicInfo ? $this->liveBasicInfo->toMap() : null; } return $res; } /** * @param array $map * * @return liveInfoPopModelList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extraInfo'])) { $model->extraInfo = extraInfo::fromMap($map['extraInfo']); } if (isset($map['liveBasicInfo'])) { $model->liveBasicInfo = liveBasicInfo::fromMap($map['liveBasicInfo']); } return $model; } } src/live_1_0/Models/GetUserWatchLiveListResponseBody/result/liveInfoPopModelList/extraInfo.php000064400000003144146412132660026576 0ustar00 'hasSubscribed', 'isForecastExpired' => 'isForecastExpired', 'watchProgressMs' => 'watchProgressMs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasSubscribed) { $res['hasSubscribed'] = $this->hasSubscribed; } if (null !== $this->isForecastExpired) { $res['isForecastExpired'] = $this->isForecastExpired; } if (null !== $this->watchProgressMs) { $res['watchProgressMs'] = $this->watchProgressMs; } return $res; } /** * @param array $map * * @return extraInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasSubscribed'])) { $model->hasSubscribed = $map['hasSubscribed']; } if (isset($map['isForecastExpired'])) { $model->isForecastExpired = $map['isForecastExpired']; } if (isset($map['watchProgressMs'])) { $model->watchProgressMs = $map['watchProgressMs']; } return $model; } } src/live_1_0/Models/GetUserWatchLiveListResponseBody/result/liveInfoPopModelList/liveBasicInfo.php000064400000010036146412132660027352 0ustar00 'coverUrl', 'duration' => 'duration', 'endTime' => 'endTime', 'introduction' => 'introduction', 'liveId' => 'liveId', 'livePlayUrl' => 'livePlayUrl', 'liveStatus' => 'liveStatus', 'startTime' => 'startTime', 'subscribeCount' => 'subscribeCount', 'title' => 'title', 'unionId' => 'unionId', 'uv' => 'uv', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->introduction) { $res['introduction'] = $this->introduction; } if (null !== $this->liveId) { $res['liveId'] = $this->liveId; } if (null !== $this->livePlayUrl) { $res['livePlayUrl'] = $this->livePlayUrl; } if (null !== $this->liveStatus) { $res['liveStatus'] = $this->liveStatus; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->subscribeCount) { $res['subscribeCount'] = $this->subscribeCount; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->uv) { $res['uv'] = $this->uv; } return $res; } /** * @param array $map * * @return liveBasicInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['introduction'])) { $model->introduction = $map['introduction']; } if (isset($map['liveId'])) { $model->liveId = $map['liveId']; } if (isset($map['livePlayUrl'])) { $model->livePlayUrl = $map['livePlayUrl']; } if (isset($map['liveStatus'])) { $model->liveStatus = $map['liveStatus']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['subscribeCount'])) { $model->subscribeCount = $map['subscribeCount']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['uv'])) { $model->uv = $map['uv']; } return $model; } } src/live_1_0/Models/ModifyFeedWhiteListHeaders.php000064400000002342146412132660016037 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ModifyFeedWhiteListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/ModifyFeedWhiteListRequest.php000064400000003063146412132660016115 0ustar00 'action', 'modifyUserList' => 'modifyUserList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->modifyUserList) { $res['modifyUserList'] = $this->modifyUserList; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ModifyFeedWhiteListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['modifyUserList'])) { if (!empty($map['modifyUserList'])) { $model->modifyUserList = $map['modifyUserList']; } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/live_1_0/Models/ModifyFeedWhiteListResponse.php000064400000002746146412132660016272 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ModifyFeedWhiteListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ModifyFeedWhiteListResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/ModifyFeedWhiteListResponseBody.php000064400000001537146412132660017105 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ModifyFeedWhiteListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/live_1_0/Models/ModifyFeedWhiteListShrinkRequest.php000064400000003043146412132660017272 0ustar00 'action', 'modifyUserListShrink' => 'modifyUserList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->modifyUserListShrink) { $res['modifyUserList'] = $this->modifyUserListShrink; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ModifyFeedWhiteListShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['modifyUserList'])) { $model->modifyUserListShrink = $map['modifyUserList']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/live_1_0/Models/QueryFeedWhiteListHeaders.php000064400000002340146412132660015713 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryFeedWhiteListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/QueryFeedWhiteListRequest.php000064400000001541146412132660015772 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryFeedWhiteListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/live_1_0/Models/QueryFeedWhiteListResponse.php000064400000002742146412132660016144 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryFeedWhiteListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryFeedWhiteListResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/QueryFeedWhiteListResponseBody.php000064400000001535146412132660016761 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return QueryFeedWhiteListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/live_1_0/Models/QueryLiveInfoHeaders.php000064400000002326146412132660014732 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryLiveInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/QueryLiveInfoRequest.php000064400000002265146412132660015011 0ustar00 'liveId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->liveId) { $res['liveId'] = $this->liveId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryLiveInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['liveId'])) { $model->liveId = $map['liveId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/live_1_0/Models/QueryLiveInfoResponse.php000064400000002716146412132660015160 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryLiveInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryLiveInfoResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/QueryLiveInfoResponseBody.php000064400000001704146412132660015772 0ustar00 '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 QueryLiveInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/live_1_0/Models/QueryLiveInfoResponseBody/result.php000064400000001731146412132660017310 0ustar00 'liveInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->liveInfo) { $res['liveInfo'] = null !== $this->liveInfo ? $this->liveInfo->toMap() : null; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['liveInfo'])) { $model->liveInfo = liveInfo::fromMap($map['liveInfo']); } return $model; } } src/live_1_0/Models/QueryLiveInfoResponseBody/result/liveInfo.php000064400000012007146412132660021061 0ustar00 'coverUrl', 'duration' => 'duration', 'endTime' => 'endTime', 'introduction' => 'introduction', 'liveId' => 'liveId', 'livePlayUrl' => 'livePlayUrl', 'liveStatus' => 'liveStatus', 'playbackDuration' => 'playbackDuration', 'startTime' => 'startTime', 'subscribeCount' => 'subscribeCount', 'title' => 'title', 'unionId' => 'unionId', 'uv' => 'uv', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->introduction) { $res['introduction'] = $this->introduction; } if (null !== $this->liveId) { $res['liveId'] = $this->liveId; } if (null !== $this->livePlayUrl) { $res['livePlayUrl'] = $this->livePlayUrl; } if (null !== $this->liveStatus) { $res['liveStatus'] = $this->liveStatus; } if (null !== $this->playbackDuration) { $res['playbackDuration'] = $this->playbackDuration; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->subscribeCount) { $res['subscribeCount'] = $this->subscribeCount; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->uv) { $res['uv'] = $this->uv; } return $res; } /** * @param array $map * * @return liveInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['introduction'])) { $model->introduction = $map['introduction']; } if (isset($map['liveId'])) { $model->liveId = $map['liveId']; } if (isset($map['livePlayUrl'])) { $model->livePlayUrl = $map['livePlayUrl']; } if (isset($map['liveStatus'])) { $model->liveStatus = $map['liveStatus']; } if (isset($map['playbackDuration'])) { $model->playbackDuration = $map['playbackDuration']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['subscribeCount'])) { $model->subscribeCount = $map['subscribeCount']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['uv'])) { $model->uv = $map['uv']; } return $model; } } src/live_1_0/Models/QueryLiveWatchDetailHeaders.php000064400000002344146412132660016230 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryLiveWatchDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/QueryLiveWatchDetailRequest.php000064400000002303146412132660016300 0ustar00 'liveId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->liveId) { $res['liveId'] = $this->liveId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryLiveWatchDetailRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['liveId'])) { $model->liveId = $map['liveId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/live_1_0/Models/QueryLiveWatchDetailResponse.php000064400000002752146412132660016456 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryLiveWatchDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryLiveWatchDetailResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/QueryLiveWatchDetailResponseBody.php000064400000001731146412132660017270 0ustar00 '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 QueryLiveWatchDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/live_1_0/Models/QueryLiveWatchDetailResponseBody/result.php000064400000006040146412132660020604 0ustar00 'avgWatchTime', 'liveUv' => 'liveUv', 'msgCount' => 'msgCount', 'playbackUv' => 'playbackUv', 'praiseCount' => 'praiseCount', 'pv' => 'pv', 'totalWatchTime' => 'totalWatchTime', 'uv' => 'uv', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avgWatchTime) { $res['avgWatchTime'] = $this->avgWatchTime; } if (null !== $this->liveUv) { $res['liveUv'] = $this->liveUv; } if (null !== $this->msgCount) { $res['msgCount'] = $this->msgCount; } if (null !== $this->playbackUv) { $res['playbackUv'] = $this->playbackUv; } if (null !== $this->praiseCount) { $res['praiseCount'] = $this->praiseCount; } if (null !== $this->pv) { $res['pv'] = $this->pv; } if (null !== $this->totalWatchTime) { $res['totalWatchTime'] = $this->totalWatchTime; } if (null !== $this->uv) { $res['uv'] = $this->uv; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avgWatchTime'])) { $model->avgWatchTime = $map['avgWatchTime']; } if (isset($map['liveUv'])) { $model->liveUv = $map['liveUv']; } if (isset($map['msgCount'])) { $model->msgCount = $map['msgCount']; } if (isset($map['playbackUv'])) { $model->playbackUv = $map['playbackUv']; } if (isset($map['praiseCount'])) { $model->praiseCount = $map['praiseCount']; } if (isset($map['pv'])) { $model->pv = $map['pv']; } if (isset($map['totalWatchTime'])) { $model->totalWatchTime = $map['totalWatchTime']; } if (isset($map['uv'])) { $model->uv = $map['uv']; } return $model; } } src/live_1_0/Models/QueryLiveWatchUserListHeaders.php000064400000002350146412132660016575 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryLiveWatchUserListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/QueryLiveWatchUserListRequest.php000064400000003433146412132660016655 0ustar00 'liveId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->liveId) { $res['liveId'] = $this->liveId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryLiveWatchUserListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['liveId'])) { $model->liveId = $map['liveId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/live_1_0/Models/QueryLiveWatchUserListResponse.php000064400000002762146412132660017027 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryLiveWatchUserListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryLiveWatchUserListResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/QueryLiveWatchUserListResponseBody.php000064400000001737146412132660017646 0ustar00 '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 QueryLiveWatchUserListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/live_1_0/Models/QueryLiveWatchUserListResponseBody/result.php000064400000004727146412132660021166 0ustar00 'orgUsesList', 'outOrgUserList' => 'outOrgUserList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orgUsesList) { $res['orgUsesList'] = []; if (null !== $this->orgUsesList && \is_array($this->orgUsesList)) { $n = 0; foreach ($this->orgUsesList as $item) { $res['orgUsesList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->outOrgUserList) { $res['outOrgUserList'] = []; if (null !== $this->outOrgUserList && \is_array($this->outOrgUserList)) { $n = 0; foreach ($this->outOrgUserList as $item) { $res['outOrgUserList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orgUsesList'])) { if (!empty($map['orgUsesList'])) { $model->orgUsesList = []; $n = 0; foreach ($map['orgUsesList'] as $item) { $model->orgUsesList[$n++] = null !== $item ? orgUsesList::fromMap($item) : $item; } } } if (isset($map['outOrgUserList'])) { if (!empty($map['outOrgUserList'])) { $model->outOrgUserList = []; $n = 0; foreach ($map['outOrgUserList'] as $item) { $model->outOrgUserList[$n++] = null !== $item ? outOrgUserList::fromMap($item) : $item; } } } return $model; } } src/live_1_0/Models/QueryLiveWatchUserListResponseBody/result/orgUsesList.php000064400000005651146412132660023446 0ustar00 'deptName', 'name' => 'name', 'unionId' => 'unionId', 'userId' => 'userId', 'watchLiveTime' => 'watchLiveTime', 'watchPlaybackTime' => 'watchPlaybackTime', 'watchProgressMs' => 'watchProgressMs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } 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->watchLiveTime) { $res['watchLiveTime'] = $this->watchLiveTime; } if (null !== $this->watchPlaybackTime) { $res['watchPlaybackTime'] = $this->watchPlaybackTime; } if (null !== $this->watchProgressMs) { $res['watchProgressMs'] = $this->watchProgressMs; } return $res; } /** * @param array $map * * @return orgUsesList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } 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['watchLiveTime'])) { $model->watchLiveTime = $map['watchLiveTime']; } if (isset($map['watchPlaybackTime'])) { $model->watchPlaybackTime = $map['watchPlaybackTime']; } if (isset($map['watchProgressMs'])) { $model->watchProgressMs = $map['watchProgressMs']; } return $model; } } src/live_1_0/Models/QueryLiveWatchUserListResponseBody/result/outOrgUserList.php000064400000003724146412132660024134 0ustar00 'name', 'watchLiveTime' => 'watchLiveTime', 'watchPlaybackTime' => 'watchPlaybackTime', 'watchProgressMs' => 'watchProgressMs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->watchLiveTime) { $res['watchLiveTime'] = $this->watchLiveTime; } if (null !== $this->watchPlaybackTime) { $res['watchPlaybackTime'] = $this->watchPlaybackTime; } if (null !== $this->watchProgressMs) { $res['watchProgressMs'] = $this->watchProgressMs; } return $res; } /** * @param array $map * * @return outOrgUserList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['watchLiveTime'])) { $model->watchLiveTime = $map['watchLiveTime']; } if (isset($map['watchPlaybackTime'])) { $model->watchPlaybackTime = $map['watchPlaybackTime']; } if (isset($map['watchProgressMs'])) { $model->watchProgressMs = $map['watchProgressMs']; } return $model; } } src/live_1_0/Models/QuerySubscribeStatusHeaders.php000064400000002344146412132660016344 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QuerySubscribeStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/QuerySubscribeStatusRequest.php000064400000002312146412132660016414 0ustar00 'body', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QuerySubscribeStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { $model->body = body::fromMap($map['body']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/live_1_0/Models/QuerySubscribeStatusRequest/body.php000064400000001563146412132660017360 0ustar00 'liveIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->liveIds) { $res['liveIds'] = $this->liveIds; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['liveIds'])) { if (!empty($map['liveIds'])) { $model->liveIds = $map['liveIds']; } } return $model; } } src/live_1_0/Models/QuerySubscribeStatusResponse.php000064400000002752146412132660016572 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QuerySubscribeStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QuerySubscribeStatusResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/QuerySubscribeStatusResponseBody.php000064400000001731146412132660017404 0ustar00 '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 QuerySubscribeStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/live_1_0/Models/QuerySubscribeStatusResponseBody/result.php000064400000003157146412132660020726 0ustar00 'subscribeStatusDTOS', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->subscribeStatusDTOS) { $res['subscribeStatusDTOS'] = []; if (null !== $this->subscribeStatusDTOS && \is_array($this->subscribeStatusDTOS)) { $n = 0; foreach ($this->subscribeStatusDTOS as $item) { $res['subscribeStatusDTOS'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['subscribeStatusDTOS'])) { if (!empty($map['subscribeStatusDTOS'])) { $model->subscribeStatusDTOS = []; $n = 0; foreach ($map['subscribeStatusDTOS'] as $item) { $model->subscribeStatusDTOS[$n++] = null !== $item ? subscribeStatusDTOS::fromMap($item) : $item; } } } return $model; } } src/live_1_0/Models/QuerySubscribeStatusResponseBody/result/subscribeStatusDTOS.php000064400000002177146412132660024606 0ustar00 'liveId', 'subscribe' => 'subscribe', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->liveId) { $res['liveId'] = $this->liveId; } if (null !== $this->subscribe) { $res['subscribe'] = $this->subscribe; } return $res; } /** * @param array $map * * @return subscribeStatusDTOS */ public static function fromMap($map = []) { $model = new self(); if (isset($map['liveId'])) { $model->liveId = $map['liveId']; } if (isset($map['subscribe'])) { $model->subscribe = $map['subscribe']; } return $model; } } src/live_1_0/Models/QuerySubscribeStatusShrinkRequest.php000064400000002157146412132660017602 0ustar00 'body', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bodyShrink) { $res['body'] = $this->bodyShrink; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QuerySubscribeStatusShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { $model->bodyShrink = $map['body']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/live_1_0/Models/StartCloudFeedHeaders.php000064400000002330146412132660015034 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return StartCloudFeedHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/StartCloudFeedRequest.php000064400000001517146412132660015117 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return StartCloudFeedRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/live_1_0/Models/StartCloudFeedResponse.php000064400000002722146412132660015264 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return StartCloudFeedResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = StartCloudFeedResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/StartCloudFeedResponseBody.php000064400000001525146412132660016102 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return StartCloudFeedResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/live_1_0/Models/StopCloudFeedHeaders.php000064400000002326146412132660014671 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return StopCloudFeedHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/StopCloudFeedRequest.php000064400000001515146412132660014745 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return StopCloudFeedRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/live_1_0/Models/StopCloudFeedResponse.php000064400000002716146412132660015117 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return StopCloudFeedResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = StopCloudFeedResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/StopCloudFeedResponseBody.php000064400000001523146412132660015730 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return StopCloudFeedResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/live_1_0/Models/SubscribeLiveHeaders.php000064400000002326146412132660014732 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SubscribeLiveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/SubscribeLiveRequest.php000064400000002742146412132660015011 0ustar00 'liveId', 'subscribe' => 'subscribe', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->liveId) { $res['liveId'] = $this->liveId; } if (null !== $this->subscribe) { $res['subscribe'] = $this->subscribe; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return SubscribeLiveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['liveId'])) { $model->liveId = $map['liveId']; } if (isset($map['subscribe'])) { $model->subscribe = $map['subscribe']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/live_1_0/Models/SubscribeLiveResponse.php000064400000002716146412132660015160 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SubscribeLiveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SubscribeLiveResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/SubscribeLiveResponseBody.php000064400000001704146412132660015772 0ustar00 '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 SubscribeLiveResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/live_1_0/Models/SubscribeLiveResponseBody/result.php000064400000001464146412132660017313 0ustar00 '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/live_1_0/Models/UpdateLiveFeedHeaders.php000064400000002330146412132660015012 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateLiveFeedHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/UpdateLiveFeedRequest.php000064400000004201146412132660015066 0ustar00 'coverUrl', 'introduction' => 'introduction', 'startTime' => 'startTime', 'title' => 'title', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->introduction) { $res['introduction'] = $this->introduction; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateLiveFeedRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['introduction'])) { $model->introduction = $map['introduction']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/live_1_0/Models/UpdateLiveFeedResponse.php000064400000002722146412132660015242 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateLiveFeedResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateLiveFeedResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/UpdateLiveFeedResponseBody.php000064400000001560146412132660016057 0ustar00 'hasUpdate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasUpdate) { $res['hasUpdate'] = $this->hasUpdate; } return $res; } /** * @param array $map * * @return UpdateLiveFeedResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasUpdate'])) { $model->hasUpdate = $map['hasUpdate']; } return $model; } } src/live_1_0/Models/UpdateLiveHeaders.php000064400000002320146412132660014225 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateLiveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_1_0/Models/UpdateLiveRequest.php000064400000005621146412132660014311 0ustar00 'coverUrl', 'introduction' => 'introduction', 'liveId' => 'liveId', 'preEndTime' => 'preEndTime', 'preStartTime' => 'preStartTime', 'title' => 'title', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->introduction) { $res['introduction'] = $this->introduction; } if (null !== $this->liveId) { $res['liveId'] = $this->liveId; } if (null !== $this->preEndTime) { $res['preEndTime'] = $this->preEndTime; } if (null !== $this->preStartTime) { $res['preStartTime'] = $this->preStartTime; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return UpdateLiveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['introduction'])) { $model->introduction = $map['introduction']; } if (isset($map['liveId'])) { $model->liveId = $map['liveId']; } if (isset($map['preEndTime'])) { $model->preEndTime = $map['preEndTime']; } if (isset($map['preStartTime'])) { $model->preStartTime = $map['preStartTime']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/live_1_0/Models/UpdateLiveResponse.php000064400000002702146412132660014454 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateLiveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateLiveResponseBody::fromMap($map['body']); } return $model; } } src/live_1_0/Models/UpdateLiveResponseBody.php000064400000001673146412132660015300 0ustar00 '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 UpdateLiveResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/live_1_0/Models/UpdateLiveResponseBody/result.php000064400000001461146412132660016611 0ustar00 '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/live_activities_1_0/Dingtalk.php000064400000012701146412132660013431 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param PushLiveActivityRequest $request * @param PushLiveActivityHeaders $headers * @param RuntimeOptions $runtime * * @return PushLiveActivityResponse */ public function pushLiveActivityWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->activityEventData)) { $body['activityEventData'] = $request->activityEventData; } if (!Utils::isUnset($request->activityEventOption)) { $body['activityEventOption'] = $request->activityEventOption; } if (!Utils::isUnset($request->activityId)) { $body['activityId'] = $request->activityId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PushLiveActivity', 'version' => 'liveActivities_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/liveActivities/push', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PushLiveActivityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PushLiveActivityRequest $request * * @return PushLiveActivityResponse */ public function pushLiveActivity($request) { $runtime = new RuntimeOptions([]); $headers = new PushLiveActivityHeaders([]); return $this->pushLiveActivityWithOptions($request, $headers, $runtime); } /** * @param SendLiveActivityRequest $request * @param SendLiveActivityHeaders $headers * @param RuntimeOptions $runtime * * @return SendLiveActivityResponse */ public function sendLiveActivityWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->activityEventData)) { $body['activityEventData'] = $request->activityEventData; } if (!Utils::isUnset($request->activityEventOption)) { $body['activityEventOption'] = $request->activityEventOption; } if (!Utils::isUnset($request->activityId)) { $body['activityId'] = $request->activityId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendLiveActivity', 'version' => 'liveActivities_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/liveActivities/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendLiveActivityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendLiveActivityRequest $request * * @return SendLiveActivityResponse */ public function sendLiveActivity($request) { $runtime = new RuntimeOptions([]); $headers = new SendLiveActivityHeaders([]); return $this->sendLiveActivityWithOptions($request, $headers, $runtime); } } src/live_activities_1_0/Models/PushLiveActivityHeaders.php000064400000002347146412132660017674 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PushLiveActivityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_activities_1_0/Models/PushLiveActivityRequest.php000064400000004016146412132660017744 0ustar00 'activityEventData', 'activityEventOption' => 'activityEventOption', 'activityId' => 'activityId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityEventData) { $res['activityEventData'] = null !== $this->activityEventData ? $this->activityEventData->toMap() : null; } if (null !== $this->activityEventOption) { $res['activityEventOption'] = null !== $this->activityEventOption ? $this->activityEventOption->toMap() : null; } if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } return $res; } /** * @param array $map * * @return PushLiveActivityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityEventData'])) { $model->activityEventData = activityEventData::fromMap($map['activityEventData']); } if (isset($map['activityEventOption'])) { $model->activityEventOption = activityEventOption::fromMap($map['activityEventOption']); } if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } return $model; } } src/live_activities_1_0/Models/PushLiveActivityRequest/activityEventData.php000064400000002407146412132660023376 0ustar00 'i18nContentState', 'templateId' => 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->i18nContentState) { $res['i18nContentState'] = $this->i18nContentState; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return activityEventData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['i18nContentState'])) { $model->i18nContentState = $map['i18nContentState']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/live_activities_1_0/Models/PushLiveActivityRequest/activityEventOption.php000064400000003601146412132660023772 0ustar00 'dismissalDate', 'pushType' => 'pushType', 'sendDate' => 'sendDate', 'staleDate' => 'staleDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dismissalDate) { $res['dismissalDate'] = $this->dismissalDate; } if (null !== $this->pushType) { $res['pushType'] = $this->pushType; } if (null !== $this->sendDate) { $res['sendDate'] = $this->sendDate; } if (null !== $this->staleDate) { $res['staleDate'] = $this->staleDate; } return $res; } /** * @param array $map * * @return activityEventOption */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dismissalDate'])) { $model->dismissalDate = $map['dismissalDate']; } if (isset($map['pushType'])) { $model->pushType = $map['pushType']; } if (isset($map['sendDate'])) { $model->sendDate = $map['sendDate']; } if (isset($map['staleDate'])) { $model->staleDate = $map['staleDate']; } return $model; } } src/live_activities_1_0/Models/PushLiveActivityResponse.php000064400000002745146412132660020121 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PushLiveActivityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PushLiveActivityResponseBody::fromMap($map['body']); } return $model; } } src/live_activities_1_0/Models/PushLiveActivityResponseBody.php000064400000001512146412132660020726 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return PushLiveActivityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/live_activities_1_0/Models/SendLiveActivityHeaders.php000064400000002347146412132660017646 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendLiveActivityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/live_activities_1_0/Models/SendLiveActivityRequest.php000064400000004016146412132660017716 0ustar00 'activityEventData', 'activityEventOption' => 'activityEventOption', 'activityId' => 'activityId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityEventData) { $res['activityEventData'] = null !== $this->activityEventData ? $this->activityEventData->toMap() : null; } if (null !== $this->activityEventOption) { $res['activityEventOption'] = null !== $this->activityEventOption ? $this->activityEventOption->toMap() : null; } if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } return $res; } /** * @param array $map * * @return SendLiveActivityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityEventData'])) { $model->activityEventData = activityEventData::fromMap($map['activityEventData']); } if (isset($map['activityEventOption'])) { $model->activityEventOption = activityEventOption::fromMap($map['activityEventOption']); } if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } return $model; } } src/live_activities_1_0/Models/SendLiveActivityRequest/activityEventData.php000064400000002407146412132660023350 0ustar00 'i18nContentState', 'templateId' => 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->i18nContentState) { $res['i18nContentState'] = $this->i18nContentState; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return activityEventData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['i18nContentState'])) { $model->i18nContentState = $map['i18nContentState']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/live_activities_1_0/Models/SendLiveActivityRequest/activityEventOption.php000064400000003601146412132660023744 0ustar00 'dismissalDate', 'pushType' => 'pushType', 'sendDate' => 'sendDate', 'staleDate' => 'staleDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dismissalDate) { $res['dismissalDate'] = $this->dismissalDate; } if (null !== $this->pushType) { $res['pushType'] = $this->pushType; } if (null !== $this->sendDate) { $res['sendDate'] = $this->sendDate; } if (null !== $this->staleDate) { $res['staleDate'] = $this->staleDate; } return $res; } /** * @param array $map * * @return activityEventOption */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dismissalDate'])) { $model->dismissalDate = $map['dismissalDate']; } if (isset($map['pushType'])) { $model->pushType = $map['pushType']; } if (isset($map['sendDate'])) { $model->sendDate = $map['sendDate']; } if (isset($map['staleDate'])) { $model->staleDate = $map['staleDate']; } return $model; } } src/live_activities_1_0/Models/SendLiveActivityResponse.php000064400000002745146412132660020073 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendLiveActivityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendLiveActivityResponseBody::fromMap($map['body']); } return $model; } } src/live_activities_1_0/Models/SendLiveActivityResponseBody.php000064400000001512146412132660020700 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SendLiveActivityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/mail_1_0/Dingtalk.php000064400000006034146412132660011172 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CreateUserRequest $request * @param CreateUserHeaders $headers * @param RuntimeOptions $runtime * * @return CreateUserResponse */ public function createUserWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->email)) { $body['email'] = $request->email; } if (!Utils::isUnset($request->employeeType)) { $body['employeeType'] = $request->employeeType; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->password)) { $body['password'] = $request->password; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateUser', 'version' => 'mail_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/mail/users', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateUserRequest $request * * @return CreateUserResponse */ public function createUser($request) { $runtime = new RuntimeOptions([]); $headers = new CreateUserHeaders([]); return $this->createUserWithOptions($request, $headers, $runtime); } } src/mail_1_0/Models/CreateUserHeaders.php000064400000002320146412132660014210 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/mail_1_0/Models/CreateUserRequest.php000064400000003337146412132660014276 0ustar00 'email', 'employeeType' => 'employeeType', 'name' => 'name', 'password' => 'password', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->employeeType) { $res['employeeType'] = $this->employeeType; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->password) { $res['password'] = $this->password; } return $res; } /** * @param array $map * * @return CreateUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['employeeType'])) { $model->employeeType = $map['employeeType']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['password'])) { $model->password = $map['password']; } return $model; } } src/mail_1_0/Models/CreateUserResponse.php000064400000002702146412132660014437 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateUserResponseBody::fromMap($map['body']); } return $model; } } src/mail_1_0/Models/CreateUserResponseBody.php000064400000001452146412132660015256 0ustar00 'email', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->email) { $res['email'] = $this->email; } return $res; } /** * @param array $map * * @return CreateUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['email'])) { $model->email = $map['email']; } return $model; } } src/manufacturing_1_0/Dingtalk.php000064400000022040146412132660013106 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_signatureAlgorithm = 'v2'; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $userId * @param IndustrializeManufactureJobBookRequest $request * @param string[] $headers * @param RuntimeOptions $runtime * * @return IndustrializeManufactureJobBookResponse */ public function industrializeManufactureJobBookWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->extend)) { $body['extend'] = $request->extend; } if (!Utils::isUnset($request->instNo)) { $body['instNo'] = $request->instNo; } if (!Utils::isUnset($request->isBatchJob)) { $body['isBatchJob'] = $request->isBatchJob; } if (!Utils::isUnset($request->manufactureDate)) { $body['manufactureDate'] = $request->manufactureDate; } if (!Utils::isUnset($request->mesAppKey)) { $body['mesAppKey'] = $request->mesAppKey; } if (!Utils::isUnset($request->processEnName)) { $body['processEnName'] = $request->processEnName; } if (!Utils::isUnset($request->processName)) { $body['processName'] = $request->processName; } if (!Utils::isUnset($request->productCode)) { $body['productCode'] = $request->productCode; } if (!Utils::isUnset($request->productEnName)) { $body['productEnName'] = $request->productEnName; } if (!Utils::isUnset($request->productName)) { $body['productName'] = $request->productName; } if (!Utils::isUnset($request->productSpecification)) { $body['productSpecification'] = $request->productSpecification; } if (!Utils::isUnset($request->qualifiedQuantity)) { $body['qualifiedQuantity'] = $request->qualifiedQuantity; } if (!Utils::isUnset($request->reworkableQuantity)) { $body['reworkableQuantity'] = $request->reworkableQuantity; } if (!Utils::isUnset($request->scrappedQuantity)) { $body['scrappedQuantity'] = $request->scrappedQuantity; } if (!Utils::isUnset($request->unitPrice)) { $body['unitPrice'] = $request->unitPrice; } if (!Utils::isUnset($request->userIdList)) { $body['userIdList'] = $request->userIdList; } if (!Utils::isUnset($request->userName)) { $body['userName'] = $request->userName; } if (!Utils::isUnset($request->userNameList)) { $body['userNameList'] = $request->userNameList; } if (!Utils::isUnset($request->uuid)) { $body['uuid'] = $request->uuid; } $req = new OpenApiRequest([ 'headers' => $headers, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'IndustrializeManufactureJobBook', 'version' => 'manufacturing_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/manufacturing/users/' . $userId . '/jobs', 'method' => 'POST', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustrializeManufactureJobBookResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param IndustrializeManufactureJobBookRequest $request * * @return IndustrializeManufactureJobBookResponse */ public function industrializeManufactureJobBook($userId, $request) { $runtime = new RuntimeOptions([]); $headers = []; return $this->industrializeManufactureJobBookWithOptions($userId, $request, $headers, $runtime); } /** * @param IndustrializeManufactureQueryJobsRequest $request * @param IndustrializeManufactureQueryJobsHeaders $headers * @param RuntimeOptions $runtime * * @return IndustrializeManufactureQueryJobsResponse */ public function industrializeManufactureQueryJobsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->currentPage)) { $body['currentPage'] = $request->currentPage; } if (!Utils::isUnset($request->instNo)) { $body['instNo'] = $request->instNo; } if (!Utils::isUnset($request->manufactureDay)) { $body['manufactureDay'] = $request->manufactureDay; } if (!Utils::isUnset($request->mesAppKey)) { $body['mesAppKey'] = $request->mesAppKey; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->processName)) { $body['processName'] = $request->processName; } if (!Utils::isUnset($request->productCode)) { $body['productCode'] = $request->productCode; } if (!Utils::isUnset($request->productName)) { $body['productName'] = $request->productName; } if (!Utils::isUnset($request->productSpecification)) { $body['productSpecification'] = $request->productSpecification; } if (!Utils::isUnset($request->qualifiedQuantity)) { $body['qualifiedQuantity'] = $request->qualifiedQuantity; } if (!Utils::isUnset($request->unitPrice)) { $body['unitPrice'] = $request->unitPrice; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->userIdList)) { $body['userIdList'] = $request->userIdList; } if (!Utils::isUnset($request->userName)) { $body['userName'] = $request->userName; } 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' => 'IndustrializeManufactureQueryJobs', 'version' => 'manufacturing_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/manufacturing/users/jobs/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IndustrializeManufactureQueryJobsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IndustrializeManufactureQueryJobsRequest $request * * @return IndustrializeManufactureQueryJobsResponse */ public function industrializeManufactureQueryJobs($request) { $runtime = new RuntimeOptions([]); $headers = new IndustrializeManufactureQueryJobsHeaders([]); return $this->industrializeManufactureQueryJobsWithOptions($request, $headers, $runtime); } } src/manufacturing_1_0/Models/IndustrializeManufactureJobBookRequest.php000064400000017125146412132660022444 0ustar00 'corpId', 'extend' => 'extend', 'instNo' => 'instNo', 'isBatchJob' => 'isBatchJob', 'manufactureDate' => 'manufactureDate', 'mesAppKey' => 'mesAppKey', 'processEnName' => 'processEnName', 'processName' => 'processName', 'productCode' => 'productCode', 'productEnName' => 'productEnName', 'productName' => 'productName', 'productSpecification' => 'productSpecification', 'qualifiedQuantity' => 'qualifiedQuantity', 'reworkableQuantity' => 'reworkableQuantity', 'scrappedQuantity' => 'scrappedQuantity', 'unitPrice' => 'unitPrice', 'userIdList' => 'userIdList', 'userName' => 'userName', 'userNameList' => 'userNameList', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->extend) { $res['extend'] = $this->extend; } if (null !== $this->instNo) { $res['instNo'] = $this->instNo; } if (null !== $this->isBatchJob) { $res['isBatchJob'] = $this->isBatchJob; } if (null !== $this->manufactureDate) { $res['manufactureDate'] = $this->manufactureDate; } if (null !== $this->mesAppKey) { $res['mesAppKey'] = $this->mesAppKey; } if (null !== $this->processEnName) { $res['processEnName'] = $this->processEnName; } if (null !== $this->processName) { $res['processName'] = $this->processName; } if (null !== $this->productCode) { $res['productCode'] = $this->productCode; } if (null !== $this->productEnName) { $res['productEnName'] = $this->productEnName; } if (null !== $this->productName) { $res['productName'] = $this->productName; } if (null !== $this->productSpecification) { $res['productSpecification'] = $this->productSpecification; } if (null !== $this->qualifiedQuantity) { $res['qualifiedQuantity'] = $this->qualifiedQuantity; } if (null !== $this->reworkableQuantity) { $res['reworkableQuantity'] = $this->reworkableQuantity; } if (null !== $this->scrappedQuantity) { $res['scrappedQuantity'] = $this->scrappedQuantity; } if (null !== $this->unitPrice) { $res['unitPrice'] = $this->unitPrice; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } if (null !== $this->userName) { $res['userName'] = $this->userName; } if (null !== $this->userNameList) { $res['userNameList'] = $this->userNameList; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return IndustrializeManufactureJobBookRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['extend'])) { $model->extend = $map['extend']; } if (isset($map['instNo'])) { $model->instNo = $map['instNo']; } if (isset($map['isBatchJob'])) { $model->isBatchJob = $map['isBatchJob']; } if (isset($map['manufactureDate'])) { $model->manufactureDate = $map['manufactureDate']; } if (isset($map['mesAppKey'])) { $model->mesAppKey = $map['mesAppKey']; } if (isset($map['processEnName'])) { $model->processEnName = $map['processEnName']; } if (isset($map['processName'])) { $model->processName = $map['processName']; } if (isset($map['productCode'])) { $model->productCode = $map['productCode']; } if (isset($map['productEnName'])) { $model->productEnName = $map['productEnName']; } if (isset($map['productName'])) { $model->productName = $map['productName']; } if (isset($map['productSpecification'])) { $model->productSpecification = $map['productSpecification']; } if (isset($map['qualifiedQuantity'])) { $model->qualifiedQuantity = $map['qualifiedQuantity']; } if (isset($map['reworkableQuantity'])) { $model->reworkableQuantity = $map['reworkableQuantity']; } if (isset($map['scrappedQuantity'])) { $model->scrappedQuantity = $map['scrappedQuantity']; } if (isset($map['unitPrice'])) { $model->unitPrice = $map['unitPrice']; } if (isset($map['userIdList'])) { $model->userIdList = $map['userIdList']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } if (isset($map['userNameList'])) { $model->userNameList = $map['userNameList']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/manufacturing_1_0/Models/IndustrializeManufactureJobBookResponse.php000064400000003037146412132660022607 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustrializeManufactureJobBookResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustrializeManufactureJobBookResponseBody::fromMap($map['body']); } return $model; } } src/manufacturing_1_0/Models/IndustrializeManufactureJobBookResponseBody.php000064400000005323146412132660023425 0ustar00 'content', 'errorCode' => 'errorCode', 'errorLevel' => 'errorLevel', 'errorMsg' => 'errorMsg', 'httpCode' => 'httpCode', 'success' => 'success', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorLevel) { $res['errorLevel'] = $this->errorLevel; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->httpCode) { $res['httpCode'] = $this->httpCode; } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return IndustrializeManufactureJobBookResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorLevel'])) { $model->errorLevel = $map['errorLevel']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['httpCode'])) { $model->httpCode = $map['httpCode']; } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/manufacturing_1_0/Models/IndustrializeManufactureJobBookResponseBody/content.php000064400000002101146412132660025066 0ustar00 'count', 'id' => 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->id) { $res['id'] = $this->id; } 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['id'])) { $model->id = $map['id']; } return $model; } } src/manufacturing_1_0/Models/IndustrializeManufactureQueryJobsHeaders.php000064400000002407146412132660022762 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IndustrializeManufactureQueryJobsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/manufacturing_1_0/Models/IndustrializeManufactureQueryJobsRequest.php000064400000013370146412132660023040 0ustar00 'currentPage', 'instNo' => 'instNo', 'manufactureDay' => 'manufactureDay', 'mesAppKey' => 'mesAppKey', 'pageSize' => 'pageSize', 'processName' => 'processName', 'productCode' => 'productCode', 'productName' => 'productName', 'productSpecification' => 'productSpecification', 'qualifiedQuantity' => 'qualifiedQuantity', 'unitPrice' => 'unitPrice', 'userId' => 'userId', 'userIdList' => 'userIdList', 'userName' => 'userName', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->currentPage) { $res['currentPage'] = $this->currentPage; } if (null !== $this->instNo) { $res['instNo'] = $this->instNo; } if (null !== $this->manufactureDay) { $res['manufactureDay'] = $this->manufactureDay; } if (null !== $this->mesAppKey) { $res['mesAppKey'] = $this->mesAppKey; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->processName) { $res['processName'] = $this->processName; } if (null !== $this->productCode) { $res['productCode'] = $this->productCode; } if (null !== $this->productName) { $res['productName'] = $this->productName; } if (null !== $this->productSpecification) { $res['productSpecification'] = $this->productSpecification; } if (null !== $this->qualifiedQuantity) { $res['qualifiedQuantity'] = $this->qualifiedQuantity; } if (null !== $this->unitPrice) { $res['unitPrice'] = $this->unitPrice; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } if (null !== $this->userName) { $res['userName'] = $this->userName; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return IndustrializeManufactureQueryJobsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } if (isset($map['instNo'])) { $model->instNo = $map['instNo']; } if (isset($map['manufactureDay'])) { $model->manufactureDay = $map['manufactureDay']; } if (isset($map['mesAppKey'])) { $model->mesAppKey = $map['mesAppKey']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['processName'])) { $model->processName = $map['processName']; } if (isset($map['productCode'])) { $model->productCode = $map['productCode']; } if (isset($map['productName'])) { $model->productName = $map['productName']; } if (isset($map['productSpecification'])) { $model->productSpecification = $map['productSpecification']; } if (isset($map['qualifiedQuantity'])) { $model->qualifiedQuantity = $map['qualifiedQuantity']; } if (isset($map['unitPrice'])) { $model->unitPrice = $map['unitPrice']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userIdList'])) { $model->userIdList = $map['userIdList']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/manufacturing_1_0/Models/IndustrializeManufactureQueryJobsResponse.php000064400000003047146412132660023206 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IndustrializeManufactureQueryJobsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IndustrializeManufactureQueryJobsResponseBody::fromMap($map['body']); } return $model; } } src/manufacturing_1_0/Models/IndustrializeManufactureQueryJobsResponseBody.php000064400000002533146412132660024023 0ustar00 'content', 'httpCode' => 'httpCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->httpCode) { $res['httpCode'] = $this->httpCode; } return $res; } /** * @param array $map * * @return IndustrializeManufactureQueryJobsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } if (isset($map['httpCode'])) { $model->httpCode = $map['httpCode']; } return $model; } } src/manufacturing_1_0/Models/IndustrializeManufactureQueryJobsResponseBody/content.php000064400000013453146412132660025500 0ustar00 'corpId', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'id' => 'id', 'instNo' => 'instNo', 'isBatchJob' => 'isBatchJob', 'manufactureDate' => 'manufactureDate', 'manufactureDay' => 'manufactureDay', 'mesAppKey' => 'mesAppKey', 'processName' => 'processName', 'qualifiedQuantity' => 'qualifiedQuantity', 'scrappedQuantity' => 'scrappedQuantity', 'unitPrice' => 'unitPrice', 'userId' => 'userId', 'userIdList' => 'userIdList', 'userNameList' => 'userNameList', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; 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->id) { $res['id'] = $this->id; } if (null !== $this->instNo) { $res['instNo'] = $this->instNo; } if (null !== $this->isBatchJob) { $res['isBatchJob'] = $this->isBatchJob; } if (null !== $this->manufactureDate) { $res['manufactureDate'] = $this->manufactureDate; } if (null !== $this->manufactureDay) { $res['manufactureDay'] = $this->manufactureDay; } if (null !== $this->mesAppKey) { $res['mesAppKey'] = $this->mesAppKey; } if (null !== $this->processName) { $res['processName'] = $this->processName; } if (null !== $this->qualifiedQuantity) { $res['qualifiedQuantity'] = $this->qualifiedQuantity; } if (null !== $this->scrappedQuantity) { $res['scrappedQuantity'] = $this->scrappedQuantity; } if (null !== $this->unitPrice) { $res['unitPrice'] = $this->unitPrice; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } if (null !== $this->userNameList) { $res['userNameList'] = $this->userNameList; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); 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['id'])) { $model->id = $map['id']; } if (isset($map['instNo'])) { $model->instNo = $map['instNo']; } if (isset($map['isBatchJob'])) { $model->isBatchJob = $map['isBatchJob']; } if (isset($map['manufactureDate'])) { $model->manufactureDate = $map['manufactureDate']; } if (isset($map['manufactureDay'])) { $model->manufactureDay = $map['manufactureDay']; } if (isset($map['mesAppKey'])) { $model->mesAppKey = $map['mesAppKey']; } if (isset($map['processName'])) { $model->processName = $map['processName']; } if (isset($map['qualifiedQuantity'])) { $model->qualifiedQuantity = $map['qualifiedQuantity']; } if (isset($map['scrappedQuantity'])) { $model->scrappedQuantity = $map['scrappedQuantity']; } if (isset($map['unitPrice'])) { $model->unitPrice = $map['unitPrice']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userIdList'])) { $model->userIdList = $map['userIdList']; } if (isset($map['userNameList'])) { $model->userNameList = $map['userNameList']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/micro_app_1_0/Dingtalk.php000064400000242442146412132660012226 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_signatureAlgorithm = 'v2'; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $agentId * @param AddAppRolesToMemberRequest $request * @param AddAppRolesToMemberHeaders $headers * @param RuntimeOptions $runtime * * @return AddAppRolesToMemberResponse */ public function addAppRolesToMemberWithOptions($agentId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->memberId)) { $body['memberId'] = $request->memberId; } if (!Utils::isUnset($request->memberType)) { $body['memberType'] = $request->memberType; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } 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' => 'AddAppRolesToMember', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '/members/roles', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AddAppRolesToMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param AddAppRolesToMemberRequest $request * * @return AddAppRolesToMemberResponse */ public function addAppRolesToMember($agentId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddAppRolesToMemberHeaders([]); return $this->addAppRolesToMemberWithOptions($agentId, $request, $headers, $runtime); } /** * @param string $agentId * @param AddAppToWorkBenchGroupRequest $request * @param AddAppToWorkBenchGroupHeaders $headers * @param RuntimeOptions $runtime * * @return AddAppToWorkBenchGroupResponse */ public function addAppToWorkBenchGroupWithOptions($agentId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->componentId)) { $body['componentId'] = $request->componentId; } if (!Utils::isUnset($request->ecologicalCorpId)) { $body['ecologicalCorpId'] = $request->ecologicalCorpId; } if (!Utils::isUnset($request->opUnionId)) { $body['opUnionId'] = $request->opUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddAppToWorkBenchGroup', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '/addToWorkBenchGroup', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddAppToWorkBenchGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param AddAppToWorkBenchGroupRequest $request * * @return AddAppToWorkBenchGroupResponse */ public function addAppToWorkBenchGroup($agentId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddAppToWorkBenchGroupHeaders([]); return $this->addAppToWorkBenchGroupWithOptions($agentId, $request, $headers, $runtime); } /** * @param string $agentId * @param string $roleId * @param AddMemberToAppRoleRequest $request * @param AddMemberToAppRoleHeaders $headers * @param RuntimeOptions $runtime * * @return AddMemberToAppRoleResponse */ public function addMemberToAppRoleWithOptions($agentId, $roleId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptIdList)) { $body['deptIdList'] = $request->deptIdList; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->scopeVersion)) { $body['scopeVersion'] = $request->scopeVersion; } 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' => 'AddMemberToAppRole', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '/roles/' . $roleId . '/members', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AddMemberToAppRoleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param string $roleId * @param AddMemberToAppRoleRequest $request * * @return AddMemberToAppRoleResponse */ public function addMemberToAppRole($agentId, $roleId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddMemberToAppRoleHeaders([]); return $this->addMemberToAppRoleWithOptions($agentId, $roleId, $request, $headers, $runtime); } /** * @param string[] $headers * @param RuntimeOptions $runtime * * @return AnheiPResponse */ public function anheiPWithOptions($headers, $runtime) { $req = new OpenApiRequest([ 'headers' => $headers, ]); $params = new Params([ 'action' => 'AnheiP', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/anheiP', 'method' => 'GET', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AnheiPResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return AnheiPResponse */ public function anheiP() { $runtime = new RuntimeOptions([]); $headers = []; return $this->anheiPWithOptions($headers, $runtime); } /** * @param string[] $headers * @param RuntimeOptions $runtime * * @return AnheiTest888Response */ public function anheiTest888WithOptions($headers, $runtime) { $req = new OpenApiRequest([ 'headers' => $headers, ]); $params = new Params([ 'action' => 'AnheiTest888', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/anheiTest888', 'method' => 'POST', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AnheiTest888Response::fromMap($this->execute($params, $req, $runtime)); } /** * @return AnheiTest888Response */ public function anheiTest888() { $runtime = new RuntimeOptions([]); $headers = []; return $this->anheiTest888WithOptions($headers, $runtime); } /** * @param string[] $headers * @param RuntimeOptions $runtime * * @return AnheiTestBResponse */ public function anheiTestBWithOptions($headers, $runtime) { $req = new OpenApiRequest([ 'headers' => $headers, ]); $params = new Params([ 'action' => 'AnheiTestB', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/anheiTestB', 'method' => 'PUT', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AnheiTestBResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return AnheiTestBResponse */ public function anheiTestB() { $runtime = new RuntimeOptions([]); $headers = []; return $this->anheiTestBWithOptions($headers, $runtime); } /** * @param string[] $headers * @param RuntimeOptions $runtime * * @return AnheiTestNineResponse */ public function anheiTestNineWithOptions($headers, $runtime) { $req = new OpenApiRequest([ 'headers' => $headers, ]); $params = new Params([ 'action' => 'AnheiTestNine', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/anheiTestNine', 'method' => 'POST', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AnheiTestNineResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return AnheiTestNineResponse */ public function anheiTestNine() { $runtime = new RuntimeOptions([]); $headers = []; return $this->anheiTestNineWithOptions($headers, $runtime); } /** * @param AppStatusManagerTestRequest $request * @param string[] $headers * @param RuntimeOptions $runtime * * @return AppStatusManagerTestResponse */ public function appStatusManagerTestWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->requestId)) { $query['requestId'] = $request->requestId; } $req = new OpenApiRequest([ 'headers' => $headers, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'AppStatusManagerTest', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/manager/test', 'method' => 'GET', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AppStatusManagerTestResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AppStatusManagerTestRequest $request * * @return AppStatusManagerTestResponse */ public function appStatusManagerTest($request) { $runtime = new RuntimeOptions([]); $headers = []; return $this->appStatusManagerTestWithOptions($request, $headers, $runtime); } /** * @param string[] $headers * @param RuntimeOptions $runtime * * @return AyunTestResponse */ public function ayunTestWithOptions($headers, $runtime) { $req = new OpenApiRequest([ 'headers' => $headers, ]); $params = new Params([ 'action' => 'AyunTest', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/ayun/test', 'method' => 'GET', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AyunTestResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return AyunTestResponse */ public function ayunTest() { $runtime = new RuntimeOptions([]); $headers = []; return $this->ayunTestWithOptions($headers, $runtime); } /** * @param string[] $headers * @param RuntimeOptions $runtime * * @return AyunTestOnlineResponse */ public function ayunTestOnlineWithOptions($headers, $runtime) { $req = new OpenApiRequest([ 'headers' => $headers, ]); $params = new Params([ 'action' => 'AyunTestOnline', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/ayunTest', 'method' => 'GET', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AyunTestOnlineResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return AyunTestOnlineResponse */ public function ayunTestOnline() { $runtime = new RuntimeOptions([]); $headers = []; return $this->ayunTestOnlineWithOptions($headers, $runtime); } /** * @param CreateApaasAppRequest $request * @param CreateApaasAppHeaders $headers * @param RuntimeOptions $runtime * * @return CreateApaasAppResponse */ public function createApaasAppWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appDesc)) { $body['appDesc'] = $request->appDesc; } if (!Utils::isUnset($request->appIcon)) { $body['appIcon'] = $request->appIcon; } if (!Utils::isUnset($request->appName)) { $body['appName'] = $request->appName; } if (!Utils::isUnset($request->bizAppId)) { $body['bizAppId'] = $request->bizAppId; } if (!Utils::isUnset($request->homepageEditLink)) { $body['homepageEditLink'] = $request->homepageEditLink; } if (!Utils::isUnset($request->homepageLink)) { $body['homepageLink'] = $request->homepageLink; } if (!Utils::isUnset($request->isShortCut)) { $body['isShortCut'] = $request->isShortCut; } if (!Utils::isUnset($request->ompLink)) { $body['ompLink'] = $request->ompLink; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->pcHomepageEditLink)) { $body['pcHomepageEditLink'] = $request->pcHomepageEditLink; } if (!Utils::isUnset($request->pcHomepageLink)) { $body['pcHomepageLink'] = $request->pcHomepageLink; } if (!Utils::isUnset($request->templateKey)) { $body['templateKey'] = $request->templateKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateApaasApp', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apaasApps', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateApaasAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateApaasAppRequest $request * * @return CreateApaasAppResponse */ public function createApaasApp($request) { $runtime = new RuntimeOptions([]); $headers = new CreateApaasAppHeaders([]); return $this->createApaasAppWithOptions($request, $headers, $runtime); } /** * @param CreateInnerAppRequest $request * @param CreateInnerAppHeaders $headers * @param RuntimeOptions $runtime * * @return CreateInnerAppResponse */ public function createInnerAppWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->desc)) { $body['desc'] = $request->desc; } if (!Utils::isUnset($request->developType)) { $body['developType'] = $request->developType; } if (!Utils::isUnset($request->homepageLink)) { $body['homepageLink'] = $request->homepageLink; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->ipWhiteList)) { $body['ipWhiteList'] = $request->ipWhiteList; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->ompLink)) { $body['ompLink'] = $request->ompLink; } if (!Utils::isUnset($request->opUnionId)) { $body['opUnionId'] = $request->opUnionId; } if (!Utils::isUnset($request->pcHomepageLink)) { $body['pcHomepageLink'] = $request->pcHomepageLink; } if (!Utils::isUnset($request->scopeType)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateInnerApp', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateInnerAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateInnerAppRequest $request * * @return CreateInnerAppResponse */ public function createInnerApp($request) { $runtime = new RuntimeOptions([]); $headers = new CreateInnerAppHeaders([]); return $this->createInnerAppWithOptions($request, $headers, $runtime); } /** * @param string $agentId * @param string $roleId * @param DeleteAppRoleRequest $request * @param DeleteAppRoleHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteAppRoleResponse */ public function deleteAppRoleWithOptions($agentId, $roleId, $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' => 'DeleteAppRole', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '/roles/' . $roleId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteAppRoleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param string $roleId * @param DeleteAppRoleRequest $request * * @return DeleteAppRoleResponse */ public function deleteAppRole($agentId, $roleId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteAppRoleHeaders([]); return $this->deleteAppRoleWithOptions($agentId, $roleId, $request, $headers, $runtime); } /** * @param string $agentId * @param DeleteInnerAppRequest $request * @param DeleteInnerAppHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteInnerAppResponse */ public function deleteInnerAppWithOptions($agentId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUnionId)) { $query['opUnionId'] = $request->opUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteInnerApp', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteInnerAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param DeleteInnerAppRequest $request * * @return DeleteInnerAppResponse */ public function deleteInnerApp($agentId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteInnerAppHeaders([]); return $this->deleteInnerAppWithOptions($agentId, $request, $headers, $runtime); } /** * @param string $bizAppId * @param GetApaasAppHeaders $headers * @param RuntimeOptions $runtime * * @return GetApaasAppResponse */ public function getApaasAppWithOptions($bizAppId, $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' => 'GetApaasApp', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apaasApps/' . $bizAppId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetApaasAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $bizAppId * * @return GetApaasAppResponse */ public function getApaasApp($bizAppId) { $runtime = new RuntimeOptions([]); $headers = new GetApaasAppHeaders([]); return $this->getApaasAppWithOptions($bizAppId, $headers, $runtime); } /** * @param GetAppResourceUseInfoRequest $request * @param GetAppResourceUseInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetAppResourceUseInfoResponse */ public function getAppResourceUseInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->benefitCode)) { $query['benefitCode'] = $request->benefitCode; } if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->periodType)) { $query['periodType'] = $request->periodType; } 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' => 'GetAppResourceUseInfo', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/resources/useInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'array', ]); return GetAppResourceUseInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetAppResourceUseInfoRequest $request * * @return GetAppResourceUseInfoResponse */ public function getAppResourceUseInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetAppResourceUseInfoHeaders([]); return $this->getAppResourceUseInfoWithOptions($request, $headers, $runtime); } /** * @param string $agentId * @param string $roleId * @param GetAppRoleScopeByRoleIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetAppRoleScopeByRoleIdResponse */ public function getAppRoleScopeByRoleIdWithOptions($agentId, $roleId, $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' => 'GetAppRoleScopeByRoleId', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '/roles/' . $roleId . '/scopes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetAppRoleScopeByRoleIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param string $roleId * * @return GetAppRoleScopeByRoleIdResponse */ public function getAppRoleScopeByRoleId($agentId, $roleId) { $runtime = new RuntimeOptions([]); $headers = new GetAppRoleScopeByRoleIdHeaders([]); return $this->getAppRoleScopeByRoleIdWithOptions($agentId, $roleId, $headers, $runtime); } /** * @param string $agentId * @param GetInnerAppRequest $request * @param GetInnerAppHeaders $headers * @param RuntimeOptions $runtime * * @return GetInnerAppResponse */ public function getInnerAppWithOptions($agentId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->ecologicalCorpId)) { $query['ecologicalCorpId'] = $request->ecologicalCorpId; } if (!Utils::isUnset($request->opUnionId)) { $query['opUnionId'] = $request->opUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetInnerApp', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetInnerAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param GetInnerAppRequest $request * * @return GetInnerAppResponse */ public function getInnerApp($agentId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetInnerAppHeaders([]); return $this->getInnerAppWithOptions($agentId, $request, $headers, $runtime); } /** * @param string $agentId * @param GetMicroAppScopeHeaders $headers * @param RuntimeOptions $runtime * * @return GetMicroAppScopeResponse */ public function getMicroAppScopeWithOptions($agentId, $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' => 'GetMicroAppScope', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '/scopes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetMicroAppScopeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * * @return GetMicroAppScopeResponse */ public function getMicroAppScope($agentId) { $runtime = new RuntimeOptions([]); $headers = new GetMicroAppScopeHeaders([]); return $this->getMicroAppScopeWithOptions($agentId, $headers, $runtime); } /** * @param string $agentId * @param string $userId * @param GetMicroAppUserAccessHeaders $headers * @param RuntimeOptions $runtime * * @return GetMicroAppUserAccessResponse */ public function getMicroAppUserAccessWithOptions($agentId, $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' => 'GetMicroAppUserAccess', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '/users/' . $userId . '/adminAccess', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetMicroAppUserAccessResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param string $userId * * @return GetMicroAppUserAccessResponse */ public function getMicroAppUserAccess($agentId, $userId) { $runtime = new RuntimeOptions([]); $headers = new GetMicroAppUserAccessHeaders([]); return $this->getMicroAppUserAccessWithOptions($agentId, $userId, $headers, $runtime); } /** * @param string $userId * @param GetUserAppDevAccessHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserAppDevAccessResponse */ public function getUserAppDevAccessWithOptions($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' => 'GetUserAppDevAccess', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/users/' . $userId . '/devAccesses', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserAppDevAccessResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * * @return GetUserAppDevAccessResponse */ public function getUserAppDevAccess($userId) { $runtime = new RuntimeOptions([]); $headers = new GetUserAppDevAccessHeaders([]); return $this->getUserAppDevAccessWithOptions($userId, $headers, $runtime); } /** * @param ListAllAppHeaders $headers * @param RuntimeOptions $runtime * * @return ListAllAppResponse */ public function listAllAppWithOptions($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' => 'ListAllApp', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/allApps', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListAllAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return ListAllAppResponse */ public function listAllApp() { $runtime = new RuntimeOptions([]); $headers = new ListAllAppHeaders([]); return $this->listAllAppWithOptions($headers, $runtime); } /** * @param ListAllInnerAppsHeaders $headers * @param RuntimeOptions $runtime * * @return ListAllInnerAppsResponse */ public function listAllInnerAppsWithOptions($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' => 'ListAllInnerApps', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/allInnerApps', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListAllInnerAppsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return ListAllInnerAppsResponse */ public function listAllInnerApps() { $runtime = new RuntimeOptions([]); $headers = new ListAllInnerAppsHeaders([]); return $this->listAllInnerAppsWithOptions($headers, $runtime); } /** * @param string $agentId * @param ListAppRoleScopesRequest $request * @param ListAppRoleScopesHeaders $headers * @param RuntimeOptions $runtime * * @return ListAppRoleScopesResponse */ public function listAppRoleScopesWithOptions($agentId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->size)) { $query['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, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListAppRoleScopes', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '/roles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListAppRoleScopesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param ListAppRoleScopesRequest $request * * @return ListAppRoleScopesResponse */ public function listAppRoleScopes($agentId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListAppRoleScopesHeaders([]); return $this->listAppRoleScopesWithOptions($agentId, $request, $headers, $runtime); } /** * @param ListInnerAppRequest $request * @param ListInnerAppHeaders $headers * @param RuntimeOptions $runtime * * @return ListInnerAppResponse */ public function listInnerAppWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->ecologicalCorpId)) { $query['ecologicalCorpId'] = $request->ecologicalCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListInnerApp', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListInnerAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListInnerAppRequest $request * * @return ListInnerAppResponse */ public function listInnerApp($request) { $runtime = new RuntimeOptions([]); $headers = new ListInnerAppHeaders([]); return $this->listInnerAppWithOptions($request, $headers, $runtime); } /** * @param string $agentId * @param ListInnerAppVersionHeaders $headers * @param RuntimeOptions $runtime * * @return ListInnerAppVersionResponse */ public function listInnerAppVersionWithOptions($agentId, $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' => 'ListInnerAppVersion', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/innerMiniApps/' . $agentId . '/versions', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListInnerAppVersionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * * @return ListInnerAppVersionResponse */ public function listInnerAppVersion($agentId) { $runtime = new RuntimeOptions([]); $headers = new ListInnerAppVersionHeaders([]); return $this->listInnerAppVersionWithOptions($agentId, $headers, $runtime); } /** * @param string $agentId * @param string $userId * @param ListRoleInfoByUserHeaders $headers * @param RuntimeOptions $runtime * * @return ListRoleInfoByUserResponse */ public function listRoleInfoByUserWithOptions($agentId, $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' => 'ListRoleInfoByUser', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '/users/' . $userId . '/roles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListRoleInfoByUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param string $userId * * @return ListRoleInfoByUserResponse */ public function listRoleInfoByUser($agentId, $userId) { $runtime = new RuntimeOptions([]); $headers = new ListRoleInfoByUserHeaders([]); return $this->listRoleInfoByUserWithOptions($agentId, $userId, $headers, $runtime); } /** * @param string $userId * @param ListUserVilebleAppHeaders $headers * @param RuntimeOptions $runtime * * @return ListUserVilebleAppResponse */ public function listUserVilebleAppWithOptions($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' => 'ListUserVilebleApp', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/users/' . $userId . '/apps', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListUserVilebleAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * * @return ListUserVilebleAppResponse */ public function listUserVilebleApp($userId) { $runtime = new RuntimeOptions([]); $headers = new ListUserVilebleAppHeaders([]); return $this->listUserVilebleAppWithOptions($userId, $headers, $runtime); } /** * @param string $agentId * @param PageInnerAppHistoryVersionRequest $request * @param PageInnerAppHistoryVersionHeaders $headers * @param RuntimeOptions $runtime * * @return PageInnerAppHistoryVersionResponse */ public function pageInnerAppHistoryVersionWithOptions($agentId, $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' => 'PageInnerAppHistoryVersion', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/innerMiniApps/' . $agentId . '/historyVersions', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PageInnerAppHistoryVersionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param PageInnerAppHistoryVersionRequest $request * * @return PageInnerAppHistoryVersionResponse */ public function pageInnerAppHistoryVersion($agentId, $request) { $runtime = new RuntimeOptions([]); $headers = new PageInnerAppHistoryVersionHeaders([]); return $this->pageInnerAppHistoryVersionWithOptions($agentId, $request, $headers, $runtime); } /** * @param string $agentId * @param PublishInnerAppVersionRequest $request * @param PublishInnerAppVersionHeaders $headers * @param RuntimeOptions $runtime * * @return PublishInnerAppVersionResponse */ public function publishInnerAppVersionWithOptions($agentId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appVersionId)) { $body['appVersionId'] = $request->appVersionId; } if (!Utils::isUnset($request->miniAppOnPc)) { $body['miniAppOnPc'] = $request->miniAppOnPc; } if (!Utils::isUnset($request->opUnionId)) { $body['opUnionId'] = $request->opUnionId; } if (!Utils::isUnset($request->publishType)) { $body['publishType'] = $request->publishType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PublishInnerAppVersion', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/innerMiniApps/' . $agentId . '/versions/publish', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PublishInnerAppVersionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param PublishInnerAppVersionRequest $request * * @return PublishInnerAppVersionResponse */ public function publishInnerAppVersion($agentId, $request) { $runtime = new RuntimeOptions([]); $headers = new PublishInnerAppVersionHeaders([]); return $this->publishInnerAppVersionWithOptions($agentId, $request, $headers, $runtime); } /** * @param string $agentId * @param string $roleId * @param RebuildRoleScopeForAppRoleRequest $request * @param RebuildRoleScopeForAppRoleHeaders $headers * @param RuntimeOptions $runtime * * @return RebuildRoleScopeForAppRoleResponse */ public function rebuildRoleScopeForAppRoleWithOptions($agentId, $roleId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptIdList)) { $body['deptIdList'] = $request->deptIdList; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->scopeType)) { $body['scopeType'] = $request->scopeType; } if (!Utils::isUnset($request->scopeVersion)) { $body['scopeVersion'] = $request->scopeVersion; } 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' => 'RebuildRoleScopeForAppRole', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '/roles/' . $roleId . '/scopes/rebuild', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return RebuildRoleScopeForAppRoleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param string $roleId * @param RebuildRoleScopeForAppRoleRequest $request * * @return RebuildRoleScopeForAppRoleResponse */ public function rebuildRoleScopeForAppRole($agentId, $roleId, $request) { $runtime = new RuntimeOptions([]); $headers = new RebuildRoleScopeForAppRoleHeaders([]); return $this->rebuildRoleScopeForAppRoleWithOptions($agentId, $roleId, $request, $headers, $runtime); } /** * @param string $agentId * @param RegisterCustomAppRoleRequest $request * @param RegisterCustomAppRoleHeaders $headers * @param RuntimeOptions $runtime * * @return RegisterCustomAppRoleResponse */ public function registerCustomAppRoleWithOptions($agentId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->canManageRole)) { $body['canManageRole'] = $request->canManageRole; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->roleName)) { $body['roleName'] = $request->roleName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RegisterCustomAppRole', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '/roles', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return RegisterCustomAppRoleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param RegisterCustomAppRoleRequest $request * * @return RegisterCustomAppRoleResponse */ public function registerCustomAppRole($agentId, $request) { $runtime = new RuntimeOptions([]); $headers = new RegisterCustomAppRoleHeaders([]); return $this->registerCustomAppRoleWithOptions($agentId, $request, $headers, $runtime); } /** * @param RemoveApaasAppRequest $request * @param RemoveApaasAppHeaders $headers * @param RuntimeOptions $runtime * * @return RemoveApaasAppResponse */ public function removeApaasAppWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizAppId)) { $body['bizAppId'] = $request->bizAppId; } 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' => 'RemoveApaasApp', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apaasApps/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RemoveApaasAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RemoveApaasAppRequest $request * * @return RemoveApaasAppResponse */ public function removeApaasApp($request) { $runtime = new RuntimeOptions([]); $headers = new RemoveApaasAppHeaders([]); return $this->removeApaasAppWithOptions($request, $headers, $runtime); } /** * @param string $agentId * @param string $roleId * @param RemoveMemberForAppRoleRequest $request * @param RemoveMemberForAppRoleHeaders $headers * @param RuntimeOptions $runtime * * @return RemoveMemberForAppRoleResponse */ public function removeMemberForAppRoleWithOptions($agentId, $roleId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptIdList)) { $body['deptIdList'] = $request->deptIdList; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->scopeVersion)) { $body['scopeVersion'] = $request->scopeVersion; } 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' => 'RemoveMemberForAppRole', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '/roles/' . $roleId . '/members/batchRemove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return RemoveMemberForAppRoleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param string $roleId * @param RemoveMemberForAppRoleRequest $request * * @return RemoveMemberForAppRoleResponse */ public function removeMemberForAppRole($agentId, $roleId, $request) { $runtime = new RuntimeOptions([]); $headers = new RemoveMemberForAppRoleHeaders([]); return $this->removeMemberForAppRoleWithOptions($agentId, $roleId, $request, $headers, $runtime); } /** * @param string $agentId * @param RollbackInnerAppVersionRequest $request * @param RollbackInnerAppVersionHeaders $headers * @param RuntimeOptions $runtime * * @return RollbackInnerAppVersionResponse */ public function rollbackInnerAppVersionWithOptions($agentId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appVersionId)) { $body['appVersionId'] = $request->appVersionId; } if (!Utils::isUnset($request->opUnionId)) { $body['opUnionId'] = $request->opUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RollbackInnerAppVersion', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/innerMiniApps/' . $agentId . '/versions/rollback', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RollbackInnerAppVersionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param RollbackInnerAppVersionRequest $request * * @return RollbackInnerAppVersionResponse */ public function rollbackInnerAppVersion($agentId, $request) { $runtime = new RuntimeOptions([]); $headers = new RollbackInnerAppVersionHeaders([]); return $this->rollbackInnerAppVersionWithOptions($agentId, $request, $headers, $runtime); } /** * @param string $agentId * @param SetMicroAppScopeRequest $request * @param SetMicroAppScopeHeaders $headers * @param RuntimeOptions $runtime * * @return SetMicroAppScopeResponse */ public function setMicroAppScopeWithOptions($agentId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->addDeptIds)) { $body['addDeptIds'] = $request->addDeptIds; } if (!Utils::isUnset($request->addRoleIds)) { $body['addRoleIds'] = $request->addRoleIds; } if (!Utils::isUnset($request->addUserIds)) { $body['addUserIds'] = $request->addUserIds; } if (!Utils::isUnset($request->delDeptIds)) { $body['delDeptIds'] = $request->delDeptIds; } if (!Utils::isUnset($request->delRoleIds)) { $body['delRoleIds'] = $request->delRoleIds; } if (!Utils::isUnset($request->delUserIds)) { $body['delUserIds'] = $request->delUserIds; } if (!Utils::isUnset($request->onlyAdminVisible)) { $body['onlyAdminVisible'] = $request->onlyAdminVisible; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SetMicroAppScope', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '/scopes', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SetMicroAppScopeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param SetMicroAppScopeRequest $request * * @return SetMicroAppScopeResponse */ public function setMicroAppScope($agentId, $request) { $runtime = new RuntimeOptions([]); $headers = new SetMicroAppScopeHeaders([]); return $this->setMicroAppScopeWithOptions($agentId, $request, $headers, $runtime); } /** * @param UpdateApaasAppRequest $request * @param UpdateApaasAppHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateApaasAppResponse */ public function updateApaasAppWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appIcon)) { $body['appIcon'] = $request->appIcon; } if (!Utils::isUnset($request->appName)) { $body['appName'] = $request->appName; } if (!Utils::isUnset($request->appStatus)) { $body['appStatus'] = $request->appStatus; } if (!Utils::isUnset($request->bizAppId)) { $body['bizAppId'] = $request->bizAppId; } 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' => 'UpdateApaasApp', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apaasApps', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateApaasAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateApaasAppRequest $request * * @return UpdateApaasAppResponse */ public function updateApaasApp($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateApaasAppHeaders([]); return $this->updateApaasAppWithOptions($request, $headers, $runtime); } /** * @param string $agentId * @param string $roleId * @param UpdateAppRoleInfoRequest $request * @param UpdateAppRoleInfoHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateAppRoleInfoResponse */ public function updateAppRoleInfoWithOptions($agentId, $roleId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->canManageRole)) { $body['canManageRole'] = $request->canManageRole; } if (!Utils::isUnset($request->newRoleName)) { $body['newRoleName'] = $request->newRoleName; } 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' => 'UpdateAppRoleInfo', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '/roles/' . $roleId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateAppRoleInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param string $roleId * @param UpdateAppRoleInfoRequest $request * * @return UpdateAppRoleInfoResponse */ public function updateAppRoleInfo($agentId, $roleId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateAppRoleInfoHeaders([]); return $this->updateAppRoleInfoWithOptions($agentId, $roleId, $request, $headers, $runtime); } /** * @param string $agentId * @param UpdateInnerAppRequest $request * @param UpdateInnerAppHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateInnerAppResponse */ public function updateInnerAppWithOptions($agentId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->desc)) { $body['desc'] = $request->desc; } if (!Utils::isUnset($request->homepageLink)) { $body['homepageLink'] = $request->homepageLink; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->ipWhiteList)) { $body['ipWhiteList'] = $request->ipWhiteList; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->ompLink)) { $body['ompLink'] = $request->ompLink; } if (!Utils::isUnset($request->opUnionId)) { $body['opUnionId'] = $request->opUnionId; } if (!Utils::isUnset($request->pcHomepageLink)) { $body['pcHomepageLink'] = $request->pcHomepageLink; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateInnerApp', 'version' => 'microApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/microApp/apps/' . $agentId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateInnerAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $agentId * @param UpdateInnerAppRequest $request * * @return UpdateInnerAppResponse */ public function updateInnerApp($agentId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInnerAppHeaders([]); return $this->updateInnerAppWithOptions($agentId, $request, $headers, $runtime); } } src/micro_app_1_0/Models/AddAppRolesToMemberHeaders.php000064400000002347146412132660016777 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddAppRolesToMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/AddAppRolesToMemberRequest.php000064400000004445146412132660017055 0ustar00 'memberId', 'memberType' => 'memberType', 'opUserId' => 'opUserId', 'roleList' => 'roleList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->roleList) { $res['roleList'] = []; if (null !== $this->roleList && \is_array($this->roleList)) { $n = 0; foreach ($this->roleList as $item) { $res['roleList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return AddAppRolesToMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['roleList'])) { if (!empty($map['roleList'])) { $model->roleList = []; $n = 0; foreach ($map['roleList'] as $item) { $model->roleList[$n++] = null !== $item ? roleList::fromMap($item) : $item; } } } return $model; } } src/micro_app_1_0/Models/AddAppRolesToMemberRequest/roleList.php000064400000002173146412132660020646 0ustar00 'roleId', 'scopeVersion' => 'scopeVersion', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->scopeVersion) { $res['scopeVersion'] = $this->scopeVersion; } return $res; } /** * @param array $map * * @return roleList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['scopeVersion'])) { $model->scopeVersion = $map['scopeVersion']; } return $model; } } src/micro_app_1_0/Models/AddAppRolesToMemberResponse.php000064400000002753146412132660017223 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddAppRolesToMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddAppRolesToMemberResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/AddAppRolesToMemberResponseBody.php000064400000002630146412132660020033 0ustar00 '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 AddAppRolesToMemberResponseBody */ 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/micro_app_1_0/Models/AddAppRolesToMemberResponseBody/result.php000064400000004455146412132660021360 0ustar00 'latestScopeVersion', 'roleId' => 'roleId', 'subErrorCode' => 'subErrorCode', 'subErrorMsg' => 'subErrorMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->latestScopeVersion) { $res['latestScopeVersion'] = $this->latestScopeVersion; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->subErrorCode) { $res['subErrorCode'] = $this->subErrorCode; } if (null !== $this->subErrorMsg) { $res['subErrorMsg'] = $this->subErrorMsg; } 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['latestScopeVersion'])) { $model->latestScopeVersion = $map['latestScopeVersion']; } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['subErrorCode'])) { $model->subErrorCode = $map['subErrorCode']; } if (isset($map['subErrorMsg'])) { $model->subErrorMsg = $map['subErrorMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/micro_app_1_0/Models/AddAppToWorkBenchGroupHeaders.php000064400000002355146412132660017461 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddAppToWorkBenchGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/AddAppToWorkBenchGroupRequest.php000064400000003152146412132660017532 0ustar00 'componentId', 'ecologicalCorpId' => 'ecologicalCorpId', 'opUnionId' => 'opUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentId) { $res['componentId'] = $this->componentId; } if (null !== $this->ecologicalCorpId) { $res['ecologicalCorpId'] = $this->ecologicalCorpId; } if (null !== $this->opUnionId) { $res['opUnionId'] = $this->opUnionId; } return $res; } /** * @param array $map * * @return AddAppToWorkBenchGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentId'])) { $model->componentId = $map['componentId']; } if (isset($map['ecologicalCorpId'])) { $model->ecologicalCorpId = $map['ecologicalCorpId']; } if (isset($map['opUnionId'])) { $model->opUnionId = $map['opUnionId']; } return $model; } } src/micro_app_1_0/Models/AddAppToWorkBenchGroupResponse.php000064400000002767146412132660017713 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddAppToWorkBenchGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddAppToWorkBenchGroupResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/AddAppToWorkBenchGroupResponseBody.php000064400000001552146412132660020520 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AddAppToWorkBenchGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/micro_app_1_0/Models/AddMemberToAppRoleHeaders.php000064400000002345146412132660016612 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddMemberToAppRoleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/AddMemberToAppRoleRequest.php000064400000003576146412132660016676 0ustar00 'deptIdList', 'opUserId' => 'opUserId', 'scopeVersion' => 'scopeVersion', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIdList) { $res['deptIdList'] = $this->deptIdList; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->scopeVersion) { $res['scopeVersion'] = $this->scopeVersion; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return AddMemberToAppRoleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIdList'])) { if (!empty($map['deptIdList'])) { $model->deptIdList = $map['deptIdList']; } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['scopeVersion'])) { $model->scopeVersion = $map['scopeVersion']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/micro_app_1_0/Models/AddMemberToAppRoleResponse.php000064400000002747146412132660017043 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddMemberToAppRoleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddMemberToAppRoleResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/AddMemberToAppRoleResponseBody.php000064400000001714146412132660017652 0ustar00 'latestScopeVersion', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->latestScopeVersion) { $res['latestScopeVersion'] = $this->latestScopeVersion; } return $res; } /** * @param array $map * * @return AddMemberToAppRoleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['latestScopeVersion'])) { $model->latestScopeVersion = $map['latestScopeVersion']; } return $model; } } src/micro_app_1_0/Models/AnheiPResponse.php000064400000002667146412132660014602 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AnheiPResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AnheiPResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/AnheiPResponseBody.php000064400000001460146412132660015406 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AnheiPResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/micro_app_1_0/Models/AnheiTest888Response.php000064400000002717146412132660015566 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AnheiTest888Response */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AnheiTest888ResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/AnheiTest888ResponseBody.php000064400000001527146412132660016402 0ustar00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return AnheiTest888ResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/micro_app_1_0/Models/AnheiTestBResponse.php000064400000002707146412132660015417 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AnheiTestBResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AnheiTestBResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/AnheiTestBResponseBody.php000064400000001523146412132660016230 0ustar00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return AnheiTestBResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/micro_app_1_0/Models/AnheiTestNineResponse.php000064400000002723146412132660016125 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AnheiTestNineResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AnheiTestNineResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/AnheiTestNineResponseBody.php000064400000001531146412132660016737 0ustar00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return AnheiTestNineResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/micro_app_1_0/Models/AppStatusManagerTestRequest.php000064400000001535146412132660017340 0ustar00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return AppStatusManagerTestRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/micro_app_1_0/Models/AppStatusManagerTestResponse.php000064400000002757146412132660017515 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AppStatusManagerTestResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AppStatusManagerTestResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/AppStatusManagerTestResponseBody.php000064400000001547146412132660020327 0ustar00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return AppStatusManagerTestResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/micro_app_1_0/Models/AyunTestOnlineResponse.php000064400000002727146412132660016354 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AyunTestOnlineResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AyunTestOnlineResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/AyunTestOnlineResponseBody.php000064400000001533146412132660017164 0ustar00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return AyunTestOnlineResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/micro_app_1_0/Models/AyunTestResponse.php000064400000002677146412132660015213 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AyunTestResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AyunTestResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/AyunTestResponseBody.php000064400000001517146412132660016021 0ustar00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return AyunTestResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/micro_app_1_0/Models/CreateApaasAppHeaders.php000064400000002335146412132660016015 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateApaasAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/CreateApaasAppRequest.php000064400000010405146412132660016067 0ustar00 'appDesc', 'appIcon' => 'appIcon', 'appName' => 'appName', 'bizAppId' => 'bizAppId', 'homepageEditLink' => 'homepageEditLink', 'homepageLink' => 'homepageLink', 'isShortCut' => 'isShortCut', 'ompLink' => 'ompLink', 'opUserId' => 'opUserId', 'pcHomepageEditLink' => 'pcHomepageEditLink', 'pcHomepageLink' => 'pcHomepageLink', 'templateKey' => 'templateKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appDesc) { $res['appDesc'] = $this->appDesc; } if (null !== $this->appIcon) { $res['appIcon'] = $this->appIcon; } if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->bizAppId) { $res['bizAppId'] = $this->bizAppId; } if (null !== $this->homepageEditLink) { $res['homepageEditLink'] = $this->homepageEditLink; } if (null !== $this->homepageLink) { $res['homepageLink'] = $this->homepageLink; } if (null !== $this->isShortCut) { $res['isShortCut'] = $this->isShortCut; } if (null !== $this->ompLink) { $res['ompLink'] = $this->ompLink; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->pcHomepageEditLink) { $res['pcHomepageEditLink'] = $this->pcHomepageEditLink; } if (null !== $this->pcHomepageLink) { $res['pcHomepageLink'] = $this->pcHomepageLink; } if (null !== $this->templateKey) { $res['templateKey'] = $this->templateKey; } return $res; } /** * @param array $map * * @return CreateApaasAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appDesc'])) { $model->appDesc = $map['appDesc']; } if (isset($map['appIcon'])) { $model->appIcon = $map['appIcon']; } if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['bizAppId'])) { $model->bizAppId = $map['bizAppId']; } if (isset($map['homepageEditLink'])) { $model->homepageEditLink = $map['homepageEditLink']; } if (isset($map['homepageLink'])) { $model->homepageLink = $map['homepageLink']; } if (isset($map['isShortCut'])) { $model->isShortCut = $map['isShortCut']; } if (isset($map['ompLink'])) { $model->ompLink = $map['ompLink']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['pcHomepageEditLink'])) { $model->pcHomepageEditLink = $map['pcHomepageEditLink']; } if (isset($map['pcHomepageLink'])) { $model->pcHomepageLink = $map['pcHomepageLink']; } if (isset($map['templateKey'])) { $model->templateKey = $map['templateKey']; } return $model; } } src/micro_app_1_0/Models/CreateApaasAppResponse.php000064400000002727146412132660016245 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateApaasAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateApaasAppResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/CreateApaasAppResponseBody.php000064400000002200146412132660017045 0ustar00 'agentId', 'bizAppId' => 'bizAppId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->bizAppId) { $res['bizAppId'] = $this->bizAppId; } return $res; } /** * @param array $map * * @return CreateApaasAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['bizAppId'])) { $model->bizAppId = $map['bizAppId']; } return $model; } } src/micro_app_1_0/Models/CreateInnerAppHeaders.php000064400000002335146412132660016043 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateInnerAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/CreateInnerAppRequest.php000064400000007461146412132660016125 0ustar00 'desc', 'developType' => 'developType', 'homepageLink' => 'homepageLink', 'icon' => 'icon', 'ipWhiteList' => 'ipWhiteList', 'name' => 'name', 'ompLink' => 'ompLink', 'opUnionId' => 'opUnionId', 'pcHomepageLink' => 'pcHomepageLink', 'scopeType' => 'scopeType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->developType) { $res['developType'] = $this->developType; } if (null !== $this->homepageLink) { $res['homepageLink'] = $this->homepageLink; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->ipWhiteList) { $res['ipWhiteList'] = $this->ipWhiteList; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->ompLink) { $res['ompLink'] = $this->ompLink; } if (null !== $this->opUnionId) { $res['opUnionId'] = $this->opUnionId; } if (null !== $this->pcHomepageLink) { $res['pcHomepageLink'] = $this->pcHomepageLink; } if (null !== $this->scopeType) { $res['scopeType'] = $this->scopeType; } return $res; } /** * @param array $map * * @return CreateInnerAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['developType'])) { $model->developType = $map['developType']; } if (isset($map['homepageLink'])) { $model->homepageLink = $map['homepageLink']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['ipWhiteList'])) { if (!empty($map['ipWhiteList'])) { $model->ipWhiteList = $map['ipWhiteList']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['ompLink'])) { $model->ompLink = $map['ompLink']; } if (isset($map['opUnionId'])) { $model->opUnionId = $map['opUnionId']; } if (isset($map['pcHomepageLink'])) { $model->pcHomepageLink = $map['pcHomepageLink']; } if (isset($map['scopeType'])) { $model->scopeType = $map['scopeType']; } return $model; } } src/micro_app_1_0/Models/CreateInnerAppResponse.php000064400000002727146412132660016273 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateInnerAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateInnerAppResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/CreateInnerAppResponseBody.php000064400000002635146412132660017107 0ustar00 'agentId', 'appKey' => 'appKey', 'appSecret' => 'appSecret', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->appSecret) { $res['appSecret'] = $this->appSecret; } return $res; } /** * @param array $map * * @return CreateInnerAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['appSecret'])) { $model->appSecret = $map['appSecret']; } return $model; } } src/micro_app_1_0/Models/DeleteAppRoleHeaders.php000064400000002333146412132660015666 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteAppRoleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/DeleteAppRoleRequest.php000064400000001506146412132660015744 0ustar00 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return DeleteAppRoleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/micro_app_1_0/Models/DeleteAppRoleResponse.php000064400000002723146412132660016114 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteAppRoleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteAppRoleResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/DeleteAppRoleResponseBody.php000064400000001530146412132660016725 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteAppRoleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/micro_app_1_0/Models/DeleteInnerAppHeaders.php000064400000002335146412132660016042 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteInnerAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/DeleteInnerAppRequest.php000064400000001555146412132660016122 0ustar00 'opUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->opUnionId) { $res['opUnionId'] = $this->opUnionId; } return $res; } /** * @param array $map * * @return DeleteInnerAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['opUnionId'])) { $model->opUnionId = $map['opUnionId']; } return $model; } } src/micro_app_1_0/Models/DeleteInnerAppResponse.php000064400000002727146412132660016272 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteInnerAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteInnerAppResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/DeleteInnerAppResponseBody.php000064400000001532146412132660017101 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteInnerAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/micro_app_1_0/Models/GetApaasAppHeaders.php000064400000002327146412132660015332 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetApaasAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/GetApaasAppResponse.php000064400000002713146412132660015554 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetApaasAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetApaasAppResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/GetApaasAppResponseBody.php000064400000002721146412132660016371 0ustar00 'agentId', 'bizAppId' => 'bizAppId', 'publishStatus' => 'publishStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->bizAppId) { $res['bizAppId'] = $this->bizAppId; } if (null !== $this->publishStatus) { $res['publishStatus'] = $this->publishStatus; } return $res; } /** * @param array $map * * @return GetApaasAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['bizAppId'])) { $model->bizAppId = $map['bizAppId']; } if (isset($map['publishStatus'])) { $model->publishStatus = $map['publishStatus']; } return $model; } } src/micro_app_1_0/Models/GetAppResourceUseInfoHeaders.php000064400000002353146412132660017364 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAppResourceUseInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/GetAppResourceUseInfoRequest.php000064400000003544146412132660017444 0ustar00 'benefitCode', 'endTime' => 'endTime', 'periodType' => 'periodType', 'startTime' => 'startTime', ]; 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->periodType) { $res['periodType'] = $this->periodType; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return GetAppResourceUseInfoRequest */ 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['periodType'])) { $model->periodType = $map['periodType']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/micro_app_1_0/Models/GetAppResourceUseInfoResponse.php000064400000003677146412132660017621 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } 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 GetAppResourceUseInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } 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/micro_app_1_0/Models/GetAppResourceUseInfoResponse/body.php000064400000002675146412132660020553 0ustar00 'period', 'usedNum' => 'usedNum', 'quotaNum' => 'quotaNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->usedNum) { $res['usedNum'] = $this->usedNum; } if (null !== $this->quotaNum) { $res['quotaNum'] = $this->quotaNum; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['usedNum'])) { $model->usedNum = $map['usedNum']; } if (isset($map['quotaNum'])) { $model->quotaNum = $map['quotaNum']; } return $model; } } src/micro_app_1_0/Models/GetAppRoleScopeByRoleIdHeaders.php000064400000002357146412132660017575 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAppRoleScopeByRoleIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/GetAppRoleScopeByRoleIdResponse.php000064400000002773146412132660020022 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAppRoleScopeByRoleIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAppRoleScopeByRoleIdResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/GetAppRoleScopeByRoleIdResponseBody.php000064400000005670146412132660020637 0ustar00 'canManageRole', 'deptIdList' => 'deptIdList', 'roleId' => 'roleId', 'roleName' => 'roleName', 'scopeType' => 'scopeType', 'scopeVersion' => 'scopeVersion', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->canManageRole) { $res['canManageRole'] = $this->canManageRole; } if (null !== $this->deptIdList) { $res['deptIdList'] = $this->deptIdList; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } if (null !== $this->scopeType) { $res['scopeType'] = $this->scopeType; } if (null !== $this->scopeVersion) { $res['scopeVersion'] = $this->scopeVersion; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return GetAppRoleScopeByRoleIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['canManageRole'])) { $model->canManageRole = $map['canManageRole']; } if (isset($map['deptIdList'])) { if (!empty($map['deptIdList'])) { $model->deptIdList = $map['deptIdList']; } } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } if (isset($map['scopeType'])) { $model->scopeType = $map['scopeType']; } if (isset($map['scopeVersion'])) { $model->scopeVersion = $map['scopeVersion']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/micro_app_1_0/Models/GetInnerAppHeaders.php000064400000002327146412132660015360 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetInnerAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/GetInnerAppRequest.php000064400000002366146412132660015440 0ustar00 'ecologicalCorpId', 'opUnionId' => 'opUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ecologicalCorpId) { $res['ecologicalCorpId'] = $this->ecologicalCorpId; } if (null !== $this->opUnionId) { $res['opUnionId'] = $this->opUnionId; } return $res; } /** * @param array $map * * @return GetInnerAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ecologicalCorpId'])) { $model->ecologicalCorpId = $map['ecologicalCorpId']; } if (isset($map['opUnionId'])) { $model->opUnionId = $map['opUnionId']; } return $model; } } src/micro_app_1_0/Models/GetInnerAppResponse.php000064400000002713146412132660015602 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetInnerAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetInnerAppResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/GetInnerAppResponseBody.php000064400000007423146412132660016423 0ustar00 'agentId', 'appKey' => 'appKey', 'appSecret' => 'appSecret', 'desc' => 'desc', 'homepageLink' => 'homepageLink', 'icon' => 'icon', 'ipWhiteList' => 'ipWhiteList', 'name' => 'name', 'ompLink' => 'ompLink', 'pcHomepageLink' => 'pcHomepageLink', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->appSecret) { $res['appSecret'] = $this->appSecret; } if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->homepageLink) { $res['homepageLink'] = $this->homepageLink; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->ipWhiteList) { $res['ipWhiteList'] = $this->ipWhiteList; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->ompLink) { $res['ompLink'] = $this->ompLink; } if (null !== $this->pcHomepageLink) { $res['pcHomepageLink'] = $this->pcHomepageLink; } return $res; } /** * @param array $map * * @return GetInnerAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['appSecret'])) { $model->appSecret = $map['appSecret']; } if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['homepageLink'])) { $model->homepageLink = $map['homepageLink']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['ipWhiteList'])) { if (!empty($map['ipWhiteList'])) { $model->ipWhiteList = $map['ipWhiteList']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['ompLink'])) { $model->ompLink = $map['ompLink']; } if (isset($map['pcHomepageLink'])) { $model->pcHomepageLink = $map['pcHomepageLink']; } return $model; } } src/micro_app_1_0/Models/GetMicroAppScopeHeaders.php000064400000002341146412132660016344 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMicroAppScopeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/GetMicroAppScopeResponse.php000064400000002737146412132660016600 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMicroAppScopeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMicroAppScopeResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/GetMicroAppScopeResponseBody.php000064400000001763146412132660017414 0ustar00 '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 GetMicroAppScopeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/micro_app_1_0/Models/GetMicroAppScopeResponseBody/result.php000064400000003644146412132660020732 0ustar00 'deptIds', 'onlyAdminVisible' => 'onlyAdminVisible', 'roleIds' => 'roleIds', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->onlyAdminVisible) { $res['onlyAdminVisible'] = $this->onlyAdminVisible; } if (null !== $this->roleIds) { $res['roleIds'] = $this->roleIds; } 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['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['onlyAdminVisible'])) { $model->onlyAdminVisible = $map['onlyAdminVisible']; } if (isset($map['roleIds'])) { if (!empty($map['roleIds'])) { $model->roleIds = $map['roleIds']; } } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/micro_app_1_0/Models/GetMicroAppUserAccessHeaders.php000064400000002353146412132660017336 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMicroAppUserAccessHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/GetMicroAppUserAccessResponse.php000064400000002763146412132660017566 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMicroAppUserAccessResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMicroAppUserAccessResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/GetMicroAppUserAccessResponseBody.php000064400000001550146412132660020375 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetMicroAppUserAccessResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/micro_app_1_0/Models/GetUserAppDevAccessHeaders.php000064400000002347146412132660017006 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserAppDevAccessHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/GetUserAppDevAccessResponse.php000064400000002753146412132660017232 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserAppDevAccessResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserAppDevAccessResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/GetUserAppDevAccessResponseBody.php000064400000001510146412132660020036 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetUserAppDevAccessResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/micro_app_1_0/Models/ListAllAppHeaders.php000064400000002325146412132660015207 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAllAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/ListAllAppResponse.php000064400000002707146412132660015436 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAllAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAllAppResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/ListAllAppResponseBody.php000064400000002617146412132660016254 0ustar00 'appList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appList) { $res['appList'] = []; if (null !== $this->appList && \is_array($this->appList)) { $n = 0; foreach ($this->appList as $item) { $res['appList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListAllAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appList'])) { if (!empty($map['appList'])) { $model->appList = []; $n = 0; foreach ($map['appList'] as $item) { $model->appList[$n++] = null !== $item ? appList::fromMap($item) : $item; } } } return $model; } } src/micro_app_1_0/Models/ListAllAppResponseBody/appList.php000064400000007254146412132660017672 0ustar00 'agentId', 'appId' => 'appId', 'appStatus' => 'appStatus', 'desc' => 'desc', 'developType' => 'developType', 'homepageLink' => 'homepageLink', 'icon' => 'icon', 'name' => 'name', 'ompLink' => 'ompLink', 'pcHomepageLink' => 'pcHomepageLink', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->appStatus) { $res['appStatus'] = $this->appStatus; } if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->developType) { $res['developType'] = $this->developType; } if (null !== $this->homepageLink) { $res['homepageLink'] = $this->homepageLink; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->ompLink) { $res['ompLink'] = $this->ompLink; } if (null !== $this->pcHomepageLink) { $res['pcHomepageLink'] = $this->pcHomepageLink; } return $res; } /** * @param array $map * * @return appList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['appStatus'])) { $model->appStatus = $map['appStatus']; } if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['developType'])) { $model->developType = $map['developType']; } if (isset($map['homepageLink'])) { $model->homepageLink = $map['homepageLink']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['ompLink'])) { $model->ompLink = $map['ompLink']; } if (isset($map['pcHomepageLink'])) { $model->pcHomepageLink = $map['pcHomepageLink']; } return $model; } } src/micro_app_1_0/Models/ListAllInnerAppsHeaders.php000064400000002341146412132660016364 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAllInnerAppsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/ListAllInnerAppsResponse.php000064400000002737146412132660016620 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAllInnerAppsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAllInnerAppsResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/ListAllInnerAppsResponseBody.php000064400000002641146412132660017430 0ustar00 'appList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appList) { $res['appList'] = []; if (null !== $this->appList && \is_array($this->appList)) { $n = 0; foreach ($this->appList as $item) { $res['appList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListAllInnerAppsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appList'])) { if (!empty($map['appList'])) { $model->appList = []; $n = 0; foreach ($map['appList'] as $item) { $model->appList[$n++] = null !== $item ? appList::fromMap($item) : $item; } } } return $model; } } src/micro_app_1_0/Models/ListAllInnerAppsResponseBody/appList.php000064400000007313146412132660021045 0ustar00 'agentId', 'appId' => 'appId', 'appStatus' => 'appStatus', 'desc' => 'desc', 'developType' => 'developType', 'homepageLink' => 'homepageLink', 'icon' => 'icon', 'name' => 'name', 'ompLink' => 'ompLink', 'pcHomepageLink' => 'pcHomepageLink', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->appStatus) { $res['appStatus'] = $this->appStatus; } if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->developType) { $res['developType'] = $this->developType; } if (null !== $this->homepageLink) { $res['homepageLink'] = $this->homepageLink; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->ompLink) { $res['ompLink'] = $this->ompLink; } if (null !== $this->pcHomepageLink) { $res['pcHomepageLink'] = $this->pcHomepageLink; } return $res; } /** * @param array $map * * @return appList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['appStatus'])) { $model->appStatus = $map['appStatus']; } if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['developType'])) { $model->developType = $map['developType']; } if (isset($map['homepageLink'])) { $model->homepageLink = $map['homepageLink']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['ompLink'])) { $model->ompLink = $map['ompLink']; } if (isset($map['pcHomepageLink'])) { $model->pcHomepageLink = $map['pcHomepageLink']; } return $model; } } src/micro_app_1_0/Models/ListAppRoleScopesHeaders.php000064400000002343146412132660016555 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAppRoleScopesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/ListAppRoleScopesRequest.php000064400000002122146412132660016625 0ustar00 'nextToken', 'size' => 'size', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->size) { $res['size'] = $this->size; } return $res; } /** * @param array $map * * @return ListAppRoleScopesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['size'])) { $model->size = $map['size']; } return $model; } } src/micro_app_1_0/Models/ListAppRoleScopesResponse.php000064400000002743146412132660017004 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAppRoleScopesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAppRoleScopesResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/ListAppRoleScopesResponseBody.php000064400000004051146412132660017614 0ustar00 'dataList', 'hasMore' => 'hasMore', 'nextToken' => 'nextToken', ]; 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->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListAppRoleScopesResponseBody */ 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['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/micro_app_1_0/Models/ListAppRoleScopesResponseBody/dataList.php000064400000005635146412132660021372 0ustar00 'canManageRole', 'deptIdList' => 'deptIdList', 'roleId' => 'roleId', 'roleName' => 'roleName', 'scopeType' => 'scopeType', 'scopeVersion' => 'scopeVersion', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->canManageRole) { $res['canManageRole'] = $this->canManageRole; } if (null !== $this->deptIdList) { $res['deptIdList'] = $this->deptIdList; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } if (null !== $this->scopeType) { $res['scopeType'] = $this->scopeType; } if (null !== $this->scopeVersion) { $res['scopeVersion'] = $this->scopeVersion; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return dataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['canManageRole'])) { $model->canManageRole = $map['canManageRole']; } if (isset($map['deptIdList'])) { if (!empty($map['deptIdList'])) { $model->deptIdList = $map['deptIdList']; } } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } if (isset($map['scopeType'])) { $model->scopeType = $map['scopeType']; } if (isset($map['scopeVersion'])) { $model->scopeVersion = $map['scopeVersion']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/micro_app_1_0/Models/ListInnerAppHeaders.php000064400000002331146412132660015547 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListInnerAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/ListInnerAppRequest.php000064400000001650146412132660015627 0ustar00 'ecologicalCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ecologicalCorpId) { $res['ecologicalCorpId'] = $this->ecologicalCorpId; } return $res; } /** * @param array $map * * @return ListInnerAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ecologicalCorpId'])) { $model->ecologicalCorpId = $map['ecologicalCorpId']; } return $model; } } src/micro_app_1_0/Models/ListInnerAppResponse.php000064400000002717146412132660016002 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListInnerAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListInnerAppResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/ListInnerAppResponseBody.php000064400000002625146412132660016616 0ustar00 'appList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appList) { $res['appList'] = []; if (null !== $this->appList && \is_array($this->appList)) { $n = 0; foreach ($this->appList as $item) { $res['appList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListInnerAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appList'])) { if (!empty($map['appList'])) { $model->appList = []; $n = 0; foreach ($map['appList'] as $item) { $model->appList[$n++] = null !== $item ? appList::fromMap($item) : $item; } } } return $model; } } src/micro_app_1_0/Models/ListInnerAppResponseBody/appList.php000064400000005411146412132660020226 0ustar00 'agentId', 'desc' => 'desc', 'homepageLink' => 'homepageLink', 'icon' => 'icon', 'name' => 'name', 'ompLink' => 'ompLink', 'pcHomepageLink' => 'pcHomepageLink', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->homepageLink) { $res['homepageLink'] = $this->homepageLink; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->ompLink) { $res['ompLink'] = $this->ompLink; } if (null !== $this->pcHomepageLink) { $res['pcHomepageLink'] = $this->pcHomepageLink; } return $res; } /** * @param array $map * * @return appList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['homepageLink'])) { $model->homepageLink = $map['homepageLink']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['ompLink'])) { $model->ompLink = $map['ompLink']; } if (isset($map['pcHomepageLink'])) { $model->pcHomepageLink = $map['pcHomepageLink']; } return $model; } } src/micro_app_1_0/Models/ListInnerAppVersionHeaders.php000064400000002347146412132660017124 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListInnerAppVersionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/ListInnerAppVersionResponse.php000064400000002753146412132660017350 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListInnerAppVersionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListInnerAppVersionResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/ListInnerAppVersionResponseBody.php000064400000003050146412132660020155 0ustar00 'appVersionList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appVersionList) { $res['appVersionList'] = []; if (null !== $this->appVersionList && \is_array($this->appVersionList)) { $n = 0; foreach ($this->appVersionList as $item) { $res['appVersionList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListInnerAppVersionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appVersionList'])) { if (!empty($map['appVersionList'])) { $model->appVersionList = []; $n = 0; foreach ($map['appVersionList'] as $item) { $model->appVersionList[$n++] = null !== $item ? appVersionList::fromMap($item) : $item; } } } return $model; } } src/micro_app_1_0/Models/ListInnerAppVersionResponseBody/appVersionList.php000064400000006307146412132660023147 0ustar00 'appVersion', 'appVersionId' => 'appVersionId', 'appVersionType' => 'appVersionType', 'createTime' => 'createTime', 'entranceLink' => 'entranceLink', 'miniAppId' => 'miniAppId', 'miniAppOnPc' => 'miniAppOnPc', 'modifyTime' => 'modifyTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appVersion) { $res['appVersion'] = $this->appVersion; } if (null !== $this->appVersionId) { $res['appVersionId'] = $this->appVersionId; } if (null !== $this->appVersionType) { $res['appVersionType'] = $this->appVersionType; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->entranceLink) { $res['entranceLink'] = $this->entranceLink; } if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->miniAppOnPc) { $res['miniAppOnPc'] = $this->miniAppOnPc; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } return $res; } /** * @param array $map * * @return appVersionList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appVersion'])) { $model->appVersion = $map['appVersion']; } if (isset($map['appVersionId'])) { $model->appVersionId = $map['appVersionId']; } if (isset($map['appVersionType'])) { $model->appVersionType = $map['appVersionType']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['entranceLink'])) { $model->entranceLink = $map['entranceLink']; } if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['miniAppOnPc'])) { $model->miniAppOnPc = $map['miniAppOnPc']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } return $model; } } src/micro_app_1_0/Models/ListRoleInfoByUserHeaders.php000064400000002345146412132660016707 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListRoleInfoByUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/ListRoleInfoByUserResponse.php000064400000002747146412132660017140 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListRoleInfoByUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListRoleInfoByUserResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/ListRoleInfoByUserResponseBody.php000064400000002625146412132660017751 0ustar00 '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 ListRoleInfoByUserResponseBody */ 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/micro_app_1_0/Models/ListRoleInfoByUserResponseBody/result.php000064400000003001146412132660021254 0ustar00 'canManageRole', 'roleId' => 'roleId', 'roleName' => 'roleName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->canManageRole) { $res['canManageRole'] = $this->canManageRole; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['canManageRole'])) { $model->canManageRole = $map['canManageRole']; } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } return $model; } } src/micro_app_1_0/Models/ListUserVilebleAppHeaders.php000064400000002345146412132660016722 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListUserVilebleAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/ListUserVilebleAppResponse.php000064400000002747146412132660017153 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListUserVilebleAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListUserVilebleAppResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/ListUserVilebleAppResponseBody.php000064400000002647146412132660017770 0ustar00 'appList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appList) { $res['appList'] = []; if (null !== $this->appList && \is_array($this->appList)) { $n = 0; foreach ($this->appList as $item) { $res['appList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListUserVilebleAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appList'])) { if (!empty($map['appList'])) { $model->appList = []; $n = 0; foreach ($map['appList'] as $item) { $model->appList[$n++] = null !== $item ? appList::fromMap($item) : $item; } } } return $model; } } src/micro_app_1_0/Models/ListUserVilebleAppResponseBody/appList.php000064400000007315146412132660021401 0ustar00 'agentId', 'appId' => 'appId', 'appStatus' => 'appStatus', 'desc' => 'desc', 'developType' => 'developType', 'homepageLink' => 'homepageLink', 'icon' => 'icon', 'name' => 'name', 'ompLink' => 'ompLink', 'pcHomepageLink' => 'pcHomepageLink', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->appStatus) { $res['appStatus'] = $this->appStatus; } if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->developType) { $res['developType'] = $this->developType; } if (null !== $this->homepageLink) { $res['homepageLink'] = $this->homepageLink; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->ompLink) { $res['ompLink'] = $this->ompLink; } if (null !== $this->pcHomepageLink) { $res['pcHomepageLink'] = $this->pcHomepageLink; } return $res; } /** * @param array $map * * @return appList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['appStatus'])) { $model->appStatus = $map['appStatus']; } if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['developType'])) { $model->developType = $map['developType']; } if (isset($map['homepageLink'])) { $model->homepageLink = $map['homepageLink']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['ompLink'])) { $model->ompLink = $map['ompLink']; } if (isset($map['pcHomepageLink'])) { $model->pcHomepageLink = $map['pcHomepageLink']; } return $model; } } src/micro_app_1_0/Models/PageInnerAppHistoryVersionHeaders.php000064400000002365146412132660020447 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PageInnerAppHistoryVersionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/PageInnerAppHistoryVersionRequest.php000064400000002300146412132660020511 0ustar00 '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 PageInnerAppHistoryVersionRequest */ 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/micro_app_1_0/Models/PageInnerAppHistoryVersionResponse.php000064400000003007146412132660020664 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PageInnerAppHistoryVersionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PageInnerAppHistoryVersionResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/PageInnerAppHistoryVersionResponseBody.php000064400000003725146412132660021511 0ustar00 'miniAppVersionList', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppVersionList) { $res['miniAppVersionList'] = []; if (null !== $this->miniAppVersionList && \is_array($this->miniAppVersionList)) { $n = 0; foreach ($this->miniAppVersionList as $item) { $res['miniAppVersionList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return PageInnerAppHistoryVersionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppVersionList'])) { if (!empty($map['miniAppVersionList'])) { $model->miniAppVersionList = []; $n = 0; foreach ($map['miniAppVersionList'] as $item) { $model->miniAppVersionList[$n++] = null !== $item ? miniAppVersionList::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/micro_app_1_0/Models/PageInnerAppHistoryVersionResponseBody/miniAppVersionList.php000064400000005651146412132660025310 0ustar00 'appVersion', 'appVersionId' => 'appVersionId', 'appVersionType' => 'appVersionType', 'createTime' => 'createTime', 'miniAppId' => 'miniAppId', 'miniAppOnPc' => 'miniAppOnPc', 'modifyTime' => 'modifyTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appVersion) { $res['appVersion'] = $this->appVersion; } if (null !== $this->appVersionId) { $res['appVersionId'] = $this->appVersionId; } if (null !== $this->appVersionType) { $res['appVersionType'] = $this->appVersionType; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->miniAppOnPc) { $res['miniAppOnPc'] = $this->miniAppOnPc; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } return $res; } /** * @param array $map * * @return miniAppVersionList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appVersion'])) { $model->appVersion = $map['appVersion']; } if (isset($map['appVersionId'])) { $model->appVersionId = $map['appVersionId']; } if (isset($map['appVersionType'])) { $model->appVersionType = $map['appVersionType']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['miniAppOnPc'])) { $model->miniAppOnPc = $map['miniAppOnPc']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } return $model; } } src/micro_app_1_0/Models/PublishInnerAppVersionHeaders.php000064400000002355146412132660017616 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PublishInnerAppVersionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/PublishInnerAppVersionRequest.php000064400000003555146412132660017676 0ustar00 'appVersionId', 'miniAppOnPc' => 'miniAppOnPc', 'opUnionId' => 'opUnionId', 'publishType' => 'publishType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appVersionId) { $res['appVersionId'] = $this->appVersionId; } if (null !== $this->miniAppOnPc) { $res['miniAppOnPc'] = $this->miniAppOnPc; } if (null !== $this->opUnionId) { $res['opUnionId'] = $this->opUnionId; } if (null !== $this->publishType) { $res['publishType'] = $this->publishType; } return $res; } /** * @param array $map * * @return PublishInnerAppVersionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appVersionId'])) { $model->appVersionId = $map['appVersionId']; } if (isset($map['miniAppOnPc'])) { $model->miniAppOnPc = $map['miniAppOnPc']; } if (isset($map['opUnionId'])) { $model->opUnionId = $map['opUnionId']; } if (isset($map['publishType'])) { $model->publishType = $map['publishType']; } return $model; } } src/micro_app_1_0/Models/PublishInnerAppVersionResponse.php000064400000002767146412132660020050 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PublishInnerAppVersionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PublishInnerAppVersionResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/PublishInnerAppVersionResponseBody.php000064400000001516146412132660020655 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return PublishInnerAppVersionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/micro_app_1_0/Models/RebuildRoleScopeForAppRoleHeaders.php000064400000002365146412132660020342 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RebuildRoleScopeForAppRoleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/RebuildRoleScopeForAppRoleRequest.php000064400000004272146412132660020416 0ustar00 'deptIdList', 'opUserId' => 'opUserId', 'scopeType' => 'scopeType', 'scopeVersion' => 'scopeVersion', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIdList) { $res['deptIdList'] = $this->deptIdList; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->scopeType) { $res['scopeType'] = $this->scopeType; } if (null !== $this->scopeVersion) { $res['scopeVersion'] = $this->scopeVersion; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return RebuildRoleScopeForAppRoleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIdList'])) { if (!empty($map['deptIdList'])) { $model->deptIdList = $map['deptIdList']; } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['scopeType'])) { $model->scopeType = $map['scopeType']; } if (isset($map['scopeVersion'])) { $model->scopeVersion = $map['scopeVersion']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/micro_app_1_0/Models/RebuildRoleScopeForAppRoleResponse.php000064400000003007146412132660020557 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RebuildRoleScopeForAppRoleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RebuildRoleScopeForAppRoleResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/RebuildRoleScopeForAppRoleResponseBody.php000064400000001734146412132660021402 0ustar00 'latestScopeVersion', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->latestScopeVersion) { $res['latestScopeVersion'] = $this->latestScopeVersion; } return $res; } /** * @param array $map * * @return RebuildRoleScopeForAppRoleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['latestScopeVersion'])) { $model->latestScopeVersion = $map['latestScopeVersion']; } return $model; } } src/micro_app_1_0/Models/RegisterCustomAppRoleHeaders.php000064400000002353146412132660017445 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RegisterCustomAppRoleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/RegisterCustomAppRoleRequest.php000064400000002750146412132660017523 0ustar00 'canManageRole', 'opUserId' => 'opUserId', 'roleName' => 'roleName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->canManageRole) { $res['canManageRole'] = $this->canManageRole; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } return $res; } /** * @param array $map * * @return RegisterCustomAppRoleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['canManageRole'])) { $model->canManageRole = $map['canManageRole']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } return $model; } } src/micro_app_1_0/Models/RegisterCustomAppRoleResponse.php000064400000002763146412132660017675 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RegisterCustomAppRoleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RegisterCustomAppRoleResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/RegisterCustomAppRoleResponseBody.php000064400000002316146412132660020505 0ustar00 'roleId', 'scopeVersion' => 'scopeVersion', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->scopeVersion) { $res['scopeVersion'] = $this->scopeVersion; } return $res; } /** * @param array $map * * @return RegisterCustomAppRoleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['scopeVersion'])) { $model->scopeVersion = $map['scopeVersion']; } return $model; } } src/micro_app_1_0/Models/RemoveApaasAppHeaders.php000064400000002335146412132660016047 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveApaasAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/RemoveApaasAppRequest.php000064400000002150146412132660016117 0ustar00 'bizAppId', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizAppId) { $res['bizAppId'] = $this->bizAppId; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return RemoveApaasAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizAppId'])) { $model->bizAppId = $map['bizAppId']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/micro_app_1_0/Models/RemoveApaasAppResponse.php000064400000002727146412132660016277 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RemoveApaasAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RemoveApaasAppResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/RemoveApaasAppResponseBody.php000064400000001476146412132660017115 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return RemoveApaasAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/micro_app_1_0/Models/RemoveMemberForAppRoleHeaders.php000064400000002355146412132660017524 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveMemberForAppRoleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/RemoveMemberForAppRoleRequest.php000064400000003606146412132660017601 0ustar00 'deptIdList', 'opUserId' => 'opUserId', 'scopeVersion' => 'scopeVersion', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIdList) { $res['deptIdList'] = $this->deptIdList; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->scopeVersion) { $res['scopeVersion'] = $this->scopeVersion; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return RemoveMemberForAppRoleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIdList'])) { if (!empty($map['deptIdList'])) { $model->deptIdList = $map['deptIdList']; } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['scopeVersion'])) { $model->scopeVersion = $map['scopeVersion']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/micro_app_1_0/Models/RemoveMemberForAppRoleResponse.php000064400000002767146412132660017756 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RemoveMemberForAppRoleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RemoveMemberForAppRoleResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/RemoveMemberForAppRoleResponseBody.php000064400000001724146412132660020564 0ustar00 'latestScopeVersion', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->latestScopeVersion) { $res['latestScopeVersion'] = $this->latestScopeVersion; } return $res; } /** * @param array $map * * @return RemoveMemberForAppRoleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['latestScopeVersion'])) { $model->latestScopeVersion = $map['latestScopeVersion']; } return $model; } } src/micro_app_1_0/Models/RollbackInnerAppVersionHeaders.php000064400000002357146412132660017743 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RollbackInnerAppVersionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/RollbackInnerAppVersionRequest.php000064400000002333146412132660020012 0ustar00 'appVersionId', 'opUnionId' => 'opUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appVersionId) { $res['appVersionId'] = $this->appVersionId; } if (null !== $this->opUnionId) { $res['opUnionId'] = $this->opUnionId; } return $res; } /** * @param array $map * * @return RollbackInnerAppVersionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appVersionId'])) { $model->appVersionId = $map['appVersionId']; } if (isset($map['opUnionId'])) { $model->opUnionId = $map['opUnionId']; } return $model; } } src/micro_app_1_0/Models/RollbackInnerAppVersionResponse.php000064400000002773146412132660020170 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RollbackInnerAppVersionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RollbackInnerAppVersionResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/RollbackInnerAppVersionResponseBody.php000064400000001520146412132660020773 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return RollbackInnerAppVersionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/micro_app_1_0/Models/SetMicroAppScopeHeaders.php000064400000002341146412132660016360 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SetMicroAppScopeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/SetMicroAppScopeRequest.php000064400000006142146412132660016440 0ustar00 'addDeptIds', 'addRoleIds' => 'addRoleIds', 'addUserIds' => 'addUserIds', 'delDeptIds' => 'delDeptIds', 'delRoleIds' => 'delRoleIds', 'delUserIds' => 'delUserIds', 'onlyAdminVisible' => 'onlyAdminVisible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->addDeptIds) { $res['addDeptIds'] = $this->addDeptIds; } if (null !== $this->addRoleIds) { $res['addRoleIds'] = $this->addRoleIds; } if (null !== $this->addUserIds) { $res['addUserIds'] = $this->addUserIds; } if (null !== $this->delDeptIds) { $res['delDeptIds'] = $this->delDeptIds; } if (null !== $this->delRoleIds) { $res['delRoleIds'] = $this->delRoleIds; } if (null !== $this->delUserIds) { $res['delUserIds'] = $this->delUserIds; } if (null !== $this->onlyAdminVisible) { $res['onlyAdminVisible'] = $this->onlyAdminVisible; } return $res; } /** * @param array $map * * @return SetMicroAppScopeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['addDeptIds'])) { if (!empty($map['addDeptIds'])) { $model->addDeptIds = $map['addDeptIds']; } } if (isset($map['addRoleIds'])) { if (!empty($map['addRoleIds'])) { $model->addRoleIds = $map['addRoleIds']; } } if (isset($map['addUserIds'])) { if (!empty($map['addUserIds'])) { $model->addUserIds = $map['addUserIds']; } } if (isset($map['delDeptIds'])) { if (!empty($map['delDeptIds'])) { $model->delDeptIds = $map['delDeptIds']; } } if (isset($map['delRoleIds'])) { if (!empty($map['delRoleIds'])) { $model->delRoleIds = $map['delRoleIds']; } } if (isset($map['delUserIds'])) { if (!empty($map['delUserIds'])) { $model->delUserIds = $map['delUserIds']; } } if (isset($map['onlyAdminVisible'])) { $model->onlyAdminVisible = $map['onlyAdminVisible']; } return $model; } } src/micro_app_1_0/Models/SetMicroAppScopeResponse.php000064400000002737146412132660016614 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SetMicroAppScopeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SetMicroAppScopeResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/SetMicroAppScopeResponseBody.php000064400000001536146412132660017426 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SetMicroAppScopeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/micro_app_1_0/Models/UpdateApaasAppHeaders.php000064400000002335146412132660016034 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateApaasAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/UpdateApaasAppRequest.php000064400000003702146412132660016110 0ustar00 'appIcon', 'appName' => 'appName', 'appStatus' => 'appStatus', 'bizAppId' => 'bizAppId', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appIcon) { $res['appIcon'] = $this->appIcon; } if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->appStatus) { $res['appStatus'] = $this->appStatus; } if (null !== $this->bizAppId) { $res['bizAppId'] = $this->bizAppId; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return UpdateApaasAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appIcon'])) { $model->appIcon = $map['appIcon']; } if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['appStatus'])) { $model->appStatus = $map['appStatus']; } if (isset($map['bizAppId'])) { $model->bizAppId = $map['bizAppId']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/micro_app_1_0/Models/UpdateApaasAppResponse.php000064400000002727146412132660016264 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateApaasAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateApaasAppResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/UpdateApaasAppResponseBody.php000064400000002200146412132660017064 0ustar00 'agentId', 'bizAppId' => 'bizAppId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->bizAppId) { $res['bizAppId'] = $this->bizAppId; } return $res; } /** * @param array $map * * @return UpdateApaasAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['bizAppId'])) { $model->bizAppId = $map['bizAppId']; } return $model; } } src/micro_app_1_0/Models/UpdateAppRoleInfoHeaders.php000064400000002343146412132660016523 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateAppRoleInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/UpdateAppRoleInfoRequest.php000064400000002733146412132660016603 0ustar00 'canManageRole', 'newRoleName' => 'newRoleName', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->canManageRole) { $res['canManageRole'] = $this->canManageRole; } if (null !== $this->newRoleName) { $res['newRoleName'] = $this->newRoleName; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return UpdateAppRoleInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['canManageRole'])) { $model->canManageRole = $map['canManageRole']; } if (isset($map['newRoleName'])) { $model->newRoleName = $map['newRoleName']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/micro_app_1_0/Models/UpdateAppRoleInfoResponse.php000064400000002743146412132660016752 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateAppRoleInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateAppRoleInfoResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/UpdateAppRoleInfoResponseBody.php000064400000001540146412132660017562 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateAppRoleInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/micro_app_1_0/Models/UpdateInnerAppHeaders.php000064400000002335146412132660016062 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInnerAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/micro_app_1_0/Models/UpdateInnerAppRequest.php000064400000006254146412132660016143 0ustar00 'desc', 'homepageLink' => 'homepageLink', 'icon' => 'icon', 'ipWhiteList' => 'ipWhiteList', 'name' => 'name', 'ompLink' => 'ompLink', 'opUnionId' => 'opUnionId', 'pcHomepageLink' => 'pcHomepageLink', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->homepageLink) { $res['homepageLink'] = $this->homepageLink; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->ipWhiteList) { $res['ipWhiteList'] = $this->ipWhiteList; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->ompLink) { $res['ompLink'] = $this->ompLink; } if (null !== $this->opUnionId) { $res['opUnionId'] = $this->opUnionId; } if (null !== $this->pcHomepageLink) { $res['pcHomepageLink'] = $this->pcHomepageLink; } return $res; } /** * @param array $map * * @return UpdateInnerAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['homepageLink'])) { $model->homepageLink = $map['homepageLink']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['ipWhiteList'])) { if (!empty($map['ipWhiteList'])) { $model->ipWhiteList = $map['ipWhiteList']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['ompLink'])) { $model->ompLink = $map['ompLink']; } if (isset($map['opUnionId'])) { $model->opUnionId = $map['opUnionId']; } if (isset($map['pcHomepageLink'])) { $model->pcHomepageLink = $map['pcHomepageLink']; } return $model; } } src/micro_app_1_0/Models/UpdateInnerAppResponse.php000064400000002727146412132660016312 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInnerAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateInnerAppResponseBody::fromMap($map['body']); } return $model; } } src/micro_app_1_0/Models/UpdateInnerAppResponseBody.php000064400000001532146412132660017121 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateInnerAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/miniapp_1_0/Dingtalk.php000064400000070421146412132660011706 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_signatureAlgorithm = 'v2'; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CreateMiniAppRequest $request * @param CreateMiniAppHeaders $headers * @param RuntimeOptions $runtime * * @return CreateMiniAppResponse */ public function createMiniAppWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->bundleId)) { $body['bundleId'] = $request->bundleId; } if (!Utils::isUnset($request->desc)) { $body['desc'] = $request->desc; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->name)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateMiniApp', 'version' => 'miniapp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/miniapp/apps', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateMiniAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateMiniAppRequest $request * * @return CreateMiniAppResponse */ public function createMiniApp($request) { $runtime = new RuntimeOptions([]); $headers = new CreateMiniAppHeaders([]); return $this->createMiniAppWithOptions($request, $headers, $runtime); } /** * @param CreateMiniAppPluginRequest $request * @param CreateMiniAppPluginHeaders $headers * @param RuntimeOptions $runtime * * @return CreateMiniAppPluginResponse */ public function createMiniAppPluginWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->bundleId)) { $body['bundleId'] = $request->bundleId; } if (!Utils::isUnset($request->desc)) { $body['desc'] = $request->desc; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->name)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateMiniAppPlugin', 'version' => 'miniapp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/miniapp/plugins', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateMiniAppPluginResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateMiniAppPluginRequest $request * * @return CreateMiniAppPluginResponse */ public function createMiniAppPlugin($request) { $runtime = new RuntimeOptions([]); $headers = new CreateMiniAppPluginHeaders([]); return $this->createMiniAppPluginWithOptions($request, $headers, $runtime); } /** * @param CreateVersionAcrossBundleRequest $request * @param CreateVersionAcrossBundleHeaders $headers * @param RuntimeOptions $runtime * * @return CreateVersionAcrossBundleResponse */ public function createVersionAcrossBundleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bundleId)) { $body['bundleId'] = $request->bundleId; } if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->sourceBundleId)) { $body['sourceBundleId'] = $request->sourceBundleId; } if (!Utils::isUnset($request->sourceVersion)) { $body['sourceVersion'] = $request->sourceVersion; } if (!Utils::isUnset($request->version)) { $body['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateVersionAcrossBundle', 'version' => 'miniapp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/miniapp/versions/createAcrossBundle', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateVersionAcrossBundleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateVersionAcrossBundleRequest $request * * @return CreateVersionAcrossBundleResponse */ public function createVersionAcrossBundle($request) { $runtime = new RuntimeOptions([]); $headers = new CreateVersionAcrossBundleHeaders([]); return $this->createVersionAcrossBundleWithOptions($request, $headers, $runtime); } /** * @param GetMaxVersionRequest $request * @param GetMaxVersionHeaders $headers * @param RuntimeOptions $runtime * * @return GetMaxVersionResponse */ public function getMaxVersionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bundleId)) { $query['bundleId'] = $request->bundleId; } if (!Utils::isUnset($request->miniAppId)) { $query['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->version)) { $query['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetMaxVersion', 'version' => 'miniapp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/miniapp/apps/maxVersions', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetMaxVersionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetMaxVersionRequest $request * * @return GetMaxVersionResponse */ public function getMaxVersion($request) { $runtime = new RuntimeOptions([]); $headers = new GetMaxVersionHeaders([]); return $this->getMaxVersionWithOptions($request, $headers, $runtime); } /** * @param GetMiniAppMetaDataRequest $request * @param GetMiniAppMetaDataHeaders $headers * @param RuntimeOptions $runtime * * @return GetMiniAppMetaDataResponse */ public function getMiniAppMetaDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bundleId)) { $body['bundleId'] = $request->bundleId; } if (!Utils::isUnset($request->bundleIdTableGmtModified)) { $body['bundleIdTableGmtModified'] = $request->bundleIdTableGmtModified; } if (!Utils::isUnset($request->fromAppName)) { $body['fromAppName'] = $request->fromAppName; } if (!Utils::isUnset($request->miniAppIdTableGmtModified)) { $body['miniAppIdTableGmtModified'] = $request->miniAppIdTableGmtModified; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetMiniAppMetaData', 'version' => 'miniapp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/miniapp/apps/metadata', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetMiniAppMetaDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetMiniAppMetaDataRequest $request * * @return GetMiniAppMetaDataResponse */ public function getMiniAppMetaData($request) { $runtime = new RuntimeOptions([]); $headers = new GetMiniAppMetaDataHeaders([]); return $this->getMiniAppMetaDataWithOptions($request, $headers, $runtime); } /** * @param string $miniAppId * @param GetSettingByMiniAppIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetSettingByMiniAppIdResponse */ public function getSettingByMiniAppIdWithOptions($miniAppId, $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' => 'GetSettingByMiniAppId', 'version' => 'miniapp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/miniapp/apps/settings', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSettingByMiniAppIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $miniAppId * * @return GetSettingByMiniAppIdResponse */ public function getSettingByMiniAppId($miniAppId) { $runtime = new RuntimeOptions([]); $headers = new GetSettingByMiniAppIdHeaders([]); return $this->getSettingByMiniAppIdWithOptions($miniAppId, $headers, $runtime); } /** * @param InvokeHtmlBundleBuildRequest $request * @param InvokeHtmlBundleBuildHeaders $headers * @param RuntimeOptions $runtime * * @return InvokeHtmlBundleBuildResponse */ public function invokeHtmlBundleBuildWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bundleId)) { $body['bundleId'] = $request->bundleId; } if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->version)) { $body['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'InvokeHtmlBundleBuild', 'version' => 'miniapp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/miniapp/h5Bundles/build', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InvokeHtmlBundleBuildResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param InvokeHtmlBundleBuildRequest $request * * @return InvokeHtmlBundleBuildResponse */ public function invokeHtmlBundleBuild($request) { $runtime = new RuntimeOptions([]); $headers = new InvokeHtmlBundleBuildHeaders([]); return $this->invokeHtmlBundleBuildWithOptions($request, $headers, $runtime); } /** * @param ListAvaiableVersionRequest $request * @param ListAvaiableVersionHeaders $headers * @param RuntimeOptions $runtime * * @return ListAvaiableVersionResponse */ public function listAvaiableVersionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bundleId)) { $body['bundleId'] = $request->bundleId; } if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->pageNum)) { $body['pageNum'] = $request->pageNum; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->versionTypeSet)) { $body['versionTypeSet'] = $request->versionTypeSet; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ListAvaiableVersion', 'version' => 'miniapp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/miniapp/apps/versions/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListAvaiableVersionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListAvaiableVersionRequest $request * * @return ListAvaiableVersionResponse */ public function listAvaiableVersion($request) { $runtime = new RuntimeOptions([]); $headers = new ListAvaiableVersionHeaders([]); return $this->listAvaiableVersionWithOptions($request, $headers, $runtime); } /** * @param QueryHtmlBundleBuildRequest $request * @param QueryHtmlBundleBuildHeaders $headers * @param RuntimeOptions $runtime * * @return QueryHtmlBundleBuildResponse */ public function queryHtmlBundleBuildWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bundleId)) { $query['bundleId'] = $request->bundleId; } if (!Utils::isUnset($request->miniAppId)) { $query['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->version)) { $query['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryHtmlBundleBuild', 'version' => 'miniapp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/miniapp/h5Bundles/buildResults', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryHtmlBundleBuildResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryHtmlBundleBuildRequest $request * * @return QueryHtmlBundleBuildResponse */ public function queryHtmlBundleBuild($request) { $runtime = new RuntimeOptions([]); $headers = new QueryHtmlBundleBuildHeaders([]); return $this->queryHtmlBundleBuildWithOptions($request, $headers, $runtime); } /** * @param RollBackVersionRequest $request * @param string[] $headers * @param RuntimeOptions $runtime * * @return RollBackVersionResponse */ public function rollBackVersionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bundleId)) { $body['bundleId'] = $request->bundleId; } if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->rollbackVersion)) { $body['rollbackVersion'] = $request->rollbackVersion; } if (!Utils::isUnset($request->targetVersion)) { $body['targetVersion'] = $request->targetVersion; } $req = new OpenApiRequest([ 'headers' => $headers, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RollBackVersion', 'version' => 'miniapp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/miniapp/versions/rollback', 'method' => 'POST', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RollBackVersionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RollBackVersionRequest $request * * @return RollBackVersionResponse */ public function rollBackVersion($request) { $runtime = new RuntimeOptions([]); $headers = []; return $this->rollBackVersionWithOptions($request, $headers, $runtime); } /** * @param SetExtendSettingRequest $request * @param SetExtendSettingHeaders $headers * @param RuntimeOptions $runtime * * @return SetExtendSettingResponse */ public function setExtendSettingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->buildH5Bundle)) { $body['buildH5Bundle'] = $request->buildH5Bundle; } if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SetExtendSetting', 'version' => 'miniapp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/miniapp/apps/settings', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SetExtendSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SetExtendSettingRequest $request * * @return SetExtendSettingResponse */ public function setExtendSetting($request) { $runtime = new RuntimeOptions([]); $headers = new SetExtendSettingHeaders([]); return $this->setExtendSettingWithOptions($request, $headers, $runtime); } /** * @param UpdateVersionStatusRequest $request * @param UpdateVersionStatusHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateVersionStatusResponse */ public function updateVersionStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bundleId)) { $body['bundleId'] = $request->bundleId; } if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->version)) { $body['version'] = $request->version; } if (!Utils::isUnset($request->versionType)) { $body['versionType'] = $request->versionType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateVersionStatus', 'version' => 'miniapp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/miniapp/versions/status', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateVersionStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateVersionStatusRequest $request * * @return UpdateVersionStatusResponse */ public function updateVersionStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateVersionStatusHeaders([]); return $this->updateVersionStatusWithOptions($request, $headers, $runtime); } } src/miniapp_1_0/Models/CreateMiniAppHeaders.php000064400000002331146412132660015344 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateMiniAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/miniapp_1_0/Models/CreateMiniAppPluginHeaders.php000064400000002345146412132660016530 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateMiniAppPluginHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/miniapp_1_0/Models/CreateMiniAppPluginRequest.php000064400000004155146412132660016606 0ustar00 'bizId', 'bizType' => 'bizType', 'bundleId' => 'bundleId', 'desc' => 'desc', 'icon' => 'icon', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->bundleId) { $res['bundleId'] = $this->bundleId; } if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return CreateMiniAppPluginRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['bundleId'])) { $model->bundleId = $map['bundleId']; } if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/miniapp_1_0/Models/CreateMiniAppPluginResponse.php000064400000002751146412132660016754 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateMiniAppPluginResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateMiniAppPluginResponseBody::fromMap($map['body']); } return $model; } } src/miniapp_1_0/Models/CreateMiniAppPluginResponseBody.php000064400000001543146412132660017570 0ustar00 'miniAppId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } return $res; } /** * @param array $map * * @return CreateMiniAppPluginResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } return $model; } } src/miniapp_1_0/Models/CreateMiniAppRequest.php000064400000004141146412132660015422 0ustar00 'bizId', 'bizType' => 'bizType', 'bundleId' => 'bundleId', 'desc' => 'desc', 'icon' => 'icon', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->bundleId) { $res['bundleId'] = $this->bundleId; } if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return CreateMiniAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['bundleId'])) { $model->bundleId = $map['bundleId']; } if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/miniapp_1_0/Models/CreateMiniAppResponse.php000064400000002721146412132660015572 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateMiniAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateMiniAppResponseBody::fromMap($map['body']); } return $model; } } src/miniapp_1_0/Models/CreateMiniAppResponseBody.php000064400000001527146412132660016413 0ustar00 'miniAppId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } return $res; } /** * @param array $map * * @return CreateMiniAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } return $model; } } src/miniapp_1_0/Models/CreateVersionAcrossBundleHeaders.php000064400000002361146412132660017744 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateVersionAcrossBundleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/miniapp_1_0/Models/CreateVersionAcrossBundleRequest.php000064400000004122146412132660020016 0ustar00 'bundleId', 'miniAppId' => 'miniAppId', 'sourceBundleId' => 'sourceBundleId', 'sourceVersion' => 'sourceVersion', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bundleId) { $res['bundleId'] = $this->bundleId; } if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->sourceBundleId) { $res['sourceBundleId'] = $this->sourceBundleId; } if (null !== $this->sourceVersion) { $res['sourceVersion'] = $this->sourceVersion; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return CreateVersionAcrossBundleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bundleId'])) { $model->bundleId = $map['bundleId']; } if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['sourceBundleId'])) { $model->sourceBundleId = $map['sourceBundleId']; } if (isset($map['sourceVersion'])) { $model->sourceVersion = $map['sourceVersion']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/miniapp_1_0/Models/CreateVersionAcrossBundleResponse.php000064400000003001146412132660020157 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateVersionAcrossBundleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateVersionAcrossBundleResponseBody::fromMap($map['body']); } return $model; } } src/miniapp_1_0/Models/CreateVersionAcrossBundleResponseBody.php000064400000001524146412132660021005 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CreateVersionAcrossBundleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/miniapp_1_0/Models/GetMaxVersionHeaders.php000064400000002331146412132660015416 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMaxVersionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/miniapp_1_0/Models/GetMaxVersionRequest.php000064400000002607146412132660015501 0ustar00 'bundleId', 'miniAppId' => 'miniAppId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bundleId) { $res['bundleId'] = $this->bundleId; } if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return GetMaxVersionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bundleId'])) { $model->bundleId = $map['bundleId']; } if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/miniapp_1_0/Models/GetMaxVersionResponse.php000064400000002721146412132660015644 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMaxVersionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMaxVersionResponseBody::fromMap($map['body']); } return $model; } } src/miniapp_1_0/Models/GetMaxVersionResponseBody.php000064400000001474146412132660016466 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetMaxVersionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/miniapp_1_0/Models/GetMiniAppMetaDataHeaders.php000064400000002343146412132660016264 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMiniAppMetaDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/miniapp_1_0/Models/GetMiniAppMetaDataRequest.php000064400000004024146412132660016337 0ustar00 'bundleId', 'bundleIdTableGmtModified' => 'bundleIdTableGmtModified', 'fromAppName' => 'fromAppName', 'miniAppIdTableGmtModified' => 'miniAppIdTableGmtModified', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bundleId) { $res['bundleId'] = $this->bundleId; } if (null !== $this->bundleIdTableGmtModified) { $res['bundleIdTableGmtModified'] = $this->bundleIdTableGmtModified; } if (null !== $this->fromAppName) { $res['fromAppName'] = $this->fromAppName; } if (null !== $this->miniAppIdTableGmtModified) { $res['miniAppIdTableGmtModified'] = $this->miniAppIdTableGmtModified; } return $res; } /** * @param array $map * * @return GetMiniAppMetaDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bundleId'])) { $model->bundleId = $map['bundleId']; } if (isset($map['bundleIdTableGmtModified'])) { $model->bundleIdTableGmtModified = $map['bundleIdTableGmtModified']; } if (isset($map['fromAppName'])) { $model->fromAppName = $map['fromAppName']; } if (isset($map['miniAppIdTableGmtModified'])) { $model->miniAppIdTableGmtModified = $map['miniAppIdTableGmtModified']; } return $model; } } src/miniapp_1_0/Models/GetMiniAppMetaDataResponse.php000064400000002745146412132660016515 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMiniAppMetaDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMiniAppMetaDataResponseBody::fromMap($map['body']); } return $model; } } src/miniapp_1_0/Models/GetMiniAppMetaDataResponseBody.php000064400000003602146412132660017324 0ustar00 'dingOpenErrcode', 'errorMsg' => 'errorMsg', 'result' => 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingOpenErrcode) { $res['dingOpenErrcode'] = $this->dingOpenErrcode; } 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 GetMiniAppMetaDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingOpenErrcode'])) { $model->dingOpenErrcode = $map['dingOpenErrcode']; } 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/miniapp_1_0/Models/GetMiniAppMetaDataResponseBody/result.php000064400000001444146412132660020644 0ustar00 'data', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } return $model; } } src/miniapp_1_0/Models/GetSettingByMiniAppIdHeaders.php000064400000002351146412132660016770 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSettingByMiniAppIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/miniapp_1_0/Models/GetSettingByMiniAppIdResponse.php000064400000002761146412132660017220 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSettingByMiniAppIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSettingByMiniAppIdResponseBody::fromMap($map['body']); } return $model; } } src/miniapp_1_0/Models/GetSettingByMiniAppIdResponseBody.php000064400000001514146412132660020031 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetSettingByMiniAppIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/miniapp_1_0/Models/InvokeHtmlBundleBuildHeaders.php000064400000002351146412132660017057 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InvokeHtmlBundleBuildHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/miniapp_1_0/Models/InvokeHtmlBundleBuildRequest.php000064400000002627146412132660017142 0ustar00 'bundleId', 'miniAppId' => 'miniAppId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bundleId) { $res['bundleId'] = $this->bundleId; } if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return InvokeHtmlBundleBuildRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bundleId'])) { $model->bundleId = $map['bundleId']; } if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/miniapp_1_0/Models/InvokeHtmlBundleBuildResponse.php000064400000002761146412132660017307 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InvokeHtmlBundleBuildResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InvokeHtmlBundleBuildResponseBody::fromMap($map['body']); } return $model; } } src/miniapp_1_0/Models/InvokeHtmlBundleBuildResponseBody.php000064400000001514146412132660020120 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return InvokeHtmlBundleBuildResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/miniapp_1_0/Models/ListAvaiableVersionHeaders.php000064400000002345146412132660016576 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAvaiableVersionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/miniapp_1_0/Models/ListAvaiableVersionRequest.php000064400000004133146412132660016650 0ustar00 'bundleId', 'miniAppId' => 'miniAppId', 'pageNum' => 'pageNum', 'pageSize' => 'pageSize', 'versionTypeSet' => 'versionTypeSet', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bundleId) { $res['bundleId'] = $this->bundleId; } if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->pageNum) { $res['pageNum'] = $this->pageNum; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->versionTypeSet) { $res['versionTypeSet'] = $this->versionTypeSet; } return $res; } /** * @param array $map * * @return ListAvaiableVersionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bundleId'])) { $model->bundleId = $map['bundleId']; } if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['pageNum'])) { $model->pageNum = $map['pageNum']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['versionTypeSet'])) { if (!empty($map['versionTypeSet'])) { $model->versionTypeSet = $map['versionTypeSet']; } } return $model; } } src/miniapp_1_0/Models/ListAvaiableVersionResponse.php000064400000002751146412132660017022 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAvaiableVersionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAvaiableVersionResponseBody::fromMap($map['body']); } return $model; } } src/miniapp_1_0/Models/ListAvaiableVersionResponseBody.php000064400000002670146412132660017640 0ustar00 'versions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->versions) { $res['versions'] = []; if (null !== $this->versions && \is_array($this->versions)) { $n = 0; foreach ($this->versions as $item) { $res['versions'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListAvaiableVersionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['versions'])) { if (!empty($map['versions'])) { $model->versions = []; $n = 0; foreach ($map['versions'] as $item) { $model->versions[$n++] = null !== $item ? versions::fromMap($item) : $item; } } } return $model; } } src/miniapp_1_0/Models/ListAvaiableVersionResponseBody/versions.php000064400000004020146412132660021477 0ustar00 'buildStatus', 'h5Bundle' => 'h5Bundle', 'packageSize' => 'packageSize', 'packageUrl' => 'packageUrl', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->buildStatus) { $res['buildStatus'] = $this->buildStatus; } if (null !== $this->h5Bundle) { $res['h5Bundle'] = $this->h5Bundle; } if (null !== $this->packageSize) { $res['packageSize'] = $this->packageSize; } if (null !== $this->packageUrl) { $res['packageUrl'] = $this->packageUrl; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return versions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['buildStatus'])) { $model->buildStatus = $map['buildStatus']; } if (isset($map['h5Bundle'])) { $model->h5Bundle = $map['h5Bundle']; } if (isset($map['packageSize'])) { $model->packageSize = $map['packageSize']; } if (isset($map['packageUrl'])) { $model->packageUrl = $map['packageUrl']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/miniapp_1_0/Models/QueryHtmlBundleBuildHeaders.php000064400000002347146412132660016736 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryHtmlBundleBuildHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/miniapp_1_0/Models/QueryHtmlBundleBuildRequest.php000064400000002625146412132660017012 0ustar00 'bundleId', 'miniAppId' => 'miniAppId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bundleId) { $res['bundleId'] = $this->bundleId; } if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return QueryHtmlBundleBuildRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bundleId'])) { $model->bundleId = $map['bundleId']; } if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/miniapp_1_0/Models/QueryHtmlBundleBuildResponse.php000064400000002755146412132660017164 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryHtmlBundleBuildResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryHtmlBundleBuildResponseBody::fromMap($map['body']); } return $model; } } src/miniapp_1_0/Models/QueryHtmlBundleBuildResponseBody.php000064400000001512146412132660017770 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return QueryHtmlBundleBuildResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/miniapp_1_0/Models/RollBackVersionRequest.php000064400000003454146412132660016006 0ustar00 'bundleId', 'miniAppId' => 'miniAppId', 'rollbackVersion' => 'rollbackVersion', 'targetVersion' => 'targetVersion', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bundleId) { $res['bundleId'] = $this->bundleId; } if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->rollbackVersion) { $res['rollbackVersion'] = $this->rollbackVersion; } if (null !== $this->targetVersion) { $res['targetVersion'] = $this->targetVersion; } return $res; } /** * @param array $map * * @return RollBackVersionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bundleId'])) { $model->bundleId = $map['bundleId']; } if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['rollbackVersion'])) { $model->rollbackVersion = $map['rollbackVersion']; } if (isset($map['targetVersion'])) { $model->targetVersion = $map['targetVersion']; } return $model; } } src/miniapp_1_0/Models/RollBackVersionResponse.php000064400000002731146412132660016151 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RollBackVersionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RollBackVersionResponseBody::fromMap($map['body']); } return $model; } } src/miniapp_1_0/Models/RollBackVersionResponseBody.php000064400000001500146412132660016760 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return RollBackVersionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/miniapp_1_0/Models/SetExtendSettingHeaders.php000064400000002337146412132660016132 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SetExtendSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/miniapp_1_0/Models/SetExtendSettingRequest.php000064400000002242146412132660016202 0ustar00 'buildH5Bundle', 'miniAppId' => 'miniAppId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->buildH5Bundle) { $res['buildH5Bundle'] = $this->buildH5Bundle; } if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } return $res; } /** * @param array $map * * @return SetExtendSettingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['buildH5Bundle'])) { $model->buildH5Bundle = $map['buildH5Bundle']; } if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } return $model; } } src/miniapp_1_0/Models/SetExtendSettingResponse.php000064400000002735146412132660016357 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SetExtendSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SetExtendSettingResponseBody::fromMap($map['body']); } return $model; } } src/miniapp_1_0/Models/SetExtendSettingResponseBody.php000064400000001502146412132660017164 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SetExtendSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/miniapp_1_0/Models/UpdateVersionStatusHeaders.php000064400000002345146412132660016664 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateVersionStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/miniapp_1_0/Models/UpdateVersionStatusRequest.php000064400000003321146412132660016734 0ustar00 'bundleId', 'miniAppId' => 'miniAppId', 'version' => 'version', 'versionType' => 'versionType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bundleId) { $res['bundleId'] = $this->bundleId; } if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->version) { $res['version'] = $this->version; } if (null !== $this->versionType) { $res['versionType'] = $this->versionType; } return $res; } /** * @param array $map * * @return UpdateVersionStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bundleId'])) { $model->bundleId = $map['bundleId']; } if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['version'])) { $model->version = $map['version']; } if (isset($map['versionType'])) { $model->versionType = $map['versionType']; } return $model; } } src/miniapp_1_0/Models/UpdateVersionStatusResponse.php000064400000002751146412132660017110 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateVersionStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateVersionStatusResponseBody::fromMap($map['body']); } return $model; } } src/miniapp_1_0/Models/UpdateVersionStatusResponseBody.php000064400000001510146412132660017716 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateVersionStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/oauth2_1_0/Dingtalk.php000064400000045360146412132660011457 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_signatureAlgorithm = 'v2'; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CreateJsapiTicketHeaders $headers * @param RuntimeOptions $runtime * * @return CreateJsapiTicketResponse */ public function createJsapiTicketWithOptions($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' => 'CreateJsapiTicket', 'version' => 'oauth2_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/oauth2/jsapiTickets', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateJsapiTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return CreateJsapiTicketResponse */ public function createJsapiTicket() { $runtime = new RuntimeOptions([]); $headers = new CreateJsapiTicketHeaders([]); return $this->createJsapiTicketWithOptions($headers, $runtime); } /** * @param GetAccessTokenRequest $request * @param string[] $headers * @param RuntimeOptions $runtime * * @return GetAccessTokenResponse */ public function getAccessTokenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appKey)) { $body['appKey'] = $request->appKey; } if (!Utils::isUnset($request->appSecret)) { $body['appSecret'] = $request->appSecret; } $req = new OpenApiRequest([ 'headers' => $headers, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetAccessToken', 'version' => 'oauth2_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/oauth2/accessToken', 'method' => 'POST', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAccessTokenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetAccessTokenRequest $request * * @return GetAccessTokenResponse */ public function getAccessToken($request) { $runtime = new RuntimeOptions([]); $headers = []; return $this->getAccessTokenWithOptions($request, $headers, $runtime); } /** * @param GetAuthInfoRequest $request * @param GetAuthInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetAuthInfoResponse */ public function getAuthInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->authCorpId)) { $query['authCorpId'] = $request->authCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetAuthInfo', 'version' => 'oauth2_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/oauth2/apps/authInfo', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetAuthInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetAuthInfoRequest $request * * @return GetAuthInfoResponse */ public function getAuthInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetAuthInfoHeaders([]); return $this->getAuthInfoWithOptions($request, $headers, $runtime); } /** * @param GetCorpAccessTokenRequest $request * @param string[] $headers * @param RuntimeOptions $runtime * * @return GetCorpAccessTokenResponse */ public function getCorpAccessTokenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->authCorpId)) { $body['authCorpId'] = $request->authCorpId; } if (!Utils::isUnset($request->suiteKey)) { $body['suiteKey'] = $request->suiteKey; } if (!Utils::isUnset($request->suiteSecret)) { $body['suiteSecret'] = $request->suiteSecret; } if (!Utils::isUnset($request->suiteTicket)) { $body['suiteTicket'] = $request->suiteTicket; } $req = new OpenApiRequest([ 'headers' => $headers, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetCorpAccessToken', 'version' => 'oauth2_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/oauth2/corpAccessToken', 'method' => 'POST', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCorpAccessTokenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetCorpAccessTokenRequest $request * * @return GetCorpAccessTokenResponse */ public function getCorpAccessToken($request) { $runtime = new RuntimeOptions([]); $headers = []; return $this->getCorpAccessTokenWithOptions($request, $headers, $runtime); } /** * @param GetPersonalAuthRuleHeaders $headers * @param RuntimeOptions $runtime * * @return GetPersonalAuthRuleResponse */ public function getPersonalAuthRuleWithOptions($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' => 'GetPersonalAuthRule', 'version' => 'oauth2_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/oauth2/authRules/user', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetPersonalAuthRuleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return GetPersonalAuthRuleResponse */ public function getPersonalAuthRule() { $runtime = new RuntimeOptions([]); $headers = new GetPersonalAuthRuleHeaders([]); return $this->getPersonalAuthRuleWithOptions($headers, $runtime); } /** * @param GetSsoAccessTokenRequest $request * @param string[] $headers * @param RuntimeOptions $runtime * * @return GetSsoAccessTokenResponse */ public function getSsoAccessTokenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpid)) { $body['corpid'] = $request->corpid; } if (!Utils::isUnset($request->ssoSecret)) { $body['ssoSecret'] = $request->ssoSecret; } $req = new OpenApiRequest([ 'headers' => $headers, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetSsoAccessToken', 'version' => 'oauth2_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/oauth2/ssoAccessToken', 'method' => 'POST', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetSsoAccessTokenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSsoAccessTokenRequest $request * * @return GetSsoAccessTokenResponse */ public function getSsoAccessToken($request) { $runtime = new RuntimeOptions([]); $headers = []; return $this->getSsoAccessTokenWithOptions($request, $headers, $runtime); } /** * @param GetSsoUserInfoRequest $request * @param GetSsoUserInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetSsoUserInfoResponse */ public function getSsoUserInfoWithOptions($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' => 'GetSsoUserInfo', 'version' => 'oauth2_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/oauth2/ssoUserInfo', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSsoUserInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSsoUserInfoRequest $request * * @return GetSsoUserInfoResponse */ public function getSsoUserInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetSsoUserInfoHeaders([]); return $this->getSsoUserInfoWithOptions($request, $headers, $runtime); } /** * @param GetSuiteAccessTokenRequest $request * @param string[] $headers * @param RuntimeOptions $runtime * * @return GetSuiteAccessTokenResponse */ public function getSuiteAccessTokenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->suiteKey)) { $body['suiteKey'] = $request->suiteKey; } if (!Utils::isUnset($request->suiteSecret)) { $body['suiteSecret'] = $request->suiteSecret; } if (!Utils::isUnset($request->suiteTicket)) { $body['suiteTicket'] = $request->suiteTicket; } $req = new OpenApiRequest([ 'headers' => $headers, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetSuiteAccessToken', 'version' => 'oauth2_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/oauth2/suiteAccessToken', 'method' => 'POST', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetSuiteAccessTokenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSuiteAccessTokenRequest $request * * @return GetSuiteAccessTokenResponse */ public function getSuiteAccessToken($request) { $runtime = new RuntimeOptions([]); $headers = []; return $this->getSuiteAccessTokenWithOptions($request, $headers, $runtime); } /** * @param string $corpId * @param GetTokenRequest $request * @param string[] $headers * @param RuntimeOptions $runtime * * @return GetTokenResponse */ public function getTokenWithOptions($corpId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->clientId)) { $body['client_id'] = $request->clientId; } if (!Utils::isUnset($request->clientSecret)) { $body['client_secret'] = $request->clientSecret; } if (!Utils::isUnset($request->grantType)) { $body['grant_type'] = $request->grantType; } $req = new OpenApiRequest([ 'headers' => $headers, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetToken', 'version' => 'oauth2_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/oauth2/' . $corpId . '/token', 'method' => 'POST', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTokenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $corpId * @param GetTokenRequest $request * * @return GetTokenResponse */ public function getToken($corpId, $request) { $runtime = new RuntimeOptions([]); $headers = []; return $this->getTokenWithOptions($corpId, $request, $headers, $runtime); } /** * @param GetUserTokenRequest $request * @param string[] $headers * @param RuntimeOptions $runtime * * @return GetUserTokenResponse */ public function getUserTokenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->clientId)) { $body['clientId'] = $request->clientId; } if (!Utils::isUnset($request->clientSecret)) { $body['clientSecret'] = $request->clientSecret; } if (!Utils::isUnset($request->code)) { $body['code'] = $request->code; } if (!Utils::isUnset($request->grantType)) { $body['grantType'] = $request->grantType; } if (!Utils::isUnset($request->refreshToken)) { $body['refreshToken'] = $request->refreshToken; } $req = new OpenApiRequest([ 'headers' => $headers, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetUserToken', 'version' => 'oauth2_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/oauth2/userAccessToken', 'method' => 'POST', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetUserTokenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUserTokenRequest $request * * @return GetUserTokenResponse */ public function getUserToken($request) { $runtime = new RuntimeOptions([]); $headers = []; return $this->getUserTokenWithOptions($request, $headers, $runtime); } } src/oauth2_1_0/Models/CreateJsapiTicketHeaders.php000064400000002340146412132660015766 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateJsapiTicketHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/oauth2_1_0/Models/CreateJsapiTicketResponse.php000064400000002740146412132660016215 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateJsapiTicketResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateJsapiTicketResponseBody::fromMap($map['body']); } return $model; } } src/oauth2_1_0/Models/CreateJsapiTicketResponseBody.php000064400000002220146412132660017024 0ustar00 'expireIn', 'jsapiTicket' => 'jsapiTicket', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expireIn) { $res['expireIn'] = $this->expireIn; } if (null !== $this->jsapiTicket) { $res['jsapiTicket'] = $this->jsapiTicket; } return $res; } /** * @param array $map * * @return CreateJsapiTicketResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expireIn'])) { $model->expireIn = $map['expireIn']; } if (isset($map['jsapiTicket'])) { $model->jsapiTicket = $map['jsapiTicket']; } return $model; } } src/oauth2_1_0/Models/GetAccessTokenRequest.php000064400000002137146412132660015353 0ustar00 'appKey', 'appSecret' => 'appSecret', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->appSecret) { $res['appSecret'] = $this->appSecret; } return $res; } /** * @param array $map * * @return GetAccessTokenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['appSecret'])) { $model->appSecret = $map['appSecret']; } return $model; } } src/oauth2_1_0/Models/GetAccessTokenResponse.php000064400000002724146412132660015523 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAccessTokenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAccessTokenResponseBody::fromMap($map['body']); } return $model; } } src/oauth2_1_0/Models/GetAccessTokenResponseBody.php000064400000002212146412132660016331 0ustar00 'accessToken', 'expireIn' => 'expireIn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessToken) { $res['accessToken'] = $this->accessToken; } if (null !== $this->expireIn) { $res['expireIn'] = $this->expireIn; } return $res; } /** * @param array $map * * @return GetAccessTokenResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessToken'])) { $model->accessToken = $map['accessToken']; } if (isset($map['expireIn'])) { $model->expireIn = $map['expireIn']; } return $model; } } src/oauth2_1_0/Models/GetAuthInfoHeaders.php000064400000002324146412132660014607 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAuthInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/oauth2_1_0/Models/GetAuthInfoRequest.php000064400000001521146412132660014662 0ustar00 'authCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authCorpId) { $res['authCorpId'] = $this->authCorpId; } return $res; } /** * @param array $map * * @return GetAuthInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authCorpId'])) { $model->authCorpId = $map['authCorpId']; } return $model; } } src/oauth2_1_0/Models/GetAuthInfoResponse.php000064400000002710146412132660015031 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAuthInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAuthInfoResponseBody::fromMap($map['body']); } return $model; } } src/oauth2_1_0/Models/GetAuthInfoResponseBody.php000064400000003722146412132660015653 0ustar00 'authAppInfo', 'authCorpInfo' => 'authCorpInfo', 'authUserInfo' => 'authUserInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authAppInfo) { $res['authAppInfo'] = null !== $this->authAppInfo ? $this->authAppInfo->toMap() : null; } if (null !== $this->authCorpInfo) { $res['authCorpInfo'] = null !== $this->authCorpInfo ? $this->authCorpInfo->toMap() : null; } if (null !== $this->authUserInfo) { $res['authUserInfo'] = null !== $this->authUserInfo ? $this->authUserInfo->toMap() : null; } return $res; } /** * @param array $map * * @return GetAuthInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authAppInfo'])) { $model->authAppInfo = authAppInfo::fromMap($map['authAppInfo']); } if (isset($map['authCorpInfo'])) { $model->authCorpInfo = authCorpInfo::fromMap($map['authCorpInfo']); } if (isset($map['authUserInfo'])) { $model->authUserInfo = authUserInfo::fromMap($map['authUserInfo']); } return $model; } } src/oauth2_1_0/Models/GetAuthInfoResponseBody/authAppInfo.php000064400000002674146412132660020076 0ustar00 'agentList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentList) { $res['agentList'] = []; if (null !== $this->agentList && \is_array($this->agentList)) { $n = 0; foreach ($this->agentList as $item) { $res['agentList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return authAppInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentList'])) { if (!empty($map['agentList'])) { $model->agentList = []; $n = 0; foreach ($map['agentList'] as $item) { $model->agentList[$n++] = null !== $item ? agentList::fromMap($item) : $item; } } } return $model; } } src/oauth2_1_0/Models/GetAuthInfoResponseBody/authAppInfo/agentList.php000064400000003501146412132660022016 0ustar00 'adminList', 'agentId' => 'agentId', 'agentName' => 'agentName', 'appId' => 'appId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->adminList) { $res['adminList'] = $this->adminList; } if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->agentName) { $res['agentName'] = $this->agentName; } if (null !== $this->appId) { $res['appId'] = $this->appId; } return $res; } /** * @param array $map * * @return agentList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['adminList'])) { if (!empty($map['adminList'])) { $model->adminList = $map['adminList']; } } if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['agentName'])) { $model->agentName = $map['agentName']; } if (isset($map['appId'])) { $model->appId = $map['appId']; } return $model; } } src/oauth2_1_0/Models/GetAuthInfoResponseBody/authCorpInfo.php000064400000007155146412132660020260 0ustar00 'authChannel', 'authChannelType' => 'authChannelType', 'authLevel' => 'authLevel', 'corpLogoUrl' => 'corpLogoUrl', 'corpName' => 'corpName', 'industry' => 'industry', 'inviteCode' => 'inviteCode', 'inviteUrl' => 'inviteUrl', 'licenseCode' => 'licenseCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authChannel) { $res['authChannel'] = $this->authChannel; } if (null !== $this->authChannelType) { $res['authChannelType'] = $this->authChannelType; } if (null !== $this->authLevel) { $res['authLevel'] = $this->authLevel; } if (null !== $this->corpLogoUrl) { $res['corpLogoUrl'] = $this->corpLogoUrl; } if (null !== $this->corpName) { $res['corpName'] = $this->corpName; } if (null !== $this->industry) { $res['industry'] = $this->industry; } if (null !== $this->inviteCode) { $res['inviteCode'] = $this->inviteCode; } if (null !== $this->inviteUrl) { $res['inviteUrl'] = $this->inviteUrl; } if (null !== $this->licenseCode) { $res['licenseCode'] = $this->licenseCode; } return $res; } /** * @param array $map * * @return authCorpInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authChannel'])) { $model->authChannel = $map['authChannel']; } if (isset($map['authChannelType'])) { $model->authChannelType = $map['authChannelType']; } if (isset($map['authLevel'])) { $model->authLevel = $map['authLevel']; } if (isset($map['corpLogoUrl'])) { $model->corpLogoUrl = $map['corpLogoUrl']; } if (isset($map['corpName'])) { $model->corpName = $map['corpName']; } if (isset($map['industry'])) { $model->industry = $map['industry']; } if (isset($map['inviteCode'])) { $model->inviteCode = $map['inviteCode']; } if (isset($map['inviteUrl'])) { $model->inviteUrl = $map['inviteUrl']; } if (isset($map['licenseCode'])) { $model->licenseCode = $map['licenseCode']; } return $model; } } src/oauth2_1_0/Models/GetAuthInfoResponseBody/authUserInfo.php000064400000001533146412132660020265 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return authUserInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/oauth2_1_0/Models/GetCorpAccessTokenRequest.php000064400000003371146412132660016200 0ustar00 'authCorpId', 'suiteKey' => 'suiteKey', 'suiteSecret' => 'suiteSecret', 'suiteTicket' => 'suiteTicket', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authCorpId) { $res['authCorpId'] = $this->authCorpId; } if (null !== $this->suiteKey) { $res['suiteKey'] = $this->suiteKey; } if (null !== $this->suiteSecret) { $res['suiteSecret'] = $this->suiteSecret; } if (null !== $this->suiteTicket) { $res['suiteTicket'] = $this->suiteTicket; } return $res; } /** * @param array $map * * @return GetCorpAccessTokenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authCorpId'])) { $model->authCorpId = $map['authCorpId']; } if (isset($map['suiteKey'])) { $model->suiteKey = $map['suiteKey']; } if (isset($map['suiteSecret'])) { $model->suiteSecret = $map['suiteSecret']; } if (isset($map['suiteTicket'])) { $model->suiteTicket = $map['suiteTicket']; } return $model; } } src/oauth2_1_0/Models/GetCorpAccessTokenResponse.php000064400000002744146412132660016351 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCorpAccessTokenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCorpAccessTokenResponseBody::fromMap($map['body']); } return $model; } } src/oauth2_1_0/Models/GetCorpAccessTokenResponseBody.php000064400000002222146412132660017156 0ustar00 'accessToken', 'expireIn' => 'expireIn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessToken) { $res['accessToken'] = $this->accessToken; } if (null !== $this->expireIn) { $res['expireIn'] = $this->expireIn; } return $res; } /** * @param array $map * * @return GetCorpAccessTokenResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessToken'])) { $model->accessToken = $map['accessToken']; } if (isset($map['expireIn'])) { $model->expireIn = $map['expireIn']; } return $model; } } src/oauth2_1_0/Models/GetPersonalAuthRuleHeaders.php000064400000002344146412132660016331 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPersonalAuthRuleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/oauth2_1_0/Models/GetPersonalAuthRuleResponse.php000064400000002750146412132660016555 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPersonalAuthRuleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPersonalAuthRuleResponseBody::fromMap($map['body']); } return $model; } } src/oauth2_1_0/Models/GetPersonalAuthRuleResponseBody.php000064400000002622146412132660017371 0ustar00 '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 GetPersonalAuthRuleResponseBody */ 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/oauth2_1_0/Models/GetPersonalAuthRuleResponseBody/result.php000064400000002326146412132660020710 0ustar00 'authItems', 'resource' => 'resource', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authItems) { $res['authItems'] = $this->authItems; } if (null !== $this->resource) { $res['resource'] = $this->resource; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authItems'])) { if (!empty($map['authItems'])) { $model->authItems = $map['authItems']; } } if (isset($map['resource'])) { $model->resource = $map['resource']; } return $model; } } src/oauth2_1_0/Models/GetSsoAccessTokenRequest.php000064400000002241146412132660016034 0ustar00 'corpid', 'ssoSecret' => 'ssoSecret', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpid) { $res['corpid'] = $this->corpid; } if (null !== $this->ssoSecret) { $res['ssoSecret'] = $this->ssoSecret; } return $res; } /** * @param array $map * * @return GetSsoAccessTokenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpid'])) { $model->corpid = $map['corpid']; } if (isset($map['ssoSecret'])) { $model->ssoSecret = $map['ssoSecret']; } return $model; } } src/oauth2_1_0/Models/GetSsoAccessTokenResponse.php000064400000002740146412132660016206 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSsoAccessTokenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSsoAccessTokenResponseBody::fromMap($map['body']); } return $model; } } src/oauth2_1_0/Models/GetSsoAccessTokenResponseBody.php000064400000002310146412132660017015 0ustar00 'accessToken', 'expireIn' => 'expireIn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessToken) { $res['accessToken'] = $this->accessToken; } if (null !== $this->expireIn) { $res['expireIn'] = $this->expireIn; } return $res; } /** * @param array $map * * @return GetSsoAccessTokenResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessToken'])) { $model->accessToken = $map['accessToken']; } if (isset($map['expireIn'])) { $model->expireIn = $map['expireIn']; } return $model; } } src/oauth2_1_0/Models/GetSsoUserInfoHeaders.php000064400000002332146412132660015310 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSsoUserInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/oauth2_1_0/Models/GetSsoUserInfoRequest.php000064400000001441146412132660015365 0ustar00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return GetSsoUserInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/oauth2_1_0/Models/GetSsoUserInfoResponse.php000064400000002724146412132660015540 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSsoUserInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSsoUserInfoResponseBody::fromMap($map['body']); } return $model; } } src/oauth2_1_0/Models/GetSsoUserInfoResponseBody.php000064400000004675146412132660016365 0ustar00 'avatar', 'corpId' => 'corpId', 'corpName' => 'corpName', 'email' => 'email', 'isAdmin' => 'isAdmin', 'userId' => 'userId', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatar) { $res['avatar'] = $this->avatar; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->corpName) { $res['corpName'] = $this->corpName; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->isAdmin) { $res['isAdmin'] = $this->isAdmin; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return GetSsoUserInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatar'])) { $model->avatar = $map['avatar']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['corpName'])) { $model->corpName = $map['corpName']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['isAdmin'])) { $model->isAdmin = $map['isAdmin']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/oauth2_1_0/Models/GetSuiteAccessTokenRequest.php000064400000002710146412132660016362 0ustar00 'suiteKey', 'suiteSecret' => 'suiteSecret', 'suiteTicket' => 'suiteTicket', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->suiteKey) { $res['suiteKey'] = $this->suiteKey; } if (null !== $this->suiteSecret) { $res['suiteSecret'] = $this->suiteSecret; } if (null !== $this->suiteTicket) { $res['suiteTicket'] = $this->suiteTicket; } return $res; } /** * @param array $map * * @return GetSuiteAccessTokenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['suiteKey'])) { $model->suiteKey = $map['suiteKey']; } if (isset($map['suiteSecret'])) { $model->suiteSecret = $map['suiteSecret']; } if (isset($map['suiteTicket'])) { $model->suiteTicket = $map['suiteTicket']; } return $model; } } src/oauth2_1_0/Models/GetSuiteAccessTokenResponse.php000064400000002750146412132660016534 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSuiteAccessTokenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSuiteAccessTokenResponseBody::fromMap($map['body']); } return $model; } } src/oauth2_1_0/Models/GetSuiteAccessTokenResponseBody.php000064400000002224146412132660017346 0ustar00 'accessToken', 'expireIn' => 'expireIn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessToken) { $res['accessToken'] = $this->accessToken; } if (null !== $this->expireIn) { $res['expireIn'] = $this->expireIn; } return $res; } /** * @param array $map * * @return GetSuiteAccessTokenResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessToken'])) { $model->accessToken = $map['accessToken']; } if (isset($map['expireIn'])) { $model->expireIn = $map['expireIn']; } return $model; } } src/oauth2_1_0/Models/GetTokenRequest.php000064400000002671146412132660014234 0ustar00 'client_id', 'clientSecret' => 'client_secret', 'grantType' => 'grant_type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->clientId) { $res['client_id'] = $this->clientId; } if (null !== $this->clientSecret) { $res['client_secret'] = $this->clientSecret; } if (null !== $this->grantType) { $res['grant_type'] = $this->grantType; } return $res; } /** * @param array $map * * @return GetTokenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['client_id'])) { $model->clientId = $map['client_id']; } if (isset($map['client_secret'])) { $model->clientSecret = $map['client_secret']; } if (isset($map['grant_type'])) { $model->grantType = $map['grant_type']; } return $model; } } src/oauth2_1_0/Models/GetTokenResponse.php000064400000002674146412132660014405 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTokenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTokenResponseBody::fromMap($map['body']); } return $model; } } src/oauth2_1_0/Models/GetTokenResponseBody.php000064400000002216146412132660015213 0ustar00 'access_token', 'expiresIn' => 'expires_in', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessToken) { $res['access_token'] = $this->accessToken; } if (null !== $this->expiresIn) { $res['expires_in'] = $this->expiresIn; } return $res; } /** * @param array $map * * @return GetTokenResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['access_token'])) { $model->accessToken = $map['access_token']; } if (isset($map['expires_in'])) { $model->expiresIn = $map['expires_in']; } return $model; } } src/oauth2_1_0/Models/GetUserTokenRequest.php000064400000003775146412132660015101 0ustar00 'clientId', 'clientSecret' => 'clientSecret', 'code' => 'code', 'grantType' => 'grantType', 'refreshToken' => 'refreshToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->clientId) { $res['clientId'] = $this->clientId; } if (null !== $this->clientSecret) { $res['clientSecret'] = $this->clientSecret; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->grantType) { $res['grantType'] = $this->grantType; } if (null !== $this->refreshToken) { $res['refreshToken'] = $this->refreshToken; } return $res; } /** * @param array $map * * @return GetUserTokenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['clientId'])) { $model->clientId = $map['clientId']; } if (isset($map['clientSecret'])) { $model->clientSecret = $map['clientSecret']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['grantType'])) { $model->grantType = $map['grantType']; } if (isset($map['refreshToken'])) { $model->refreshToken = $map['refreshToken']; } return $model; } } src/oauth2_1_0/Models/GetUserTokenResponse.php000064400000002714146412132660015237 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserTokenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserTokenResponseBody::fromMap($map['body']); } return $model; } } src/oauth2_1_0/Models/GetUserTokenResponseBody.php000064400000003340146412132660016051 0ustar00 'accessToken', 'corpId' => 'corpId', 'expireIn' => 'expireIn', 'refreshToken' => 'refreshToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessToken) { $res['accessToken'] = $this->accessToken; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->expireIn) { $res['expireIn'] = $this->expireIn; } if (null !== $this->refreshToken) { $res['refreshToken'] = $this->refreshToken; } return $res; } /** * @param array $map * * @return GetUserTokenResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessToken'])) { $model->accessToken = $map['accessToken']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['expireIn'])) { $model->expireIn = $map['expireIn']; } if (isset($map['refreshToken'])) { $model->refreshToken = $map['refreshToken']; } return $model; } } src/occupationauth_1_0/Dingtalk.php000064400000012007146412132660013273 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CheckUserTaskStatusRequest $request * @param CheckUserTaskStatusHeaders $headers * @param RuntimeOptions $runtime * * @return CheckUserTaskStatusResponse */ public function checkUserTaskStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->provinceCode)) { $body['provinceCode'] = $request->provinceCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CheckUserTaskStatus', 'version' => 'occupationauth_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/occupationauth/auths/userTasks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CheckUserTaskStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CheckUserTaskStatusRequest $request * * @return CheckUserTaskStatusResponse */ public function checkUserTaskStatus($request) { $runtime = new RuntimeOptions([]); $headers = new CheckUserTaskStatusHeaders([]); return $this->checkUserTaskStatusWithOptions($request, $headers, $runtime); } /** * @param CheckUserTasksStatusRequest $request * @param CheckUserTasksStatusHeaders $headers * @param RuntimeOptions $runtime * * @return CheckUserTasksStatusResponse */ public function checkUserTasksStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->provinceCode)) { $query['provinceCode'] = $request->provinceCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CheckUserTasksStatus', 'version' => 'occupationauth_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/occupationauth/userTasks/check', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CheckUserTasksStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CheckUserTasksStatusRequest $request * * @return CheckUserTasksStatusResponse */ public function checkUserTasksStatus($request) { $runtime = new RuntimeOptions([]); $headers = new CheckUserTasksStatusHeaders([]); return $this->checkUserTasksStatusWithOptions($request, $headers, $runtime); } } src/occupationauth_1_0/Models/CheckUserTaskStatusHeaders.php000064400000002354146412132660020164 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CheckUserTaskStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/occupationauth_1_0/Models/CheckUserTaskStatusRequest.php000064400000001573146412132660020243 0ustar00 'provinceCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->provinceCode) { $res['provinceCode'] = $this->provinceCode; } return $res; } /** * @param array $map * * @return CheckUserTaskStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['provinceCode'])) { $model->provinceCode = $map['provinceCode']; } return $model; } } src/occupationauth_1_0/Models/CheckUserTaskStatusResponse.php000064400000002760146412132660020410 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CheckUserTaskStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CheckUserTaskStatusResponseBody::fromMap($map['body']); } return $model; } } src/occupationauth_1_0/Models/CheckUserTaskStatusResponseBody.php000064400000001515146412132660021223 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CheckUserTaskStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/occupationauth_1_0/Models/CheckUserTasksStatusHeaders.php000064400000002356146412132660020351 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CheckUserTasksStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/occupationauth_1_0/Models/CheckUserTasksStatusRequest.php000064400000001575146412132660020430 0ustar00 'provinceCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->provinceCode) { $res['provinceCode'] = $this->provinceCode; } return $res; } /** * @param array $map * * @return CheckUserTasksStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['provinceCode'])) { $model->provinceCode = $map['provinceCode']; } return $model; } } src/occupationauth_1_0/Models/CheckUserTasksStatusResponse.php000064400000002764146412132660020577 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CheckUserTasksStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CheckUserTasksStatusResponseBody::fromMap($map['body']); } return $model; } } src/occupationauth_1_0/Models/CheckUserTasksStatusResponseBody.php000064400000001517146412132660021410 0ustar00 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return CheckUserTasksStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/okr_1_0/Dingtalk.php000064400000141261146412132660011045 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $objectiveId * @param AlignObjectiveRequest $request * @param AlignObjectiveHeaders $headers * @param RuntimeOptions $runtime * * @return AlignObjectiveResponse */ public function alignObjectiveWithOptions($objectiveId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->periodId)) { $body['periodId'] = $request->periodId; } if (!Utils::isUnset($request->targetId)) { $body['targetId'] = $request->targetId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'AlignObjective', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/objectives/' . $objectiveId . '/alignments', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AlignObjectiveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $objectiveId * @param AlignObjectiveRequest $request * * @return AlignObjectiveResponse */ public function alignObjective($objectiveId, $request) { $runtime = new RuntimeOptions([]); $headers = new AlignObjectiveHeaders([]); return $this->alignObjectiveWithOptions($objectiveId, $request, $headers, $runtime); } /** * @param BatchAddPermissionRequest $request * @param BatchAddPermissionHeaders $headers * @param RuntimeOptions $runtime * * @return BatchAddPermissionResponse */ public function batchAddPermissionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->list_)) { $body['list'] = $request->list_; } if (!Utils::isUnset($request->targetId)) { $body['targetId'] = $request->targetId; } if (!Utils::isUnset($request->targetType)) { $body['targetType'] = $request->targetType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'BatchAddPermission', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/permissions/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchAddPermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchAddPermissionRequest $request * * @return BatchAddPermissionResponse */ public function batchAddPermission($request) { $runtime = new RuntimeOptions([]); $headers = new BatchAddPermissionHeaders([]); return $this->batchAddPermissionWithOptions($request, $headers, $runtime); } /** * @param BatchQueryObjectiveRequest $request * @param BatchQueryObjectiveHeaders $headers * @param RuntimeOptions $runtime * * @return BatchQueryObjectiveResponse */ public function batchQueryObjectiveWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->objectiveIds)) { $body['objectiveIds'] = $request->objectiveIds; } if (!Utils::isUnset($request->periodId)) { $body['periodId'] = $request->periodId; } if (!Utils::isUnset($request->withAlign)) { $body['withAlign'] = $request->withAlign; } if (!Utils::isUnset($request->withKr)) { $body['withKr'] = $request->withKr; } if (!Utils::isUnset($request->withProgress)) { $body['withProgress'] = $request->withProgress; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'BatchQueryObjective', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/objectives/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchQueryObjectiveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchQueryObjectiveRequest $request * * @return BatchQueryObjectiveResponse */ public function batchQueryObjective($request) { $runtime = new RuntimeOptions([]); $headers = new BatchQueryObjectiveHeaders([]); return $this->batchQueryObjectiveWithOptions($request, $headers, $runtime); } /** * @param BatchQueryUserRequest $request * @param BatchQueryUserHeaders $headers * @param RuntimeOptions $runtime * * @return BatchQueryUserResponse */ public function batchQueryUserWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->okrUserIds)) { $body['okrUserIds'] = $request->okrUserIds; } 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' => 'BatchQueryUser', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/users/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchQueryUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchQueryUserRequest $request * * @return BatchQueryUserResponse */ public function batchQueryUser($request) { $runtime = new RuntimeOptions([]); $headers = new BatchQueryUserHeaders([]); return $this->batchQueryUserWithOptions($request, $headers, $runtime); } /** * @param CreateKeyResultRequest $request * @param CreateKeyResultHeaders $headers * @param RuntimeOptions $runtime * * @return CreateKeyResultResponse */ public function createKeyResultWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->objectiveId)) { $body['objectiveId'] = $request->objectiveId; } if (!Utils::isUnset($request->periodId)) { $body['periodId'] = $request->periodId; } if (!Utils::isUnset($request->prevPosition)) { $body['prevPosition'] = $request->prevPosition; } if (!Utils::isUnset($request->weight)) { $body['weight'] = $request->weight; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CreateKeyResult', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/keyResults', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateKeyResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateKeyResultRequest $request * * @return CreateKeyResultResponse */ public function createKeyResult($request) { $runtime = new RuntimeOptions([]); $headers = new CreateKeyResultHeaders([]); return $this->createKeyResultWithOptions($request, $headers, $runtime); } /** * @param CreateObjectiveRequest $request * @param CreateObjectiveHeaders $headers * @param RuntimeOptions $runtime * * @return CreateObjectiveResponse */ public function createObjectiveWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->periodId)) { $body['periodId'] = $request->periodId; } if (!Utils::isUnset($request->prevPosition)) { $body['prevPosition'] = $request->prevPosition; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CreateObjective', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/objectives', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateObjectiveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateObjectiveRequest $request * * @return CreateObjectiveResponse */ public function createObjective($request) { $runtime = new RuntimeOptions([]); $headers = new CreateObjectiveHeaders([]); return $this->createObjectiveWithOptions($request, $headers, $runtime); } /** * @param DeleteKeyResultRequest $request * @param DeleteKeyResultHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteKeyResultResponse */ public function deleteKeyResultWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->krId)) { $query['krId'] = $request->krId; } 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' => 'DeleteKeyResult', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/keyResults', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteKeyResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteKeyResultRequest $request * * @return DeleteKeyResultResponse */ public function deleteKeyResult($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteKeyResultHeaders([]); return $this->deleteKeyResultWithOptions($request, $headers, $runtime); } /** * @param string $objectiveId * @param DeleteObjectiveRequest $request * @param DeleteObjectiveHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteObjectiveResponse */ public function deleteObjectiveWithOptions($objectiveId, $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' => 'DeleteObjective', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/objectives/' . $objectiveId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteObjectiveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $objectiveId * @param DeleteObjectiveRequest $request * * @return DeleteObjectiveResponse */ public function deleteObjective($objectiveId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteObjectiveHeaders([]); return $this->deleteObjectiveWithOptions($objectiveId, $request, $headers, $runtime); } /** * @param DeletePermissionRequest $request * @param DeletePermissionHeaders $headers * @param RuntimeOptions $runtime * * @return DeletePermissionResponse */ public function deletePermissionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->id)) { $query['id'] = $request->id; } if (!Utils::isUnset($request->policyType)) { $query['policyType'] = $request->policyType; } if (!Utils::isUnset($request->targetId)) { $query['targetId'] = $request->targetId; } if (!Utils::isUnset($request->targetType)) { $query['targetType'] = $request->targetType; } if (!Utils::isUnset($request->type)) { $query['type'] = $request->type; } 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' => 'DeletePermission', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/permissions/delete', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeletePermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeletePermissionRequest $request * * @return DeletePermissionResponse */ public function deletePermission($request) { $runtime = new RuntimeOptions([]); $headers = new DeletePermissionHeaders([]); return $this->deletePermissionWithOptions($request, $headers, $runtime); } /** * @param GetPeriodListHeaders $headers * @param RuntimeOptions $runtime * * @return GetPeriodListResponse */ public function getPeriodListWithOptions($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' => 'GetPeriodList', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/periods', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetPeriodListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return GetPeriodListResponse */ public function getPeriodList() { $runtime = new RuntimeOptions([]); $headers = new GetPeriodListHeaders([]); return $this->getPeriodListWithOptions($headers, $runtime); } /** * @param GetPermissionRequest $request * @param GetPermissionHeaders $headers * @param RuntimeOptions $runtime * * @return GetPermissionResponse */ public function getPermissionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->targetId)) { $query['targetId'] = $request->targetId; } if (!Utils::isUnset($request->targetType)) { $query['targetType'] = $request->targetType; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } if (!Utils::isUnset($request->withKr)) { $query['withKr'] = $request->withKr; } if (!Utils::isUnset($request->withObjective)) { $query['withObjective'] = $request->withObjective; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetPermission', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/permissions', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetPermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetPermissionRequest $request * * @return GetPermissionResponse */ public function getPermission($request) { $runtime = new RuntimeOptions([]); $headers = new GetPermissionHeaders([]); return $this->getPermissionWithOptions($request, $headers, $runtime); } /** * @param GetUserOkrRequest $request * @param GetUserOkrHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserOkrResponse */ public function getUserOkrWithOptions($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->periodId)) { $query['periodId'] = $request->periodId; } 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' => 'GetUserOkr', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/users/okrs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserOkrResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUserOkrRequest $request * * @return GetUserOkrResponse */ public function getUserOkr($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserOkrHeaders([]); return $this->getUserOkrWithOptions($request, $headers, $runtime); } /** * @param OkrObjectivesBatchRequest $request * @param OkrObjectivesBatchHeaders $headers * @param RuntimeOptions $runtime * * @return OkrObjectivesBatchResponse */ public function okrObjectivesBatchWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->goodsCode)) { $body['goodsCode'] = $request->goodsCode; } 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' => 'OkrObjectivesBatch', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/pro/objectives/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return OkrObjectivesBatchResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param OkrObjectivesBatchRequest $request * * @return OkrObjectivesBatchResponse */ public function okrObjectivesBatch($request) { $runtime = new RuntimeOptions([]); $headers = new OkrObjectivesBatchHeaders([]); return $this->okrObjectivesBatchWithOptions($request, $headers, $runtime); } /** * @param string $dingUserId * @param OkrObjectivesByUserRequest $request * @param OkrObjectivesByUserHeaders $headers * @param RuntimeOptions $runtime * * @return OkrObjectivesByUserResponse */ public function okrObjectivesByUserWithOptions($dingUserId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->goodsCode)) { $query['goodsCode'] = $request->goodsCode; } 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' => 'OkrObjectivesByUser', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/pro/users/' . $dingUserId . '/objectives', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return OkrObjectivesByUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dingUserId * @param OkrObjectivesByUserRequest $request * * @return OkrObjectivesByUserResponse */ public function okrObjectivesByUser($dingUserId, $request) { $runtime = new RuntimeOptions([]); $headers = new OkrObjectivesByUserHeaders([]); return $this->okrObjectivesByUserWithOptions($dingUserId, $request, $headers, $runtime); } /** * @param OkrPeriodsRequest $request * @param OkrPeriodsHeaders $headers * @param RuntimeOptions $runtime * * @return OkrPeriodsResponse */ public function okrPeriodsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->goodsCode)) { $query['goodsCode'] = $request->goodsCode; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } 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' => 'OkrPeriods', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/pro/periods', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return OkrPeriodsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param OkrPeriodsRequest $request * * @return OkrPeriodsResponse */ public function okrPeriods($request) { $runtime = new RuntimeOptions([]); $headers = new OkrPeriodsHeaders([]); return $this->okrPeriodsWithOptions($request, $headers, $runtime); } /** * @param string $objectiveId * @param UnAlignObjectiveRequest $request * @param UnAlignObjectiveHeaders $headers * @param RuntimeOptions $runtime * * @return UnAlignObjectiveResponse */ public function unAlignObjectiveWithOptions($objectiveId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->periodId)) { $body['periodId'] = $request->periodId; } if (!Utils::isUnset($request->targetId)) { $body['targetId'] = $request->targetId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UnAlignObjective', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/objectives/' . $objectiveId . '/alignments/cancel', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UnAlignObjectiveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $objectiveId * @param UnAlignObjectiveRequest $request * * @return UnAlignObjectiveResponse */ public function unAlignObjective($objectiveId, $request) { $runtime = new RuntimeOptions([]); $headers = new UnAlignObjectiveHeaders([]); return $this->unAlignObjectiveWithOptions($objectiveId, $request, $headers, $runtime); } /** * @param UpdateKROfContentRequest $request * @param UpdateKROfContentHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateKROfContentResponse */ public function updateKROfContentWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->krId)) { $query['krId'] = $request->krId; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->updateQuoteList)) { $body['updateQuoteList'] = $request->updateQuoteList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdateKROfContent', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/keyResults/contents', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateKROfContentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateKROfContentRequest $request * * @return UpdateKROfContentResponse */ public function updateKROfContent($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateKROfContentHeaders([]); return $this->updateKROfContentWithOptions($request, $headers, $runtime); } /** * @param UpdateKROfScoreRequest $request * @param UpdateKROfScoreHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateKROfScoreResponse */ public function updateKROfScoreWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->krId)) { $query['krId'] = $request->krId; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->score)) { $body['score'] = $request->score; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdateKROfScore', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/keyResults/scores', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateKROfScoreResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateKROfScoreRequest $request * * @return UpdateKROfScoreResponse */ public function updateKROfScore($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateKROfScoreHeaders([]); return $this->updateKROfScoreWithOptions($request, $headers, $runtime); } /** * @param UpdateKROfWeightRequest $request * @param UpdateKROfWeightHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateKROfWeightResponse */ public function updateKROfWeightWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->krId)) { $query['krId'] = $request->krId; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->weight)) { $body['weight'] = $request->weight; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdateKROfWeight', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/keyResults/weights', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateKROfWeightResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateKROfWeightRequest $request * * @return UpdateKROfWeightResponse */ public function updateKROfWeight($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateKROfWeightHeaders([]); return $this->updateKROfWeightWithOptions($request, $headers, $runtime); } /** * @param string $objectiveId * @param UpdateObjectiveRequest $request * @param UpdateObjectiveHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateObjectiveResponse */ public function updateObjectiveWithOptions($objectiveId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdateObjective', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/objectives/' . $objectiveId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateObjectiveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $objectiveId * @param UpdateObjectiveRequest $request * * @return UpdateObjectiveResponse */ public function updateObjective($objectiveId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateObjectiveHeaders([]); return $this->updateObjectiveWithOptions($objectiveId, $request, $headers, $runtime); } /** * @param UpdatePrivacyRequest $request * @param UpdatePrivacyHeaders $headers * @param RuntimeOptions $runtime * * @return UpdatePrivacyResponse */ public function updatePrivacyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->privacy)) { $body['privacy'] = $request->privacy; } if (!Utils::isUnset($request->targetId)) { $body['targetId'] = $request->targetId; } if (!Utils::isUnset($request->targetType)) { $body['targetType'] = $request->targetType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdatePrivacy', 'version' => 'okr_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/okr/permissions/privacies', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdatePrivacyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdatePrivacyRequest $request * * @return UpdatePrivacyResponse */ public function updatePrivacy($request) { $runtime = new RuntimeOptions([]); $headers = new UpdatePrivacyHeaders([]); return $this->updatePrivacyWithOptions($request, $headers, $runtime); } } src/okr_1_0/Models/AlignObjectiveHeaders.php000064400000002327146412132660014713 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AlignObjectiveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/AlignObjectiveRequest.php000064400000002722146412132660014767 0ustar00 'periodId', 'targetId' => 'targetId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->periodId) { $res['periodId'] = $this->periodId; } if (null !== $this->targetId) { $res['targetId'] = $this->targetId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return AlignObjectiveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['periodId'])) { $model->periodId = $map['periodId']; } if (isset($map['targetId'])) { $model->targetId = $map['targetId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/AlignObjectiveResponse.php000064400000002721146412132660015134 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AlignObjectiveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AlignObjectiveResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/AlignObjectiveResponseBody.php000064400000002337146412132660015755 0ustar00 '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 AlignObjectiveResponseBody */ 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/okr_1_0/Models/AlignObjectiveResponseBody/data.php000064400000002166146412132660016666 0ustar00 'alignId', 'id' => 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alignId) { $res['alignId'] = $this->alignId; } if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alignId'])) { $model->alignId = $map['alignId']; } if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/okr_1_0/Models/BatchAddPermissionHeaders.php000064400000002337146412132660015532 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchAddPermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/BatchAddPermissionRequest.php000064400000004363146412132660015610 0ustar00 'list', 'targetId' => 'targetId', 'targetType' => 'targetType', 'userId' => 'userId', ]; 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->targetId) { $res['targetId'] = $this->targetId; } if (null !== $this->targetType) { $res['targetType'] = $this->targetType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return BatchAddPermissionRequest */ 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['targetId'])) { $model->targetId = $map['targetId']; } if (isset($map['targetType'])) { $model->targetType = $map['targetType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/BatchAddPermissionRequest/list_.php000064400000002355146412132660016721 0ustar00 'member', 'policyType' => 'policyType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->member) { $res['member'] = null !== $this->member ? $this->member->toMap() : null; } if (null !== $this->policyType) { $res['policyType'] = $this->policyType; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['member'])) { $model->member = member::fromMap($map['member']); } if (isset($map['policyType'])) { $model->policyType = $map['policyType']; } return $model; } } src/okr_1_0/Models/BatchAddPermissionRequest/list_/member.php000064400000002014146412132660020160 0ustar00 'id', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return member */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/okr_1_0/Models/BatchAddPermissionResponse.php000064400000002741146412132660015754 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchAddPermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchAddPermissionResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/BatchAddPermissionResponseBody.php000064400000002353146412132660016571 0ustar00 '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 BatchAddPermissionResponseBody */ 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/okr_1_0/Models/BatchAddPermissionResponseBody/data.php000064400000002575146412132660017510 0ustar00 'hasInvalidUser', 'permissionTree' => 'permissionTree', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasInvalidUser) { $res['hasInvalidUser'] = $this->hasInvalidUser; } if (null !== $this->permissionTree) { $res['permissionTree'] = null !== $this->permissionTree ? $this->permissionTree->toMap() : null; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasInvalidUser'])) { $model->hasInvalidUser = $map['hasInvalidUser']; } if (isset($map['permissionTree'])) { $model->permissionTree = permissionTree::fromMap($map['permissionTree']); } return $model; } } src/okr_1_0/Models/BatchAddPermissionResponseBody/data/permissionTree.php000064400000004463146412132660022516 0ustar00 'id', 'policyList' => 'policyList', 'privacy' => 'privacy', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->policyList) { $res['policyList'] = []; if (null !== $this->policyList && \is_array($this->policyList)) { $n = 0; foreach ($this->policyList as $item) { $res['policyList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->privacy) { $res['privacy'] = $this->privacy; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return permissionTree */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['policyList'])) { if (!empty($map['policyList'])) { $model->policyList = []; $n = 0; foreach ($map['policyList'] as $item) { $model->policyList[$n++] = null !== $item ? policyList::fromMap($item) : $item; } } } if (isset($map['privacy'])) { $model->privacy = $map['privacy']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/okr_1_0/Models/BatchAddPermissionResponseBody/data/permissionTree/policyList.php000064400000003774146412132660024655 0ustar00 'memberList', 'name' => 'name', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; 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->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return policyList */ public static function fromMap($map = []) { $model = new self(); 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['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/okr_1_0/Models/BatchAddPermissionResponseBody/data/permissionTree/policyList/memberList.php000064400000002532146412132660026747 0ustar00 'id', 'nickname' => 'nickname', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->nickname) { $res['nickname'] = $this->nickname; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return memberList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['nickname'])) { $model->nickname = $map['nickname']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/okr_1_0/Models/BatchQueryObjectiveHeaders.php000064400000002341146412132660015724 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchQueryObjectiveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/BatchQueryObjectiveRequest.php000064400000005005146412132660016001 0ustar00 'objectiveIds', 'periodId' => 'periodId', 'withAlign' => 'withAlign', 'withKr' => 'withKr', 'withProgress' => 'withProgress', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->objectiveIds) { $res['objectiveIds'] = $this->objectiveIds; } if (null !== $this->periodId) { $res['periodId'] = $this->periodId; } if (null !== $this->withAlign) { $res['withAlign'] = $this->withAlign; } if (null !== $this->withKr) { $res['withKr'] = $this->withKr; } if (null !== $this->withProgress) { $res['withProgress'] = $this->withProgress; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return BatchQueryObjectiveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['objectiveIds'])) { if (!empty($map['objectiveIds'])) { $model->objectiveIds = $map['objectiveIds']; } } if (isset($map['periodId'])) { $model->periodId = $map['periodId']; } if (isset($map['withAlign'])) { $model->withAlign = $map['withAlign']; } if (isset($map['withKr'])) { $model->withKr = $map['withKr']; } if (isset($map['withProgress'])) { $model->withProgress = $map['withProgress']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/BatchQueryObjectiveResponse.php000064400000002745146412132660016157 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchQueryObjectiveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchQueryObjectiveResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/BatchQueryObjectiveResponseBody.php000064400000003234146412132660016767 0ustar00 'data', 'success' => 'success', ]; 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->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return BatchQueryObjectiveResponseBody */ 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['success'])) { $model->success = $map['success']; } return $model; } } src/okr_1_0/Models/BatchQueryObjectiveResponseBody/data.php000064400000016217146412132660017705 0ustar00 'alignFromIds', 'alignToIds' => 'alignToIds', 'content' => 'content', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'id' => 'id', 'krList' => 'krList', 'owner' => 'owner', 'periodId' => 'periodId', 'permission' => 'permission', 'position' => 'position', 'progress' => 'progress', 'progressPercent' => 'progressPercent', 'published' => 'published', 'score' => 'score', 'status' => 'status', 'userId' => 'userId', 'weight' => 'weight', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alignFromIds) { $res['alignFromIds'] = $this->alignFromIds; } if (null !== $this->alignToIds) { $res['alignToIds'] = $this->alignToIds; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->krList) { $res['krList'] = []; if (null !== $this->krList && \is_array($this->krList)) { $n = 0; foreach ($this->krList as $item) { $res['krList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->owner) { $res['owner'] = null !== $this->owner ? $this->owner->toMap() : null; } if (null !== $this->periodId) { $res['periodId'] = $this->periodId; } if (null !== $this->permission) { $res['permission'] = $this->permission; } if (null !== $this->position) { $res['position'] = $this->position; } if (null !== $this->progress) { $res['progress'] = null !== $this->progress ? $this->progress->toMap() : null; } if (null !== $this->progressPercent) { $res['progressPercent'] = $this->progressPercent; } if (null !== $this->published) { $res['published'] = $this->published; } if (null !== $this->score) { $res['score'] = $this->score; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->weight) { $res['weight'] = $this->weight; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alignFromIds'])) { if (!empty($map['alignFromIds'])) { $model->alignFromIds = $map['alignFromIds']; } } if (isset($map['alignToIds'])) { if (!empty($map['alignToIds'])) { $model->alignToIds = $map['alignToIds']; } } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['krList'])) { if (!empty($map['krList'])) { $model->krList = []; $n = 0; foreach ($map['krList'] as $item) { $model->krList[$n++] = null !== $item ? krList::fromMap($item) : $item; } } } if (isset($map['owner'])) { $model->owner = owner::fromMap($map['owner']); } if (isset($map['periodId'])) { $model->periodId = $map['periodId']; } if (isset($map['permission'])) { if (!empty($map['permission'])) { $model->permission = $map['permission']; } } if (isset($map['position'])) { $model->position = $map['position']; } if (isset($map['progress'])) { $model->progress = progress::fromMap($map['progress']); } if (isset($map['progressPercent'])) { $model->progressPercent = $map['progressPercent']; } if (isset($map['published'])) { $model->published = $map['published']; } if (isset($map['score'])) { $model->score = $map['score']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['weight'])) { $model->weight = $map['weight']; } return $model; } } src/okr_1_0/Models/BatchQueryObjectiveResponseBody/data/krList.php000064400000007535146412132660021160 0ustar00 'content', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'id' => 'id', 'objectiveId' => 'objectiveId', 'permission' => 'permission', 'position' => 'position', 'progress' => 'progress', 'score' => 'score', 'weight' => 'weight', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->objectiveId) { $res['objectiveId'] = $this->objectiveId; } if (null !== $this->permission) { $res['permission'] = $this->permission; } if (null !== $this->position) { $res['position'] = $this->position; } if (null !== $this->progress) { $res['progress'] = null !== $this->progress ? $this->progress->toMap() : null; } if (null !== $this->score) { $res['score'] = $this->score; } if (null !== $this->weight) { $res['weight'] = $this->weight; } return $res; } /** * @param array $map * * @return krList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['objectiveId'])) { $model->objectiveId = $map['objectiveId']; } if (isset($map['permission'])) { if (!empty($map['permission'])) { $model->permission = $map['permission']; } } if (isset($map['position'])) { $model->position = $map['position']; } if (isset($map['progress'])) { $model->progress = progress::fromMap($map['progress']); } if (isset($map['score'])) { $model->score = $map['score']; } if (isset($map['weight'])) { $model->weight = $map['weight']; } return $model; } } src/okr_1_0/Models/BatchQueryObjectiveResponseBody/data/krList/progress.php000064400000001542146412132660023014 0ustar00 'percent', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->percent) { $res['percent'] = $this->percent; } return $res; } /** * @param array $map * * @return progress */ public static function fromMap($map = []) { $model = new self(); if (isset($map['percent'])) { $model->percent = $map['percent']; } return $model; } } src/okr_1_0/Models/BatchQueryObjectiveResponseBody/data/owner.php000064400000004245146412132660021035 0ustar00 'avatarMediaId', 'corpId' => 'corpId', 'id' => 'id', 'nickname' => 'nickname', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarMediaId) { $res['avatarMediaId'] = $this->avatarMediaId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->nickname) { $res['nickname'] = $this->nickname; } 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['avatarMediaId'])) { $model->avatarMediaId = $map['avatarMediaId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['nickname'])) { $model->nickname = $map['nickname']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/BatchQueryObjectiveResponseBody/data/progress.php000064400000001534146412132660021545 0ustar00 'percent', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->percent) { $res['percent'] = $this->percent; } return $res; } /** * @param array $map * * @return progress */ public static function fromMap($map = []) { $model = new self(); if (isset($map['percent'])) { $model->percent = $map['percent']; } return $model; } } src/okr_1_0/Models/BatchQueryUserHeaders.php000064400000002327146412132660014734 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchQueryUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/BatchQueryUserRequest.php000064400000002357146412132660015014 0ustar00 'okrUserIds', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->okrUserIds) { $res['okrUserIds'] = $this->okrUserIds; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return BatchQueryUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['okrUserIds'])) { if (!empty($map['okrUserIds'])) { $model->okrUserIds = $map['okrUserIds']; } } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/okr_1_0/Models/BatchQueryUserResponse.php000064400000002721146412132660015155 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchQueryUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchQueryUserResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/BatchQueryUserResponseBody.php000064400000003215146412132660015772 0ustar00 'data', 'success' => 'success', ]; 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->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return BatchQueryUserResponseBody */ 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['success'])) { $model->success = $map['success']; } return $model; } } src/okr_1_0/Models/BatchQueryUserResponseBody/data.php000064400000005066146412132660016711 0ustar00 'avatarMediaId', 'avatarUrl' => 'avatarUrl', 'corpId' => 'corpId', 'id' => 'id', 'nickname' => 'nickname', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarMediaId) { $res['avatarMediaId'] = $this->avatarMediaId; } if (null !== $this->avatarUrl) { $res['avatarUrl'] = $this->avatarUrl; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->nickname) { $res['nickname'] = $this->nickname; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarMediaId'])) { $model->avatarMediaId = $map['avatarMediaId']; } if (isset($map['avatarUrl'])) { $model->avatarUrl = $map['avatarUrl']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['nickname'])) { $model->nickname = $map['nickname']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/CreateKeyResultHeaders.php000064400000002331146412132660015074 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateKeyResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/CreateKeyResultRequest.php000064400000004704146412132660015157 0ustar00 'content', 'objectiveId' => 'objectiveId', 'periodId' => 'periodId', 'prevPosition' => 'prevPosition', 'weight' => 'weight', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->objectiveId) { $res['objectiveId'] = $this->objectiveId; } if (null !== $this->periodId) { $res['periodId'] = $this->periodId; } if (null !== $this->prevPosition) { $res['prevPosition'] = $this->prevPosition; } if (null !== $this->weight) { $res['weight'] = $this->weight; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CreateKeyResultRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['objectiveId'])) { $model->objectiveId = $map['objectiveId']; } if (isset($map['periodId'])) { $model->periodId = $map['periodId']; } if (isset($map['prevPosition'])) { $model->prevPosition = $map['prevPosition']; } if (isset($map['weight'])) { $model->weight = $map['weight']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/CreateKeyResultResponse.php000064400000002725146412132660015326 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateKeyResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateKeyResultResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/CreateKeyResultResponseBody.php000064400000002342146412132660016137 0ustar00 '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 CreateKeyResultResponseBody */ 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/okr_1_0/Models/CreateKeyResultResponseBody/data.php000064400000002647146412132660017060 0ustar00 'id', 'position' => 'position', 'weight' => 'weight', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->position) { $res['position'] = $this->position; } if (null !== $this->weight) { $res['weight'] = $this->weight; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['position'])) { $model->position = $map['position']; } if (isset($map['weight'])) { $model->weight = $map['weight']; } return $model; } } src/okr_1_0/Models/CreateObjectiveHeaders.php000064400000002331146412132660015057 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateObjectiveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/CreateObjectiveRequest.php000064400000003504146412132660015137 0ustar00 'content', 'periodId' => 'periodId', 'prevPosition' => 'prevPosition', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->periodId) { $res['periodId'] = $this->periodId; } if (null !== $this->prevPosition) { $res['prevPosition'] = $this->prevPosition; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CreateObjectiveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['periodId'])) { $model->periodId = $map['periodId']; } if (isset($map['prevPosition'])) { $model->prevPosition = $map['prevPosition']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/CreateObjectiveResponse.php000064400000002725146412132660015311 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateObjectiveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateObjectiveResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/CreateObjectiveResponseBody.php000064400000002342146412132660016122 0ustar00 '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 CreateObjectiveResponseBody */ 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/okr_1_0/Models/CreateObjectiveResponseBody/data.php000064400000002145146412132660017034 0ustar00 'id', 'position' => 'position', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->position) { $res['position'] = $this->position; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['position'])) { $model->position = $map['position']; } return $model; } } src/okr_1_0/Models/DeleteKeyResultHeaders.php000064400000002331146412132660015073 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteKeyResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/DeleteKeyResultRequest.php000064400000002165146412132660015155 0ustar00 'krId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->krId) { $res['krId'] = $this->krId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DeleteKeyResultRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['krId'])) { $model->krId = $map['krId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/DeleteKeyResultResponse.php000064400000002725146412132660015325 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteKeyResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteKeyResultResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/DeleteKeyResultResponseBody.php000064400000002173146412132660016140 0ustar00 'data', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteKeyResultResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/okr_1_0/Models/DeleteObjectiveHeaders.php000064400000002331146412132660015056 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteObjectiveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/DeleteObjectiveRequest.php000064400000001533146412132660015136 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DeleteObjectiveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/DeleteObjectiveResponse.php000064400000002725146412132660015310 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteObjectiveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteObjectiveResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/DeleteObjectiveResponseBody.php000064400000002342146412132660016121 0ustar00 '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 DeleteObjectiveResponseBody */ 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/okr_1_0/Models/DeleteObjectiveResponseBody/data.php000064400000001442146412132660017032 0ustar00 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/okr_1_0/Models/DeletePermissionHeaders.php000064400000002333146412132660015276 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeletePermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/DeletePermissionRequest.php000064400000004327146412132660015360 0ustar00 'id', 'policyType' => 'policyType', 'targetId' => 'targetId', 'targetType' => 'targetType', 'type' => 'type', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->policyType) { $res['policyType'] = $this->policyType; } if (null !== $this->targetId) { $res['targetId'] = $this->targetId; } if (null !== $this->targetType) { $res['targetType'] = $this->targetType; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DeletePermissionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['policyType'])) { $model->policyType = $map['policyType']; } if (isset($map['targetId'])) { $model->targetId = $map['targetId']; } if (isset($map['targetType'])) { $model->targetType = $map['targetType']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/DeletePermissionResponse.php000064400000002731146412132660015523 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeletePermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeletePermissionResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/DeletePermissionResponseBody.php000064400000002345146412132660016342 0ustar00 '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 DeletePermissionResponseBody */ 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/okr_1_0/Models/DeletePermissionResponseBody/data.php000064400000004407146412132660017254 0ustar00 'id', 'policyList' => 'policyList', 'privacy' => 'privacy', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->policyList) { $res['policyList'] = []; if (null !== $this->policyList && \is_array($this->policyList)) { $n = 0; foreach ($this->policyList as $item) { $res['policyList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->privacy) { $res['privacy'] = $this->privacy; } 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['id'])) { $model->id = $map['id']; } if (isset($map['policyList'])) { if (!empty($map['policyList'])) { $model->policyList = []; $n = 0; foreach ($map['policyList'] as $item) { $model->policyList[$n++] = null !== $item ? policyList::fromMap($item) : $item; } } } if (isset($map['privacy'])) { $model->privacy = $map['privacy']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/okr_1_0/Models/DeletePermissionResponseBody/data/policyList.php000064400000003732146412132660021407 0ustar00 'memberList', 'name' => 'name', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; 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->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return policyList */ public static function fromMap($map = []) { $model = new self(); 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['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/okr_1_0/Models/DeletePermissionResponseBody/data/policyList/memberList.php000064400000002511146412132660023504 0ustar00 'id', 'nickname' => 'nickname', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->nickname) { $res['nickname'] = $this->nickname; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return memberList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['nickname'])) { $model->nickname = $map['nickname']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/okr_1_0/Models/GetPeriodListHeaders.php000064400000002325146412132660014542 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPeriodListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/GetPeriodListResponse.php000064400000002715146412132660014770 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPeriodListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPeriodListResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/GetPeriodListResponseBody.php000064400000002300146412132660015574 0ustar00 '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 GetPeriodListResponseBody */ 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/okr_1_0/Models/GetPeriodListResponseBody/data.php000064400000002667146412132660016525 0ustar00 'periodList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->periodList) { $res['periodList'] = []; if (null !== $this->periodList && \is_array($this->periodList)) { $n = 0; foreach ($this->periodList as $item) { $res['periodList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['periodList'])) { if (!empty($map['periodList'])) { $model->periodList = []; $n = 0; foreach ($map['periodList'] as $item) { $model->periodList[$n++] = null !== $item ? periodList::fromMap($item) : $item; } } } return $model; } } src/okr_1_0/Models/GetPeriodListResponseBody/data/periodList.php000064400000004277146412132660020642 0ustar00 'endTime', 'id' => 'id', 'isCurrent' => 'isCurrent', 'isYearly' => 'isYearly', 'name' => 'name', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isCurrent) { $res['isCurrent'] = $this->isCurrent; } if (null !== $this->isYearly) { $res['isYearly'] = $this->isYearly; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return periodList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isCurrent'])) { $model->isCurrent = $map['isCurrent']; } if (isset($map['isYearly'])) { $model->isYearly = $map['isYearly']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/okr_1_0/Models/GetPermissionHeaders.php000064400000002325146412132660014614 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/GetPermissionRequest.php000064400000004033146412132660014667 0ustar00 'targetId', 'targetType' => 'targetType', 'userId' => 'userId', 'withKr' => 'withKr', 'withObjective' => 'withObjective', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->targetId) { $res['targetId'] = $this->targetId; } if (null !== $this->targetType) { $res['targetType'] = $this->targetType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->withKr) { $res['withKr'] = $this->withKr; } if (null !== $this->withObjective) { $res['withObjective'] = $this->withObjective; } return $res; } /** * @param array $map * * @return GetPermissionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['targetId'])) { $model->targetId = $map['targetId']; } if (isset($map['targetType'])) { $model->targetType = $map['targetType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['withKr'])) { $model->withKr = $map['withKr']; } if (isset($map['withObjective'])) { $model->withObjective = $map['withObjective']; } return $model; } } src/okr_1_0/Models/GetPermissionResponse.php000064400000002715146412132660015042 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPermissionResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/GetPermissionResponseBody.php000064400000002334146412132660015655 0ustar00 '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 GetPermissionResponseBody */ 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/okr_1_0/Models/GetPermissionResponseBody/data.php000064400000004401146412132660016563 0ustar00 'id', 'policyList' => 'policyList', 'privacy' => 'privacy', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->policyList) { $res['policyList'] = []; if (null !== $this->policyList && \is_array($this->policyList)) { $n = 0; foreach ($this->policyList as $item) { $res['policyList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->privacy) { $res['privacy'] = $this->privacy; } 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['id'])) { $model->id = $map['id']; } if (isset($map['policyList'])) { if (!empty($map['policyList'])) { $model->policyList = []; $n = 0; foreach ($map['policyList'] as $item) { $model->policyList[$n++] = null !== $item ? policyList::fromMap($item) : $item; } } } if (isset($map['privacy'])) { $model->privacy = $map['privacy']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/okr_1_0/Models/GetPermissionResponseBody/data/policyList.php000064400000003724146412132660020725 0ustar00 'memberList', 'name' => 'name', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; 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->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return policyList */ public static function fromMap($map = []) { $model = new self(); 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['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/okr_1_0/Models/GetPermissionResponseBody/data/policyList/memberList.php000064400000002506146412132660023025 0ustar00 'id', 'nickname' => 'nickname', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->nickname) { $res['nickname'] = $this->nickname; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return memberList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['nickname'])) { $model->nickname = $map['nickname']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/okr_1_0/Models/GetUserOkrHeaders.php000064400000002317146412132660014057 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserOkrHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/GetUserOkrRequest.php000064400000003422146412132660014132 0ustar00 'pageNumber', 'pageSize' => 'pageSize', 'periodId' => 'periodId', '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->periodId) { $res['periodId'] = $this->periodId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetUserOkrRequest */ 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['periodId'])) { $model->periodId = $map['periodId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/GetUserOkrResponse.php000064400000002701146412132660014277 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserOkrResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserOkrResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/GetUserOkrResponseBody.php000064400000002323146412132660015115 0ustar00 '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 GetUserOkrResponseBody */ 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/okr_1_0/Models/GetUserOkrResponseBody/data.php000064400000004427146412132660016035 0ustar00 'list', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'totalCount' => 'totalCount', ]; 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->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 data */ 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['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/okr_1_0/Models/GetUserOkrResponseBody/data/list_.php000064400000016204146412132660017143 0ustar00 'alignFromIds', 'alignToIds' => 'alignToIds', 'content' => 'content', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'id' => 'id', 'krList' => 'krList', 'owner' => 'owner', 'periodId' => 'periodId', 'permission' => 'permission', 'position' => 'position', 'progress' => 'progress', 'progressPercent' => 'progressPercent', 'published' => 'published', 'score' => 'score', 'status' => 'status', 'userId' => 'userId', 'weight' => 'weight', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alignFromIds) { $res['alignFromIds'] = $this->alignFromIds; } if (null !== $this->alignToIds) { $res['alignToIds'] = $this->alignToIds; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->krList) { $res['krList'] = []; if (null !== $this->krList && \is_array($this->krList)) { $n = 0; foreach ($this->krList as $item) { $res['krList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->owner) { $res['owner'] = null !== $this->owner ? $this->owner->toMap() : null; } if (null !== $this->periodId) { $res['periodId'] = $this->periodId; } if (null !== $this->permission) { $res['permission'] = $this->permission; } if (null !== $this->position) { $res['position'] = $this->position; } if (null !== $this->progress) { $res['progress'] = null !== $this->progress ? $this->progress->toMap() : null; } if (null !== $this->progressPercent) { $res['progressPercent'] = $this->progressPercent; } if (null !== $this->published) { $res['published'] = $this->published; } if (null !== $this->score) { $res['score'] = $this->score; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->weight) { $res['weight'] = $this->weight; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alignFromIds'])) { if (!empty($map['alignFromIds'])) { $model->alignFromIds = $map['alignFromIds']; } } if (isset($map['alignToIds'])) { if (!empty($map['alignToIds'])) { $model->alignToIds = $map['alignToIds']; } } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['krList'])) { if (!empty($map['krList'])) { $model->krList = []; $n = 0; foreach ($map['krList'] as $item) { $model->krList[$n++] = null !== $item ? krList::fromMap($item) : $item; } } } if (isset($map['owner'])) { $model->owner = owner::fromMap($map['owner']); } if (isset($map['periodId'])) { $model->periodId = $map['periodId']; } if (isset($map['permission'])) { if (!empty($map['permission'])) { $model->permission = $map['permission']; } } if (isset($map['position'])) { $model->position = $map['position']; } if (isset($map['progress'])) { $model->progress = progress::fromMap($map['progress']); } if (isset($map['progressPercent'])) { $model->progressPercent = $map['progressPercent']; } if (isset($map['published'])) { $model->published = $map['published']; } if (isset($map['score'])) { $model->score = $map['score']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['weight'])) { $model->weight = $map['weight']; } return $model; } } src/okr_1_0/Models/GetUserOkrResponseBody/data/list_/krList.php000064400000007527146412132660020423 0ustar00 'content', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'id' => 'id', 'objectiveId' => 'objectiveId', 'permission' => 'permission', 'position' => 'position', 'progress' => 'progress', 'score' => 'score', 'weight' => 'weight', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->objectiveId) { $res['objectiveId'] = $this->objectiveId; } if (null !== $this->permission) { $res['permission'] = $this->permission; } if (null !== $this->position) { $res['position'] = $this->position; } if (null !== $this->progress) { $res['progress'] = null !== $this->progress ? $this->progress->toMap() : null; } if (null !== $this->score) { $res['score'] = $this->score; } if (null !== $this->weight) { $res['weight'] = $this->weight; } return $res; } /** * @param array $map * * @return krList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['objectiveId'])) { $model->objectiveId = $map['objectiveId']; } if (isset($map['permission'])) { if (!empty($map['permission'])) { $model->permission = $map['permission']; } } if (isset($map['position'])) { $model->position = $map['position']; } if (isset($map['progress'])) { $model->progress = progress::fromMap($map['progress']); } if (isset($map['score'])) { $model->score = $map['score']; } if (isset($map['weight'])) { $model->weight = $map['weight']; } return $model; } } src/okr_1_0/Models/GetUserOkrResponseBody/data/list_/krList/progress.php000064400000001537146412132660022262 0ustar00 'percent', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->percent) { $res['percent'] = $this->percent; } return $res; } /** * @param array $map * * @return progress */ public static function fromMap($map = []) { $model = new self(); if (isset($map['percent'])) { $model->percent = $map['percent']; } return $model; } } src/okr_1_0/Models/GetUserOkrResponseBody/data/list_/owner.php000064400000004242146412132660020274 0ustar00 'avatarMediaId', 'corpId' => 'corpId', 'id' => 'id', 'nickname' => 'nickname', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarMediaId) { $res['avatarMediaId'] = $this->avatarMediaId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->nickname) { $res['nickname'] = $this->nickname; } 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['avatarMediaId'])) { $model->avatarMediaId = $map['avatarMediaId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['nickname'])) { $model->nickname = $map['nickname']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/GetUserOkrResponseBody/data/list_/progress.php000064400000001531146412132660021004 0ustar00 'percent', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->percent) { $res['percent'] = $this->percent; } return $res; } /** * @param array $map * * @return progress */ public static function fromMap($map = []) { $model = new self(); if (isset($map['percent'])) { $model->percent = $map['percent']; } return $model; } } src/okr_1_0/Models/OkrObjectivesBatchHeaders.php000064400000002337146412132660015542 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return OkrObjectivesBatchHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/OkrObjectivesBatchRequest.php000064400000002375146412132660015621 0ustar00 'goodsCode', 'objectiveIds' => 'objectiveIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->goodsCode) { $res['goodsCode'] = $this->goodsCode; } if (null !== $this->objectiveIds) { $res['objectiveIds'] = $this->objectiveIds; } return $res; } /** * @param array $map * * @return OkrObjectivesBatchRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['goodsCode'])) { $model->goodsCode = $map['goodsCode']; } if (isset($map['objectiveIds'])) { if (!empty($map['objectiveIds'])) { $model->objectiveIds = $map['objectiveIds']; } } return $model; } } src/okr_1_0/Models/OkrObjectivesBatchResponse.php000064400000002741146412132660015764 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return OkrObjectivesBatchResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = OkrObjectivesBatchResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/OkrObjectivesBatchResponseBody.php000064400000003154146412132660016601 0ustar00 'content', '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->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return OkrObjectivesBatchResponseBody */ 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['success'])) { $model->success = $map['success']; } return $model; } } src/okr_1_0/Models/OkrObjectivesByUserHeaders.php000064400000002341146412132660015725 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return OkrObjectivesByUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/OkrObjectivesByUserRequest.php000064400000002735146412132660016011 0ustar00 'goodsCode', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->goodsCode) { $res['goodsCode'] = $this->goodsCode; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return OkrObjectivesByUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['goodsCode'])) { $model->goodsCode = $map['goodsCode']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/okr_1_0/Models/OkrObjectivesByUserResponse.php000064400000002745146412132660016160 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return OkrObjectivesByUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = OkrObjectivesByUserResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/OkrObjectivesByUserResponseBody.php000064400000003043146412132660016766 0ustar00 '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 OkrObjectivesByUserResponseBody */ 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/okr_1_0/Models/OkrObjectivesByUserResponseBody/content.php000064400000003307146412132660020443 0ustar00 'result', '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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return content */ 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 ? OpenObjectiveDTO::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/okr_1_0/Models/OkrPeriodsHeaders.php000064400000002317146412132660014106 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return OkrPeriodsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/OkrPeriodsRequest.php000064400000003414146412132660014162 0ustar00 'goodsCode', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->goodsCode) { $res['goodsCode'] = $this->goodsCode; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return OkrPeriodsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['goodsCode'])) { $model->goodsCode = $map['goodsCode']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/okr_1_0/Models/OkrPeriodsResponse.php000064400000002701146412132660014326 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return OkrPeriodsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = OkrPeriodsResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/OkrPeriodsResponseBody.php000064400000003010146412132660015136 0ustar00 '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 OkrPeriodsResponseBody */ 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/okr_1_0/Models/OkrPeriodsResponseBody/content.php000064400000004466146412132660016630 0ustar00 'pageNumber', 'pageSize' => 'pageSize', 'result' => 'result', 'totalCount' => 'totalCount', ]; 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->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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return content */ 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['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? OpenPeriodDTO::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/okr_1_0/Models/OpenKeyResultDTO.php000064400000005567146412132660013663 0ustar00 'krId', 'progress' => 'progress', 'status' => 'status', 'title' => 'title', 'titleMentions' => 'titleMentions', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->krId) { $res['krId'] = $this->krId; } 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['krId'])) { $model->krId = $map['krId']; } 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/okr_1_0/Models/OpenObjectiveDTO.php000064400000010065146412132660013633 0ustar00 'executor', 'keyResults' => 'keyResults', 'objectiveId' => 'objectiveId', '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->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->objectiveId) { $res['objectiveId'] = $this->objectiveId; } 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['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['objectiveId'])) { $model->objectiveId = $map['objectiveId']; } 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/okr_1_0/Models/OpenPeriodDTO.php000064400000004237146412132660013147 0ustar00 'endDate', 'nameCn' => 'nameCn', 'nameEn' => 'nameEn', 'periodId' => 'periodId', 'startDate' => 'startDate', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->nameCn) { $res['nameCn'] = $this->nameCn; } if (null !== $this->nameEn) { $res['nameEn'] = $this->nameEn; } if (null !== $this->periodId) { $res['periodId'] = $this->periodId; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->status) { $res['status'] = $this->status; } 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['nameCn'])) { $model->nameCn = $map['nameCn']; } if (isset($map['nameEn'])) { $model->nameEn = $map['nameEn']; } if (isset($map['periodId'])) { $model->periodId = $map['periodId']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/okr_1_0/Models/OpenTeamDTO.php000064400000002724146412132660012612 0ustar00 'deptUid', 'dingDeptId' => 'dingDeptId', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptUid) { $res['deptUid'] = $this->deptUid; } if (null !== $this->dingDeptId) { $res['dingDeptId'] = $this->dingDeptId; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return OpenTeamDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptUid'])) { $model->deptUid = $map['deptUid']; } if (isset($map['dingDeptId'])) { $model->dingDeptId = $map['dingDeptId']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/okr_1_0/Models/OpenUserDTO.php000064400000002722146412132660012640 0ustar00 'dingUserId', 'name' => 'name', 'userUid' => 'userUid', ]; 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->userUid) { $res['userUid'] = $this->userUid; } return $res; } /** * @param array $map * * @return OpenUserDTO */ 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['userUid'])) { $model->userUid = $map['userUid']; } return $model; } } src/okr_1_0/Models/TitleMention.php000064400000002631146412132660013143 0ustar00 '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/okr_1_0/Models/UnAlignObjectiveHeaders.php000064400000002333146412132660015213 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UnAlignObjectiveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/UnAlignObjectiveRequest.php000064400000002726146412132660015276 0ustar00 'periodId', 'targetId' => 'targetId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->periodId) { $res['periodId'] = $this->periodId; } if (null !== $this->targetId) { $res['targetId'] = $this->targetId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UnAlignObjectiveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['periodId'])) { $model->periodId = $map['periodId']; } if (isset($map['targetId'])) { $model->targetId = $map['targetId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/UnAlignObjectiveResponse.php000064400000002731146412132660015440 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UnAlignObjectiveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UnAlignObjectiveResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/UnAlignObjectiveResponseBody.php000064400000002345146412132660016257 0ustar00 '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 UnAlignObjectiveResponseBody */ 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/okr_1_0/Models/UnAlignObjectiveResponseBody/data.php000064400000002170146412132660017164 0ustar00 'alignId', 'id' => 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alignId) { $res['alignId'] = $this->alignId; } if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alignId'])) { $model->alignId = $map['alignId']; } if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/okr_1_0/Models/UpdateKROfContentHeaders.php000064400000002335146412132660015324 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateKROfContentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/UpdateKROfContentRequest.php000064400000003564146412132660015406 0ustar00 'content', 'updateQuoteList' => 'updateQuoteList', 'krId' => 'krId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->updateQuoteList) { $res['updateQuoteList'] = $this->updateQuoteList; } if (null !== $this->krId) { $res['krId'] = $this->krId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateKROfContentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['updateQuoteList'])) { if (!empty($map['updateQuoteList'])) { $model->updateQuoteList = $map['updateQuoteList']; } } if (isset($map['krId'])) { $model->krId = $map['krId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/UpdateKROfContentResponse.php000064400000002735146412132660015553 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateKROfContentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateKROfContentResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/UpdateKROfContentResponseBody.php000064400000002140146412132660016357 0ustar00 'data', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateKROfContentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/okr_1_0/Models/UpdateKROfScoreHeaders.php000064400000002331146412132660014761 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateKROfScoreHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/UpdateKROfScoreRequest.php000064400000002622146412132660015041 0ustar00 'score', 'krId' => 'krId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->score) { $res['score'] = $this->score; } if (null !== $this->krId) { $res['krId'] = $this->krId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateKROfScoreRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['score'])) { $model->score = $map['score']; } if (isset($map['krId'])) { $model->krId = $map['krId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/UpdateKROfScoreResponse.php000064400000002725146412132660015213 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateKROfScoreResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateKROfScoreResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/UpdateKROfScoreResponseBody.php000064400000002342146412132660016024 0ustar00 '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 UpdateKROfScoreResponseBody */ 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/okr_1_0/Models/UpdateKROfScoreResponseBody/data.php000064400000001611146412132660016733 0ustar00 'objectiveScore', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->objectiveScore) { $res['objectiveScore'] = $this->objectiveScore; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['objectiveScore'])) { $model->objectiveScore = $map['objectiveScore']; } return $model; } } src/okr_1_0/Models/UpdateKROfWeightHeaders.php000064400000002333146412132660015137 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateKROfWeightHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/UpdateKROfWeightRequest.php000064400000002635146412132660015221 0ustar00 'weight', 'krId' => 'krId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->weight) { $res['weight'] = $this->weight; } if (null !== $this->krId) { $res['krId'] = $this->krId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateKROfWeightRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['weight'])) { $model->weight = $map['weight']; } if (isset($map['krId'])) { $model->krId = $map['krId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/UpdateKROfWeightResponse.php000064400000002731146412132660015364 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateKROfWeightResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateKROfWeightResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/UpdateKROfWeightResponseBody.php000064400000002345146412132660016203 0ustar00 '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 UpdateKROfWeightResponseBody */ 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/okr_1_0/Models/UpdateKROfWeightResponseBody/data.php000064400000002673146412132660017120 0ustar00 'objectiveProgress', 'objectiveScore' => 'objectiveScore', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->objectiveProgress) { $res['objectiveProgress'] = null !== $this->objectiveProgress ? $this->objectiveProgress->toMap() : null; } if (null !== $this->objectiveScore) { $res['objectiveScore'] = $this->objectiveScore; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['objectiveProgress'])) { $model->objectiveProgress = objectiveProgress::fromMap($map['objectiveProgress']); } if (isset($map['objectiveScore'])) { $model->objectiveScore = $map['objectiveScore']; } return $model; } } src/okr_1_0/Models/UpdateKROfWeightResponseBody/data/objectiveProgress.php000064400000001551146412132660022611 0ustar00 'percent', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->percent) { $res['percent'] = $this->percent; } return $res; } /** * @param array $map * * @return objectiveProgress */ public static function fromMap($map = []) { $model = new self(); if (isset($map['percent'])) { $model->percent = $map['percent']; } return $model; } } src/okr_1_0/Models/UpdateObjectiveHeaders.php000064400000002331146412132660015076 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateObjectiveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/UpdateObjectiveRequest.php000064400000002232146412132660015153 0ustar00 'content', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateObjectiveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/UpdateObjectiveResponse.php000064400000002725146412132660015330 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateObjectiveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateObjectiveResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/UpdateObjectiveResponseBody.php000064400000002342146412132660016141 0ustar00 '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 UpdateObjectiveResponseBody */ 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/okr_1_0/Models/UpdateObjectiveResponseBody/data.php000064400000002144146412132660017052 0ustar00 'id', 'position' => 'position', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->position) { $res['position'] = $this->position; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['position'])) { $model->position = $map['position']; } return $model; } } src/okr_1_0/Models/UpdatePrivacyHeaders.php000064400000002325146412132660014604 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdatePrivacyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/okr_1_0/Models/UpdatePrivacyRequest.php000064400000003433146412132660014662 0ustar00 'privacy', 'targetId' => 'targetId', 'targetType' => 'targetType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->privacy) { $res['privacy'] = $this->privacy; } if (null !== $this->targetId) { $res['targetId'] = $this->targetId; } if (null !== $this->targetType) { $res['targetType'] = $this->targetType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdatePrivacyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['privacy'])) { $model->privacy = $map['privacy']; } if (isset($map['targetId'])) { $model->targetId = $map['targetId']; } if (isset($map['targetType'])) { $model->targetType = $map['targetType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/okr_1_0/Models/UpdatePrivacyResponse.php000064400000002715146412132660015032 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdatePrivacyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdatePrivacyResponseBody::fromMap($map['body']); } return $model; } } src/okr_1_0/Models/UpdatePrivacyResponseBody.php000064400000002334146412132660015645 0ustar00 '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 UpdatePrivacyResponseBody */ 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/okr_1_0/Models/UpdatePrivacyResponseBody/data.php000064400000004401146412132660016553 0ustar00 'id', 'policyList' => 'policyList', 'privacy' => 'privacy', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->policyList) { $res['policyList'] = []; if (null !== $this->policyList && \is_array($this->policyList)) { $n = 0; foreach ($this->policyList as $item) { $res['policyList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->privacy) { $res['privacy'] = $this->privacy; } 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['id'])) { $model->id = $map['id']; } if (isset($map['policyList'])) { if (!empty($map['policyList'])) { $model->policyList = []; $n = 0; foreach ($map['policyList'] as $item) { $model->policyList[$n++] = null !== $item ? policyList::fromMap($item) : $item; } } } if (isset($map['privacy'])) { $model->privacy = $map['privacy']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/okr_1_0/Models/UpdatePrivacyResponseBody/data/policyList.php000064400000003724146412132660020715 0ustar00 'memberList', 'name' => 'name', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; 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->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return policyList */ public static function fromMap($map = []) { $model = new self(); 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['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/okr_1_0/Models/UpdatePrivacyResponseBody/data/policyList/memberList.php000064400000002506146412132660023015 0ustar00 'id', 'nickname' => 'nickname', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->nickname) { $res['nickname'] = $this->nickname; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return memberList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['nickname'])) { $model->nickname = $map['nickname']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/org_culture_1_0/Dingtalk.php000064400000123252146412132660012604 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AssignOrgHoldingToEmpHoldingBatchRequest $request * @param AssignOrgHoldingToEmpHoldingBatchHeaders $headers * @param RuntimeOptions $runtime * * @return AssignOrgHoldingToEmpHoldingBatchResponse */ public function assignOrgHoldingToEmpHoldingBatchWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->sendOrgCultureInform)) { $body['sendOrgCultureInform'] = $request->sendOrgCultureInform; } if (!Utils::isUnset($request->singleAmount)) { $body['singleAmount'] = $request->singleAmount; } if (!Utils::isUnset($request->sourceUsage)) { $body['sourceUsage'] = $request->sourceUsage; } if (!Utils::isUnset($request->targetUsage)) { $body['targetUsage'] = $request->targetUsage; } if (!Utils::isUnset($request->targetUserList)) { $body['targetUserList'] = $request->targetUserList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AssignOrgHoldingToEmpHoldingBatch', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/organizations/points/assign', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AssignOrgHoldingToEmpHoldingBatchResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AssignOrgHoldingToEmpHoldingBatchRequest $request * * @return AssignOrgHoldingToEmpHoldingBatchResponse */ public function assignOrgHoldingToEmpHoldingBatch($request) { $runtime = new RuntimeOptions([]); $headers = new AssignOrgHoldingToEmpHoldingBatchHeaders([]); return $this->assignOrgHoldingToEmpHoldingBatchWithOptions($request, $headers, $runtime); } /** * @param string $userId * @param ConsumeUserPointsRequest $request * @param ConsumeUserPointsHeaders $headers * @param RuntimeOptions $runtime * * @return ConsumeUserPointsResponse */ public function consumeUserPointsWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->amount)) { $body['amount'] = $request->amount; } if (!Utils::isUnset($request->outId)) { $body['outId'] = $request->outId; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->usage)) { $body['usage'] = $request->usage; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ConsumeUserPoints', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/users/' . $userId . '/points/deduct', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ConsumeUserPointsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param ConsumeUserPointsRequest $request * * @return ConsumeUserPointsResponse */ public function consumeUserPoints($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new ConsumeUserPointsHeaders([]); return $this->consumeUserPointsWithOptions($userId, $request, $headers, $runtime); } /** * @param CreateOrgHonorRequest $request * @param CreateOrgHonorHeaders $headers * @param RuntimeOptions $runtime * * @return CreateOrgHonorResponse */ public function createOrgHonorWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->avatarFrameMediaId)) { $body['avatarFrameMediaId'] = $request->avatarFrameMediaId; } if (!Utils::isUnset($request->defaultBgColor)) { $body['defaultBgColor'] = $request->defaultBgColor; } if (!Utils::isUnset($request->medalDesc)) { $body['medalDesc'] = $request->medalDesc; } if (!Utils::isUnset($request->medalMediaId)) { $body['medalMediaId'] = $request->medalMediaId; } if (!Utils::isUnset($request->medalName)) { $body['medalName'] = $request->medalName; } 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' => 'CreateOrgHonor', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/honors/templates', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateOrgHonorResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateOrgHonorRequest $request * * @return CreateOrgHonorResponse */ public function createOrgHonor($request) { $runtime = new RuntimeOptions([]); $headers = new CreateOrgHonorHeaders([]); return $this->createOrgHonorWithOptions($request, $headers, $runtime); } /** * @param DeductionPointBatchRequest $request * @param DeductionPointBatchHeaders $headers * @param RuntimeOptions $runtime * * @return DeductionPointBatchResponse */ public function deductionPointBatchWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deductionAmount)) { $body['deductionAmount'] = $request->deductionAmount; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->sendOrgCultureInform)) { $body['sendOrgCultureInform'] = $request->sendOrgCultureInform; } if (!Utils::isUnset($request->targetUserList)) { $body['targetUserList'] = $request->targetUserList; } 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' => 'DeductionPointBatch', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/users/points/deduct', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeductionPointBatchResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeductionPointBatchRequest $request * * @return DeductionPointBatchResponse */ public function deductionPointBatch($request) { $runtime = new RuntimeOptions([]); $headers = new DeductionPointBatchHeaders([]); return $this->deductionPointBatchWithOptions($request, $headers, $runtime); } /** * @param ExportPointOpenRequest $request * @param ExportPointOpenHeaders $headers * @param RuntimeOptions $runtime * * @return ExportPointOpenResponse */ public function exportPointOpenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->exportDate)) { $body['exportDate'] = $request->exportDate; } if (!Utils::isUnset($request->exportType)) { $body['exportType'] = $request->exportType; } 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' => 'ExportPointOpen', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/users/points/export', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ExportPointOpenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ExportPointOpenRequest $request * * @return ExportPointOpenResponse */ public function exportPointOpen($request) { $runtime = new RuntimeOptions([]); $headers = new ExportPointOpenHeaders([]); return $this->exportPointOpenWithOptions($request, $headers, $runtime); } /** * @param string $honorId * @param GrantHonorRequest $request * @param GrantHonorHeaders $headers * @param RuntimeOptions $runtime * * @return GrantHonorResponse */ public function grantHonorWithOptions($honorId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->expirationTime)) { $body['expirationTime'] = $request->expirationTime; } if (!Utils::isUnset($request->grantReason)) { $body['grantReason'] = $request->grantReason; } if (!Utils::isUnset($request->granterName)) { $body['granterName'] = $request->granterName; } if (!Utils::isUnset($request->noticeAnnouncer)) { $body['noticeAnnouncer'] = $request->noticeAnnouncer; } if (!Utils::isUnset($request->noticeSingle)) { $body['noticeSingle'] = $request->noticeSingle; } if (!Utils::isUnset($request->openConversationIds)) { $body['openConversationIds'] = $request->openConversationIds; } if (!Utils::isUnset($request->receiverUserIds)) { $body['receiverUserIds'] = $request->receiverUserIds; } 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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GrantHonor', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/honors/' . $honorId . '/grant', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GrantHonorResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $honorId * @param GrantHonorRequest $request * * @return GrantHonorResponse */ public function grantHonor($honorId, $request) { $runtime = new RuntimeOptions([]); $headers = new GrantHonorHeaders([]); return $this->grantHonorWithOptions($honorId, $request, $headers, $runtime); } /** * @param QueryCorpPointsRequest $request * @param QueryCorpPointsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryCorpPointsResponse */ public function queryCorpPointsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->optUserId)) { $query['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, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCorpPoints', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/organizations/points', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCorpPointsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryCorpPointsRequest $request * * @return QueryCorpPointsResponse */ public function queryCorpPoints($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCorpPointsHeaders([]); return $this->queryCorpPointsWithOptions($request, $headers, $runtime); } /** * @param QueryEmpPointDetailsRequest $request * @param QueryEmpPointDetailsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryEmpPointDetailsResponse */ public function queryEmpPointDetailsWithOptions($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' => 'QueryEmpPointDetails', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/points/empDetails', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryEmpPointDetailsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryEmpPointDetailsRequest $request * * @return QueryEmpPointDetailsResponse */ public function queryEmpPointDetails($request) { $runtime = new RuntimeOptions([]); $headers = new QueryEmpPointDetailsHeaders([]); return $this->queryEmpPointDetailsWithOptions($request, $headers, $runtime); } /** * @param QueryOrgHonorsRequest $request * @param QueryOrgHonorsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryOrgHonorsResponse */ public function queryOrgHonorsWithOptions($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' => 'QueryOrgHonors', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/organizations/honors', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryOrgHonorsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryOrgHonorsRequest $request * * @return QueryOrgHonorsResponse */ public function queryOrgHonors($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOrgHonorsHeaders([]); return $this->queryOrgHonorsWithOptions($request, $headers, $runtime); } /** * @param QueryOrgPointDetailsRequest $request * @param QueryOrgPointDetailsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryOrgPointDetailsResponse */ public function queryOrgPointDetailsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accountType)) { $query['accountType'] = $request->accountType; } 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' => 'QueryOrgPointDetails', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/points/orgDetails', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryOrgPointDetailsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryOrgPointDetailsRequest $request * * @return QueryOrgPointDetailsResponse */ public function queryOrgPointDetails($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOrgPointDetailsHeaders([]); return $this->queryOrgPointDetailsWithOptions($request, $headers, $runtime); } /** * @param QueryPointActionAutoAssignRuleHeaders $headers * @param RuntimeOptions $runtime * * @return QueryPointActionAutoAssignRuleResponse */ public function queryPointActionAutoAssignRuleWithOptions($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' => 'QueryPointActionAutoAssignRule', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/users/points/actionRules', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryPointActionAutoAssignRuleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return QueryPointActionAutoAssignRuleResponse */ public function queryPointActionAutoAssignRule() { $runtime = new RuntimeOptions([]); $headers = new QueryPointActionAutoAssignRuleHeaders([]); return $this->queryPointActionAutoAssignRuleWithOptions($headers, $runtime); } /** * @param QueryPointAutoIssueSettingHeaders $headers * @param RuntimeOptions $runtime * * @return QueryPointAutoIssueSettingResponse */ public function queryPointAutoIssueSettingWithOptions($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' => 'QueryPointAutoIssueSetting', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/users/points', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryPointAutoIssueSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return QueryPointAutoIssueSettingResponse */ public function queryPointAutoIssueSetting() { $runtime = new RuntimeOptions([]); $headers = new QueryPointAutoIssueSettingHeaders([]); return $this->queryPointAutoIssueSettingWithOptions($headers, $runtime); } /** * @param string $userId * @param QueryUserHonorsRequest $request * @param QueryUserHonorsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUserHonorsResponse */ public function queryUserHonorsWithOptions($userId, $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' => 'QueryUserHonors', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/honors/users/' . $userId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUserHonorsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param QueryUserHonorsRequest $request * * @return QueryUserHonorsResponse */ public function queryUserHonors($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryUserHonorsHeaders([]); return $this->queryUserHonorsWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param QueryUserPointsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryUserPointsResponse */ public function queryUserPointsWithOptions($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' => 'QueryUserPoints', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/users/' . $userId . '/points', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUserPointsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * * @return QueryUserPointsResponse */ public function queryUserPoints($userId) { $runtime = new RuntimeOptions([]); $headers = new QueryUserPointsHeaders([]); return $this->queryUserPointsWithOptions($userId, $headers, $runtime); } /** * @param string $honorId * @param RecallHonorRequest $request * @param RecallHonorHeaders $headers * @param RuntimeOptions $runtime * * @return RecallHonorResponse */ public function recallHonorWithOptions($honorId, $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' => 'RecallHonor', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/honors/' . $honorId . '/recall', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RecallHonorResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $honorId * @param RecallHonorRequest $request * * @return RecallHonorResponse */ public function recallHonor($honorId, $request) { $runtime = new RuntimeOptions([]); $headers = new RecallHonorHeaders([]); return $this->recallHonorWithOptions($honorId, $request, $headers, $runtime); } /** * @param UpdateAutoIssuePointRequest $request * @param UpdateAutoIssuePointHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateAutoIssuePointResponse */ public function updateAutoIssuePointWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->pointAutoNum)) { $body['pointAutoNum'] = $request->pointAutoNum; } if (!Utils::isUnset($request->pointAutoState)) { $body['pointAutoState'] = $request->pointAutoState; } if (!Utils::isUnset($request->pointAutoTime)) { $body['pointAutoTime'] = $request->pointAutoTime; } 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' => 'UpdateAutoIssuePoint', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/users/points/set', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateAutoIssuePointResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateAutoIssuePointRequest $request * * @return UpdateAutoIssuePointResponse */ public function updateAutoIssuePoint($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateAutoIssuePointHeaders([]); return $this->updateAutoIssuePointWithOptions($request, $headers, $runtime); } /** * @param UpdatePointActionAutoAssignRuleRequest $request * @param UpdatePointActionAutoAssignRuleHeaders $headers * @param RuntimeOptions $runtime * * @return UpdatePointActionAutoAssignRuleResponse */ public function updatePointActionAutoAssignRuleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->updatePointRuleRequestDTOList)) { $body['updatePointRuleRequestDTOList'] = $request->updatePointRuleRequestDTOList; } 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' => 'UpdatePointActionAutoAssignRule', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/users/points/actionRules', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdatePointActionAutoAssignRuleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdatePointActionAutoAssignRuleRequest $request * * @return UpdatePointActionAutoAssignRuleResponse */ public function updatePointActionAutoAssignRule($request) { $runtime = new RuntimeOptions([]); $headers = new UpdatePointActionAutoAssignRuleHeaders([]); return $this->updatePointActionAutoAssignRuleWithOptions($request, $headers, $runtime); } /** * @param string $honorId * @param WearOrgHonorRequest $request * @param WearOrgHonorHeaders $headers * @param RuntimeOptions $runtime * * @return WearOrgHonorResponse */ public function wearOrgHonorWithOptions($honorId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->wear)) { $body['wear'] = $request->wear; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'WearOrgHonor', 'version' => 'orgCulture_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/orgCulture/honors/' . $honorId . '/wear', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return WearOrgHonorResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $honorId * @param WearOrgHonorRequest $request * * @return WearOrgHonorResponse */ public function wearOrgHonor($honorId, $request) { $runtime = new RuntimeOptions([]); $headers = new WearOrgHonorHeaders([]); return $this->wearOrgHonorWithOptions($honorId, $request, $headers, $runtime); } } src/org_culture_1_0/Models/AssignOrgHoldingToEmpHoldingBatchHeaders.php000064400000002405146412132660022177 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AssignOrgHoldingToEmpHoldingBatchHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/AssignOrgHoldingToEmpHoldingBatchRequest.php000064400000006635146412132660022265 0ustar00 'remark', 'sendOrgCultureInform' => 'sendOrgCultureInform', 'singleAmount' => 'singleAmount', 'sourceUsage' => 'sourceUsage', 'targetUsage' => 'targetUsage', 'targetUserList' => 'targetUserList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->sendOrgCultureInform) { $res['sendOrgCultureInform'] = $this->sendOrgCultureInform; } if (null !== $this->singleAmount) { $res['singleAmount'] = $this->singleAmount; } if (null !== $this->sourceUsage) { $res['sourceUsage'] = $this->sourceUsage; } if (null !== $this->targetUsage) { $res['targetUsage'] = $this->targetUsage; } if (null !== $this->targetUserList) { $res['targetUserList'] = []; if (null !== $this->targetUserList && \is_array($this->targetUserList)) { $n = 0; foreach ($this->targetUserList as $item) { $res['targetUserList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return AssignOrgHoldingToEmpHoldingBatchRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['sendOrgCultureInform'])) { $model->sendOrgCultureInform = $map['sendOrgCultureInform']; } if (isset($map['singleAmount'])) { $model->singleAmount = $map['singleAmount']; } if (isset($map['sourceUsage'])) { $model->sourceUsage = $map['sourceUsage']; } if (isset($map['targetUsage'])) { $model->targetUsage = $map['targetUsage']; } if (isset($map['targetUserList'])) { if (!empty($map['targetUserList'])) { $model->targetUserList = []; $n = 0; foreach ($map['targetUserList'] as $item) { $model->targetUserList[$n++] = null !== $item ? targetUserList::fromMap($item) : $item; } } } return $model; } } src/org_culture_1_0/Models/AssignOrgHoldingToEmpHoldingBatchRequest/targetUserList.php000064400000002344146412132660025237 0ustar00 'outId', 'targetUserId' => 'targetUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outId) { $res['outId'] = $this->outId; } if (null !== $this->targetUserId) { $res['targetUserId'] = $this->targetUserId; } return $res; } /** * @param array $map * * @return targetUserList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outId'])) { $model->outId = $map['outId']; } if (isset($map['targetUserId'])) { $model->targetUserId = $map['targetUserId']; } return $model; } } src/org_culture_1_0/Models/AssignOrgHoldingToEmpHoldingBatchResponse.php000064400000003045146412132660022423 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AssignOrgHoldingToEmpHoldingBatchResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AssignOrgHoldingToEmpHoldingBatchResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/AssignOrgHoldingToEmpHoldingBatchResponseBody.php000064400000002444146412132660023243 0ustar00 '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 AssignOrgHoldingToEmpHoldingBatchResponseBody */ 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/org_culture_1_0/Models/AssignOrgHoldingToEmpHoldingBatchResponseBody/result.php000064400000003403146412132660024555 0ustar00 'openPointInvokeResultDTOS', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openPointInvokeResultDTOS) { $res['openPointInvokeResultDTOS'] = []; if (null !== $this->openPointInvokeResultDTOS && \is_array($this->openPointInvokeResultDTOS)) { $n = 0; foreach ($this->openPointInvokeResultDTOS as $item) { $res['openPointInvokeResultDTOS'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openPointInvokeResultDTOS'])) { if (!empty($map['openPointInvokeResultDTOS'])) { $model->openPointInvokeResultDTOS = []; $n = 0; foreach ($map['openPointInvokeResultDTOS'] as $item) { $model->openPointInvokeResultDTOS[$n++] = null !== $item ? openPointInvokeResultDTOS::fromMap($item) : $item; } } } return $model; } } Models/AssignOrgHoldingToEmpHoldingBatchResponseBody/result/openPointInvokeResultDTOS.php000064400000004161146412132660031520 0ustar00src/org_culture_1_0 'code', 'invokeStatus' => 'invokeStatus', 'msg' => 'msg', 'outId' => 'outId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->invokeStatus) { $res['invokeStatus'] = $this->invokeStatus; } if (null !== $this->msg) { $res['msg'] = $this->msg; } if (null !== $this->outId) { $res['outId'] = $this->outId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return openPointInvokeResultDTOS */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['invokeStatus'])) { $model->invokeStatus = $map['invokeStatus']; } if (isset($map['msg'])) { $model->msg = $map['msg']; } if (isset($map['outId'])) { $model->outId = $map['outId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/org_culture_1_0/Models/ConsumeUserPointsHeaders.php000064400000002345146412132660017232 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ConsumeUserPointsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/ConsumeUserPointsRequest.php000064400000003355146412132660017311 0ustar00 'amount', 'outId' => 'outId', 'remark' => 'remark', 'usage' => 'usage', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->outId) { $res['outId'] = $this->outId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->usage) { $res['usage'] = $this->usage; } return $res; } /** * @param array $map * * @return ConsumeUserPointsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['outId'])) { $model->outId = $map['outId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['usage'])) { $model->usage = $map['usage']; } return $model; } } src/org_culture_1_0/Models/ConsumeUserPointsResponse.php000064400000002745146412132660017461 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ConsumeUserPointsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ConsumeUserPointsResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/ConsumeUserPointsResponseBody.php000064400000002420146412132660020265 0ustar00 '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 ConsumeUserPointsResponseBody */ 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/org_culture_1_0/Models/ConsumeUserPointsResponseBody/result.php000064400000001521146412132660021604 0ustar00 'amount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } return $model; } } src/org_culture_1_0/Models/CreateOrgHonorHeaders.php000064400000002337146412132660016447 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateOrgHonorHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/CreateOrgHonorRequest.php000064400000005242146412132660016522 0ustar00 'avatarFrameMediaId', 'defaultBgColor' => 'defaultBgColor', 'medalDesc' => 'medalDesc', 'medalMediaId' => 'medalMediaId', 'medalName' => 'medalName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarFrameMediaId) { $res['avatarFrameMediaId'] = $this->avatarFrameMediaId; } if (null !== $this->defaultBgColor) { $res['defaultBgColor'] = $this->defaultBgColor; } if (null !== $this->medalDesc) { $res['medalDesc'] = $this->medalDesc; } if (null !== $this->medalMediaId) { $res['medalMediaId'] = $this->medalMediaId; } if (null !== $this->medalName) { $res['medalName'] = $this->medalName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CreateOrgHonorRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarFrameMediaId'])) { $model->avatarFrameMediaId = $map['avatarFrameMediaId']; } if (isset($map['defaultBgColor'])) { $model->defaultBgColor = $map['defaultBgColor']; } if (isset($map['medalDesc'])) { $model->medalDesc = $map['medalDesc']; } if (isset($map['medalMediaId'])) { $model->medalMediaId = $map['medalMediaId']; } if (isset($map['medalName'])) { $model->medalName = $map['medalName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/org_culture_1_0/Models/CreateOrgHonorResponse.php000064400000002731146412132660016670 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateOrgHonorResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateOrgHonorResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/CreateOrgHonorResponseBody.php000064400000002353146412132660017506 0ustar00 '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 CreateOrgHonorResponseBody */ 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/org_culture_1_0/Models/CreateOrgHonorResponseBody/result.php000064400000001536146412132660021026 0ustar00 'honorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->honorId) { $res['honorId'] = $this->honorId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['honorId'])) { $model->honorId = $map['honorId']; } return $model; } } src/org_culture_1_0/Models/DeductionPointBatchHeaders.php000064400000002351146412132660017454 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeductionPointBatchHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/DeductionPointBatchRequest.php000064400000005773146412132660017544 0ustar00 'deductionAmount', 'remark' => 'remark', 'sendOrgCultureInform' => 'sendOrgCultureInform', 'targetUserList' => 'targetUserList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deductionAmount) { $res['deductionAmount'] = $this->deductionAmount; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->sendOrgCultureInform) { $res['sendOrgCultureInform'] = $this->sendOrgCultureInform; } if (null !== $this->targetUserList) { $res['targetUserList'] = []; if (null !== $this->targetUserList && \is_array($this->targetUserList)) { $n = 0; foreach ($this->targetUserList as $item) { $res['targetUserList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DeductionPointBatchRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deductionAmount'])) { $model->deductionAmount = $map['deductionAmount']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['sendOrgCultureInform'])) { $model->sendOrgCultureInform = $map['sendOrgCultureInform']; } if (isset($map['targetUserList'])) { if (!empty($map['targetUserList'])) { $model->targetUserList = []; $n = 0; foreach ($map['targetUserList'] as $item) { $model->targetUserList[$n++] = null !== $item ? targetUserList::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/org_culture_1_0/Models/DeductionPointBatchRequest/targetUserList.php000064400000002324146412132660022512 0ustar00 'outId', 'targetUserId' => 'targetUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outId) { $res['outId'] = $this->outId; } if (null !== $this->targetUserId) { $res['targetUserId'] = $this->targetUserId; } return $res; } /** * @param array $map * * @return targetUserList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outId'])) { $model->outId = $map['outId']; } if (isset($map['targetUserId'])) { $model->targetUserId = $map['targetUserId']; } return $model; } } src/org_culture_1_0/Models/DeductionPointBatchResponse.php000064400000002755146412132660017707 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeductionPointBatchResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeductionPointBatchResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/DeductionPointBatchResponseBody.php000064400000002426146412132660020520 0ustar00 '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 DeductionPointBatchResponseBody */ 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/org_culture_1_0/Models/DeductionPointBatchResponseBody/result.php000064400000003347146412132660022041 0ustar00 'openPointInvokeResultDTOS', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openPointInvokeResultDTOS) { $res['openPointInvokeResultDTOS'] = []; if (null !== $this->openPointInvokeResultDTOS && \is_array($this->openPointInvokeResultDTOS)) { $n = 0; foreach ($this->openPointInvokeResultDTOS as $item) { $res['openPointInvokeResultDTOS'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openPointInvokeResultDTOS'])) { if (!empty($map['openPointInvokeResultDTOS'])) { $model->openPointInvokeResultDTOS = []; $n = 0; foreach ($map['openPointInvokeResultDTOS'] as $item) { $model->openPointInvokeResultDTOS[$n++] = null !== $item ? openPointInvokeResultDTOS::fromMap($item) : $item; } } } return $model; } } src/org_culture_1_0/Models/DeductionPointBatchResponseBody/result/openPointInvokeResultDTOS.php000064400000004174146412132660027060 0ustar00 'code', 'invokeStatus' => 'invokeStatus', 'msg' => 'msg', 'outId' => 'outId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->invokeStatus) { $res['invokeStatus'] = $this->invokeStatus; } if (null !== $this->msg) { $res['msg'] = $this->msg; } if (null !== $this->outId) { $res['outId'] = $this->outId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return openPointInvokeResultDTOS */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['invokeStatus'])) { $model->invokeStatus = $map['invokeStatus']; } if (isset($map['msg'])) { $model->msg = $map['msg']; } if (isset($map['outId'])) { $model->outId = $map['outId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/org_culture_1_0/Models/ExportPointOpenHeaders.php000064400000002341146412132660016676 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ExportPointOpenHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/ExportPointOpenRequest.php000064400000003003146412132660016747 0ustar00 'exportDate', 'exportType' => 'exportType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->exportDate) { $res['exportDate'] = $this->exportDate; } if (null !== $this->exportType) { $res['exportType'] = $this->exportType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ExportPointOpenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['exportDate'])) { $model->exportDate = $map['exportDate']; } if (isset($map['exportType'])) { $model->exportType = $map['exportType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/org_culture_1_0/Models/ExportPointOpenResponse.php000064400000002735146412132660017130 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ExportPointOpenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ExportPointOpenResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/ExportPointOpenResponseBody.php000064400000002130146412132660017733 0ustar00 '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 ExportPointOpenResponseBody */ 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/org_culture_1_0/Models/GrantHonorHeaders.php000064400000002327146412132660015646 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GrantHonorHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/GrantHonorRequest.php000064400000007050146412132660015721 0ustar00 'expirationTime', 'grantReason' => 'grantReason', 'granterName' => 'granterName', 'noticeAnnouncer' => 'noticeAnnouncer', 'noticeSingle' => 'noticeSingle', 'openConversationIds' => 'openConversationIds', 'receiverUserIds' => 'receiverUserIds', 'senderUserId' => 'senderUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expirationTime) { $res['expirationTime'] = $this->expirationTime; } if (null !== $this->grantReason) { $res['grantReason'] = $this->grantReason; } if (null !== $this->granterName) { $res['granterName'] = $this->granterName; } if (null !== $this->noticeAnnouncer) { $res['noticeAnnouncer'] = $this->noticeAnnouncer; } if (null !== $this->noticeSingle) { $res['noticeSingle'] = $this->noticeSingle; } if (null !== $this->openConversationIds) { $res['openConversationIds'] = $this->openConversationIds; } if (null !== $this->receiverUserIds) { $res['receiverUserIds'] = $this->receiverUserIds; } if (null !== $this->senderUserId) { $res['senderUserId'] = $this->senderUserId; } return $res; } /** * @param array $map * * @return GrantHonorRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expirationTime'])) { $model->expirationTime = $map['expirationTime']; } if (isset($map['grantReason'])) { $model->grantReason = $map['grantReason']; } if (isset($map['granterName'])) { $model->granterName = $map['granterName']; } if (isset($map['noticeAnnouncer'])) { $model->noticeAnnouncer = $map['noticeAnnouncer']; } if (isset($map['noticeSingle'])) { $model->noticeSingle = $map['noticeSingle']; } if (isset($map['openConversationIds'])) { if (!empty($map['openConversationIds'])) { $model->openConversationIds = $map['openConversationIds']; } } if (isset($map['receiverUserIds'])) { if (!empty($map['receiverUserIds'])) { $model->receiverUserIds = $map['receiverUserIds']; } } if (isset($map['senderUserId'])) { $model->senderUserId = $map['senderUserId']; } return $model; } } src/org_culture_1_0/Models/GrantHonorResponse.php000064400000002711146412132660016066 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GrantHonorResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GrantHonorResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/GrantHonorResponseBody.php000064400000002337146412132660016710 0ustar00 '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 GrantHonorResponseBody */ 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/org_culture_1_0/Models/GrantHonorResponseBody/result.php000064400000002522146412132660020222 0ustar00 'failedUserIds', 'successUserIds' => 'successUserIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failedUserIds) { $res['failedUserIds'] = $this->failedUserIds; } if (null !== $this->successUserIds) { $res['successUserIds'] = $this->successUserIds; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failedUserIds'])) { if (!empty($map['failedUserIds'])) { $model->failedUserIds = $map['failedUserIds']; } } if (isset($map['successUserIds'])) { if (!empty($map['successUserIds'])) { $model->successUserIds = $map['successUserIds']; } } return $model; } } src/org_culture_1_0/Models/QueryCorpPointsHeaders.php000064400000002341146412132660016707 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCorpPointsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/QueryCorpPointsRequest.php000064400000001571146412132660016770 0ustar00 'optUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->optUserId) { $res['optUserId'] = $this->optUserId; } return $res; } /** * @param array $map * * @return QueryCorpPointsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['optUserId'])) { $model->optUserId = $map['optUserId']; } return $model; } } src/org_culture_1_0/Models/QueryCorpPointsResponse.php000064400000002735146412132660017141 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCorpPointsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCorpPointsResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/QueryCorpPointsResponseBody.php000064400000002412146412132660017747 0ustar00 '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 QueryCorpPointsResponseBody */ 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/org_culture_1_0/Models/QueryCorpPointsResponseBody/result.php000064400000001517146412132660021272 0ustar00 'amount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } return $model; } } src/org_culture_1_0/Models/QueryEmpPointDetailsHeaders.php000064400000002353146412132660017653 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryEmpPointDetailsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/QueryEmpPointDetailsRequest.php000064400000002755146412132660017736 0ustar00 '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 QueryEmpPointDetailsRequest */ 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/org_culture_1_0/Models/QueryEmpPointDetailsResponse.php000064400000002761146412132660020101 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryEmpPointDetailsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryEmpPointDetailsResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/QueryEmpPointDetailsResponseBody.php000064400000002431146412132660020711 0ustar00 '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 QueryEmpPointDetailsResponseBody */ 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/org_culture_1_0/Models/QueryEmpPointDetailsResponseBody/result.php000064400000003326146412132660022233 0ustar00 'details', 'hasMore' => 'hasMore', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->details) { $res['details'] = []; if (null !== $this->details && \is_array($this->details)) { $n = 0; foreach ($this->details as $item) { $res['details'][$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['details'])) { if (!empty($map['details'])) { $model->details = []; $n = 0; foreach ($map['details'] as $item) { $model->details[$n++] = null !== $item ? details::fromMap($item) : $item; } } } if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } return $model; } } src/org_culture_1_0/Models/QueryEmpPointDetailsResponseBody/result/details.php000064400000005201146412132660023652 0ustar00 'amount', 'gmtCreate' => 'gmtCreate', 'outId' => 'outId', 'pointOperateFeatureResponseDTO' => 'pointOperateFeatureResponseDTO', 'sourceBizCode' => 'sourceBizCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->outId) { $res['outId'] = $this->outId; } if (null !== $this->pointOperateFeatureResponseDTO) { $res['pointOperateFeatureResponseDTO'] = null !== $this->pointOperateFeatureResponseDTO ? $this->pointOperateFeatureResponseDTO->toMap() : null; } if (null !== $this->sourceBizCode) { $res['sourceBizCode'] = $this->sourceBizCode; } return $res; } /** * @param array $map * * @return details */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['outId'])) { $model->outId = $map['outId']; } if (isset($map['pointOperateFeatureResponseDTO'])) { $model->pointOperateFeatureResponseDTO = pointOperateFeatureResponseDTO::fromMap($map['pointOperateFeatureResponseDTO']); } if (isset($map['sourceBizCode'])) { $model->sourceBizCode = $map['sourceBizCode']; } return $model; } } Models/QueryEmpPointDetailsResponseBody/result/details/pointOperateFeatureResponseDTO.php000064400000004516146412132660031656 0ustar00src/org_culture_1_0 'accountSource', 'accountTarget' => 'accountTarget', 'remark' => 'remark', 'usage' => 'usage', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountSource) { $res['accountSource'] = null !== $this->accountSource ? $this->accountSource->toMap() : null; } if (null !== $this->accountTarget) { $res['accountTarget'] = null !== $this->accountTarget ? $this->accountTarget->toMap() : null; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->usage) { $res['usage'] = $this->usage; } return $res; } /** * @param array $map * * @return pointOperateFeatureResponseDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountSource'])) { $model->accountSource = accountSource::fromMap($map['accountSource']); } if (isset($map['accountTarget'])) { $model->accountTarget = accountTarget::fromMap($map['accountTarget']); } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['usage'])) { $model->usage = $map['usage']; } return $model; } } QueryEmpPointDetailsResponseBody/result/details/pointOperateFeatureResponseDTO/accountSource.php000064400000003067146412132660034473 0ustar00src/org_culture_1_0/Models 'accountType', 'empName' => 'empName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->empName) { $res['empName'] = $this->empName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return accountSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['empName'])) { $model->empName = $map['empName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } QueryEmpPointDetailsResponseBody/result/details/pointOperateFeatureResponseDTO/accountTarget.php000064400000003074146412132660034457 0ustar00src/org_culture_1_0/Models 'accountType', 'empName' => 'empName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->empName) { $res['empName'] = $this->empName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return accountTarget */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['empName'])) { $model->empName = $map['empName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/org_culture_1_0/Models/QueryOrgHonorsHeaders.php000064400000002337146412132660016534 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryOrgHonorsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/QueryOrgHonorsRequest.php000064400000002266146412132660016612 0ustar00 '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 QueryOrgHonorsRequest */ 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/org_culture_1_0/Models/QueryOrgHonorsResponse.php000064400000002731146412132660016755 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOrgHonorsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryOrgHonorsResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/QueryOrgHonorsResponseBody.php000064400000002353146412132660017573 0ustar00 '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 QueryOrgHonorsResponseBody */ 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/org_culture_1_0/Models/QueryOrgHonorsResponseBody/result.php000064400000003371146412132660021112 0ustar00 'nextToken', 'openHonors' => 'openHonors', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->openHonors) { $res['openHonors'] = []; if (null !== $this->openHonors && \is_array($this->openHonors)) { $n = 0; foreach ($this->openHonors as $item) { $res['openHonors'][$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['openHonors'])) { if (!empty($map['openHonors'])) { $model->openHonors = []; $n = 0; foreach ($map['openHonors'] as $item) { $model->openHonors[$n++] = null !== $item ? openHonors::fromMap($item) : $item; } } } return $model; } } src/org_culture_1_0/Models/QueryOrgHonorsResponseBody/result/openHonors.php000064400000004165146412132660023246 0ustar00 'honorDesc', 'honorId' => 'honorId', 'honorImgUrl' => 'honorImgUrl', 'honorName' => 'honorName', 'honorPendantImgUrl' => 'honorPendantImgUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->honorDesc) { $res['honorDesc'] = $this->honorDesc; } if (null !== $this->honorId) { $res['honorId'] = $this->honorId; } if (null !== $this->honorImgUrl) { $res['honorImgUrl'] = $this->honorImgUrl; } if (null !== $this->honorName) { $res['honorName'] = $this->honorName; } if (null !== $this->honorPendantImgUrl) { $res['honorPendantImgUrl'] = $this->honorPendantImgUrl; } return $res; } /** * @param array $map * * @return openHonors */ public static function fromMap($map = []) { $model = new self(); if (isset($map['honorDesc'])) { $model->honorDesc = $map['honorDesc']; } if (isset($map['honorId'])) { $model->honorId = $map['honorId']; } if (isset($map['honorImgUrl'])) { $model->honorImgUrl = $map['honorImgUrl']; } if (isset($map['honorName'])) { $model->honorName = $map['honorName']; } if (isset($map['honorPendantImgUrl'])) { $model->honorPendantImgUrl = $map['honorPendantImgUrl']; } return $model; } } src/org_culture_1_0/Models/QueryOrgPointDetailsHeaders.php000064400000002353146412132660017661 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryOrgPointDetailsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/QueryOrgPointDetailsRequest.php000064400000003521146412132660017734 0ustar00 'accountType', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } 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 QueryOrgPointDetailsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } 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/org_culture_1_0/Models/QueryOrgPointDetailsResponse.php000064400000002761146412132660020107 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOrgPointDetailsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryOrgPointDetailsResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/QueryOrgPointDetailsResponseBody.php000064400000001747146412132660020730 0ustar00 '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 QueryOrgPointDetailsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/org_culture_1_0/Models/QueryOrgPointDetailsResponseBody/result.php000064400000004007146412132660022236 0ustar00 'details', 'hasMore' => 'hasMore', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->details) { $res['details'] = []; if (null !== $this->details && \is_array($this->details)) { $n = 0; foreach ($this->details as $item) { $res['details'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } 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['details'])) { if (!empty($map['details'])) { $model->details = []; $n = 0; foreach ($map['details'] as $item) { $model->details[$n++] = null !== $item ? details::fromMap($item) : $item; } } } if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/org_culture_1_0/Models/QueryOrgPointDetailsResponseBody/result/details.php000064400000005204146412132660023663 0ustar00 'amount', 'gmtCreate' => 'gmtCreate', 'outId' => 'outId', 'pointOperateFeatureResponseDTO' => 'pointOperateFeatureResponseDTO', 'sourceBizCode' => 'sourceBizCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->outId) { $res['outId'] = $this->outId; } if (null !== $this->pointOperateFeatureResponseDTO) { $res['pointOperateFeatureResponseDTO'] = null !== $this->pointOperateFeatureResponseDTO ? $this->pointOperateFeatureResponseDTO->toMap() : null; } if (null !== $this->sourceBizCode) { $res['sourceBizCode'] = $this->sourceBizCode; } return $res; } /** * @param array $map * * @return details */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['outId'])) { $model->outId = $map['outId']; } if (isset($map['pointOperateFeatureResponseDTO'])) { $model->pointOperateFeatureResponseDTO = pointOperateFeatureResponseDTO::fromMap($map['pointOperateFeatureResponseDTO']); } if (isset($map['sourceBizCode'])) { $model->sourceBizCode = $map['sourceBizCode']; } return $model; } } Models/QueryOrgPointDetailsResponseBody/result/details/pointOperateFeatureResponseDTO.php000064400000004532146412132660031662 0ustar00src/org_culture_1_0 'accountSource', 'accountTarget' => 'accountTarget', 'remark' => 'remark', 'usage' => 'usage', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountSource) { $res['accountSource'] = null !== $this->accountSource ? $this->accountSource->toMap() : null; } if (null !== $this->accountTarget) { $res['accountTarget'] = null !== $this->accountTarget ? $this->accountTarget->toMap() : null; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->usage) { $res['usage'] = $this->usage; } return $res; } /** * @param array $map * * @return pointOperateFeatureResponseDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountSource'])) { $model->accountSource = accountSource::fromMap($map['accountSource']); } if (isset($map['accountTarget'])) { $model->accountTarget = accountTarget::fromMap($map['accountTarget']); } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['usage'])) { $model->usage = $map['usage']; } return $model; } } QueryOrgPointDetailsResponseBody/result/details/pointOperateFeatureResponseDTO/accountSource.php000064400000003067146412132660034501 0ustar00src/org_culture_1_0/Models 'accountType', 'empName' => 'empName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->empName) { $res['empName'] = $this->empName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return accountSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['empName'])) { $model->empName = $map['empName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } QueryOrgPointDetailsResponseBody/result/details/pointOperateFeatureResponseDTO/accountTarget.php000064400000003067146412132660034467 0ustar00src/org_culture_1_0/Models 'accountType', 'empName' => 'empName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->empName) { $res['empName'] = $this->empName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return accountTarget */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['empName'])) { $model->empName = $map['empName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/org_culture_1_0/Models/QueryPointActionAutoAssignRuleHeaders.php000064400000002377146412132660021675 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryPointActionAutoAssignRuleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/QueryPointActionAutoAssignRuleResponse.php000064400000003031146412132660022104 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryPointActionAutoAssignRuleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryPointActionAutoAssignRuleResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/QueryPointActionAutoAssignRuleResponseBody.php000064400000002433146412132660022727 0ustar00 '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 QueryPointActionAutoAssignRuleResponseBody */ 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/org_culture_1_0/Models/QueryPointActionAutoAssignRuleResponseBody/result.php000064400000003417146412132660024250 0ustar00 'queryPointRuleResponseDTOS', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->queryPointRuleResponseDTOS) { $res['queryPointRuleResponseDTOS'] = []; if (null !== $this->queryPointRuleResponseDTOS && \is_array($this->queryPointRuleResponseDTOS)) { $n = 0; foreach ($this->queryPointRuleResponseDTOS as $item) { $res['queryPointRuleResponseDTOS'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['queryPointRuleResponseDTOS'])) { if (!empty($map['queryPointRuleResponseDTOS'])) { $model->queryPointRuleResponseDTOS = []; $n = 0; foreach ($map['queryPointRuleResponseDTOS'] as $item) { $model->queryPointRuleResponseDTOS[$n++] = null !== $item ? queryPointRuleResponseDTOS::fromMap($item) : $item; } } } return $model; } } Models/QueryPointActionAutoAssignRuleResponseBody/result/queryPointRuleResponseDTOS.php000064400000004311146412132660031403 0ustar00src/org_culture_1_0 'awardScore', 'code' => 'code', 'dayLimitTimes' => 'dayLimitTimes', 'description' => 'description', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->awardScore) { $res['awardScore'] = $this->awardScore; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->dayLimitTimes) { $res['dayLimitTimes'] = $this->dayLimitTimes; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return queryPointRuleResponseDTOS */ public static function fromMap($map = []) { $model = new self(); if (isset($map['awardScore'])) { $model->awardScore = $map['awardScore']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['dayLimitTimes'])) { $model->dayLimitTimes = $map['dayLimitTimes']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/org_culture_1_0/Models/QueryPointAutoIssueSettingHeaders.php000064400000002367146412132660021110 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryPointAutoIssueSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/QueryPointAutoIssueSettingResponse.php000064400000003011146412132660021316 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryPointAutoIssueSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryPointAutoIssueSettingResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/QueryPointAutoIssueSettingResponseBody.php000064400000002453146412132660022145 0ustar00 '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 QueryPointAutoIssueSettingResponseBody */ 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/org_culture_1_0/Models/QueryPointAutoIssueSettingResponseBody/result.php000064400000003146146412132660023463 0ustar00 'pointAutoNum', 'pointAutoState' => 'pointAutoState', 'pointAutoTime' => 'pointAutoTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pointAutoNum) { $res['pointAutoNum'] = $this->pointAutoNum; } if (null !== $this->pointAutoState) { $res['pointAutoState'] = $this->pointAutoState; } if (null !== $this->pointAutoTime) { $res['pointAutoTime'] = $this->pointAutoTime; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pointAutoNum'])) { $model->pointAutoNum = $map['pointAutoNum']; } if (isset($map['pointAutoState'])) { $model->pointAutoState = $map['pointAutoState']; } if (isset($map['pointAutoTime'])) { $model->pointAutoTime = $map['pointAutoTime']; } return $model; } } src/org_culture_1_0/Models/QueryUserHonorsHeaders.php000064400000002341146412132660016716 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserHonorsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/QueryUserHonorsRequest.php000064400000002270146412132660016774 0ustar00 '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 QueryUserHonorsRequest */ 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/org_culture_1_0/Models/QueryUserHonorsResponse.php000064400000002735146412132660017150 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserHonorsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserHonorsResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/QueryUserHonorsResponseBody.php000064400000002356146412132660017765 0ustar00 '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 QueryUserHonorsResponseBody */ 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/org_culture_1_0/Models/QueryUserHonorsResponseBody/result.php000064400000003265146412132660021303 0ustar00 'honors', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->honors) { $res['honors'] = []; if (null !== $this->honors && \is_array($this->honors)) { $n = 0; foreach ($this->honors as $item) { $res['honors'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['honors'])) { if (!empty($map['honors'])) { $model->honors = []; $n = 0; foreach ($map['honors'] as $item) { $model->honors[$n++] = null !== $item ? honors::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/org_culture_1_0/Models/QueryUserHonorsResponseBody/result/honors.php000064400000005322146412132660022607 0ustar00 'expirationTime', 'grantHistory' => 'grantHistory', 'honorDesc' => 'honorDesc', 'honorId' => 'honorId', 'honorName' => 'honorName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expirationTime) { $res['expirationTime'] = $this->expirationTime; } if (null !== $this->grantHistory) { $res['grantHistory'] = []; if (null !== $this->grantHistory && \is_array($this->grantHistory)) { $n = 0; foreach ($this->grantHistory as $item) { $res['grantHistory'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->honorDesc) { $res['honorDesc'] = $this->honorDesc; } if (null !== $this->honorId) { $res['honorId'] = $this->honorId; } if (null !== $this->honorName) { $res['honorName'] = $this->honorName; } return $res; } /** * @param array $map * * @return honors */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expirationTime'])) { $model->expirationTime = $map['expirationTime']; } if (isset($map['grantHistory'])) { if (!empty($map['grantHistory'])) { $model->grantHistory = []; $n = 0; foreach ($map['grantHistory'] as $item) { $model->grantHistory[$n++] = null !== $item ? grantHistory::fromMap($item) : $item; } } } if (isset($map['honorDesc'])) { $model->honorDesc = $map['honorDesc']; } if (isset($map['honorId'])) { $model->honorId = $map['honorId']; } if (isset($map['honorName'])) { $model->honorName = $map['honorName']; } return $model; } } src/org_culture_1_0/Models/QueryUserHonorsResponseBody/result/honors/grantHistory.php000064400000002257146412132660025310 0ustar00 'grantTime', 'senderUserid' => 'senderUserid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->grantTime) { $res['grantTime'] = $this->grantTime; } if (null !== $this->senderUserid) { $res['senderUserid'] = $this->senderUserid; } return $res; } /** * @param array $map * * @return grantHistory */ public static function fromMap($map = []) { $model = new self(); if (isset($map['grantTime'])) { $model->grantTime = $map['grantTime']; } if (isset($map['senderUserid'])) { $model->senderUserid = $map['senderUserid']; } return $model; } } src/org_culture_1_0/Models/QueryUserPointsHeaders.php000064400000002341146412132660016722 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserPointsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/QueryUserPointsResponse.php000064400000002735146412132660017154 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserPointsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserPointsResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/QueryUserPointsResponseBody.php000064400000002412146412132660017762 0ustar00 '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 QueryUserPointsResponseBody */ 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/org_culture_1_0/Models/QueryUserPointsResponseBody/result.php000064400000001517146412132660021305 0ustar00 'amount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } return $model; } } src/org_culture_1_0/Models/RecallHonorHeaders.php000064400000002331146412132660015770 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RecallHonorHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/RecallHonorRequest.php000064400000001523146412132660016047 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return RecallHonorRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/org_culture_1_0/Models/RecallHonorResponse.php000064400000002715146412132660016221 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RecallHonorResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RecallHonorResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/RecallHonorResponseBody.php000064400000002342146412132660017033 0ustar00 '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 RecallHonorResponseBody */ 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/org_culture_1_0/Models/RecallHonorResponseBody/result.php000064400000001473146412132660020355 0ustar00 'honorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->honorId) { $res['honorId'] = $this->honorId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['honorId'])) { $model->honorId = $map['honorId']; } return $model; } } src/org_culture_1_0/Models/UpdateAutoIssuePointHeaders.php000064400000002353146412132660017662 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateAutoIssuePointHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/UpdateAutoIssuePointRequest.php000064400000003652146412132660017742 0ustar00 'pointAutoNum', 'pointAutoState' => 'pointAutoState', 'pointAutoTime' => 'pointAutoTime', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pointAutoNum) { $res['pointAutoNum'] = $this->pointAutoNum; } if (null !== $this->pointAutoState) { $res['pointAutoState'] = $this->pointAutoState; } if (null !== $this->pointAutoTime) { $res['pointAutoTime'] = $this->pointAutoTime; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateAutoIssuePointRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pointAutoNum'])) { $model->pointAutoNum = $map['pointAutoNum']; } if (isset($map['pointAutoState'])) { $model->pointAutoState = $map['pointAutoState']; } if (isset($map['pointAutoTime'])) { $model->pointAutoTime = $map['pointAutoTime']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/org_culture_1_0/Models/UpdateAutoIssuePointResponse.php000064400000002761146412132660020110 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateAutoIssuePointResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateAutoIssuePointResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/UpdateAutoIssuePointResponseBody.php000064400000002431146412132660020720 0ustar00 '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 UpdateAutoIssuePointResponseBody */ 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/org_culture_1_0/Models/UpdateAutoIssuePointResponseBody/result.php000064400000001755146412132660022246 0ustar00 'nextAutoIssuePointTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextAutoIssuePointTime) { $res['nextAutoIssuePointTime'] = $this->nextAutoIssuePointTime; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextAutoIssuePointTime'])) { $model->nextAutoIssuePointTime = $map['nextAutoIssuePointTime']; } return $model; } } src/org_culture_1_0/Models/UpdatePointActionAutoAssignRuleHeaders.php000064400000002401146412132660021776 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdatePointActionAutoAssignRuleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/UpdatePointActionAutoAssignRuleRequest.php000064400000004237146412132660022064 0ustar00 'updatePointRuleRequestDTOList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->updatePointRuleRequestDTOList) { $res['updatePointRuleRequestDTOList'] = []; if (null !== $this->updatePointRuleRequestDTOList && \is_array($this->updatePointRuleRequestDTOList)) { $n = 0; foreach ($this->updatePointRuleRequestDTOList as $item) { $res['updatePointRuleRequestDTOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdatePointActionAutoAssignRuleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['updatePointRuleRequestDTOList'])) { if (!empty($map['updatePointRuleRequestDTOList'])) { $model->updatePointRuleRequestDTOList = []; $n = 0; foreach ($map['updatePointRuleRequestDTOList'] as $item) { $model->updatePointRuleRequestDTOList[$n++] = null !== $item ? updatePointRuleRequestDTOList::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/org_culture_1_0/Models/UpdatePointActionAutoAssignRuleRequest/updatePointRuleRequestDTOList.php000064400000003551146412132660027762 0ustar00 'awardScore', 'code' => 'code', 'dayLimitTimes' => 'dayLimitTimes', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->awardScore) { $res['awardScore'] = $this->awardScore; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->dayLimitTimes) { $res['dayLimitTimes'] = $this->dayLimitTimes; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return updatePointRuleRequestDTOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['awardScore'])) { $model->awardScore = $map['awardScore']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['dayLimitTimes'])) { $model->dayLimitTimes = $map['dayLimitTimes']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/org_culture_1_0/Models/UpdatePointActionAutoAssignRuleResponse.php000064400000003035146412132660022225 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdatePointActionAutoAssignRuleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdatePointActionAutoAssignRuleResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/UpdatePointActionAutoAssignRuleResponseBody.php000064400000001553146412132660023046 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdatePointActionAutoAssignRuleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/org_culture_1_0/Models/WearOrgHonorHeaders.php000064400000002333146412132660016136 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return WearOrgHonorHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/org_culture_1_0/Models/WearOrgHonorRequest.php000064400000002122146412132660016207 0ustar00 'userId', 'wear' => 'wear', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->wear) { $res['wear'] = $this->wear; } return $res; } /** * @param array $map * * @return WearOrgHonorRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['wear'])) { $model->wear = $map['wear']; } return $model; } } src/org_culture_1_0/Models/WearOrgHonorResponse.php000064400000002721146412132660016362 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return WearOrgHonorResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = WearOrgHonorResponseBody::fromMap($map['body']); } return $model; } } src/org_culture_1_0/Models/WearOrgHonorResponseBody.php000064400000002345146412132660017202 0ustar00 '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 WearOrgHonorResponseBody */ 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/org_culture_1_0/Models/WearOrgHonorResponseBody/result.php000064400000001474146412132660020522 0ustar00 'honorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->honorId) { $res['honorId'] = $this->honorId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['honorId'])) { $model->honorId = $map['honorId']; } return $model; } } src/package_1_0/Dingtalk.php000064400000074647146412132660011662 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CloseHPackageRequest $request * @param CloseHPackageHeaders $headers * @param RuntimeOptions $runtime * * @return CloseHPackageResponse */ public function closeHPackageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CloseHPackage', 'version' => 'package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/package/h5/microApps/close', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CloseHPackageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CloseHPackageRequest $request * * @return CloseHPackageResponse */ public function closeHPackage($request) { $runtime = new RuntimeOptions([]); $headers = new CloseHPackageHeaders([]); return $this->closeHPackageWithOptions($request, $headers, $runtime); } /** * @param GetUploadTokenRequest $request * @param GetUploadTokenHeaders $headers * @param RuntimeOptions $runtime * * @return GetUploadTokenResponse */ public function getUploadTokenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->miniAppId)) { $query['miniAppId'] = $request->miniAppId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetUploadToken', 'version' => 'package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/package/uploadTokens', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUploadTokenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUploadTokenRequest $request * * @return GetUploadTokenResponse */ public function getUploadToken($request) { $runtime = new RuntimeOptions([]); $headers = new GetUploadTokenHeaders([]); return $this->getUploadTokenWithOptions($request, $headers, $runtime); } /** * @param HPackageListGetRequest $request * @param HPackageListGetHeaders $headers * @param RuntimeOptions $runtime * * @return HPackageListGetResponse */ public function hPackageListGetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->miniAppId)) { $query['miniAppId'] = $request->miniAppId; } 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' => 'HPackageListGet', 'version' => 'package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/package/h5/versions', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return HPackageListGetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param HPackageListGetRequest $request * * @return HPackageListGetResponse */ public function hPackageListGet($request) { $runtime = new RuntimeOptions([]); $headers = new HPackageListGetHeaders([]); return $this->hPackageListGetWithOptions($request, $headers, $runtime); } /** * @param HPublishPackageRequest $request * @param HPublishPackageHeaders $headers * @param RuntimeOptions $runtime * * @return HPublishPackageResponse */ public function hPublishPackageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->version)) { $body['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'HPublishPackage', 'version' => 'package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/package/h5/publish', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return HPublishPackageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param HPublishPackageRequest $request * * @return HPublishPackageResponse */ public function hPublishPackage($request) { $runtime = new RuntimeOptions([]); $headers = new HPublishPackageHeaders([]); return $this->hPublishPackageWithOptions($request, $headers, $runtime); } /** * @param HUploadPackageRequest $request * @param HUploadPackageHeaders $headers * @param RuntimeOptions $runtime * * @return HUploadPackageResponse */ public function hUploadPackageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->ossObjectKey)) { $body['ossObjectKey'] = $request->ossObjectKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'HUploadPackage', 'version' => 'package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/package/h5/asyncUpload', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return HUploadPackageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param HUploadPackageRequest $request * * @return HUploadPackageResponse */ public function hUploadPackage($request) { $runtime = new RuntimeOptions([]); $headers = new HUploadPackageHeaders([]); return $this->hUploadPackageWithOptions($request, $headers, $runtime); } /** * @param HUploadPackageStatusRequest $request * @param HUploadPackageStatusHeaders $headers * @param RuntimeOptions $runtime * * @return HUploadPackageStatusResponse */ public function hUploadPackageStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->miniAppId)) { $query['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->taskId)) { $query['taskId'] = $request->taskId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'HUploadPackageStatus', 'version' => 'package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/package/h5/uploadStatus', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return HUploadPackageStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param HUploadPackageStatusRequest $request * * @return HUploadPackageStatusResponse */ public function hUploadPackageStatus($request) { $runtime = new RuntimeOptions([]); $headers = new HUploadPackageStatusHeaders([]); return $this->hUploadPackageStatusWithOptions($request, $headers, $runtime); } /** * @param OpenMicroAppPackageRequest $request * @param OpenMicroAppPackageHeaders $headers * @param RuntimeOptions $runtime * * @return OpenMicroAppPackageResponse */ public function openMicroAppPackageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->agentId)) { $body['agentId'] = $request->agentId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'OpenMicroAppPackage', 'version' => 'package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/package/h5/microApps/open', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return OpenMicroAppPackageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param OpenMicroAppPackageRequest $request * * @return OpenMicroAppPackageResponse */ public function openMicroAppPackage($request) { $runtime = new RuntimeOptions([]); $headers = new OpenMicroAppPackageHeaders([]); return $this->openMicroAppPackageWithOptions($request, $headers, $runtime); } /** * @param ReleaseGrayDeployRequest $request * @param ReleaseGrayDeployHeaders $headers * @param RuntimeOptions $runtime * * @return ReleaseGrayDeployResponse */ public function releaseGrayDeployWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->version)) { $body['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ReleaseGrayDeploy', 'version' => 'package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/package/greys/deploy', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ReleaseGrayDeployResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ReleaseGrayDeployRequest $request * * @return ReleaseGrayDeployResponse */ public function releaseGrayDeploy($request) { $runtime = new RuntimeOptions([]); $headers = new ReleaseGrayDeployHeaders([]); return $this->releaseGrayDeployWithOptions($request, $headers, $runtime); } /** * @param ReleaseGrayExitRequest $request * @param ReleaseGrayExitHeaders $headers * @param RuntimeOptions $runtime * * @return ReleaseGrayExitResponse */ public function releaseGrayExitWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->version)) { $body['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ReleaseGrayExit', 'version' => 'package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/package/greys/exit', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ReleaseGrayExitResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ReleaseGrayExitRequest $request * * @return ReleaseGrayExitResponse */ public function releaseGrayExit($request) { $runtime = new RuntimeOptions([]); $headers = new ReleaseGrayExitHeaders([]); return $this->releaseGrayExitWithOptions($request, $headers, $runtime); } /** * @param ReleaseGrayOrgGetRequest $request * @param ReleaseGrayOrgGetHeaders $headers * @param RuntimeOptions $runtime * * @return ReleaseGrayOrgGetResponse */ public function releaseGrayOrgGetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->miniAppId)) { $query['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->version)) { $query['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ReleaseGrayOrgGet', 'version' => 'package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/package/greys/organizations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ReleaseGrayOrgGetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ReleaseGrayOrgGetRequest $request * * @return ReleaseGrayOrgGetResponse */ public function releaseGrayOrgGet($request) { $runtime = new RuntimeOptions([]); $headers = new ReleaseGrayOrgGetHeaders([]); return $this->releaseGrayOrgGetWithOptions($request, $headers, $runtime); } /** * @param ReleaseGrayOrgSetRequest $request * @param ReleaseGrayOrgSetHeaders $headers * @param RuntimeOptions $runtime * * @return ReleaseGrayOrgSetResponse */ public function releaseGrayOrgSetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->value)) { $body['value'] = $request->value; } if (!Utils::isUnset($request->version)) { $body['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ReleaseGrayOrgSet', 'version' => 'package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/package/greys/organizations/release', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ReleaseGrayOrgSetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ReleaseGrayOrgSetRequest $request * * @return ReleaseGrayOrgSetResponse */ public function releaseGrayOrgSet($request) { $runtime = new RuntimeOptions([]); $headers = new ReleaseGrayOrgSetHeaders([]); return $this->releaseGrayOrgSetWithOptions($request, $headers, $runtime); } /** * @param ReleaseGrayPercentGetRequest $request * @param ReleaseGrayPercentGetHeaders $headers * @param RuntimeOptions $runtime * * @return ReleaseGrayPercentGetResponse */ public function releaseGrayPercentGetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->miniAppId)) { $query['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->version)) { $query['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ReleaseGrayPercentGet', 'version' => 'package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/package/greys/users/percents', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ReleaseGrayPercentGetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ReleaseGrayPercentGetRequest $request * * @return ReleaseGrayPercentGetResponse */ public function releaseGrayPercentGet($request) { $runtime = new RuntimeOptions([]); $headers = new ReleaseGrayPercentGetHeaders([]); return $this->releaseGrayPercentGetWithOptions($request, $headers, $runtime); } /** * @param ReleaseGrayPercentSetRequest $request * @param ReleaseGrayPercentSetHeaders $headers * @param RuntimeOptions $runtime * * @return ReleaseGrayPercentSetResponse */ public function releaseGrayPercentSetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->miniAppId)) { $body['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->value)) { $body['value'] = $request->value; } if (!Utils::isUnset($request->version)) { $body['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ReleaseGrayPercentSet', 'version' => 'package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/package/greys/users/percents/release', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ReleaseGrayPercentSetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ReleaseGrayPercentSetRequest $request * * @return ReleaseGrayPercentSetResponse */ public function releaseGrayPercentSet($request) { $runtime = new RuntimeOptions([]); $headers = new ReleaseGrayPercentSetHeaders([]); return $this->releaseGrayPercentSetWithOptions($request, $headers, $runtime); } /** * @param ReleaseGrayUserIdGetRequest $request * @param ReleaseGrayUserIdGetHeaders $headers * @param RuntimeOptions $runtime * * @return ReleaseGrayUserIdGetResponse */ public function releaseGrayUserIdGetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->miniAppId)) { $query['miniAppId'] = $request->miniAppId; } if (!Utils::isUnset($request->version)) { $query['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ReleaseGrayUserIdGet', 'version' => 'package_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/package/greys/users', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ReleaseGrayUserIdGetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ReleaseGrayUserIdGetRequest $request * * @return ReleaseGrayUserIdGetResponse */ public function releaseGrayUserIdGet($request) { $runtime = new RuntimeOptions([]); $headers = new ReleaseGrayUserIdGetHeaders([]); return $this->releaseGrayUserIdGetWithOptions($request, $headers, $runtime); } } src/package_1_0/Models/CloseHPackageHeaders.php000064400000002331146412132660015252 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CloseHPackageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/package_1_0/Models/CloseHPackageRequest.php000064400000001565146412132660015337 0ustar00 'miniAppId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } return $res; } /** * @param array $map * * @return CloseHPackageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } return $model; } } src/package_1_0/Models/CloseHPackageResponse.php000064400000002721146412132660015500 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CloseHPackageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CloseHPackageResponseBody::fromMap($map['body']); } return $model; } } src/package_1_0/Models/CloseHPackageResponseBody.php000064400000001473146412132660016321 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CloseHPackageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/package_1_0/Models/GetUploadTokenHeaders.php000064400000002333146412132660015510 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUploadTokenHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/package_1_0/Models/GetUploadTokenRequest.php000064400000001567146412132660015575 0ustar00 'miniAppId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } return $res; } /** * @param array $map * * @return GetUploadTokenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } return $model; } } src/package_1_0/Models/GetUploadTokenResponse.php000064400000002725146412132660015740 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUploadTokenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUploadTokenResponseBody::fromMap($map['body']); } return $model; } } src/package_1_0/Models/GetUploadTokenResponseBody.php000064400000006453146412132660016560 0ustar00 'accessKeyId', 'accessKeySecret' => 'accessKeySecret', 'bucket' => 'bucket', 'endpoint' => 'endpoint', 'expiration' => 'expiration', 'name' => 'name', 'region' => 'region', 'stsToken' => 'stsToken', ]; 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->bucket) { $res['bucket'] = $this->bucket; } if (null !== $this->endpoint) { $res['endpoint'] = $this->endpoint; } if (null !== $this->expiration) { $res['expiration'] = $this->expiration; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->region) { $res['region'] = $this->region; } if (null !== $this->stsToken) { $res['stsToken'] = $this->stsToken; } return $res; } /** * @param array $map * * @return GetUploadTokenResponseBody */ 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['bucket'])) { $model->bucket = $map['bucket']; } if (isset($map['endpoint'])) { $model->endpoint = $map['endpoint']; } if (isset($map['expiration'])) { $model->expiration = $map['expiration']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['region'])) { $model->region = $map['region']; } if (isset($map['stsToken'])) { $model->stsToken = $map['stsToken']; } return $model; } } src/package_1_0/Models/HPackageListGetHeaders.php000064400000002335146412132660015564 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return HPackageListGetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/package_1_0/Models/HPackageListGetRequest.php000064400000002773146412132660015647 0ustar00 'miniAppId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return HPackageListGetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/package_1_0/Models/HPackageListGetResponse.php000064400000002731146412132660016007 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return HPackageListGetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = HPackageListGetResponseBody::fromMap($map['body']); } return $model; } } src/package_1_0/Models/HPackageListGetResponseBody.php000064400000003234146412132660016624 0ustar00 'list', 'totalCount' => 'totalCount', ]; 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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return HPackageListGetResponseBody */ 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['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/package_1_0/Models/HPackageListGetResponseBody/list_.php000064400000006013146412132660017734 0ustar00 'avaliable', 'creator' => 'creator', 'finished' => 'finished', 'operationTime' => 'operationTime', 'packageSize' => 'packageSize', 'status' => 'status', 'taskId' => 'taskId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avaliable) { $res['avaliable'] = $this->avaliable; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->finished) { $res['finished'] = $this->finished; } if (null !== $this->operationTime) { $res['operationTime'] = $this->operationTime; } if (null !== $this->packageSize) { $res['packageSize'] = $this->packageSize; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } 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['avaliable'])) { $model->avaliable = $map['avaliable']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['finished'])) { $model->finished = $map['finished']; } if (isset($map['operationTime'])) { $model->operationTime = $map['operationTime']; } if (isset($map['packageSize'])) { $model->packageSize = $map['packageSize']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/package_1_0/Models/HPublishPackageHeaders.php000064400000002335146412132660015617 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return HPublishPackageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/package_1_0/Models/HPublishPackageRequest.php000064400000002257146412132660015677 0ustar00 'miniAppId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return HPublishPackageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/package_1_0/Models/HPublishPackageResponse.php000064400000002731146412132660016042 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return HPublishPackageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = HPublishPackageResponseBody::fromMap($map['body']); } return $model; } } src/package_1_0/Models/HPublishPackageResponseBody.php000064400000001507146412132660016660 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return HPublishPackageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/package_1_0/Models/HUploadPackageHeaders.php000064400000002333146412132660015433 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return HUploadPackageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/package_1_0/Models/HUploadPackageRequest.php000064400000002332146412132660015507 0ustar00 'miniAppId', 'ossObjectKey' => 'ossObjectKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->ossObjectKey) { $res['ossObjectKey'] = $this->ossObjectKey; } return $res; } /** * @param array $map * * @return HUploadPackageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['ossObjectKey'])) { $model->ossObjectKey = $map['ossObjectKey']; } return $model; } } src/package_1_0/Models/HUploadPackageResponse.php000064400000002725146412132660015663 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return HUploadPackageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = HUploadPackageResponseBody::fromMap($map['body']); } return $model; } } src/package_1_0/Models/HUploadPackageResponseBody.php000064400000001476146412132660016503 0ustar00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return HUploadPackageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/package_1_0/Models/HUploadPackageStatusHeaders.php000064400000002347146412132660016644 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return HUploadPackageStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/package_1_0/Models/HUploadPackageStatusRequest.php000064400000002260146412132660016713 0ustar00 'miniAppId', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return HUploadPackageStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/package_1_0/Models/HUploadPackageStatusResponse.php000064400000002755146412132660017072 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return HUploadPackageStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = HUploadPackageStatusResponseBody::fromMap($map['body']); } return $model; } } src/package_1_0/Models/HUploadPackageStatusResponseBody.php000064400000004635146412132660017707 0ustar00 'buildTime', 'finished' => 'finished', 'packageSize' => 'packageSize', 'status' => 'status', 'taskId' => 'taskId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->buildTime) { $res['buildTime'] = $this->buildTime; } if (null !== $this->finished) { $res['finished'] = $this->finished; } if (null !== $this->packageSize) { $res['packageSize'] = $this->packageSize; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return HUploadPackageStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['buildTime'])) { $model->buildTime = $map['buildTime']; } if (isset($map['finished'])) { $model->finished = $map['finished']; } if (isset($map['packageSize'])) { $model->packageSize = $map['packageSize']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/package_1_0/Models/OpenMicroAppPackageHeaders.php000064400000002345146412132660016436 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return OpenMicroAppPackageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/package_1_0/Models/OpenMicroAppPackageRequest.php000064400000001535146412132660016513 0ustar00 'agentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } return $res; } /** * @param array $map * * @return OpenMicroAppPackageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } return $model; } } src/package_1_0/Models/OpenMicroAppPackageResponse.php000064400000002751146412132660016662 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return OpenMicroAppPackageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = OpenMicroAppPackageResponseBody::fromMap($map['body']); } return $model; } } src/package_1_0/Models/OpenMicroAppPackageResponseBody.php000064400000001613146412132660017474 0ustar00 'miniAppId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } return $res; } /** * @param array $map * * @return OpenMicroAppPackageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } return $model; } } src/package_1_0/Models/ReleaseGrayDeployHeaders.php000064400000002341146412132660016202 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReleaseGrayDeployHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/package_1_0/Models/ReleaseGrayDeployRequest.php000064400000002263146412132660016262 0ustar00 'miniAppId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return ReleaseGrayDeployRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/package_1_0/Models/ReleaseGrayDeployResponse.php000064400000002741146412132660016431 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReleaseGrayDeployResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReleaseGrayDeployResponseBody::fromMap($map['body']); } return $model; } } src/package_1_0/Models/ReleaseGrayDeployResponseBody.php000064400000001503146412132660017242 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ReleaseGrayDeployResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/package_1_0/Models/ReleaseGrayExitHeaders.php000064400000002335146412132660015662 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReleaseGrayExitHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/package_1_0/Models/ReleaseGrayExitRequest.php000064400000002257146412132660015742 0ustar00 'miniAppId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return ReleaseGrayExitRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/package_1_0/Models/ReleaseGrayExitResponse.php000064400000002731146412132660016105 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReleaseGrayExitResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReleaseGrayExitResponseBody::fromMap($map['body']); } return $model; } } src/package_1_0/Models/ReleaseGrayExitResponseBody.php000064400000001477146412132660016731 0ustar00 'reuslt', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->reuslt) { $res['reuslt'] = $this->reuslt; } return $res; } /** * @param array $map * * @return ReleaseGrayExitResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['reuslt'])) { $model->reuslt = $map['reuslt']; } return $model; } } src/package_1_0/Models/ReleaseGrayOrgGetHeaders.php000064400000002341146412132660016135 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReleaseGrayOrgGetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/package_1_0/Models/ReleaseGrayOrgGetRequest.php000064400000002263146412132660016215 0ustar00 'miniAppId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return ReleaseGrayOrgGetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/package_1_0/Models/ReleaseGrayOrgGetResponse.php000064400000002741146412132660016364 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReleaseGrayOrgGetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReleaseGrayOrgGetResponseBody::fromMap($map['body']); } return $model; } } src/package_1_0/Models/ReleaseGrayOrgGetResponseBody.php000064400000001570146412132660017201 0ustar00 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return ReleaseGrayOrgGetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = $map['value']; } } return $model; } } src/package_1_0/Models/ReleaseGrayOrgSetHeaders.php000064400000002341146412132660016151 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReleaseGrayOrgSetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/package_1_0/Models/ReleaseGrayOrgSetRequest.php000064400000002771146412132660016235 0ustar00 'miniAppId', 'value' => 'value', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return ReleaseGrayOrgSetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = $map['value']; } } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/package_1_0/Models/ReleaseGrayOrgSetResponse.php000064400000002741146412132660016400 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReleaseGrayOrgSetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReleaseGrayOrgSetResponseBody::fromMap($map['body']); } return $model; } } src/package_1_0/Models/ReleaseGrayOrgSetResponseBody.php000064400000001503146412132660017211 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ReleaseGrayOrgSetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/package_1_0/Models/ReleaseGrayPercentGetHeaders.php000064400000002351146412132660017007 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReleaseGrayPercentGetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/package_1_0/Models/ReleaseGrayPercentGetRequest.php000064400000002273146412132660017067 0ustar00 'miniAppId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return ReleaseGrayPercentGetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/package_1_0/Models/ReleaseGrayPercentGetResponse.php000064400000002761146412132660017237 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReleaseGrayPercentGetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReleaseGrayPercentGetResponseBody::fromMap($map['body']); } return $model; } } src/package_1_0/Models/ReleaseGrayPercentGetResponseBody.php000064400000001502146412132660020045 0ustar00 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return ReleaseGrayPercentGetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/package_1_0/Models/ReleaseGrayPercentSetHeaders.php000064400000002351146412132660017023 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReleaseGrayPercentSetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/package_1_0/Models/ReleaseGrayPercentSetRequest.php000064400000002735146412132660017106 0ustar00 'miniAppId', 'value' => 'value', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return ReleaseGrayPercentSetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/package_1_0/Models/ReleaseGrayPercentSetResponse.php000064400000002761146412132660017253 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReleaseGrayPercentSetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReleaseGrayPercentSetResponseBody::fromMap($map['body']); } return $model; } } src/package_1_0/Models/ReleaseGrayPercentSetResponseBody.php000064400000001513146412132660020063 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ReleaseGrayPercentSetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/package_1_0/Models/ReleaseGrayUserIdGetHeaders.php000064400000002347146412132660016607 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReleaseGrayUserIdGetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/package_1_0/Models/ReleaseGrayUserIdGetRequest.php000064400000002271146412132660016660 0ustar00 'miniAppId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return ReleaseGrayUserIdGetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/package_1_0/Models/ReleaseGrayUserIdGetResponse.php000064400000002755146412132660017035 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReleaseGrayUserIdGetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReleaseGrayUserIdGetResponseBody::fromMap($map['body']); } return $model; } } src/package_1_0/Models/ReleaseGrayUserIdGetResponseBody.php000064400000001576146412132660017653 0ustar00 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return ReleaseGrayUserIdGetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = $map['value']; } } return $model; } } src/pedia_1_0/Dingtalk.php000064400000037655146412132660011347 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param PediaWordsAddRequest $request * @param PediaWordsAddHeaders $headers * @param RuntimeOptions $runtime * * @return PediaWordsAddResponse */ public function pediaWordsAddWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->contactList)) { $body['contactList'] = $request->contactList; } if (!Utils::isUnset($request->highLightWordAlias)) { $body['highLightWordAlias'] = $request->highLightWordAlias; } if (!Utils::isUnset($request->picList)) { $body['picList'] = $request->picList; } if (!Utils::isUnset($request->relatedDoc)) { $body['relatedDoc'] = $request->relatedDoc; } if (!Utils::isUnset($request->relatedLink)) { $body['relatedLink'] = $request->relatedLink; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->wordAlias)) { $body['wordAlias'] = $request->wordAlias; } if (!Utils::isUnset($request->wordName)) { $body['wordName'] = $request->wordName; } if (!Utils::isUnset($request->wordParaphrase)) { $body['wordParaphrase'] = $request->wordParaphrase; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PediaWordsAdd', 'version' => 'pedia_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/pedia/words', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PediaWordsAddResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PediaWordsAddRequest $request * * @return PediaWordsAddResponse */ public function pediaWordsAdd($request) { $runtime = new RuntimeOptions([]); $headers = new PediaWordsAddHeaders([]); return $this->pediaWordsAddWithOptions($request, $headers, $runtime); } /** * @param PediaWordsApproveRequest $request * @param PediaWordsApproveHeaders $headers * @param RuntimeOptions $runtime * * @return PediaWordsApproveResponse */ public function pediaWordsApproveWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->approveReason)) { $body['approveReason'] = $request->approveReason; } if (!Utils::isUnset($request->approveStatus)) { $body['approveStatus'] = $request->approveStatus; } if (!Utils::isUnset($request->imHighLight)) { $body['imHighLight'] = $request->imHighLight; } if (!Utils::isUnset($request->simHighLight)) { $body['simHighLight'] = $request->simHighLight; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } 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' => 'PediaWordsApprove', 'version' => 'pedia_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/pedia/words/approve', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PediaWordsApproveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PediaWordsApproveRequest $request * * @return PediaWordsApproveResponse */ public function pediaWordsApprove($request) { $runtime = new RuntimeOptions([]); $headers = new PediaWordsApproveHeaders([]); return $this->pediaWordsApproveWithOptions($request, $headers, $runtime); } /** * @param PediaWordsDeleteRequest $request * @param PediaWordsDeleteHeaders $headers * @param RuntimeOptions $runtime * * @return PediaWordsDeleteResponse */ public function pediaWordsDeleteWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } if (!Utils::isUnset($request->uuid)) { $query['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), ]); $params = new Params([ 'action' => 'PediaWordsDelete', 'version' => 'pedia_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/pedia/words', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PediaWordsDeleteResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PediaWordsDeleteRequest $request * * @return PediaWordsDeleteResponse */ public function pediaWordsDelete($request) { $runtime = new RuntimeOptions([]); $headers = new PediaWordsDeleteHeaders([]); return $this->pediaWordsDeleteWithOptions($request, $headers, $runtime); } /** * @param PediaWordsQueryRequest $request * @param PediaWordsQueryHeaders $headers * @param RuntimeOptions $runtime * * @return PediaWordsQueryResponse */ public function pediaWordsQueryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } if (!Utils::isUnset($request->uuid)) { $query['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), ]); $params = new Params([ 'action' => 'PediaWordsQuery', 'version' => 'pedia_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/pedia/words/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PediaWordsQueryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PediaWordsQueryRequest $request * * @return PediaWordsQueryResponse */ public function pediaWordsQuery($request) { $runtime = new RuntimeOptions([]); $headers = new PediaWordsQueryHeaders([]); return $this->pediaWordsQueryWithOptions($request, $headers, $runtime); } /** * @param PediaWordsSearchRequest $request * @param PediaWordsSearchHeaders $headers * @param RuntimeOptions $runtime * * @return PediaWordsSearchResponse */ public function pediaWordsSearchWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->wordName)) { $body['wordName'] = $request->wordName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PediaWordsSearch', 'version' => 'pedia_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/pedia/words/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PediaWordsSearchResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PediaWordsSearchRequest $request * * @return PediaWordsSearchResponse */ public function pediaWordsSearch($request) { $runtime = new RuntimeOptions([]); $headers = new PediaWordsSearchHeaders([]); return $this->pediaWordsSearchWithOptions($request, $headers, $runtime); } /** * @param PediaWordsUpdateRequest $request * @param PediaWordsUpdateHeaders $headers * @param RuntimeOptions $runtime * * @return PediaWordsUpdateResponse */ public function pediaWordsUpdateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appLink)) { $body['appLink'] = $request->appLink; } if (!Utils::isUnset($request->contactList)) { $body['contactList'] = $request->contactList; } if (!Utils::isUnset($request->highLightWordAlias)) { $body['highLightWordAlias'] = $request->highLightWordAlias; } if (!Utils::isUnset($request->picList)) { $body['picList'] = $request->picList; } if (!Utils::isUnset($request->relatedDoc)) { $body['relatedDoc'] = $request->relatedDoc; } if (!Utils::isUnset($request->relatedLink)) { $body['relatedLink'] = $request->relatedLink; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->uuid)) { $body['uuid'] = $request->uuid; } if (!Utils::isUnset($request->wordAlias)) { $body['wordAlias'] = $request->wordAlias; } if (!Utils::isUnset($request->wordName)) { $body['wordName'] = $request->wordName; } if (!Utils::isUnset($request->wordParaphrase)) { $body['wordParaphrase'] = $request->wordParaphrase; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PediaWordsUpdate', 'version' => 'pedia_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/pedia/words', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PediaWordsUpdateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PediaWordsUpdateRequest $request * * @return PediaWordsUpdateResponse */ public function pediaWordsUpdate($request) { $runtime = new RuntimeOptions([]); $headers = new PediaWordsUpdateHeaders([]); return $this->pediaWordsUpdateWithOptions($request, $headers, $runtime); } } src/pedia_1_0/Models/PediaWordsAddHeaders.php000064400000002327146412132660014767 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PediaWordsAddHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/pedia_1_0/Models/PediaWordsAddRequest.php000064400000013677146412132660015056 0ustar00 'contactList', 'highLightWordAlias' => 'highLightWordAlias', 'picList' => 'picList', 'relatedDoc' => 'relatedDoc', 'relatedLink' => 'relatedLink', 'userId' => 'userId', 'wordAlias' => 'wordAlias', 'wordName' => 'wordName', 'wordParaphrase' => 'wordParaphrase', ]; 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->highLightWordAlias) { $res['highLightWordAlias'] = $this->highLightWordAlias; } if (null !== $this->picList) { $res['picList'] = []; if (null !== $this->picList && \is_array($this->picList)) { $n = 0; foreach ($this->picList as $item) { $res['picList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->relatedDoc) { $res['relatedDoc'] = []; if (null !== $this->relatedDoc && \is_array($this->relatedDoc)) { $n = 0; foreach ($this->relatedDoc as $item) { $res['relatedDoc'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->relatedLink) { $res['relatedLink'] = []; if (null !== $this->relatedLink && \is_array($this->relatedLink)) { $n = 0; foreach ($this->relatedLink as $item) { $res['relatedLink'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->wordAlias) { $res['wordAlias'] = $this->wordAlias; } if (null !== $this->wordName) { $res['wordName'] = $this->wordName; } if (null !== $this->wordParaphrase) { $res['wordParaphrase'] = $this->wordParaphrase; } return $res; } /** * @param array $map * * @return PediaWordsAddRequest */ 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['highLightWordAlias'])) { if (!empty($map['highLightWordAlias'])) { $model->highLightWordAlias = $map['highLightWordAlias']; } } if (isset($map['picList'])) { if (!empty($map['picList'])) { $model->picList = []; $n = 0; foreach ($map['picList'] as $item) { $model->picList[$n++] = null !== $item ? picList::fromMap($item) : $item; } } } if (isset($map['relatedDoc'])) { if (!empty($map['relatedDoc'])) { $model->relatedDoc = []; $n = 0; foreach ($map['relatedDoc'] as $item) { $model->relatedDoc[$n++] = null !== $item ? relatedDoc::fromMap($item) : $item; } } } if (isset($map['relatedLink'])) { if (!empty($map['relatedLink'])) { $model->relatedLink = []; $n = 0; foreach ($map['relatedLink'] as $item) { $model->relatedLink[$n++] = null !== $item ? relatedLink::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['wordAlias'])) { if (!empty($map['wordAlias'])) { $model->wordAlias = $map['wordAlias']; } } if (isset($map['wordName'])) { $model->wordName = $map['wordName']; } if (isset($map['wordParaphrase'])) { $model->wordParaphrase = $map['wordParaphrase']; } return $model; } } src/pedia_1_0/Models/PediaWordsAddRequest/contactList.php000064400000003013146412132660017324 0ustar00 'avatarMediaId', 'nickName' => 'nickName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarMediaId) { $res['avatarMediaId'] = $this->avatarMediaId; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return contactList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarMediaId'])) { $model->avatarMediaId = $map['avatarMediaId']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/pedia_1_0/Models/PediaWordsAddRequest/picList.php000064400000001573146412132660016455 0ustar00 'mediaIdUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mediaIdUrl) { $res['mediaIdUrl'] = $this->mediaIdUrl; } return $res; } /** * @param array $map * * @return picList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mediaIdUrl'])) { $model->mediaIdUrl = $map['mediaIdUrl']; } return $model; } } src/pedia_1_0/Models/PediaWordsAddRequest/relatedDoc.php000064400000002601146412132660017105 0ustar00 'link', 'name' => 'name', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return relatedDoc */ public static function fromMap($map = []) { $model = new self(); if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/pedia_1_0/Models/PediaWordsAddRequest/relatedLink.php000064400000002153146412132660017277 0ustar00 'link', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return relatedLink */ public static function fromMap($map = []) { $model = new self(); if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/pedia_1_0/Models/PediaWordsAddResponse.php000064400000002717146412132660015215 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PediaWordsAddResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PediaWordsAddResponseBody::fromMap($map['body']); } return $model; } } src/pedia_1_0/Models/PediaWordsAddResponseBody.php000064400000002133146412132660016023 0ustar00 'success', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return PediaWordsAddResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/pedia_1_0/Models/PediaWordsApproveHeaders.php000064400000002337146412132660015714 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PediaWordsApproveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/pedia_1_0/Models/PediaWordsApproveRequest.php000064400000004715146412132660015773 0ustar00 'approveReason', 'approveStatus' => 'approveStatus', 'imHighLight' => 'imHighLight', 'simHighLight' => 'simHighLight', 'userId' => 'userId', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approveReason) { $res['approveReason'] = $this->approveReason; } if (null !== $this->approveStatus) { $res['approveStatus'] = $this->approveStatus; } if (null !== $this->imHighLight) { $res['imHighLight'] = $this->imHighLight; } if (null !== $this->simHighLight) { $res['simHighLight'] = $this->simHighLight; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return PediaWordsApproveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approveReason'])) { $model->approveReason = $map['approveReason']; } if (isset($map['approveStatus'])) { $model->approveStatus = $map['approveStatus']; } if (isset($map['imHighLight'])) { $model->imHighLight = $map['imHighLight']; } if (isset($map['simHighLight'])) { $model->simHighLight = $map['simHighLight']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/pedia_1_0/Models/PediaWordsApproveResponse.php000064400000002737146412132660016143 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PediaWordsApproveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PediaWordsApproveResponseBody::fromMap($map['body']); } return $model; } } src/pedia_1_0/Models/PediaWordsApproveResponseBody.php000064400000001511146412132660016746 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return PediaWordsApproveResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/pedia_1_0/Models/PediaWordsDeleteHeaders.php000064400000002335146412132660015500 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PediaWordsDeleteHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/pedia_1_0/Models/PediaWordsDeleteRequest.php000064400000002156146412132660015556 0ustar00 'userId', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return PediaWordsDeleteRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/pedia_1_0/Models/PediaWordsDeleteResponse.php000064400000002733146412132660015725 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PediaWordsDeleteResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PediaWordsDeleteResponseBody::fromMap($map['body']); } return $model; } } src/pedia_1_0/Models/PediaWordsDeleteResponseBody.php000064400000002144146412132660016537 0ustar00 'success', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return PediaWordsDeleteResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/pedia_1_0/Models/PediaWordsQueryHeaders.php000064400000002333146412132660015401 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PediaWordsQueryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/pedia_1_0/Models/PediaWordsQueryRequest.php000064400000002153146412132660015456 0ustar00 'userId', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return PediaWordsQueryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/pedia_1_0/Models/PediaWordsQueryResponse.php000064400000002727146412132660015633 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PediaWordsQueryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PediaWordsQueryResponseBody::fromMap($map['body']); } return $model; } } src/pedia_1_0/Models/PediaWordsQueryResponseBody.php000064400000002312146412132660016437 0ustar00 '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 PediaWordsQueryResponseBody */ 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/pedia_1_0/Models/PediaWordsQueryResponseBody/data.php000064400000025745146412132660017367 0ustar00 'appLink', 'approveName' => 'approveName', 'contactList' => 'contactList', 'contacts' => 'contacts', 'creatorName' => 'creatorName', 'gmtCreate' => 'gmtCreate', 'gmtModify' => 'gmtModify', 'highLightWordAlias' => 'highLightWordAlias', 'imHighLight' => 'imHighLight', 'parentUuid' => 'parentUuid', 'picList' => 'picList', 'relatedDoc' => 'relatedDoc', 'relatedLink' => 'relatedLink', 'simHighLight' => 'simHighLight', 'simpleWordParaphrase' => 'simpleWordParaphrase', 'tagsList' => 'tagsList', 'updaterName' => 'updaterName', 'userId' => 'userId', 'uuid' => 'uuid', 'wordAlias' => 'wordAlias', 'wordName' => 'wordName', 'wordParaphrase' => 'wordParaphrase', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appLink) { $res['appLink'] = []; if (null !== $this->appLink && \is_array($this->appLink)) { $n = 0; foreach ($this->appLink as $item) { $res['appLink'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->approveName) { $res['approveName'] = $this->approveName; } 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->contacts) { $res['contacts'] = $this->contacts; } if (null !== $this->creatorName) { $res['creatorName'] = $this->creatorName; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModify) { $res['gmtModify'] = $this->gmtModify; } if (null !== $this->highLightWordAlias) { $res['highLightWordAlias'] = $this->highLightWordAlias; } if (null !== $this->imHighLight) { $res['imHighLight'] = $this->imHighLight; } if (null !== $this->parentUuid) { $res['parentUuid'] = $this->parentUuid; } if (null !== $this->picList) { $res['picList'] = []; if (null !== $this->picList && \is_array($this->picList)) { $n = 0; foreach ($this->picList as $item) { $res['picList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->relatedDoc) { $res['relatedDoc'] = []; if (null !== $this->relatedDoc && \is_array($this->relatedDoc)) { $n = 0; foreach ($this->relatedDoc as $item) { $res['relatedDoc'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->relatedLink) { $res['relatedLink'] = []; if (null !== $this->relatedLink && \is_array($this->relatedLink)) { $n = 0; foreach ($this->relatedLink as $item) { $res['relatedLink'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->simHighLight) { $res['simHighLight'] = $this->simHighLight; } if (null !== $this->simpleWordParaphrase) { $res['simpleWordParaphrase'] = $this->simpleWordParaphrase; } if (null !== $this->tagsList) { $res['tagsList'] = $this->tagsList; } if (null !== $this->updaterName) { $res['updaterName'] = $this->updaterName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } if (null !== $this->wordAlias) { $res['wordAlias'] = $this->wordAlias; } if (null !== $this->wordName) { $res['wordName'] = $this->wordName; } if (null !== $this->wordParaphrase) { $res['wordParaphrase'] = $this->wordParaphrase; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appLink'])) { if (!empty($map['appLink'])) { $model->appLink = []; $n = 0; foreach ($map['appLink'] as $item) { $model->appLink[$n++] = null !== $item ? appLink::fromMap($item) : $item; } } } if (isset($map['approveName'])) { $model->approveName = $map['approveName']; } 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['contacts'])) { if (!empty($map['contacts'])) { $model->contacts = $map['contacts']; } } if (isset($map['creatorName'])) { $model->creatorName = $map['creatorName']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModify'])) { $model->gmtModify = $map['gmtModify']; } if (isset($map['highLightWordAlias'])) { if (!empty($map['highLightWordAlias'])) { $model->highLightWordAlias = $map['highLightWordAlias']; } } if (isset($map['imHighLight'])) { $model->imHighLight = $map['imHighLight']; } if (isset($map['parentUuid'])) { $model->parentUuid = $map['parentUuid']; } if (isset($map['picList'])) { if (!empty($map['picList'])) { $model->picList = []; $n = 0; foreach ($map['picList'] as $item) { $model->picList[$n++] = null !== $item ? picList::fromMap($item) : $item; } } } if (isset($map['relatedDoc'])) { if (!empty($map['relatedDoc'])) { $model->relatedDoc = []; $n = 0; foreach ($map['relatedDoc'] as $item) { $model->relatedDoc[$n++] = null !== $item ? relatedDoc::fromMap($item) : $item; } } } if (isset($map['relatedLink'])) { if (!empty($map['relatedLink'])) { $model->relatedLink = []; $n = 0; foreach ($map['relatedLink'] as $item) { $model->relatedLink[$n++] = null !== $item ? relatedLink::fromMap($item) : $item; } } } if (isset($map['simHighLight'])) { $model->simHighLight = $map['simHighLight']; } if (isset($map['simpleWordParaphrase'])) { $model->simpleWordParaphrase = $map['simpleWordParaphrase']; } if (isset($map['tagsList'])) { if (!empty($map['tagsList'])) { $model->tagsList = $map['tagsList']; } } if (isset($map['updaterName'])) { $model->updaterName = $map['updaterName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } if (isset($map['wordAlias'])) { if (!empty($map['wordAlias'])) { $model->wordAlias = $map['wordAlias']; } } if (isset($map['wordName'])) { $model->wordName = $map['wordName']; } if (isset($map['wordParaphrase'])) { $model->wordParaphrase = $map['wordParaphrase']; } return $model; } } src/pedia_1_0/Models/PediaWordsQueryResponseBody/data/appLink.php000064400000003473146412132660020757 0ustar00 'appName', 'iconLink' => 'iconLink', 'pcLink' => 'pcLink', 'phoneLink' => 'phoneLink', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->iconLink) { $res['iconLink'] = $this->iconLink; } if (null !== $this->pcLink) { $res['pcLink'] = $this->pcLink; } if (null !== $this->phoneLink) { $res['phoneLink'] = $this->phoneLink; } return $res; } /** * @param array $map * * @return appLink */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['iconLink'])) { $model->iconLink = $map['iconLink']; } if (isset($map['pcLink'])) { $model->pcLink = $map['pcLink']; } if (isset($map['phoneLink'])) { $model->phoneLink = $map['phoneLink']; } return $model; } } src/pedia_1_0/Models/PediaWordsQueryResponseBody/data/contactList.php000064400000003037146412132660021644 0ustar00 'avatarMediaId', 'nickName' => 'nickName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarMediaId) { $res['avatarMediaId'] = $this->avatarMediaId; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return contactList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarMediaId'])) { $model->avatarMediaId = $map['avatarMediaId']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/pedia_1_0/Models/PediaWordsQueryResponseBody/data/picList.php000064400000001604146412132660020762 0ustar00 'mediaIdUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mediaIdUrl) { $res['mediaIdUrl'] = $this->mediaIdUrl; } return $res; } /** * @param array $map * * @return picList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mediaIdUrl'])) { $model->mediaIdUrl = $map['mediaIdUrl']; } return $model; } } src/pedia_1_0/Models/PediaWordsQueryResponseBody/data/relatedDoc.php000064400000002614146412132660021423 0ustar00 'link', 'name' => 'name', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return relatedDoc */ public static function fromMap($map = []) { $model = new self(); if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/pedia_1_0/Models/PediaWordsQueryResponseBody/data/relatedLink.php000064400000002166146412132660021615 0ustar00 'link', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return relatedLink */ public static function fromMap($map = []) { $model = new self(); if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/pedia_1_0/Models/PediaWordsSearchHeaders.php000064400000002335146412132660015503 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PediaWordsSearchHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/pedia_1_0/Models/PediaWordsSearchRequest.php000064400000004114146412132660015555 0ustar00 'pageNumber', 'pageSize' => 'pageSize', 'status' => 'status', 'userId' => 'userId', 'wordName' => 'wordName', ]; 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->status) { $res['status'] = $this->status; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->wordName) { $res['wordName'] = $this->wordName; } return $res; } /** * @param array $map * * @return PediaWordsSearchRequest */ 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['status'])) { $model->status = $map['status']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['wordName'])) { $model->wordName = $map['wordName']; } return $model; } } src/pedia_1_0/Models/PediaWordsSearchResponse.php000064400000002733146412132660015730 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PediaWordsSearchResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PediaWordsSearchResponseBody::fromMap($map['body']); } return $model; } } src/pedia_1_0/Models/PediaWordsSearchResponseBody.php000064400000003173146412132660016545 0ustar00 'data', 'success' => 'success', ]; 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->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return PediaWordsSearchResponseBody */ 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['success'])) { $model->success = $map['success']; } return $model; } } src/pedia_1_0/Models/PediaWordsSearchResponseBody/data.php000064400000025634146412132660017464 0ustar00 'appLink', 'approveName' => 'approveName', 'contactList' => 'contactList', 'contacts' => 'contacts', 'creatorName' => 'creatorName', 'gmtCreate' => 'gmtCreate', 'gmtModify' => 'gmtModify', 'highLightWordAlias' => 'highLightWordAlias', 'imHighLight' => 'imHighLight', 'parentUuid' => 'parentUuid', 'picList' => 'picList', 'relatedDoc' => 'relatedDoc', 'relatedLink' => 'relatedLink', 'simHighLight' => 'simHighLight', 'simpleWordParaphrase' => 'simpleWordParaphrase', 'tagsList' => 'tagsList', 'updaterName' => 'updaterName', 'userId' => 'userId', 'uuid' => 'uuid', 'wordAlias' => 'wordAlias', 'wordName' => 'wordName', 'wordParaphrase' => 'wordParaphrase', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appLink) { $res['appLink'] = []; if (null !== $this->appLink && \is_array($this->appLink)) { $n = 0; foreach ($this->appLink as $item) { $res['appLink'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->approveName) { $res['approveName'] = $this->approveName; } 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->contacts) { $res['contacts'] = $this->contacts; } if (null !== $this->creatorName) { $res['creatorName'] = $this->creatorName; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModify) { $res['gmtModify'] = $this->gmtModify; } if (null !== $this->highLightWordAlias) { $res['highLightWordAlias'] = $this->highLightWordAlias; } if (null !== $this->imHighLight) { $res['imHighLight'] = $this->imHighLight; } if (null !== $this->parentUuid) { $res['parentUuid'] = $this->parentUuid; } if (null !== $this->picList) { $res['picList'] = []; if (null !== $this->picList && \is_array($this->picList)) { $n = 0; foreach ($this->picList as $item) { $res['picList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->relatedDoc) { $res['relatedDoc'] = []; if (null !== $this->relatedDoc && \is_array($this->relatedDoc)) { $n = 0; foreach ($this->relatedDoc as $item) { $res['relatedDoc'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->relatedLink) { $res['relatedLink'] = []; if (null !== $this->relatedLink && \is_array($this->relatedLink)) { $n = 0; foreach ($this->relatedLink as $item) { $res['relatedLink'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->simHighLight) { $res['simHighLight'] = $this->simHighLight; } if (null !== $this->simpleWordParaphrase) { $res['simpleWordParaphrase'] = $this->simpleWordParaphrase; } if (null !== $this->tagsList) { $res['tagsList'] = $this->tagsList; } if (null !== $this->updaterName) { $res['updaterName'] = $this->updaterName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } if (null !== $this->wordAlias) { $res['wordAlias'] = $this->wordAlias; } if (null !== $this->wordName) { $res['wordName'] = $this->wordName; } if (null !== $this->wordParaphrase) { $res['wordParaphrase'] = $this->wordParaphrase; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appLink'])) { if (!empty($map['appLink'])) { $model->appLink = []; $n = 0; foreach ($map['appLink'] as $item) { $model->appLink[$n++] = null !== $item ? appLink::fromMap($item) : $item; } } } if (isset($map['approveName'])) { $model->approveName = $map['approveName']; } 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['contacts'])) { if (!empty($map['contacts'])) { $model->contacts = $map['contacts']; } } if (isset($map['creatorName'])) { $model->creatorName = $map['creatorName']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModify'])) { $model->gmtModify = $map['gmtModify']; } if (isset($map['highLightWordAlias'])) { if (!empty($map['highLightWordAlias'])) { $model->highLightWordAlias = $map['highLightWordAlias']; } } if (isset($map['imHighLight'])) { $model->imHighLight = $map['imHighLight']; } if (isset($map['parentUuid'])) { $model->parentUuid = $map['parentUuid']; } if (isset($map['picList'])) { if (!empty($map['picList'])) { $model->picList = []; $n = 0; foreach ($map['picList'] as $item) { $model->picList[$n++] = null !== $item ? picList::fromMap($item) : $item; } } } if (isset($map['relatedDoc'])) { if (!empty($map['relatedDoc'])) { $model->relatedDoc = []; $n = 0; foreach ($map['relatedDoc'] as $item) { $model->relatedDoc[$n++] = null !== $item ? relatedDoc::fromMap($item) : $item; } } } if (isset($map['relatedLink'])) { if (!empty($map['relatedLink'])) { $model->relatedLink = []; $n = 0; foreach ($map['relatedLink'] as $item) { $model->relatedLink[$n++] = null !== $item ? relatedLink::fromMap($item) : $item; } } } if (isset($map['simHighLight'])) { $model->simHighLight = $map['simHighLight']; } if (isset($map['simpleWordParaphrase'])) { $model->simpleWordParaphrase = $map['simpleWordParaphrase']; } if (isset($map['tagsList'])) { if (!empty($map['tagsList'])) { $model->tagsList = $map['tagsList']; } } if (isset($map['updaterName'])) { $model->updaterName = $map['updaterName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } if (isset($map['wordAlias'])) { if (!empty($map['wordAlias'])) { $model->wordAlias = $map['wordAlias']; } } if (isset($map['wordName'])) { $model->wordName = $map['wordName']; } if (isset($map['wordParaphrase'])) { $model->wordParaphrase = $map['wordParaphrase']; } return $model; } } src/pedia_1_0/Models/PediaWordsSearchResponseBody/data/appLink.php000064400000003466146412132660021061 0ustar00 'appName', 'iconLink' => 'iconLink', 'pcLink' => 'pcLink', 'phoneLink' => 'phoneLink', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->iconLink) { $res['iconLink'] = $this->iconLink; } if (null !== $this->pcLink) { $res['pcLink'] = $this->pcLink; } if (null !== $this->phoneLink) { $res['phoneLink'] = $this->phoneLink; } return $res; } /** * @param array $map * * @return appLink */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['iconLink'])) { $model->iconLink = $map['iconLink']; } if (isset($map['pcLink'])) { $model->pcLink = $map['pcLink']; } if (isset($map['phoneLink'])) { $model->phoneLink = $map['phoneLink']; } return $model; } } src/pedia_1_0/Models/PediaWordsSearchResponseBody/data/contactList.php000064400000003037146412132660021744 0ustar00 'avatarMediaId', 'nickName' => 'nickName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarMediaId) { $res['avatarMediaId'] = $this->avatarMediaId; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return contactList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarMediaId'])) { $model->avatarMediaId = $map['avatarMediaId']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/pedia_1_0/Models/PediaWordsSearchResponseBody/data/picList.php000064400000001604146412132660021062 0ustar00 'mediaIdUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mediaIdUrl) { $res['mediaIdUrl'] = $this->mediaIdUrl; } return $res; } /** * @param array $map * * @return picList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mediaIdUrl'])) { $model->mediaIdUrl = $map['mediaIdUrl']; } return $model; } } src/pedia_1_0/Models/PediaWordsSearchResponseBody/data/relatedDoc.php000064400000002612146412132660021521 0ustar00 'link', 'name' => 'name', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return relatedDoc */ public static function fromMap($map = []) { $model = new self(); if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/pedia_1_0/Models/PediaWordsSearchResponseBody/data/relatedLink.php000064400000002622146412132660021712 0ustar00 'link', 'name' => 'name', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return relatedLink */ public static function fromMap($map = []) { $model = new self(); if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/pedia_1_0/Models/PediaWordsUpdateHeaders.php000064400000002335146412132660015520 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PediaWordsUpdateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/pedia_1_0/Models/PediaWordsUpdateRequest.php000064400000016142146412132660015576 0ustar00 'appLink', 'contactList' => 'contactList', 'highLightWordAlias' => 'highLightWordAlias', 'picList' => 'picList', 'relatedDoc' => 'relatedDoc', 'relatedLink' => 'relatedLink', 'userId' => 'userId', 'uuid' => 'uuid', 'wordAlias' => 'wordAlias', 'wordName' => 'wordName', 'wordParaphrase' => 'wordParaphrase', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appLink) { $res['appLink'] = []; if (null !== $this->appLink && \is_array($this->appLink)) { $n = 0; foreach ($this->appLink as $item) { $res['appLink'][$n++] = null !== $item ? $item->toMap() : $item; } } } 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->highLightWordAlias) { $res['highLightWordAlias'] = $this->highLightWordAlias; } if (null !== $this->picList) { $res['picList'] = []; if (null !== $this->picList && \is_array($this->picList)) { $n = 0; foreach ($this->picList as $item) { $res['picList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->relatedDoc) { $res['relatedDoc'] = []; if (null !== $this->relatedDoc && \is_array($this->relatedDoc)) { $n = 0; foreach ($this->relatedDoc as $item) { $res['relatedDoc'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->relatedLink) { $res['relatedLink'] = []; if (null !== $this->relatedLink && \is_array($this->relatedLink)) { $n = 0; foreach ($this->relatedLink as $item) { $res['relatedLink'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } if (null !== $this->wordAlias) { $res['wordAlias'] = $this->wordAlias; } if (null !== $this->wordName) { $res['wordName'] = $this->wordName; } if (null !== $this->wordParaphrase) { $res['wordParaphrase'] = $this->wordParaphrase; } return $res; } /** * @param array $map * * @return PediaWordsUpdateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appLink'])) { if (!empty($map['appLink'])) { $model->appLink = []; $n = 0; foreach ($map['appLink'] as $item) { $model->appLink[$n++] = null !== $item ? appLink::fromMap($item) : $item; } } } 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['highLightWordAlias'])) { if (!empty($map['highLightWordAlias'])) { $model->highLightWordAlias = $map['highLightWordAlias']; } } if (isset($map['picList'])) { if (!empty($map['picList'])) { $model->picList = []; $n = 0; foreach ($map['picList'] as $item) { $model->picList[$n++] = null !== $item ? picList::fromMap($item) : $item; } } } if (isset($map['relatedDoc'])) { if (!empty($map['relatedDoc'])) { $model->relatedDoc = []; $n = 0; foreach ($map['relatedDoc'] as $item) { $model->relatedDoc[$n++] = null !== $item ? relatedDoc::fromMap($item) : $item; } } } if (isset($map['relatedLink'])) { if (!empty($map['relatedLink'])) { $model->relatedLink = []; $n = 0; foreach ($map['relatedLink'] as $item) { $model->relatedLink[$n++] = null !== $item ? relatedLink::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } if (isset($map['wordAlias'])) { if (!empty($map['wordAlias'])) { $model->wordAlias = $map['wordAlias']; } } if (isset($map['wordName'])) { $model->wordName = $map['wordName']; } if (isset($map['wordParaphrase'])) { $model->wordParaphrase = $map['wordParaphrase']; } return $model; } } src/pedia_1_0/Models/PediaWordsUpdateRequest/appLink.php000064400000003470146412132660017174 0ustar00 'appName', 'iconLink' => 'iconLink', 'pcLink' => 'pcLink', 'phoneLink' => 'phoneLink', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->iconLink) { $res['iconLink'] = $this->iconLink; } if (null !== $this->pcLink) { $res['pcLink'] = $this->pcLink; } if (null !== $this->phoneLink) { $res['phoneLink'] = $this->phoneLink; } return $res; } /** * @param array $map * * @return appLink */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['iconLink'])) { $model->iconLink = $map['iconLink']; } if (isset($map['pcLink'])) { $model->pcLink = $map['pcLink']; } if (isset($map['phoneLink'])) { $model->phoneLink = $map['phoneLink']; } return $model; } } src/pedia_1_0/Models/PediaWordsUpdateRequest/contactList.php000064400000003016146412132660020061 0ustar00 'avatarMediaId', 'nickName' => 'nickName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarMediaId) { $res['avatarMediaId'] = $this->avatarMediaId; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return contactList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarMediaId'])) { $model->avatarMediaId = $map['avatarMediaId']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/pedia_1_0/Models/PediaWordsUpdateRequest/picList.php000064400000001575146412132660017211 0ustar00 'mediaIdUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mediaIdUrl) { $res['mediaIdUrl'] = $this->mediaIdUrl; } return $res; } /** * @param array $map * * @return picList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mediaIdUrl'])) { $model->mediaIdUrl = $map['mediaIdUrl']; } return $model; } } src/pedia_1_0/Models/PediaWordsUpdateRequest/relatedDoc.php000064400000002604146412132660017642 0ustar00 'link', 'name' => 'name', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return relatedDoc */ public static function fromMap($map = []) { $model = new self(); if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/pedia_1_0/Models/PediaWordsUpdateRequest/relatedLink.php000064400000002156146412132660020034 0ustar00 'link', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return relatedLink */ public static function fromMap($map = []) { $model = new self(); if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/pedia_1_0/Models/PediaWordsUpdateResponse.php000064400000002733146412132660015745 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PediaWordsUpdateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PediaWordsUpdateResponseBody::fromMap($map['body']); } return $model; } } src/pedia_1_0/Models/PediaWordsUpdateResponseBody.php000064400000002145146412132660016560 0ustar00 'success', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return PediaWordsUpdateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/project_1_0/Dingtalk.php000064400000450503146412132660011722 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $userId * @param string $projectId * @param AddProjectMemberRequest $request * @param AddProjectMemberHeaders $headers * @param RuntimeOptions $runtime * * @return AddProjectMemberResponse */ public function addProjectMemberWithOptions($userId, $projectId, $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' => 'AddProjectMember', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects/' . $projectId . '/members', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddProjectMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $projectId * @param AddProjectMemberRequest $request * * @return AddProjectMemberResponse */ public function addProjectMember($userId, $projectId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddProjectMemberHeaders([]); return $this->addProjectMemberWithOptions($userId, $projectId, $request, $headers, $runtime); } /** * @param string $userId * @param string $projectId * @param ArchiveProjectHeaders $headers * @param RuntimeOptions $runtime * * @return ArchiveProjectResponse */ public function archiveProjectWithOptions($userId, $projectId, $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' => 'ArchiveProject', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects/' . $projectId . '/archive', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ArchiveProjectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $projectId * * @return ArchiveProjectResponse */ public function archiveProject($userId, $projectId) { $runtime = new RuntimeOptions([]); $headers = new ArchiveProjectHeaders([]); return $this->archiveProjectWithOptions($userId, $projectId, $headers, $runtime); } /** * @param string $userId * @param string $taskId * @param ArchiveTaskHeaders $headers * @param RuntimeOptions $runtime * * @return ArchiveTaskResponse */ public function archiveTaskWithOptions($userId, $taskId, $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' => 'ArchiveTask', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks/' . $taskId . '/archive', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ArchiveTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $taskId * * @return ArchiveTaskResponse */ public function archiveTask($userId, $taskId) { $runtime = new RuntimeOptions([]); $headers = new ArchiveTaskHeaders([]); return $this->archiveTaskWithOptions($userId, $taskId, $headers, $runtime); } /** * @param string $userId * @param CreateOrganizationTaskRequest $request * @param CreateOrganizationTaskHeaders $headers * @param RuntimeOptions $runtime * * @return CreateOrganizationTaskResponse */ public function createOrganizationTaskWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->createTime)) { $body['createTime'] = $request->createTime; } if (!Utils::isUnset($request->disableActivity)) { $body['disableActivity'] = $request->disableActivity; } if (!Utils::isUnset($request->disableNotification)) { $body['disableNotification'] = $request->disableNotification; } if (!Utils::isUnset($request->dueDate)) { $body['dueDate'] = $request->dueDate; } if (!Utils::isUnset($request->executorId)) { $body['executorId'] = $request->executorId; } if (!Utils::isUnset($request->involveMembers)) { $body['involveMembers'] = $request->involveMembers; } if (!Utils::isUnset($request->note)) { $body['note'] = $request->note; } if (!Utils::isUnset($request->priority)) { $body['priority'] = $request->priority; } if (!Utils::isUnset($request->visible)) { $body['visible'] = $request->visible; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateOrganizationTask', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/organizations/users/' . $userId . '/tasks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateOrganizationTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param CreateOrganizationTaskRequest $request * * @return CreateOrganizationTaskResponse */ public function createOrganizationTask($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateOrganizationTaskHeaders([]); return $this->createOrganizationTaskWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param CreatePlanTimeRequest $request * @param CreatePlanTimeHeaders $headers * @param RuntimeOptions $runtime * * @return CreatePlanTimeResponse */ public function createPlanTimeWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->tenantType)) { $query['tenantType'] = $request->tenantType; } $body = []; if (!Utils::isUnset($request->endDate)) { $body['endDate'] = $request->endDate; } if (!Utils::isUnset($request->executorId)) { $body['executorId'] = $request->executorId; } if (!Utils::isUnset($request->includesHolidays)) { $body['includesHolidays'] = $request->includesHolidays; } if (!Utils::isUnset($request->isDuration)) { $body['isDuration'] = $request->isDuration; } if (!Utils::isUnset($request->objectId)) { $body['objectId'] = $request->objectId; } if (!Utils::isUnset($request->objectType)) { $body['objectType'] = $request->objectType; } if (!Utils::isUnset($request->planTime)) { $body['planTime'] = $request->planTime; } if (!Utils::isUnset($request->startDate)) { $body['startDate'] = $request->startDate; } if (!Utils::isUnset($request->submitterId)) { $body['submitterId'] = $request->submitterId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CreatePlanTime', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/planTimes', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreatePlanTimeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param CreatePlanTimeRequest $request * * @return CreatePlanTimeResponse */ public function createPlanTime($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreatePlanTimeHeaders([]); return $this->createPlanTimeWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param CreateProjectRequest $request * @param CreateProjectHeaders $headers * @param RuntimeOptions $runtime * * @return CreateProjectResponse */ public function createProjectWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->name)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateProject', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateProjectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param CreateProjectRequest $request * * @return CreateProjectResponse */ public function createProject($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateProjectHeaders([]); return $this->createProjectWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param CreateProjectByTemplateRequest $request * @param CreateProjectByTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return CreateProjectByTemplateResponse */ public function createProjectByTemplateWithOptions($userId, $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; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateProjectByTemplate', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/templates/projects', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateProjectByTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param CreateProjectByTemplateRequest $request * * @return CreateProjectByTemplateResponse */ public function createProjectByTemplate($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateProjectByTemplateHeaders([]); return $this->createProjectByTemplateWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param string $projectId * @param CreateProjectCustomfieldStatusRequest $request * @param CreateProjectCustomfieldStatusHeaders $headers * @param RuntimeOptions $runtime * * @return CreateProjectCustomfieldStatusResponse */ public function createProjectCustomfieldStatusWithOptions($userId, $projectId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->customFieldId)) { $body['customFieldId'] = $request->customFieldId; } if (!Utils::isUnset($request->customFieldInstanceId)) { $body['customFieldInstanceId'] = $request->customFieldInstanceId; } if (!Utils::isUnset($request->customFieldName)) { $body['customFieldName'] = $request->customFieldName; } if (!Utils::isUnset($request->value)) { $body['value'] = $request->value; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateProjectCustomfieldStatus', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects/' . $projectId . '/customfields', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateProjectCustomfieldStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $projectId * @param CreateProjectCustomfieldStatusRequest $request * * @return CreateProjectCustomfieldStatusResponse */ public function createProjectCustomfieldStatus($userId, $projectId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateProjectCustomfieldStatusHeaders([]); return $this->createProjectCustomfieldStatusWithOptions($userId, $projectId, $request, $headers, $runtime); } /** * @param string $userId * @param CreateTaskRequest $request * @param CreateTaskHeaders $headers * @param RuntimeOptions $runtime * * @return CreateTaskResponse */ public function createTaskWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->customfields)) { $body['customfields'] = $request->customfields; } if (!Utils::isUnset($request->dueDate)) { $body['dueDate'] = $request->dueDate; } if (!Utils::isUnset($request->executorId)) { $body['executorId'] = $request->executorId; } if (!Utils::isUnset($request->note)) { $body['note'] = $request->note; } if (!Utils::isUnset($request->parentTaskId)) { $body['parentTaskId'] = $request->parentTaskId; } if (!Utils::isUnset($request->priority)) { $body['priority'] = $request->priority; } if (!Utils::isUnset($request->projectId)) { $body['projectId'] = $request->projectId; } if (!Utils::isUnset($request->scenariofieldconfigId)) { $body['scenariofieldconfigId'] = $request->scenariofieldconfigId; } if (!Utils::isUnset($request->stageId)) { $body['stageId'] = $request->stageId; } if (!Utils::isUnset($request->startDate)) { $body['startDate'] = $request->startDate; } if (!Utils::isUnset($request->visible)) { $body['visible'] = $request->visible; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateTask', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param CreateTaskRequest $request * * @return CreateTaskResponse */ public function createTask($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateTaskHeaders([]); return $this->createTaskWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param string $taskId * @param CreateTaskObjectLinkRequest $request * @param CreateTaskObjectLinkHeaders $headers * @param RuntimeOptions $runtime * * @return CreateTaskObjectLinkResponse */ public function createTaskObjectLinkWithOptions($userId, $taskId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->linkedData)) { $body['linkedData'] = $request->linkedData; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateTaskObjectLink', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks/' . $taskId . '/objectLinks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateTaskObjectLinkResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $taskId * @param CreateTaskObjectLinkRequest $request * * @return CreateTaskObjectLinkResponse */ public function createTaskObjectLink($userId, $taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateTaskObjectLinkHeaders([]); return $this->createTaskObjectLinkWithOptions($userId, $taskId, $request, $headers, $runtime); } /** * @param string $userId * @param CreateWorkTimeRequest $request * @param CreateWorkTimeHeaders $headers * @param RuntimeOptions $runtime * * @return CreateWorkTimeResponse */ public function createWorkTimeWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->tenantType)) { $query['tenantType'] = $request->tenantType; } $body = []; if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->endDate)) { $body['endDate'] = $request->endDate; } if (!Utils::isUnset($request->executorId)) { $body['executorId'] = $request->executorId; } if (!Utils::isUnset($request->includesHolidays)) { $body['includesHolidays'] = $request->includesHolidays; } if (!Utils::isUnset($request->isDuration)) { $body['isDuration'] = $request->isDuration; } if (!Utils::isUnset($request->objectId)) { $body['objectId'] = $request->objectId; } if (!Utils::isUnset($request->objectType)) { $body['objectType'] = $request->objectType; } if (!Utils::isUnset($request->startDate)) { $body['startDate'] = $request->startDate; } if (!Utils::isUnset($request->submitterId)) { $body['submitterId'] = $request->submitterId; } if (!Utils::isUnset($request->workTime)) { $body['workTime'] = $request->workTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CreateWorkTime', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/workTimes', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateWorkTimeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param CreateWorkTimeRequest $request * * @return CreateWorkTimeResponse */ public function createWorkTime($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateWorkTimeHeaders([]); return $this->createWorkTimeWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param CreateWorkTimeApproveRequest $request * @param CreateWorkTimeApproveHeaders $headers * @param RuntimeOptions $runtime * * @return CreateWorkTimeApproveResponse */ public function createWorkTimeApproveWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->workTimeIds)) { $body['workTimeIds'] = $request->workTimeIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateWorkTimeApprove', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/workTimes/approvals', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateWorkTimeApproveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param CreateWorkTimeApproveRequest $request * * @return CreateWorkTimeApproveResponse */ public function createWorkTimeApprove($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateWorkTimeApproveHeaders([]); return $this->createWorkTimeApproveWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param string $projectId * @param DeleteProjectMemberRequest $request * @param DeleteProjectMemberHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteProjectMemberResponse */ public function deleteProjectMemberWithOptions($userId, $projectId, $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' => 'DeleteProjectMember', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects/' . $projectId . '/members/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteProjectMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $projectId * @param DeleteProjectMemberRequest $request * * @return DeleteProjectMemberResponse */ public function deleteProjectMember($userId, $projectId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteProjectMemberHeaders([]); return $this->deleteProjectMemberWithOptions($userId, $projectId, $request, $headers, $runtime); } /** * @param string $userId * @param string $taskId * @param DeleteTaskHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteTaskResponse */ public function deleteTaskWithOptions($userId, $taskId, $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' => 'DeleteTask', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks/' . $taskId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $taskId * * @return DeleteTaskResponse */ public function deleteTask($userId, $taskId) { $runtime = new RuntimeOptions([]); $headers = new DeleteTaskHeaders([]); return $this->deleteTaskWithOptions($userId, $taskId, $headers, $runtime); } /** * @param GetDeptsByOrgIdRequest $request * @param GetDeptsByOrgIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetDeptsByOrgIdResponse */ public function getDeptsByOrgIdWithOptions($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->dingAccessTokenType)) { $realHeaders['dingAccessTokenType'] = Utils::toJSONString($headers->dingAccessTokenType); } if (!Utils::isUnset($headers->dingOrgId)) { $realHeaders['dingOrgId'] = Utils::toJSONString($headers->dingOrgId); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetDeptsByOrgId', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/orgs/depts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDeptsByOrgIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetDeptsByOrgIdRequest $request * * @return GetDeptsByOrgIdResponse */ public function getDeptsByOrgId($request) { $runtime = new RuntimeOptions([]); $headers = new GetDeptsByOrgIdHeaders([]); return $this->getDeptsByOrgIdWithOptions($request, $headers, $runtime); } /** * @param GetEmpsByOrgIdRequest $request * @param GetEmpsByOrgIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetEmpsByOrgIdResponse */ public function getEmpsByOrgIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->needDept)) { $query['needDept'] = $request->needDept; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->dingAccessTokenType)) { $realHeaders['dingAccessTokenType'] = Utils::toJSONString($headers->dingAccessTokenType); } if (!Utils::isUnset($headers->dingOrgId)) { $realHeaders['dingOrgId'] = Utils::toJSONString($headers->dingOrgId); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetEmpsByOrgId', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/orgs/employees', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetEmpsByOrgIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetEmpsByOrgIdRequest $request * * @return GetEmpsByOrgIdResponse */ public function getEmpsByOrgId($request) { $runtime = new RuntimeOptions([]); $headers = new GetEmpsByOrgIdHeaders([]); return $this->getEmpsByOrgIdWithOptions($request, $headers, $runtime); } /** * @param string $userId * @param GetOrganizatioTaskByIdsRequest $request * @param GetOrganizatioTaskByIdsHeaders $headers * @param RuntimeOptions $runtime * * @return GetOrganizatioTaskByIdsResponse */ public function getOrganizatioTaskByIdsWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->taskIds)) { $query['taskIds'] = $request->taskIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetOrganizatioTaskByIds', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/organizations/users/' . $userId . '/tasks', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOrganizatioTaskByIdsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param GetOrganizatioTaskByIdsRequest $request * * @return GetOrganizatioTaskByIdsResponse */ public function getOrganizatioTaskByIds($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetOrganizatioTaskByIdsHeaders([]); return $this->getOrganizatioTaskByIdsWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param GetOrganizationPriorityListHeaders $headers * @param RuntimeOptions $runtime * * @return GetOrganizationPriorityListResponse */ public function getOrganizationPriorityListWithOptions($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' => 'GetOrganizationPriorityList', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/organizations/users/' . $userId . '/priorities', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOrganizationPriorityListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * * @return GetOrganizationPriorityListResponse */ public function getOrganizationPriorityList($userId) { $runtime = new RuntimeOptions([]); $headers = new GetOrganizationPriorityListHeaders([]); return $this->getOrganizationPriorityListWithOptions($userId, $headers, $runtime); } /** * @param string $taskId * @param string $userId * @param GetOrganizationTaskHeaders $headers * @param RuntimeOptions $runtime * * @return GetOrganizationTaskResponse */ public function getOrganizationTaskWithOptions($taskId, $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' => 'GetOrganizationTask', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/organizations/users/' . $userId . '/tasks/' . $taskId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOrganizationTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskId * @param string $userId * * @return GetOrganizationTaskResponse */ public function getOrganizationTask($taskId, $userId) { $runtime = new RuntimeOptions([]); $headers = new GetOrganizationTaskHeaders([]); return $this->getOrganizationTaskWithOptions($taskId, $userId, $headers, $runtime); } /** * @param string $userId * @param GetProjectGroupRequest $request * @param GetProjectGroupHeaders $headers * @param RuntimeOptions $runtime * * @return GetProjectGroupResponse */ public function getProjectGroupWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->viewerId)) { $query['viewerId'] = $request->viewerId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetProjectGroup', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/organizations/users/' . $userId . '/groups', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetProjectGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param GetProjectGroupRequest $request * * @return GetProjectGroupResponse */ public function getProjectGroup($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetProjectGroupHeaders([]); return $this->getProjectGroupWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param string $projectId * @param GetProjectMemebersRequest $request * @param GetProjectMemebersHeaders $headers * @param RuntimeOptions $runtime * * @return GetProjectMemebersResponse */ public function getProjectMemebersWithOptions($userId, $projectId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->projectRoleId)) { $query['projectRoleId'] = $request->projectRoleId; } if (!Utils::isUnset($request->skip)) { $query['skip'] = $request->skip; } if (!Utils::isUnset($request->userIds)) { $query['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, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetProjectMemebers', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects/' . $projectId . '/members', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetProjectMemebersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $projectId * @param GetProjectMemebersRequest $request * * @return GetProjectMemebersResponse */ public function getProjectMemebers($userId, $projectId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetProjectMemebersHeaders([]); return $this->getProjectMemebersWithOptions($userId, $projectId, $request, $headers, $runtime); } /** * @param string $userId * @param string $projectId * @param GetProjectStatusListHeaders $headers * @param RuntimeOptions $runtime * * @return GetProjectStatusListResponse */ public function getProjectStatusListWithOptions($userId, $projectId, $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' => 'GetProjectStatusList', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects/' . $projectId . '/statuses', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetProjectStatusListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $projectId * * @return GetProjectStatusListResponse */ public function getProjectStatusList($userId, $projectId) { $runtime = new RuntimeOptions([]); $headers = new GetProjectStatusListHeaders([]); return $this->getProjectStatusListWithOptions($userId, $projectId, $headers, $runtime); } /** * @param string $userId * @param GetTaskByIdsRequest $request * @param GetTaskByIdsHeaders $headers * @param RuntimeOptions $runtime * * @return GetTaskByIdsResponse */ public function getTaskByIdsWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->parentTaskId)) { $query['parentTaskId'] = $request->parentTaskId; } if (!Utils::isUnset($request->taskId)) { $query['taskId'] = $request->taskId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetTaskByIds', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTaskByIdsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param GetTaskByIdsRequest $request * * @return GetTaskByIdsResponse */ public function getTaskByIds($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetTaskByIdsHeaders([]); return $this->getTaskByIdsWithOptions($userId, $request, $headers, $runtime); } /** * @param GetTbOrgIdByDingOrgIdRequest $request * @param GetTbOrgIdByDingOrgIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetTbOrgIdByDingOrgIdResponse */ public function getTbOrgIdByDingOrgIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->optUserId)) { $query['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, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetTbOrgIdByDingOrgId', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/teambition/organizations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTbOrgIdByDingOrgIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetTbOrgIdByDingOrgIdRequest $request * * @return GetTbOrgIdByDingOrgIdResponse */ public function getTbOrgIdByDingOrgId($request) { $runtime = new RuntimeOptions([]); $headers = new GetTbOrgIdByDingOrgIdHeaders([]); return $this->getTbOrgIdByDingOrgIdWithOptions($request, $headers, $runtime); } /** * @param GetTbProjectGrayRequest $request * @param GetTbProjectGrayHeaders $headers * @param RuntimeOptions $runtime * * @return GetTbProjectGrayResponse */ public function getTbProjectGrayWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->label)) { $body['label'] = $request->label; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->dingAccessTokenType)) { $realHeaders['dingAccessTokenType'] = Utils::toJSONString($headers->dingAccessTokenType); } if (!Utils::isUnset($headers->dingCorpId)) { $realHeaders['dingCorpId'] = Utils::toJSONString($headers->dingCorpId); } if (!Utils::isUnset($headers->dingIsvOrgId)) { $realHeaders['dingIsvOrgId'] = Utils::toJSONString($headers->dingIsvOrgId); } if (!Utils::isUnset($headers->dingOrgId)) { $realHeaders['dingOrgId'] = Utils::toJSONString($headers->dingOrgId); } if (!Utils::isUnset($headers->dingSuiteKey)) { $realHeaders['dingSuiteKey'] = Utils::toJSONString($headers->dingSuiteKey); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetTbProjectGray', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/projects/gray', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetTbProjectGrayResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetTbProjectGrayRequest $request * * @return GetTbProjectGrayResponse */ public function getTbProjectGray($request) { $runtime = new RuntimeOptions([]); $headers = new GetTbProjectGrayHeaders([]); return $this->getTbProjectGrayWithOptions($request, $headers, $runtime); } /** * @param GetTbProjectSourceHeaders $headers * @param RuntimeOptions $runtime * * @return GetTbProjectSourceResponse */ public function getTbProjectSourceWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->dingAccessTokenType)) { $realHeaders['dingAccessTokenType'] = Utils::toJSONString($headers->dingAccessTokenType); } if (!Utils::isUnset($headers->dingCorpId)) { $realHeaders['dingCorpId'] = Utils::toJSONString($headers->dingCorpId); } if (!Utils::isUnset($headers->dingIsvOrgId)) { $realHeaders['dingIsvOrgId'] = Utils::toJSONString($headers->dingIsvOrgId); } if (!Utils::isUnset($headers->dingOrgId)) { $realHeaders['dingOrgId'] = Utils::toJSONString($headers->dingOrgId); } if (!Utils::isUnset($headers->dingSuiteKey)) { $realHeaders['dingSuiteKey'] = Utils::toJSONString($headers->dingSuiteKey); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetTbProjectSource', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/projects/source', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTbProjectSourceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return GetTbProjectSourceResponse */ public function getTbProjectSource() { $runtime = new RuntimeOptions([]); $headers = new GetTbProjectSourceHeaders([]); return $this->getTbProjectSourceWithOptions($headers, $runtime); } /** * @param GetTbUserIdByStaffIdRequest $request * @param GetTbUserIdByStaffIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetTbUserIdByStaffIdResponse */ public function getTbUserIdByStaffIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->optUserId)) { $query['optUserId'] = $request->optUserId; } 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' => 'GetTbUserIdByStaffId', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/teambition/users', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTbUserIdByStaffIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetTbUserIdByStaffIdRequest $request * * @return GetTbUserIdByStaffIdResponse */ public function getTbUserIdByStaffId($request) { $runtime = new RuntimeOptions([]); $headers = new GetTbUserIdByStaffIdHeaders([]); return $this->getTbUserIdByStaffIdWithOptions($request, $headers, $runtime); } /** * @param string $userId * @param GetUserJoinedProjectRequest $request * @param GetUserJoinedProjectHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserJoinedProjectResponse */ public function getUserJoinedProjectWithOptions($userId, $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' => 'GetUserJoinedProject', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/joinProjects', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserJoinedProjectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param GetUserJoinedProjectRequest $request * * @return GetUserJoinedProjectResponse */ public function getUserJoinedProject($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetUserJoinedProjectHeaders([]); return $this->getUserJoinedProjectWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param QueryProjectRequest $request * @param QueryProjectHeaders $headers * @param RuntimeOptions $runtime * * @return QueryProjectResponse */ public function queryProjectWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->name)) { $query['name'] = $request->name; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->projectIds)) { $query['projectIds'] = $request->projectIds; } if (!Utils::isUnset($request->sourceId)) { $query['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, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryProject', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryProjectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param QueryProjectRequest $request * * @return QueryProjectResponse */ public function queryProject($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryProjectHeaders([]); return $this->queryProjectWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param string $projectId * @param QueryTaskOfProjectRequest $request * @param QueryTaskOfProjectHeaders $headers * @param RuntimeOptions $runtime * * @return QueryTaskOfProjectResponse */ public function queryTaskOfProjectWithOptions($userId, $projectId, $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->query)) { $query['query'] = $request->query; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryTaskOfProject', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projectIds/' . $projectId . '/tasks', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryTaskOfProjectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $projectId * @param QueryTaskOfProjectRequest $request * * @return QueryTaskOfProjectResponse */ public function queryTaskOfProject($userId, $projectId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryTaskOfProjectHeaders([]); return $this->queryTaskOfProjectWithOptions($userId, $projectId, $request, $headers, $runtime); } /** * @param string $userId * @param string $projectId * @param SeachTaskStageRequest $request * @param SeachTaskStageHeaders $headers * @param RuntimeOptions $runtime * * @return SeachTaskStageResponse */ public function seachTaskStageWithOptions($userId, $projectId, $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->query)) { $query['query'] = $request->query; } if (!Utils::isUnset($request->taskListId)) { $query['taskListId'] = $request->taskListId; } if (!Utils::isUnset($request->taskStageIds)) { $query['taskStageIds'] = $request->taskStageIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SeachTaskStage', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects/' . $projectId . '/taskStages/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SeachTaskStageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $projectId * @param SeachTaskStageRequest $request * * @return SeachTaskStageResponse */ public function seachTaskStage($userId, $projectId, $request) { $runtime = new RuntimeOptions([]); $headers = new SeachTaskStageHeaders([]); return $this->seachTaskStageWithOptions($userId, $projectId, $request, $headers, $runtime); } /** * @param string $userId * @param SearchAllTasksByTqlRequest $request * @param SearchAllTasksByTqlHeaders $headers * @param RuntimeOptions $runtime * * @return SearchAllTasksByTqlResponse */ public function searchAllTasksByTqlWithOptions($userId, $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->tql)) { $query['tql'] = $request->tql; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SearchAllTasksByTql', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tql/tasks/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchAllTasksByTqlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param SearchAllTasksByTqlRequest $request * * @return SearchAllTasksByTqlResponse */ public function searchAllTasksByTql($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new SearchAllTasksByTqlHeaders([]); return $this->searchAllTasksByTqlWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param SearchOranizationCustomfieldRequest $request * @param SearchOranizationCustomfieldHeaders $headers * @param RuntimeOptions $runtime * * @return SearchOranizationCustomfieldResponse */ public function searchOranizationCustomfieldWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->customFieldIds)) { $query['customFieldIds'] = $request->customFieldIds; } if (!Utils::isUnset($request->instanceIds)) { $query['instanceIds'] = $request->instanceIds; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->projectIds)) { $query['projectIds'] = $request->projectIds; } if (!Utils::isUnset($request->query)) { $query['query'] = $request->query; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SearchOranizationCustomfield', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/organizations/users/' . $userId . '/customfields/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchOranizationCustomfieldResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param SearchOranizationCustomfieldRequest $request * * @return SearchOranizationCustomfieldResponse */ public function searchOranizationCustomfield($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new SearchOranizationCustomfieldHeaders([]); return $this->searchOranizationCustomfieldWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param string $projectId * @param SearchProjectCustomfieldRequest $request * @param SearchProjectCustomfieldHeaders $headers * @param RuntimeOptions $runtime * * @return SearchProjectCustomfieldResponse */ public function searchProjectCustomfieldWithOptions($userId, $projectId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->customFieldIds)) { $query['customFieldIds'] = $request->customFieldIds; } if (!Utils::isUnset($request->instanceIds)) { $query['instanceIds'] = $request->instanceIds; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->query)) { $query['query'] = $request->query; } if (!Utils::isUnset($request->scenarioFieldConfigId)) { $query['scenarioFieldConfigId'] = $request->scenarioFieldConfigId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SearchProjectCustomfield', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects/' . $projectId . '/customfields/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchProjectCustomfieldResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $projectId * @param SearchProjectCustomfieldRequest $request * * @return SearchProjectCustomfieldResponse */ public function searchProjectCustomfield($userId, $projectId, $request) { $runtime = new RuntimeOptions([]); $headers = new SearchProjectCustomfieldHeaders([]); return $this->searchProjectCustomfieldWithOptions($userId, $projectId, $request, $headers, $runtime); } /** * @param string $userId * @param SearchProjectTemplateRequest $request * @param SearchProjectTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return SearchProjectTemplateResponse */ public function searchProjectTemplateWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->keyword)) { $query['keyword'] = $request->keyword; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SearchProjectTemplate', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/organizations/users/' . $userId . '/templates', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchProjectTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param SearchProjectTemplateRequest $request * * @return SearchProjectTemplateResponse */ public function searchProjectTemplate($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new SearchProjectTemplateHeaders([]); return $this->searchProjectTemplateWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param string $projectId * @param SearchTaskFlowRequest $request * @param SearchTaskFlowHeaders $headers * @param RuntimeOptions $runtime * * @return SearchTaskFlowResponse */ public function searchTaskFlowWithOptions($userId, $projectId, $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->query)) { $query['query'] = $request->query; } if (!Utils::isUnset($request->taskflowIds)) { $query['taskflowIds'] = $request->taskflowIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SearchTaskFlow', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects/' . $projectId . '/taskflows/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchTaskFlowResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $projectId * @param SearchTaskFlowRequest $request * * @return SearchTaskFlowResponse */ public function searchTaskFlow($userId, $projectId, $request) { $runtime = new RuntimeOptions([]); $headers = new SearchTaskFlowHeaders([]); return $this->searchTaskFlowWithOptions($userId, $projectId, $request, $headers, $runtime); } /** * @param string $userId * @param string $projectId * @param SearchTaskListRequest $request * @param SearchTaskListHeaders $headers * @param RuntimeOptions $runtime * * @return SearchTaskListResponse */ public function searchTaskListWithOptions($userId, $projectId, $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->query)) { $query['query'] = $request->query; } if (!Utils::isUnset($request->taskListIds)) { $query['taskListIds'] = $request->taskListIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SearchTaskList', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects/' . $projectId . '/taskLists/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchTaskListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $projectId * @param SearchTaskListRequest $request * * @return SearchTaskListResponse */ public function searchTaskList($userId, $projectId, $request) { $runtime = new RuntimeOptions([]); $headers = new SearchTaskListHeaders([]); return $this->searchTaskListWithOptions($userId, $projectId, $request, $headers, $runtime); } /** * @param string $userId * @param string $projectId * @param SearchTaskflowStatusRequest $request * @param SearchTaskflowStatusHeaders $headers * @param RuntimeOptions $runtime * * @return SearchTaskflowStatusResponse */ public function searchTaskflowStatusWithOptions($userId, $projectId, $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->query)) { $query['query'] = $request->query; } if (!Utils::isUnset($request->tfIds)) { $query['tfIds'] = $request->tfIds; } if (!Utils::isUnset($request->tfsIds)) { $query['tfsIds'] = $request->tfsIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SearchTaskflowStatus', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects/' . $projectId . '/taskflowStatuses/search', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchTaskflowStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $projectId * @param SearchTaskflowStatusRequest $request * * @return SearchTaskflowStatusResponse */ public function searchTaskflowStatus($userId, $projectId, $request) { $runtime = new RuntimeOptions([]); $headers = new SearchTaskflowStatusHeaders([]); return $this->searchTaskflowStatusWithOptions($userId, $projectId, $request, $headers, $runtime); } /** * @param string $userId * @param SearchUserTaskRequest $request * @param SearchUserTaskHeaders $headers * @param RuntimeOptions $runtime * * @return SearchUserTaskResponse */ public function searchUserTaskWithOptions($userId, $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->roleTypes)) { $query['roleTypes'] = $request->roleTypes; } if (!Utils::isUnset($request->tql)) { $query['tql'] = $request->tql; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SearchUserTask', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchUserTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param SearchUserTaskRequest $request * * @return SearchUserTaskResponse */ public function searchUserTask($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new SearchUserTaskHeaders([]); return $this->searchUserTaskWithOptions($userId, $request, $headers, $runtime); } /** * @param string $projectId * @param string $userId * @param SuspendProjectHeaders $headers * @param RuntimeOptions $runtime * * @return SuspendProjectResponse */ public function suspendProjectWithOptions($projectId, $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' => 'SuspendProject', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects/' . $projectId . '/suspend', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SuspendProjectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $projectId * @param string $userId * * @return SuspendProjectResponse */ public function suspendProject($projectId, $userId) { $runtime = new RuntimeOptions([]); $headers = new SuspendProjectHeaders([]); return $this->suspendProjectWithOptions($projectId, $userId, $headers, $runtime); } /** * @param string $projectId * @param string $userId * @param UnSuspendProjectHeaders $headers * @param RuntimeOptions $runtime * * @return UnSuspendProjectResponse */ public function unSuspendProjectWithOptions($projectId, $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' => 'UnSuspendProject', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects/' . $projectId . '/unsuspend', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UnSuspendProjectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $projectId * @param string $userId * * @return UnSuspendProjectResponse */ public function unSuspendProject($projectId, $userId) { $runtime = new RuntimeOptions([]); $headers = new UnSuspendProjectHeaders([]); return $this->unSuspendProjectWithOptions($projectId, $userId, $headers, $runtime); } /** * @param string $userId * @param string $taskId * @param UpdateCustomfieldValueRequest $request * @param UpdateCustomfieldValueHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateCustomfieldValueResponse */ public function updateCustomfieldValueWithOptions($userId, $taskId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->customFieldId)) { $body['customFieldId'] = $request->customFieldId; } if (!Utils::isUnset($request->customFieldName)) { $body['customFieldName'] = $request->customFieldName; } if (!Utils::isUnset($request->value)) { $body['value'] = $request->value; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateCustomfieldValue', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks/' . $taskId . '/customFields', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateCustomfieldValueResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $taskId * @param UpdateCustomfieldValueRequest $request * * @return UpdateCustomfieldValueResponse */ public function updateCustomfieldValue($userId, $taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateCustomfieldValueHeaders([]); return $this->updateCustomfieldValueWithOptions($userId, $taskId, $request, $headers, $runtime); } /** * @param string $taskId * @param string $userId * @param UpdateOrganizationTaskContentRequest $request * @param UpdateOrganizationTaskContentHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateOrganizationTaskContentResponse */ public function updateOrganizationTaskContentWithOptions($taskId, $userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->disableActivity)) { $body['disableActivity'] = $request->disableActivity; } if (!Utils::isUnset($request->disableNotification)) { $body['disableNotification'] = $request->disableNotification; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateOrganizationTaskContent', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/organizations/users/' . $userId . '/tasks/' . $taskId . '/contents', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateOrganizationTaskContentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskId * @param string $userId * @param UpdateOrganizationTaskContentRequest $request * * @return UpdateOrganizationTaskContentResponse */ public function updateOrganizationTaskContent($taskId, $userId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateOrganizationTaskContentHeaders([]); return $this->updateOrganizationTaskContentWithOptions($taskId, $userId, $request, $headers, $runtime); } /** * @param string $taskId * @param string $userId * @param UpdateOrganizationTaskDueDateRequest $request * @param UpdateOrganizationTaskDueDateHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateOrganizationTaskDueDateResponse */ public function updateOrganizationTaskDueDateWithOptions($taskId, $userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->disableActivity)) { $body['disableActivity'] = $request->disableActivity; } if (!Utils::isUnset($request->disableNotification)) { $body['disableNotification'] = $request->disableNotification; } if (!Utils::isUnset($request->dueDate)) { $body['dueDate'] = $request->dueDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateOrganizationTaskDueDate', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/organizations/users/' . $userId . '/tasks/' . $taskId . '/dueDates', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateOrganizationTaskDueDateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskId * @param string $userId * @param UpdateOrganizationTaskDueDateRequest $request * * @return UpdateOrganizationTaskDueDateResponse */ public function updateOrganizationTaskDueDate($taskId, $userId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateOrganizationTaskDueDateHeaders([]); return $this->updateOrganizationTaskDueDateWithOptions($taskId, $userId, $request, $headers, $runtime); } /** * @param string $taskId * @param string $userId * @param UpdateOrganizationTaskExecutorRequest $request * @param UpdateOrganizationTaskExecutorHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateOrganizationTaskExecutorResponse */ public function updateOrganizationTaskExecutorWithOptions($taskId, $userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->disableActivity)) { $body['disableActivity'] = $request->disableActivity; } if (!Utils::isUnset($request->disableNotification)) { $body['disableNotification'] = $request->disableNotification; } if (!Utils::isUnset($request->executorId)) { $body['executorId'] = $request->executorId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateOrganizationTaskExecutor', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/organizations/users/' . $userId . '/tasks/' . $taskId . '/executors', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateOrganizationTaskExecutorResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskId * @param string $userId * @param UpdateOrganizationTaskExecutorRequest $request * * @return UpdateOrganizationTaskExecutorResponse */ public function updateOrganizationTaskExecutor($taskId, $userId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateOrganizationTaskExecutorHeaders([]); return $this->updateOrganizationTaskExecutorWithOptions($taskId, $userId, $request, $headers, $runtime); } /** * @param string $taskId * @param string $userId * @param UpdateOrganizationTaskInvolveMembersRequest $request * @param UpdateOrganizationTaskInvolveMembersHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateOrganizationTaskInvolveMembersResponse */ public function updateOrganizationTaskInvolveMembersWithOptions($taskId, $userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->addInvolvers)) { $body['addInvolvers'] = $request->addInvolvers; } if (!Utils::isUnset($request->delInvolvers)) { $body['delInvolvers'] = $request->delInvolvers; } if (!Utils::isUnset($request->disableActivity)) { $body['disableActivity'] = $request->disableActivity; } if (!Utils::isUnset($request->disableNotification)) { $body['disableNotification'] = $request->disableNotification; } if (!Utils::isUnset($request->involveMembers)) { $body['involveMembers'] = $request->involveMembers; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateOrganizationTaskInvolveMembers', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/organizations/users/' . $userId . '/tasks/' . $taskId . '/involveMembers', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateOrganizationTaskInvolveMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskId * @param string $userId * @param UpdateOrganizationTaskInvolveMembersRequest $request * * @return UpdateOrganizationTaskInvolveMembersResponse */ public function updateOrganizationTaskInvolveMembers($taskId, $userId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateOrganizationTaskInvolveMembersHeaders([]); return $this->updateOrganizationTaskInvolveMembersWithOptions($taskId, $userId, $request, $headers, $runtime); } /** * @param string $taskId * @param string $userId * @param UpdateOrganizationTaskNoteRequest $request * @param UpdateOrganizationTaskNoteHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateOrganizationTaskNoteResponse */ public function updateOrganizationTaskNoteWithOptions($taskId, $userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->disableActivity)) { $body['disableActivity'] = $request->disableActivity; } if (!Utils::isUnset($request->disableNotification)) { $body['disableNotification'] = $request->disableNotification; } if (!Utils::isUnset($request->note)) { $body['note'] = $request->note; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateOrganizationTaskNote', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/organizations/users/' . $userId . '/tasks/' . $taskId . '/notes', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateOrganizationTaskNoteResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskId * @param string $userId * @param UpdateOrganizationTaskNoteRequest $request * * @return UpdateOrganizationTaskNoteResponse */ public function updateOrganizationTaskNote($taskId, $userId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateOrganizationTaskNoteHeaders([]); return $this->updateOrganizationTaskNoteWithOptions($taskId, $userId, $request, $headers, $runtime); } /** * @param string $taskId * @param string $userId * @param UpdateOrganizationTaskPriorityRequest $request * @param UpdateOrganizationTaskPriorityHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateOrganizationTaskPriorityResponse */ public function updateOrganizationTaskPriorityWithOptions($taskId, $userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->disableActivity)) { $body['disableActivity'] = $request->disableActivity; } if (!Utils::isUnset($request->disableNotification)) { $body['disableNotification'] = $request->disableNotification; } if (!Utils::isUnset($request->priority)) { $body['priority'] = $request->priority; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateOrganizationTaskPriority', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/organizations/users/' . $userId . '/tasks/' . $taskId . '/priorities', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateOrganizationTaskPriorityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskId * @param string $userId * @param UpdateOrganizationTaskPriorityRequest $request * * @return UpdateOrganizationTaskPriorityResponse */ public function updateOrganizationTaskPriority($taskId, $userId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateOrganizationTaskPriorityHeaders([]); return $this->updateOrganizationTaskPriorityWithOptions($taskId, $userId, $request, $headers, $runtime); } /** * @param string $taskId * @param string $userId * @param UpdateOrganizationTaskStatusRequest $request * @param UpdateOrganizationTaskStatusHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateOrganizationTaskStatusResponse */ public function updateOrganizationTaskStatusWithOptions($taskId, $userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->disableActivity)) { $body['disableActivity'] = $request->disableActivity; } if (!Utils::isUnset($request->disableNotification)) { $body['disableNotification'] = $request->disableNotification; } if (!Utils::isUnset($request->isDone)) { $body['isDone'] = $request->isDone; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateOrganizationTaskStatus', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/organizations/users/' . $userId . '/tasks/' . $taskId . '/states', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateOrganizationTaskStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskId * @param string $userId * @param UpdateOrganizationTaskStatusRequest $request * * @return UpdateOrganizationTaskStatusResponse */ public function updateOrganizationTaskStatus($taskId, $userId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateOrganizationTaskStatusHeaders([]); return $this->updateOrganizationTaskStatusWithOptions($taskId, $userId, $request, $headers, $runtime); } /** * @param string $userId * @param string $projectId * @param UpdateProjectGroupRequest $request * @param UpdateProjectGroupHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateProjectGroupResponse */ public function updateProjectGroupWithOptions($userId, $projectId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->addProjectGroupIds)) { $body['addProjectGroupIds'] = $request->addProjectGroupIds; } if (!Utils::isUnset($request->delProjectGroupIds)) { $body['delProjectGroupIds'] = $request->delProjectGroupIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateProjectGroup', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/projects/' . $projectId . '/groups', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateProjectGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $projectId * @param UpdateProjectGroupRequest $request * * @return UpdateProjectGroupResponse */ public function updateProjectGroup($userId, $projectId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateProjectGroupHeaders([]); return $this->updateProjectGroupWithOptions($userId, $projectId, $request, $headers, $runtime); } /** * @param string $userId * @param string $taskId * @param UpdateTaskContentRequest $request * @param UpdateTaskContentHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateTaskContentResponse */ public function updateTaskContentWithOptions($userId, $taskId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateTaskContent', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks/' . $taskId . '/contents', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTaskContentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $taskId * @param UpdateTaskContentRequest $request * * @return UpdateTaskContentResponse */ public function updateTaskContent($userId, $taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTaskContentHeaders([]); return $this->updateTaskContentWithOptions($userId, $taskId, $request, $headers, $runtime); } /** * @param string $userId * @param string $taskId * @param UpdateTaskDueDateRequest $request * @param UpdateTaskDueDateHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateTaskDueDateResponse */ public function updateTaskDueDateWithOptions($userId, $taskId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->dueDate)) { $body['dueDate'] = $request->dueDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateTaskDueDate', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks/' . $taskId . '/dueDates', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTaskDueDateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $taskId * @param UpdateTaskDueDateRequest $request * * @return UpdateTaskDueDateResponse */ public function updateTaskDueDate($userId, $taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTaskDueDateHeaders([]); return $this->updateTaskDueDateWithOptions($userId, $taskId, $request, $headers, $runtime); } /** * @param string $userId * @param string $taskId * @param UpdateTaskExecutorRequest $request * @param UpdateTaskExecutorHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateTaskExecutorResponse */ public function updateTaskExecutorWithOptions($userId, $taskId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->executorId)) { $body['executorId'] = $request->executorId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateTaskExecutor', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks/' . $taskId . '/executors', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTaskExecutorResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $taskId * @param UpdateTaskExecutorRequest $request * * @return UpdateTaskExecutorResponse */ public function updateTaskExecutor($userId, $taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTaskExecutorHeaders([]); return $this->updateTaskExecutorWithOptions($userId, $taskId, $request, $headers, $runtime); } /** * @param string $userId * @param string $taskId * @param UpdateTaskInvolvemembersRequest $request * @param UpdateTaskInvolvemembersHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateTaskInvolvemembersResponse */ public function updateTaskInvolvemembersWithOptions($userId, $taskId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->addInvolvers)) { $body['addInvolvers'] = $request->addInvolvers; } if (!Utils::isUnset($request->delInvolvers)) { $body['delInvolvers'] = $request->delInvolvers; } if (!Utils::isUnset($request->involveMembers)) { $body['involveMembers'] = $request->involveMembers; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateTaskInvolvemembers', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks/' . $taskId . '/involveMembers', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTaskInvolvemembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $taskId * @param UpdateTaskInvolvemembersRequest $request * * @return UpdateTaskInvolvemembersResponse */ public function updateTaskInvolvemembers($userId, $taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTaskInvolvemembersHeaders([]); return $this->updateTaskInvolvemembersWithOptions($userId, $taskId, $request, $headers, $runtime); } /** * @param string $userId * @param string $taskId * @param UpdateTaskNoteRequest $request * @param UpdateTaskNoteHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateTaskNoteResponse */ public function updateTaskNoteWithOptions($userId, $taskId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->note)) { $body['note'] = $request->note; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateTaskNote', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks/' . $taskId . '/notes', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTaskNoteResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $taskId * @param UpdateTaskNoteRequest $request * * @return UpdateTaskNoteResponse */ public function updateTaskNote($userId, $taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTaskNoteHeaders([]); return $this->updateTaskNoteWithOptions($userId, $taskId, $request, $headers, $runtime); } /** * @param string $userId * @param string $taskId * @param UpdateTaskPriorityRequest $request * @param UpdateTaskPriorityHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateTaskPriorityResponse */ public function updateTaskPriorityWithOptions($userId, $taskId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->priority)) { $body['priority'] = $request->priority; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateTaskPriority', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks/' . $taskId . '/priorities', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTaskPriorityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $taskId * @param UpdateTaskPriorityRequest $request * * @return UpdateTaskPriorityResponse */ public function updateTaskPriority($userId, $taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTaskPriorityHeaders([]); return $this->updateTaskPriorityWithOptions($userId, $taskId, $request, $headers, $runtime); } /** * @param string $userId * @param string $taskId * @param UpdateTaskStageRequest $request * @param UpdateTaskStageHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateTaskStageResponse */ public function updateTaskStageWithOptions($userId, $taskId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->taskStageId)) { $body['taskStageId'] = $request->taskStageId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateTaskStage', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks/' . $taskId . '/stages', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTaskStageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $taskId * @param UpdateTaskStageRequest $request * * @return UpdateTaskStageResponse */ public function updateTaskStage($userId, $taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTaskStageHeaders([]); return $this->updateTaskStageWithOptions($userId, $taskId, $request, $headers, $runtime); } /** * @param string $userId * @param string $taskId * @param UpdateTaskStartdateRequest $request * @param UpdateTaskStartdateHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateTaskStartdateResponse */ public function updateTaskStartdateWithOptions($userId, $taskId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->startDate)) { $body['startDate'] = $request->startDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateTaskStartdate', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks/' . $taskId . '/startDates', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTaskStartdateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $taskId * @param UpdateTaskStartdateRequest $request * * @return UpdateTaskStartdateResponse */ public function updateTaskStartdate($userId, $taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTaskStartdateHeaders([]); return $this->updateTaskStartdateWithOptions($userId, $taskId, $request, $headers, $runtime); } /** * @param string $userId * @param string $taskId * @param UpdateTaskTaskflowstatusRequest $request * @param UpdateTaskTaskflowstatusHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateTaskTaskflowstatusResponse */ public function updateTaskTaskflowstatusWithOptions($userId, $taskId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->taskflowStatusId)) { $body['taskflowStatusId'] = $request->taskflowStatusId; } if (!Utils::isUnset($request->taskflowStatusUpdateNote)) { $body['taskflowStatusUpdateNote'] = $request->taskflowStatusUpdateNote; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateTaskTaskflowstatus', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/tasks/' . $taskId . '/taskflowStatuses', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTaskTaskflowstatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $taskId * @param UpdateTaskTaskflowstatusRequest $request * * @return UpdateTaskTaskflowstatusResponse */ public function updateTaskTaskflowstatus($userId, $taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTaskTaskflowstatusHeaders([]); return $this->updateTaskTaskflowstatusWithOptions($userId, $taskId, $request, $headers, $runtime); } /** * @param string $userId * @param string $approveOpenId * @param UpdateWorkTimeApproveRequest $request * @param UpdateWorkTimeApproveHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateWorkTimeApproveResponse */ public function updateWorkTimeApproveWithOptions($userId, $approveOpenId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->finishTime)) { $body['finishTime'] = $request->finishTime; } if (!Utils::isUnset($request->instanceId)) { $body['instanceId'] = $request->instanceId; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } if (!Utils::isUnset($request->submitTime)) { $body['submitTime'] = $request->submitTime; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } 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' => 'UpdateWorkTimeApprove', 'version' => 'project_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/project/users/' . $userId . '/workTimes/approvals/' . $approveOpenId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateWorkTimeApproveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $approveOpenId * @param UpdateWorkTimeApproveRequest $request * * @return UpdateWorkTimeApproveResponse */ public function updateWorkTimeApprove($userId, $approveOpenId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateWorkTimeApproveHeaders([]); return $this->updateWorkTimeApproveWithOptions($userId, $approveOpenId, $request, $headers, $runtime); } } src/project_1_0/Models/AddProjectMemberHeaders.php000064400000002337146412132660016051 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddProjectMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/AddProjectMemberRequest.php000064400000001600146412132660016116 0ustar00 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return AddProjectMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/project_1_0/Models/AddProjectMemberResponse.php000064400000002735146412132660016276 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddProjectMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddProjectMemberResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/AddProjectMemberResponseBody.php000064400000002613146412132660017107 0ustar00 '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 AddProjectMemberResponseBody */ 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/project_1_0/Models/AddProjectMemberResponseBody/result.php000064400000002125146412132660020423 0ustar00 'joined', 'nickname' => 'nickname', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->joined) { $res['joined'] = $this->joined; } if (null !== $this->nickname) { $res['nickname'] = $this->nickname; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['joined'])) { $model->joined = $map['joined']; } if (isset($map['nickname'])) { $model->nickname = $map['nickname']; } return $model; } } src/project_1_0/Models/ArchiveProjectHeaders.php000064400000002333146412132660015606 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ArchiveProjectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/ArchiveProjectResponse.php000064400000002725146412132660016036 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ArchiveProjectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ArchiveProjectResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/ArchiveProjectResponseBody.php000064400000001715146412132660016652 0ustar00 '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 ArchiveProjectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/ArchiveProjectResponseBody/result.php000064400000002271146412132660020166 0ustar00 'isArchived', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isArchived) { $res['isArchived'] = $this->isArchived; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isArchived'])) { $model->isArchived = $map['isArchived']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/ArchiveTaskHeaders.php000064400000002325146412132660015103 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ArchiveTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/ArchiveTaskResponse.php000064400000002711146412132660015325 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ArchiveTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ArchiveTaskResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/ArchiveTaskResponseBody.php000064400000001704146412132660016144 0ustar00 '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 ArchiveTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/ArchiveTaskResponseBody/result.php000064400000001547146412132660017467 0ustar00 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/CreateOrganizationTaskHeaders.php000064400000002353146412132660017313 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateOrganizationTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/CreateOrganizationTaskRequest.php000064400000010046146412132660017366 0ustar00 'content', 'createTime' => 'createTime', 'disableActivity' => 'disableActivity', 'disableNotification' => 'disableNotification', 'dueDate' => 'dueDate', 'executorId' => 'executorId', 'involveMembers' => 'involveMembers', 'note' => 'note', 'priority' => 'priority', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->disableActivity) { $res['disableActivity'] = $this->disableActivity; } if (null !== $this->disableNotification) { $res['disableNotification'] = $this->disableNotification; } if (null !== $this->dueDate) { $res['dueDate'] = $this->dueDate; } if (null !== $this->executorId) { $res['executorId'] = $this->executorId; } if (null !== $this->involveMembers) { $res['involveMembers'] = $this->involveMembers; } if (null !== $this->note) { $res['note'] = $this->note; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return CreateOrganizationTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['disableActivity'])) { $model->disableActivity = $map['disableActivity']; } if (isset($map['disableNotification'])) { $model->disableNotification = $map['disableNotification']; } if (isset($map['dueDate'])) { $model->dueDate = $map['dueDate']; } if (isset($map['executorId'])) { $model->executorId = $map['executorId']; } if (isset($map['involveMembers'])) { if (!empty($map['involveMembers'])) { $model->involveMembers = $map['involveMembers']; } } if (isset($map['note'])) { $model->note = $map['note']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['visible'])) { $model->visible = $map['visible']; } return $model; } } src/project_1_0/Models/CreateOrganizationTaskResponse.php000064400000002765146412132660017545 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateOrganizationTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateOrganizationTaskResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/CreateOrganizationTaskResponseBody.php000064400000001745146412132660020360 0ustar00 '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 CreateOrganizationTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/CreateOrganizationTaskResponseBody/result.php000064400000017227146412132660021700 0ustar00 'ancestorIds', 'attachmentsCount' => 'attachmentsCount', 'content' => 'content', 'created' => 'created', 'creator' => 'creator', 'creatorId' => 'creatorId', 'dueDate' => 'dueDate', 'executor' => 'executor', 'executorId' => 'executorId', 'hasReminder' => 'hasReminder', 'id' => 'id', 'involveMembers' => 'involveMembers', 'involvers' => 'involvers', 'isDeleted' => 'isDeleted', 'isDone' => 'isDone', 'note' => 'note', 'priority' => 'priority', 'updated' => 'updated', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ancestorIds) { $res['ancestorIds'] = $this->ancestorIds; } if (null !== $this->attachmentsCount) { $res['attachmentsCount'] = $this->attachmentsCount; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creator) { $res['creator'] = null !== $this->creator ? $this->creator->toMap() : null; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->dueDate) { $res['dueDate'] = $this->dueDate; } if (null !== $this->executor) { $res['executor'] = null !== $this->executor ? $this->executor->toMap() : null; } if (null !== $this->executorId) { $res['executorId'] = $this->executorId; } if (null !== $this->hasReminder) { $res['hasReminder'] = $this->hasReminder; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->involveMembers) { $res['involveMembers'] = $this->involveMembers; } if (null !== $this->involvers) { $res['involvers'] = []; if (null !== $this->involvers && \is_array($this->involvers)) { $n = 0; foreach ($this->involvers as $item) { $res['involvers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->note) { $res['note'] = $this->note; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->updated) { $res['updated'] = $this->updated; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ancestorIds'])) { if (!empty($map['ancestorIds'])) { $model->ancestorIds = $map['ancestorIds']; } } if (isset($map['attachmentsCount'])) { $model->attachmentsCount = $map['attachmentsCount']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creator'])) { $model->creator = creator::fromMap($map['creator']); } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['dueDate'])) { $model->dueDate = $map['dueDate']; } if (isset($map['executor'])) { $model->executor = executor::fromMap($map['executor']); } if (isset($map['executorId'])) { $model->executorId = $map['executorId']; } if (isset($map['hasReminder'])) { $model->hasReminder = $map['hasReminder']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['involveMembers'])) { if (!empty($map['involveMembers'])) { $model->involveMembers = $map['involveMembers']; } } if (isset($map['involvers'])) { if (!empty($map['involvers'])) { $model->involvers = []; $n = 0; foreach ($map['involvers'] as $item) { $model->involvers[$n++] = null !== $item ? involvers::fromMap($item) : $item; } } } if (isset($map['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['note'])) { $model->note = $map['note']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } if (isset($map['visible'])) { $model->visible = $map['visible']; } return $model; } } src/project_1_0/Models/CreateOrganizationTaskResponseBody/result/creator.php000064400000002726146412132660023335 0ustar00 '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 creator */ 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/project_1_0/Models/CreateOrganizationTaskResponseBody/result/executor.php000064400000002730146412132660023527 0ustar00 '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 executor */ 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/project_1_0/Models/CreateOrganizationTaskResponseBody/result/involvers.php000064400000002663146412132660023725 0ustar00 'avatarUrl', 'id' => 'id', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarUrl) { $res['avatarUrl'] = $this->avatarUrl; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return involvers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarUrl'])) { $model->avatarUrl = $map['avatarUrl']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/project_1_0/Models/CreatePlanTimeHeaders.php000064400000002333146412132660015533 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreatePlanTimeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/CreatePlanTimeRequest.php000064400000007526146412132660015621 0ustar00 'endDate', 'executorId' => 'executorId', 'includesHolidays' => 'includesHolidays', 'isDuration' => 'isDuration', 'objectId' => 'objectId', 'objectType' => 'objectType', 'planTime' => 'planTime', 'startDate' => 'startDate', 'submitterId' => 'submitterId', 'tenantType' => 'tenantType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->executorId) { $res['executorId'] = $this->executorId; } if (null !== $this->includesHolidays) { $res['includesHolidays'] = $this->includesHolidays; } if (null !== $this->isDuration) { $res['isDuration'] = $this->isDuration; } if (null !== $this->objectId) { $res['objectId'] = $this->objectId; } if (null !== $this->objectType) { $res['objectType'] = $this->objectType; } if (null !== $this->planTime) { $res['planTime'] = $this->planTime; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->submitterId) { $res['submitterId'] = $this->submitterId; } if (null !== $this->tenantType) { $res['tenantType'] = $this->tenantType; } return $res; } /** * @param array $map * * @return CreatePlanTimeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['executorId'])) { $model->executorId = $map['executorId']; } if (isset($map['includesHolidays'])) { $model->includesHolidays = $map['includesHolidays']; } if (isset($map['isDuration'])) { $model->isDuration = $map['isDuration']; } if (isset($map['objectId'])) { $model->objectId = $map['objectId']; } if (isset($map['objectType'])) { $model->objectType = $map['objectType']; } if (isset($map['planTime'])) { $model->planTime = $map['planTime']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['submitterId'])) { $model->submitterId = $map['submitterId']; } if (isset($map['tenantType'])) { $model->tenantType = $map['tenantType']; } return $model; } } src/project_1_0/Models/CreatePlanTimeResponse.php000064400000002725146412132660015763 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreatePlanTimeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreatePlanTimeResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/CreatePlanTimeResponseBody.php000064400000001715146412132660016577 0ustar00 '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 CreatePlanTimeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/CreatePlanTimeResponseBody/result.php000064400000003614146412132660020115 0ustar00 'body', 'message' => 'message', 'ok' => 'ok', ]; 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; } } } if (null !== $this->message) { $res['message'] = $this->message; } if (null !== $this->ok) { $res['ok'] = $this->ok; } return $res; } /** * @param array $map * * @return result */ 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; } } } if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['ok'])) { $model->ok = $map['ok']; } return $model; } } src/project_1_0/Models/CreatePlanTimeResponseBody/result/body.php000064400000002741146412132660021052 0ustar00 'date', 'objectId' => 'objectId', 'planTime' => 'planTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->objectId) { $res['objectId'] = $this->objectId; } if (null !== $this->planTime) { $res['planTime'] = $this->planTime; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['objectId'])) { $model->objectId = $map['objectId']; } if (isset($map['planTime'])) { $model->planTime = $map['planTime']; } return $model; } } src/project_1_0/Models/CreateProjectByTemplateHeaders.php000064400000002355146412132660017423 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateProjectByTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/CreateProjectByTemplateRequest.php000064400000002265146412132660017500 0ustar00 'name', 'templateId' => 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return CreateProjectByTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/project_1_0/Models/CreateProjectByTemplateResponse.php000064400000002771146412132660017650 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateProjectByTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateProjectByTemplateResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/CreateProjectByTemplateResponseBody.php000064400000001750146412132660020462 0ustar00 '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 CreateProjectByTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/CreateProjectByTemplateResponseBody/result.php000064400000003334146412132660022000 0ustar00 'created', 'id' => 'id', 'logo' => 'logo', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->logo) { $res['logo'] = $this->logo; } 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['created'])) { $model->created = $map['created']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['logo'])) { $model->logo = $map['logo']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/project_1_0/Models/CreateProjectCustomfieldStatusHeaders.php000064400000002373146412132660021037 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateProjectCustomfieldStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/CreateProjectCustomfieldStatusRequest.php000064400000005167146412132660021120 0ustar00 'customFieldId', 'customFieldInstanceId' => 'customFieldInstanceId', 'customFieldName' => 'customFieldName', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFieldId) { $res['customFieldId'] = $this->customFieldId; } if (null !== $this->customFieldInstanceId) { $res['customFieldInstanceId'] = $this->customFieldInstanceId; } if (null !== $this->customFieldName) { $res['customFieldName'] = $this->customFieldName; } if (null !== $this->value) { $res['value'] = []; if (null !== $this->value && \is_array($this->value)) { $n = 0; foreach ($this->value as $item) { $res['value'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CreateProjectCustomfieldStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFieldId'])) { $model->customFieldId = $map['customFieldId']; } if (isset($map['customFieldInstanceId'])) { $model->customFieldInstanceId = $map['customFieldInstanceId']; } if (isset($map['customFieldName'])) { $model->customFieldName = $map['customFieldName']; } if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = []; $n = 0; foreach ($map['value'] as $item) { $model->value[$n++] = null !== $item ? value::fromMap($item) : $item; } } } return $model; } } src/project_1_0/Models/CreateProjectCustomfieldStatusRequest/value.php000064400000003135146412132660022225 0ustar00 'customFieldValueId', 'metaString' => 'metaString', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFieldValueId) { $res['customFieldValueId'] = $this->customFieldValueId; } if (null !== $this->metaString) { $res['metaString'] = $this->metaString; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return value */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFieldValueId'])) { $model->customFieldValueId = $map['customFieldValueId']; } if (isset($map['metaString'])) { $model->metaString = $map['metaString']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/project_1_0/Models/CreateProjectCustomfieldStatusResponse.php000064400000003025146412132660021255 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateProjectCustomfieldStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateProjectCustomfieldStatusResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/CreateProjectCustomfieldStatusResponseBody.php000064400000001775146412132660022105 0ustar00 '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 CreateProjectCustomfieldStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/CreateProjectCustomfieldStatusResponseBody/result.php000064400000006417146412132660023421 0ustar00 'advancedCustomFieldObjectType', 'customFieldId' => 'customFieldId', 'name' => 'name', 'originalId' => 'originalId', 'type' => 'type', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->advancedCustomFieldObjectType) { $res['advancedCustomFieldObjectType'] = $this->advancedCustomFieldObjectType; } if (null !== $this->customFieldId) { $res['customFieldId'] = $this->customFieldId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->originalId) { $res['originalId'] = $this->originalId; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->value) { $res['value'] = []; if (null !== $this->value && \is_array($this->value)) { $n = 0; foreach ($this->value as $item) { $res['value'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['advancedCustomFieldObjectType'])) { $model->advancedCustomFieldObjectType = $map['advancedCustomFieldObjectType']; } if (isset($map['customFieldId'])) { $model->customFieldId = $map['customFieldId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['originalId'])) { $model->originalId = $map['originalId']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = []; $n = 0; foreach ($map['value'] as $item) { $model->value[$n++] = null !== $item ? value::fromMap($item) : $item; } } } return $model; } } src/project_1_0/Models/CreateProjectCustomfieldStatusResponseBody/result/value.php000064400000003110146412132660024520 0ustar00 'customFieldValueId', 'metaString' => 'metaString', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFieldValueId) { $res['customFieldValueId'] = $this->customFieldValueId; } if (null !== $this->metaString) { $res['metaString'] = $this->metaString; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return value */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFieldValueId'])) { $model->customFieldValueId = $map['customFieldValueId']; } if (isset($map['metaString'])) { $model->metaString = $map['metaString']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/project_1_0/Models/CreateProjectHeaders.php000064400000002331146412132660015426 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateProjectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/CreateProjectRequest.php000064400000001477146412132660015515 0ustar00 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return CreateProjectRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/project_1_0/Models/CreateProjectResponse.php000064400000002721146412132660015654 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateProjectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateProjectResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/CreateProjectResponseBody.php000064400000001712146412132660016471 0ustar00 '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 CreateProjectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/CreateProjectResponseBody/result.php000064400000015227146412132660020015 0ustar00 'created', 'creatorId' => 'creatorId', 'customFields' => 'customFields', 'defaultCollectionId' => 'defaultCollectionId', 'isArchived' => 'isArchived', 'isSuspended' => 'isSuspended', 'isTemplate' => 'isTemplate', 'logo' => 'logo', 'name' => 'name', 'normalType' => 'normalType', 'projectId' => 'projectId', 'rootCollectionId' => 'rootCollectionId', 'sourceId' => 'sourceId', 'uniqueIdPrefix' => 'uniqueIdPrefix', 'updated' => 'updated', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->customFields) { $res['customFields'] = []; if (null !== $this->customFields && \is_array($this->customFields)) { $n = 0; foreach ($this->customFields as $item) { $res['customFields'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->defaultCollectionId) { $res['defaultCollectionId'] = $this->defaultCollectionId; } if (null !== $this->isArchived) { $res['isArchived'] = $this->isArchived; } if (null !== $this->isSuspended) { $res['isSuspended'] = $this->isSuspended; } if (null !== $this->isTemplate) { $res['isTemplate'] = $this->isTemplate; } if (null !== $this->logo) { $res['logo'] = $this->logo; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->normalType) { $res['normalType'] = $this->normalType; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->rootCollectionId) { $res['rootCollectionId'] = $this->rootCollectionId; } if (null !== $this->sourceId) { $res['sourceId'] = $this->sourceId; } if (null !== $this->uniqueIdPrefix) { $res['uniqueIdPrefix'] = $this->uniqueIdPrefix; } if (null !== $this->updated) { $res['updated'] = $this->updated; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['customFields'])) { if (!empty($map['customFields'])) { $model->customFields = []; $n = 0; foreach ($map['customFields'] as $item) { $model->customFields[$n++] = null !== $item ? customFields::fromMap($item) : $item; } } } if (isset($map['defaultCollectionId'])) { $model->defaultCollectionId = $map['defaultCollectionId']; } if (isset($map['isArchived'])) { $model->isArchived = $map['isArchived']; } if (isset($map['isSuspended'])) { $model->isSuspended = $map['isSuspended']; } if (isset($map['isTemplate'])) { $model->isTemplate = $map['isTemplate']; } if (isset($map['logo'])) { $model->logo = $map['logo']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['normalType'])) { $model->normalType = $map['normalType']; } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['rootCollectionId'])) { $model->rootCollectionId = $map['rootCollectionId']; } if (isset($map['sourceId'])) { $model->sourceId = $map['sourceId']; } if (isset($map['uniqueIdPrefix'])) { $model->uniqueIdPrefix = $map['uniqueIdPrefix']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/project_1_0/Models/CreateProjectResponseBody/result/customFields.php000064400000003745146412132660022460 0ustar00 'customFieldId', 'type' => 'type', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFieldId) { $res['customFieldId'] = $this->customFieldId; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->value) { $res['value'] = []; if (null !== $this->value && \is_array($this->value)) { $n = 0; foreach ($this->value as $item) { $res['value'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return customFields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFieldId'])) { $model->customFieldId = $map['customFieldId']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = []; $n = 0; foreach ($map['value'] as $item) { $model->value[$n++] = null !== $item ? value::fromMap($item) : $item; } } } return $model; } } src/project_1_0/Models/CreateProjectResponseBody/result/customFields/value.php000064400000002772146412132660023573 0ustar00 'customFieldValueId', 'metaString' => 'metaString', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFieldValueId) { $res['customFieldValueId'] = $this->customFieldValueId; } if (null !== $this->metaString) { $res['metaString'] = $this->metaString; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return value */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFieldValueId'])) { $model->customFieldValueId = $map['customFieldValueId']; } if (isset($map['metaString'])) { $model->metaString = $map['metaString']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/project_1_0/Models/CreateTaskHeaders.php000064400000002323146412132660014723 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/CreateTaskObjectLinkHeaders.php000064400000002347146412132660016676 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateTaskObjectLinkHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/CreateTaskObjectLinkRequest.php000064400000002004146412132660016741 0ustar00 'linkedData', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->linkedData) { $res['linkedData'] = null !== $this->linkedData ? $this->linkedData->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTaskObjectLinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['linkedData'])) { $model->linkedData = linkedData::fromMap($map['linkedData']); } return $model; } } src/project_1_0/Models/CreateTaskObjectLinkRequest/linkedData.php000064400000003463146412132660021013 0ustar00 'content', 'thumbnailUrl' => 'thumbnailUrl', 'title' => 'title', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->thumbnailUrl) { $res['thumbnailUrl'] = $this->thumbnailUrl; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return linkedData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['thumbnailUrl'])) { $model->thumbnailUrl = $map['thumbnailUrl']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/project_1_0/Models/CreateTaskObjectLinkResponse.php000064400000002755146412132660017124 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTaskObjectLinkResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateTaskObjectLinkResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/CreateTaskObjectLinkResponseBody.php000064400000001737146412132660017741 0ustar00 '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 CreateTaskObjectLinkResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/CreateTaskObjectLinkResponseBody/result.php000064400000002325146412132660021251 0ustar00 'created', 'objectLinkId' => 'objectLinkId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->objectLinkId) { $res['objectLinkId'] = $this->objectLinkId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['objectLinkId'])) { $model->objectLinkId = $map['objectLinkId']; } return $model; } } src/project_1_0/Models/CreateTaskRequest.php000064400000012350146412132660015001 0ustar00 'content', 'customfields' => 'customfields', 'dueDate' => 'dueDate', 'executorId' => 'executorId', 'note' => 'note', 'parentTaskId' => 'parentTaskId', 'priority' => 'priority', 'projectId' => 'projectId', 'scenariofieldconfigId' => 'scenariofieldconfigId', 'stageId' => 'stageId', 'startDate' => 'startDate', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->customfields) { $res['customfields'] = []; if (null !== $this->customfields && \is_array($this->customfields)) { $n = 0; foreach ($this->customfields as $item) { $res['customfields'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->dueDate) { $res['dueDate'] = $this->dueDate; } if (null !== $this->executorId) { $res['executorId'] = $this->executorId; } if (null !== $this->note) { $res['note'] = $this->note; } if (null !== $this->parentTaskId) { $res['parentTaskId'] = $this->parentTaskId; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->scenariofieldconfigId) { $res['scenariofieldconfigId'] = $this->scenariofieldconfigId; } if (null !== $this->stageId) { $res['stageId'] = $this->stageId; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return CreateTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['customfields'])) { if (!empty($map['customfields'])) { $model->customfields = []; $n = 0; foreach ($map['customfields'] as $item) { $model->customfields[$n++] = null !== $item ? customfields::fromMap($item) : $item; } } } if (isset($map['dueDate'])) { $model->dueDate = $map['dueDate']; } if (isset($map['executorId'])) { $model->executorId = $map['executorId']; } if (isset($map['note'])) { $model->note = $map['note']; } if (isset($map['parentTaskId'])) { $model->parentTaskId = $map['parentTaskId']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['scenariofieldconfigId'])) { $model->scenariofieldconfigId = $map['scenariofieldconfigId']; } if (isset($map['stageId'])) { $model->stageId = $map['stageId']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['visible'])) { $model->visible = $map['visible']; } return $model; } } src/project_1_0/Models/CreateTaskRequest/customfields.php000064400000004170146412132660017503 0ustar00 'customfieldId', 'customfieldName' => 'customfieldName', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customfieldId) { $res['customfieldId'] = $this->customfieldId; } if (null !== $this->customfieldName) { $res['customfieldName'] = $this->customfieldName; } if (null !== $this->value) { $res['value'] = []; if (null !== $this->value && \is_array($this->value)) { $n = 0; foreach ($this->value as $item) { $res['value'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return customfields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customfieldId'])) { $model->customfieldId = $map['customfieldId']; } if (isset($map['customfieldName'])) { $model->customfieldName = $map['customfieldName']; } if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = []; $n = 0; foreach ($map['value'] as $item) { $model->value[$n++] = null !== $item ? value::fromMap($item) : $item; } } } return $model; } } src/project_1_0/Models/CreateTaskRequest/customfields/value.php000064400000001540146412132660020615 0ustar00 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return value */ public static function fromMap($map = []) { $model = new self(); if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/project_1_0/Models/CreateTaskResponse.php000064400000002705146412132660015152 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateTaskResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/CreateTaskResponseBody.php000064400000001701146412132660015763 0ustar00 '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 CreateTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/CreateTaskResponseBody/result.php000064400000012132146412132660017301 0ustar00 'content', 'created' => 'created', 'creatorId' => 'creatorId', 'customfields' => 'customfields', 'dueDate' => 'dueDate', 'executorId' => 'executorId', 'involveMembers' => 'involveMembers', 'note' => 'note', 'priority' => 'priority', 'projectId' => 'projectId', 'taskId' => 'taskId', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->customfields) { $res['customfields'] = []; if (null !== $this->customfields && \is_array($this->customfields)) { $n = 0; foreach ($this->customfields as $item) { $res['customfields'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->dueDate) { $res['dueDate'] = $this->dueDate; } if (null !== $this->executorId) { $res['executorId'] = $this->executorId; } if (null !== $this->involveMembers) { $res['involveMembers'] = $this->involveMembers; } if (null !== $this->note) { $res['note'] = $this->note; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['customfields'])) { if (!empty($map['customfields'])) { $model->customfields = []; $n = 0; foreach ($map['customfields'] as $item) { $model->customfields[$n++] = null !== $item ? customfields::fromMap($item) : $item; } } } if (isset($map['dueDate'])) { $model->dueDate = $map['dueDate']; } if (isset($map['executorId'])) { $model->executorId = $map['executorId']; } if (isset($map['involveMembers'])) { if (!empty($map['involveMembers'])) { $model->involveMembers = $map['involveMembers']; } } if (isset($map['note'])) { $model->note = $map['note']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/CreateTaskResponseBody/result/customfields.php000064400000003377146412132660022015 0ustar00 'customfieldId', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customfieldId) { $res['customfieldId'] = $this->customfieldId; } if (null !== $this->value) { $res['value'] = []; if (null !== $this->value && \is_array($this->value)) { $n = 0; foreach ($this->value as $item) { $res['value'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return customfields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customfieldId'])) { $model->customfieldId = $map['customfieldId']; } if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = []; $n = 0; foreach ($map['value'] as $item) { $model->value[$n++] = null !== $item ? value::fromMap($item) : $item; } } } return $model; } } src/project_1_0/Models/CreateTaskResponseBody/result/customfields/value.php000064400000001554146412132660023124 0ustar00 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return value */ public static function fromMap($map = []) { $model = new self(); if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/project_1_0/Models/CreateWorkTimeApproveHeaders.php000064400000002351146412132660017120 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateWorkTimeApproveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/CreateWorkTimeApproveRequest.php000064400000001662146412132660017201 0ustar00 'workTimeIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->workTimeIds) { $res['workTimeIds'] = $this->workTimeIds; } return $res; } /** * @param array $map * * @return CreateWorkTimeApproveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['workTimeIds'])) { if (!empty($map['workTimeIds'])) { $model->workTimeIds = $map['workTimeIds']; } } return $model; } } src/project_1_0/Models/CreateWorkTimeApproveResponse.php000064400000002761146412132660017350 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateWorkTimeApproveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateWorkTimeApproveResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/CreateWorkTimeApproveResponseBody.php000064400000003147146412132660020165 0ustar00 'message', 'requestId' => 'requestId', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->message) { $res['message'] = $this->message; } 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 CreateWorkTimeApproveResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/CreateWorkTimeApproveResponseBody/result.php000064400000007631146412132660021505 0ustar00 'approveOpenId', 'createdAt' => 'createdAt', 'creatorId' => 'creatorId', 'organizationId' => 'organizationId', 'status' => 'status', 'taskId' => 'taskId', 'time' => 'time', 'updatedAt' => 'updatedAt', 'userId' => 'userId', 'workTimeIds' => 'workTimeIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approveOpenId) { $res['approveOpenId'] = $this->approveOpenId; } if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->organizationId) { $res['organizationId'] = $this->organizationId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->time) { $res['time'] = $this->time; } if (null !== $this->updatedAt) { $res['updatedAt'] = $this->updatedAt; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->workTimeIds) { $res['workTimeIds'] = $this->workTimeIds; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approveOpenId'])) { $model->approveOpenId = $map['approveOpenId']; } if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['organizationId'])) { $model->organizationId = $map['organizationId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['time'])) { $model->time = $map['time']; } if (isset($map['updatedAt'])) { $model->updatedAt = $map['updatedAt']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['workTimeIds'])) { if (!empty($map['workTimeIds'])) { $model->workTimeIds = $map['workTimeIds']; } } return $model; } } src/project_1_0/Models/CreateWorkTimeHeaders.php000064400000002333146412132660015563 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateWorkTimeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/CreateWorkTimeRequest.php000064400000010167146412132660015644 0ustar00 'description', 'endDate' => 'endDate', 'executorId' => 'executorId', 'includesHolidays' => 'includesHolidays', 'isDuration' => 'isDuration', 'objectId' => 'objectId', 'objectType' => 'objectType', 'startDate' => 'startDate', 'submitterId' => 'submitterId', 'workTime' => 'workTime', 'tenantType' => 'tenantType', ]; 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->executorId) { $res['executorId'] = $this->executorId; } if (null !== $this->includesHolidays) { $res['includesHolidays'] = $this->includesHolidays; } if (null !== $this->isDuration) { $res['isDuration'] = $this->isDuration; } if (null !== $this->objectId) { $res['objectId'] = $this->objectId; } if (null !== $this->objectType) { $res['objectType'] = $this->objectType; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->submitterId) { $res['submitterId'] = $this->submitterId; } if (null !== $this->workTime) { $res['workTime'] = $this->workTime; } if (null !== $this->tenantType) { $res['tenantType'] = $this->tenantType; } return $res; } /** * @param array $map * * @return CreateWorkTimeRequest */ 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['executorId'])) { $model->executorId = $map['executorId']; } if (isset($map['includesHolidays'])) { $model->includesHolidays = $map['includesHolidays']; } if (isset($map['isDuration'])) { $model->isDuration = $map['isDuration']; } if (isset($map['objectId'])) { $model->objectId = $map['objectId']; } if (isset($map['objectType'])) { $model->objectType = $map['objectType']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['submitterId'])) { $model->submitterId = $map['submitterId']; } if (isset($map['workTime'])) { $model->workTime = $map['workTime']; } if (isset($map['tenantType'])) { $model->tenantType = $map['tenantType']; } return $model; } } src/project_1_0/Models/CreateWorkTimeResponse.php000064400000002725146412132660016013 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateWorkTimeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateWorkTimeResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/CreateWorkTimeResponseBody.php000064400000001715146412132660016627 0ustar00 '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 CreateWorkTimeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/CreateWorkTimeResponseBody/result.php000064400000003606146412132660020146 0ustar00 'body', 'message' => 'message', 'ok' => 'ok', ]; 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; } } } if (null !== $this->message) { $res['message'] = $this->message; } if (null !== $this->ok) { $res['ok'] = $this->ok; } return $res; } /** * @param array $map * * @return result */ 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; } } } if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['ok'])) { $model->ok = $map['ok']; } return $model; } } src/project_1_0/Models/CreateWorkTimeResponseBody/result/body.php000064400000002722146412132660021101 0ustar00 'date', 'taskId' => 'taskId', 'workTime' => 'workTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->workTime) { $res['workTime'] = $this->workTime; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['workTime'])) { $model->workTime = $map['workTime']; } return $model; } } src/project_1_0/Models/DeleteProjectMemberHeaders.php000064400000002345146412132660016562 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteProjectMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/DeleteProjectMemberRequest.php000064400000001606146412132660016636 0ustar00 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return DeleteProjectMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/project_1_0/Models/DeleteProjectMemberResponse.php000064400000002751146412132660017006 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteProjectMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteProjectMemberResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/DeleteProjectMemberResponseBody.php000064400000001606146412132660017622 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteProjectMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = $map['result']; } } return $model; } } src/project_1_0/Models/DeleteTaskHeaders.php000064400000002323146412132660014722 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/DeleteTaskResponse.php000064400000002705146412132660015151 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteTaskResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/DeleteTaskResponseBody.php000064400000001470146412132660015765 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/project_1_0/Models/GetDeptsByOrgIdHeaders.php000064400000003633146412132660015641 0ustar00 'dingAccessTokenType', 'dingOrgId' => 'dingOrgId', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->dingAccessTokenType) { $res['dingAccessTokenType'] = $this->dingAccessTokenType; } if (null !== $this->dingOrgId) { $res['dingOrgId'] = $this->dingOrgId; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDeptsByOrgIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['dingAccessTokenType'])) { $model->dingAccessTokenType = $map['dingAccessTokenType']; } if (isset($map['dingOrgId'])) { $model->dingOrgId = $map['dingOrgId']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/GetDeptsByOrgIdRequest.php000064400000002176146412132660015717 0ustar00 '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 GetDeptsByOrgIdRequest */ 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/project_1_0/Models/GetDeptsByOrgIdResponse.php000064400000002731146412132660016062 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDeptsByOrgIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDeptsByOrgIdResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/GetDeptsByOrgIdResponseBody.php000064400000004434146412132660016702 0ustar00 'deptList', 'hasMore' => 'hasMore', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptList) { $res['deptList'] = []; if (null !== $this->deptList && \is_array($this->deptList)) { $n = 0; foreach ($this->deptList as $item) { $res['deptList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetDeptsByOrgIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptList'])) { if (!empty($map['deptList'])) { $model->deptList = []; $n = 0; foreach ($map['deptList'] as $item) { $model->deptList[$n++] = null !== $item ? deptList::fromMap($item) : $item; } } } if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/project_1_0/Models/GetDeptsByOrgIdResponseBody/deptList.php000064400000002532146412132660020467 0ustar00 'dept_id', 'name' => 'name', 'parentId' => 'parent_id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['dept_id'] = $this->deptId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentId) { $res['parent_id'] = $this->parentId; } return $res; } /** * @param array $map * * @return deptList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dept_id'])) { $model->deptId = $map['dept_id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parent_id'])) { $model->parentId = $map['parent_id']; } return $model; } } src/project_1_0/Models/GetEmpsByOrgIdHeaders.php000064400000003631146412132660015464 0ustar00 'dingAccessTokenType', 'dingOrgId' => 'dingOrgId', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->dingAccessTokenType) { $res['dingAccessTokenType'] = $this->dingAccessTokenType; } if (null !== $this->dingOrgId) { $res['dingOrgId'] = $this->dingOrgId; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetEmpsByOrgIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['dingAccessTokenType'])) { $model->dingAccessTokenType = $map['dingAccessTokenType']; } if (isset($map['dingOrgId'])) { $model->dingOrgId = $map['dingOrgId']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/GetEmpsByOrgIdRequest.php000064400000002634146412132660015543 0ustar00 'maxResults', 'needDept' => 'needDept', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->needDept) { $res['needDept'] = $this->needDept; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetEmpsByOrgIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['needDept'])) { $model->needDept = $map['needDept']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/project_1_0/Models/GetEmpsByOrgIdResponse.php000064400000002725146412132660015712 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetEmpsByOrgIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetEmpsByOrgIdResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/GetEmpsByOrgIdResponseBody.php000064400000003726146412132660016532 0ustar00 'empList', 'hasMore' => 'hasMore', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->empList) { $res['empList'] = []; if (null !== $this->empList && \is_array($this->empList)) { $n = 0; foreach ($this->empList as $item) { $res['empList'][$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 GetEmpsByOrgIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['empList'])) { if (!empty($map['empList'])) { $model->empList = []; $n = 0; foreach ($map['empList'] as $item) { $model->empList[$n++] = null !== $item ? empList::fromMap($item) : $item; } } } if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/project_1_0/Models/GetEmpsByOrgIdResponseBody/empList.php000064400000006035146412132660020143 0ustar00 'avatar', 'deptIdList' => 'dept_id_list', 'dingId' => 'dingId', 'name' => 'name', 'nick' => 'nick', 'orgId' => 'orgId', 'position' => 'position', 'unionid' => 'unionid', 'userid' => 'userid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatar) { $res['avatar'] = $this->avatar; } if (null !== $this->deptIdList) { $res['dept_id_list'] = $this->deptIdList; } if (null !== $this->dingId) { $res['dingId'] = $this->dingId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->orgId) { $res['orgId'] = $this->orgId; } if (null !== $this->position) { $res['position'] = $this->position; } if (null !== $this->unionid) { $res['unionid'] = $this->unionid; } if (null !== $this->userid) { $res['userid'] = $this->userid; } return $res; } /** * @param array $map * * @return empList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatar'])) { $model->avatar = $map['avatar']; } if (isset($map['dept_id_list'])) { if (!empty($map['dept_id_list'])) { $model->deptIdList = $map['dept_id_list']; } } if (isset($map['dingId'])) { $model->dingId = $map['dingId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['orgId'])) { $model->orgId = $map['orgId']; } if (isset($map['position'])) { $model->position = $map['position']; } if (isset($map['unionid'])) { $model->unionid = $map['unionid']; } if (isset($map['userid'])) { $model->userid = $map['userid']; } return $model; } } src/project_1_0/Models/GetOrganizatioTaskByIdsHeaders.php000064400000002355146412132660017406 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOrganizatioTaskByIdsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/GetOrganizatioTaskByIdsRequest.php000064400000001626146412132660017463 0ustar00 'taskIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskIds) { $res['taskIds'] = $this->taskIds; } return $res; } /** * @param array $map * * @return GetOrganizatioTaskByIdsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskIds'])) { $model->taskIds = $map['taskIds']; } return $model; } } src/project_1_0/Models/GetOrganizatioTaskByIdsResponse.php000064400000002771146412132660017633 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOrganizatioTaskByIdsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOrganizatioTaskByIdsResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/GetOrganizatioTaskByIdsResponseBody.php000064400000002640146412132660020444 0ustar00 '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 GetOrganizatioTaskByIdsResponseBody */ 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/project_1_0/Models/GetOrganizatioTaskByIdsResponseBody/result.php000064400000013502146412132660021761 0ustar00 'ancestorIds', 'content' => 'content', 'created' => 'created', 'creatorId' => 'creatorId', 'dueDate' => 'dueDate', 'executorId' => 'executorId', 'involveMembers' => 'involveMembers', 'isDeleted' => 'isDeleted', 'isDone' => 'isDone', 'labels' => 'labels', 'note' => 'note', 'priority' => 'priority', 'startDate' => 'startDate', 'taskId' => 'taskId', 'updated' => 'updated', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ancestorIds) { $res['ancestorIds'] = $this->ancestorIds; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->dueDate) { $res['dueDate'] = $this->dueDate; } if (null !== $this->executorId) { $res['executorId'] = $this->executorId; } if (null !== $this->involveMembers) { $res['involveMembers'] = $this->involveMembers; } if (null !== $this->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->labels) { $res['labels'] = $this->labels; } if (null !== $this->note) { $res['note'] = $this->note; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->updated) { $res['updated'] = $this->updated; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ancestorIds'])) { if (!empty($map['ancestorIds'])) { $model->ancestorIds = $map['ancestorIds']; } } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['dueDate'])) { $model->dueDate = $map['dueDate']; } if (isset($map['executorId'])) { $model->executorId = $map['executorId']; } if (isset($map['involveMembers'])) { if (!empty($map['involveMembers'])) { $model->involveMembers = $map['involveMembers']; } } if (isset($map['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['labels'])) { if (!empty($map['labels'])) { $model->labels = $map['labels']; } } if (isset($map['note'])) { $model->note = $map['note']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } if (isset($map['visible'])) { $model->visible = $map['visible']; } return $model; } } src/project_1_0/Models/GetOrganizationPriorityListHeaders.php000064400000002365146412132660020405 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOrganizationPriorityListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/GetOrganizationPriorityListResponse.php000064400000003011146412132660020615 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOrganizationPriorityListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOrganizationPriorityListResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/GetOrganizationPriorityListResponseBody.php000064400000002654146412132660021447 0ustar00 '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 GetOrganizationPriorityListResponseBody */ 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/project_1_0/Models/GetOrganizationPriorityListResponseBody/result.php000064400000003417146412132660022763 0ustar00 'color', 'name' => 'name', 'priority' => 'priority', 'priorityId' => 'priorityId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->color) { $res['color'] = $this->color; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->priorityId) { $res['priorityId'] = $this->priorityId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['color'])) { $model->color = $map['color']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['priorityId'])) { $model->priorityId = $map['priorityId']; } return $model; } } src/project_1_0/Models/GetOrganizationTaskHeaders.php000064400000002345146412132660016630 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOrganizationTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/GetOrganizationTaskResponse.php000064400000002751146412132660017054 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOrganizationTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOrganizationTaskResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/GetOrganizationTaskResponseBody.php000064400000001734146412132660017672 0ustar00 '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 GetOrganizationTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/GetOrganizationTaskResponseBody/result.php000064400000013477146412132660021217 0ustar00 'ancestorIds', 'content' => 'content', 'created' => 'created', 'creatorId' => 'creatorId', 'dueDate' => 'dueDate', 'executorId' => 'executorId', 'involveMembers' => 'involveMembers', 'isDeleted' => 'isDeleted', 'isDone' => 'isDone', 'labels' => 'labels', 'note' => 'note', 'priority' => 'priority', 'startDate' => 'startDate', 'taskId' => 'taskId', 'updated' => 'updated', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ancestorIds) { $res['ancestorIds'] = $this->ancestorIds; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->dueDate) { $res['dueDate'] = $this->dueDate; } if (null !== $this->executorId) { $res['executorId'] = $this->executorId; } if (null !== $this->involveMembers) { $res['involveMembers'] = $this->involveMembers; } if (null !== $this->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->labels) { $res['labels'] = $this->labels; } if (null !== $this->note) { $res['note'] = $this->note; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->updated) { $res['updated'] = $this->updated; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ancestorIds'])) { if (!empty($map['ancestorIds'])) { $model->ancestorIds = $map['ancestorIds']; } } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['dueDate'])) { $model->dueDate = $map['dueDate']; } if (isset($map['executorId'])) { $model->executorId = $map['executorId']; } if (isset($map['involveMembers'])) { if (!empty($map['involveMembers'])) { $model->involveMembers = $map['involveMembers']; } } if (isset($map['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['labels'])) { if (!empty($map['labels'])) { $model->labels = $map['labels']; } } if (isset($map['note'])) { $model->note = $map['note']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } if (isset($map['visible'])) { $model->visible = $map['visible']; } return $model; } } src/project_1_0/Models/GetProjectGroupHeaders.php000064400000002335146412132660015763 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetProjectGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/GetProjectGroupRequest.php000064400000002253146412132660016037 0ustar00 'pageSize', 'viewerId' => 'viewerId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->viewerId) { $res['viewerId'] = $this->viewerId; } return $res; } /** * @param array $map * * @return GetProjectGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['viewerId'])) { $model->viewerId = $map['viewerId']; } return $model; } } src/project_1_0/Models/GetProjectGroupResponse.php000064400000002731146412132660016206 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetProjectGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetProjectGroupResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/GetProjectGroupResponseBody.php000064400000002610146412132660017020 0ustar00 '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 GetProjectGroupResponseBody */ 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/project_1_0/Models/GetProjectGroupResponseBody/result.php000064400000004046146412132660020343 0ustar00 'created', 'id' => 'id', 'name' => 'name', 'updated' => 'updated', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->updated) { $res['updated'] = $this->updated; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } if (isset($map['visible'])) { $model->visible = $map['visible']; } return $model; } } src/project_1_0/Models/GetProjectMemebersHeaders.php000064400000002343146412132660016425 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetProjectMemebersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/GetProjectMemebersRequest.php000064400000003547146412132660016511 0ustar00 'maxResults', 'projectRoleId' => 'projectRoleId', 'skip' => 'skip', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->projectRoleId) { $res['projectRoleId'] = $this->projectRoleId; } if (null !== $this->skip) { $res['skip'] = $this->skip; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return GetProjectMemebersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['projectRoleId'])) { $model->projectRoleId = $map['projectRoleId']; } if (isset($map['skip'])) { $model->skip = $map['skip']; } if (isset($map['userIds'])) { $model->userIds = $map['userIds']; } return $model; } } src/project_1_0/Models/GetProjectMemebersResponse.php000064400000002745146412132660016656 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetProjectMemebersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetProjectMemebersResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/GetProjectMemebersResponseBody.php000064400000002621146412132660017465 0ustar00 '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 GetProjectMemebersResponseBody */ 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/project_1_0/Models/GetProjectMemebersResponseBody/result.php000064400000003466146412132660021013 0ustar00 'memberId', 'role' => 'role', 'roleIds' => 'roleIds', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->roleIds) { $res['roleIds'] = $this->roleIds; } 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['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['roleIds'])) { if (!empty($map['roleIds'])) { $model->roleIds = $map['roleIds']; } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/project_1_0/Models/GetProjectStatusListHeaders.php000064400000002347146412132660017011 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetProjectStatusListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/GetProjectStatusListResponse.php000064400000002755146412132660017237 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetProjectStatusListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetProjectStatusListResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/GetProjectStatusListResponseBody.php000064400000002627146412132660020053 0ustar00 '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 GetProjectStatusListResponseBody */ 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/project_1_0/Models/GetProjectStatusListResponseBody/result.php000064400000004670146412132660021371 0ustar00 'content', 'created' => 'created', 'creatorId' => 'creatorId', 'degree' => 'degree', 'name' => 'name', 'projectId' => 'projectId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->degree) { $res['degree'] = $this->degree; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['degree'])) { $model->degree = $map['degree']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } return $model; } } src/project_1_0/Models/GetTaskByIdsHeaders.php000064400000002327146412132660015176 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTaskByIdsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/GetTaskByIdsRequest.php000064400000002316146412132660015251 0ustar00 'parentTaskId', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->parentTaskId) { $res['parentTaskId'] = $this->parentTaskId; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return GetTaskByIdsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['parentTaskId'])) { $model->parentTaskId = $map['parentTaskId']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/project_1_0/Models/GetTaskByIdsResponse.php000064400000002715146412132660015422 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTaskByIdsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTaskByIdsResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/GetTaskByIdsResponseBody.php000064400000002577146412132660016246 0ustar00 '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 GetTaskByIdsResponseBody */ 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/project_1_0/Models/GetTaskByIdsResponseBody/result.php000064400000025517146412132660017563 0ustar00 'accomplishTime', 'ancestorIds' => 'ancestorIds', 'content' => 'content', 'created' => 'created', 'creatorId' => 'creatorId', 'customFields' => 'customFields', 'dueDate' => 'dueDate', 'executorId' => 'executorId', 'involveMembers' => 'involveMembers', 'isArchived' => 'isArchived', 'isDone' => 'isDone', 'note' => 'note', 'parentTaskId' => 'parentTaskId', 'priority' => 'priority', 'projectId' => 'projectId', 'recurrence' => 'recurrence', 'scenarioFieldConfigId' => 'scenarioFieldConfigId', 'sprintId' => 'sprintId', 'startDate' => 'startDate', 'storyPoint' => 'storyPoint', 'tagIds' => 'tagIds', 'taskId' => 'taskId', 'taskListId' => 'taskListId', 'taskStageId' => 'taskStageId', 'taskflowStatusId' => 'taskflowStatusId', 'uniqueId' => 'uniqueId', 'updated' => 'updated', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accomplishTime) { $res['accomplishTime'] = $this->accomplishTime; } if (null !== $this->ancestorIds) { $res['ancestorIds'] = $this->ancestorIds; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->customFields) { $res['customFields'] = []; if (null !== $this->customFields && \is_array($this->customFields)) { $n = 0; foreach ($this->customFields as $item) { $res['customFields'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->dueDate) { $res['dueDate'] = $this->dueDate; } if (null !== $this->executorId) { $res['executorId'] = $this->executorId; } if (null !== $this->involveMembers) { $res['involveMembers'] = $this->involveMembers; } if (null !== $this->isArchived) { $res['isArchived'] = $this->isArchived; } if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->note) { $res['note'] = $this->note; } if (null !== $this->parentTaskId) { $res['parentTaskId'] = $this->parentTaskId; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->recurrence) { $res['recurrence'] = $this->recurrence; } if (null !== $this->scenarioFieldConfigId) { $res['scenarioFieldConfigId'] = $this->scenarioFieldConfigId; } if (null !== $this->sprintId) { $res['sprintId'] = $this->sprintId; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->storyPoint) { $res['storyPoint'] = $this->storyPoint; } if (null !== $this->tagIds) { $res['tagIds'] = $this->tagIds; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->taskListId) { $res['taskListId'] = $this->taskListId; } if (null !== $this->taskStageId) { $res['taskStageId'] = $this->taskStageId; } if (null !== $this->taskflowStatusId) { $res['taskflowStatusId'] = $this->taskflowStatusId; } if (null !== $this->uniqueId) { $res['uniqueId'] = $this->uniqueId; } if (null !== $this->updated) { $res['updated'] = $this->updated; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accomplishTime'])) { $model->accomplishTime = $map['accomplishTime']; } if (isset($map['ancestorIds'])) { if (!empty($map['ancestorIds'])) { $model->ancestorIds = $map['ancestorIds']; } } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['customFields'])) { if (!empty($map['customFields'])) { $model->customFields = []; $n = 0; foreach ($map['customFields'] as $item) { $model->customFields[$n++] = null !== $item ? customFields::fromMap($item) : $item; } } } if (isset($map['dueDate'])) { $model->dueDate = $map['dueDate']; } if (isset($map['executorId'])) { $model->executorId = $map['executorId']; } if (isset($map['involveMembers'])) { if (!empty($map['involveMembers'])) { $model->involveMembers = $map['involveMembers']; } } if (isset($map['isArchived'])) { $model->isArchived = $map['isArchived']; } if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['note'])) { $model->note = $map['note']; } if (isset($map['parentTaskId'])) { $model->parentTaskId = $map['parentTaskId']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['recurrence'])) { if (!empty($map['recurrence'])) { $model->recurrence = $map['recurrence']; } } if (isset($map['scenarioFieldConfigId'])) { $model->scenarioFieldConfigId = $map['scenarioFieldConfigId']; } if (isset($map['sprintId'])) { $model->sprintId = $map['sprintId']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['storyPoint'])) { $model->storyPoint = $map['storyPoint']; } if (isset($map['tagIds'])) { if (!empty($map['tagIds'])) { $model->tagIds = $map['tagIds']; } } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['taskListId'])) { $model->taskListId = $map['taskListId']; } if (isset($map['taskStageId'])) { $model->taskStageId = $map['taskStageId']; } if (isset($map['taskflowStatusId'])) { $model->taskflowStatusId = $map['taskflowStatusId']; } if (isset($map['uniqueId'])) { $model->uniqueId = $map['uniqueId']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } if (isset($map['visible'])) { $model->visible = $map['visible']; } return $model; } } src/project_1_0/Models/GetTaskByIdsResponseBody/result/customFields.php000064400000004010146412132660022205 0ustar00 'customFieldId', 'type' => 'type', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFieldId) { $res['customFieldId'] = $this->customFieldId; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->value) { $res['value'] = []; if (null !== $this->value && \is_array($this->value)) { $n = 0; foreach ($this->value as $item) { $res['value'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return customFields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFieldId'])) { $model->customFieldId = $map['customFieldId']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = []; $n = 0; foreach ($map['value'] as $item) { $model->value[$n++] = null !== $item ? value::fromMap($item) : $item; } } } return $model; } } src/project_1_0/Models/GetTaskByIdsResponseBody/result/customFields/value.php000064400000003154146412132660023331 0ustar00 'customFieldValueId', 'metaString' => 'metaString', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFieldValueId) { $res['customFieldValueId'] = $this->customFieldValueId; } if (null !== $this->metaString) { $res['metaString'] = $this->metaString; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return value */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFieldValueId'])) { $model->customFieldValueId = $map['customFieldValueId']; } if (isset($map['metaString'])) { $model->metaString = $map['metaString']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/project_1_0/Models/GetTbOrgIdByDingOrgIdHeaders.php000064400000002351146412132660016652 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTbOrgIdByDingOrgIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/GetTbOrgIdByDingOrgIdRequest.php000064400000001575146412132660016736 0ustar00 'optUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->optUserId) { $res['optUserId'] = $this->optUserId; } return $res; } /** * @param array $map * * @return GetTbOrgIdByDingOrgIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['optUserId'])) { $model->optUserId = $map['optUserId']; } return $model; } } src/project_1_0/Models/GetTbOrgIdByDingOrgIdResponse.php000064400000002761146412132660017102 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTbOrgIdByDingOrgIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTbOrgIdByDingOrgIdResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/GetTbOrgIdByDingOrgIdResponseBody.php000064400000001742146412132660017716 0ustar00 '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 GetTbOrgIdByDingOrgIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/GetTbOrgIdByDingOrgIdResponseBody/result.php000064400000001676146412132660021242 0ustar00 'tbOrganizationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->tbOrganizationId) { $res['tbOrganizationId'] = $this->tbOrganizationId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['tbOrganizationId'])) { $model->tbOrganizationId = $map['tbOrganizationId']; } return $model; } } src/project_1_0/Models/GetTbProjectGrayHeaders.php000064400000005572146412132660016065 0ustar00 'dingAccessTokenType', 'dingCorpId' => 'dingCorpId', 'dingIsvOrgId' => 'dingIsvOrgId', 'dingOrgId' => 'dingOrgId', 'dingSuiteKey' => 'dingSuiteKey', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->dingAccessTokenType) { $res['dingAccessTokenType'] = $this->dingAccessTokenType; } if (null !== $this->dingCorpId) { $res['dingCorpId'] = $this->dingCorpId; } if (null !== $this->dingIsvOrgId) { $res['dingIsvOrgId'] = $this->dingIsvOrgId; } if (null !== $this->dingOrgId) { $res['dingOrgId'] = $this->dingOrgId; } if (null !== $this->dingSuiteKey) { $res['dingSuiteKey'] = $this->dingSuiteKey; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTbProjectGrayHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['dingAccessTokenType'])) { $model->dingAccessTokenType = $map['dingAccessTokenType']; } if (isset($map['dingCorpId'])) { $model->dingCorpId = $map['dingCorpId']; } if (isset($map['dingIsvOrgId'])) { $model->dingIsvOrgId = $map['dingIsvOrgId']; } if (isset($map['dingOrgId'])) { $model->dingOrgId = $map['dingOrgId']; } if (isset($map['dingSuiteKey'])) { $model->dingSuiteKey = $map['dingSuiteKey']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/GetTbProjectGrayRequest.php000064400000001531146412132660016131 0ustar00 'label', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->label) { $res['label'] = $this->label; } return $res; } /** * @param array $map * * @return GetTbProjectGrayRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['label'])) { $model->label = $map['label']; } return $model; } } src/project_1_0/Models/GetTbProjectGrayResponse.php000064400000002735146412132660016306 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTbProjectGrayResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTbProjectGrayResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/GetTbProjectGrayResponseBody.php000064400000002210146412132660017110 0ustar00 '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 GetTbProjectGrayResponseBody */ 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/project_1_0/Models/GetTbProjectSourceHeaders.php000064400000005576146412132660016427 0ustar00 'dingAccessTokenType', 'dingCorpId' => 'dingCorpId', 'dingIsvOrgId' => 'dingIsvOrgId', 'dingOrgId' => 'dingOrgId', 'dingSuiteKey' => 'dingSuiteKey', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->dingAccessTokenType) { $res['dingAccessTokenType'] = $this->dingAccessTokenType; } if (null !== $this->dingCorpId) { $res['dingCorpId'] = $this->dingCorpId; } if (null !== $this->dingIsvOrgId) { $res['dingIsvOrgId'] = $this->dingIsvOrgId; } if (null !== $this->dingOrgId) { $res['dingOrgId'] = $this->dingOrgId; } if (null !== $this->dingSuiteKey) { $res['dingSuiteKey'] = $this->dingSuiteKey; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTbProjectSourceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['dingAccessTokenType'])) { $model->dingAccessTokenType = $map['dingAccessTokenType']; } if (isset($map['dingCorpId'])) { $model->dingCorpId = $map['dingCorpId']; } if (isset($map['dingIsvOrgId'])) { $model->dingIsvOrgId = $map['dingIsvOrgId']; } if (isset($map['dingOrgId'])) { $model->dingOrgId = $map['dingOrgId']; } if (isset($map['dingSuiteKey'])) { $model->dingSuiteKey = $map['dingSuiteKey']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/GetTbProjectSourceResponse.php000064400000002745146412132660016645 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTbProjectSourceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTbProjectSourceResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/GetTbProjectSourceResponseBody.php000064400000001644146412132660017460 0ustar00 'installSource', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->installSource) { $res['installSource'] = $this->installSource; } return $res; } /** * @param array $map * * @return GetTbProjectSourceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['installSource'])) { $model->installSource = $map['installSource']; } return $model; } } src/project_1_0/Models/GetTbUserIdByStaffIdHeaders.php000064400000002347146412132660016560 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTbUserIdByStaffIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/GetTbUserIdByStaffIdRequest.php000064400000002254146412132660016632 0ustar00 'optUserId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->optUserId) { $res['optUserId'] = $this->optUserId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetTbUserIdByStaffIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['optUserId'])) { $model->optUserId = $map['optUserId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/project_1_0/Models/GetTbUserIdByStaffIdResponse.php000064400000002755146412132660017006 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTbUserIdByStaffIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTbUserIdByStaffIdResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/GetTbUserIdByStaffIdResponseBody.php000064400000001737146412132660017623 0ustar00 '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 GetTbUserIdByStaffIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/GetTbUserIdByStaffIdResponseBody/result.php000064400000001565146412132660021140 0ustar00 'tbUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->tbUserId) { $res['tbUserId'] = $this->tbUserId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['tbUserId'])) { $model->tbUserId = $map['tbUserId']; } return $model; } } src/project_1_0/Models/GetUserJoinedProjectHeaders.php000064400000002347146412132660016741 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserJoinedProjectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/GetUserJoinedProjectRequest.php000064400000002313146412132660017007 0ustar00 '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 GetUserJoinedProjectRequest */ 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/project_1_0/Models/GetUserJoinedProjectResponse.php000064400000002755146412132660017167 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserJoinedProjectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserJoinedProjectResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/GetUserJoinedProjectResponseBody.php000064400000002332146412132660017774 0ustar00 'nextToken', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetUserJoinedProjectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = $map['result']; } } return $model; } } src/project_1_0/Models/QueryProjectHeaders.php000064400000002327146412132660015335 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryProjectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/QueryProjectRequest.php000064400000004211146412132660015404 0ustar00 'maxResults', 'name' => 'name', 'nextToken' => 'nextToken', 'projectIds' => 'projectIds', 'sourceId' => 'sourceId', ]; public function validate() { } public function toMap() { $res = []; 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->projectIds) { $res['projectIds'] = $this->projectIds; } if (null !== $this->sourceId) { $res['sourceId'] = $this->sourceId; } return $res; } /** * @param array $map * * @return QueryProjectRequest */ public static function fromMap($map = []) { $model = new self(); 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['projectIds'])) { $model->projectIds = $map['projectIds']; } if (isset($map['sourceId'])) { $model->sourceId = $map['sourceId']; } return $model; } } src/project_1_0/Models/QueryProjectResponse.php000064400000002715146412132660015561 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryProjectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryProjectResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/QueryProjectResponseBody.php000064400000004054146412132660016375 0ustar00 'nextToken', 'requestId' => 'requestId', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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 QueryProjectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } 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/project_1_0/Models/QueryProjectResponseBody/result.php000064400000014744146412132660017722 0ustar00 'created', 'creatorId' => 'creatorId', 'customFields' => 'customFields', 'description' => 'description', 'endDate' => 'endDate', 'isArchived' => 'isArchived', 'isSuspended' => 'isSuspended', 'isTemplate' => 'isTemplate', 'logo' => 'logo', 'name' => 'name', 'organizationId' => 'organizationId', 'projectId' => 'projectId', 'startDate' => 'startDate', 'uniqueIdPrefix' => 'uniqueIdPrefix', 'updated' => 'updated', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->customFields) { $res['customFields'] = []; if (null !== $this->customFields && \is_array($this->customFields)) { $n = 0; foreach ($this->customFields as $item) { $res['customFields'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->isArchived) { $res['isArchived'] = $this->isArchived; } if (null !== $this->isSuspended) { $res['isSuspended'] = $this->isSuspended; } if (null !== $this->isTemplate) { $res['isTemplate'] = $this->isTemplate; } if (null !== $this->logo) { $res['logo'] = $this->logo; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->organizationId) { $res['organizationId'] = $this->organizationId; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->uniqueIdPrefix) { $res['uniqueIdPrefix'] = $this->uniqueIdPrefix; } if (null !== $this->updated) { $res['updated'] = $this->updated; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['customFields'])) { if (!empty($map['customFields'])) { $model->customFields = []; $n = 0; foreach ($map['customFields'] as $item) { $model->customFields[$n++] = null !== $item ? customFields::fromMap($item) : $item; } } } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['isArchived'])) { $model->isArchived = $map['isArchived']; } if (isset($map['isSuspended'])) { $model->isSuspended = $map['isSuspended']; } if (isset($map['isTemplate'])) { $model->isTemplate = $map['isTemplate']; } if (isset($map['logo'])) { $model->logo = $map['logo']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['organizationId'])) { $model->organizationId = $map['organizationId']; } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['uniqueIdPrefix'])) { $model->uniqueIdPrefix = $map['uniqueIdPrefix']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/project_1_0/Models/QueryProjectResponseBody/result/customFields.php000064400000004061146412132660022352 0ustar00 'customFieldId', 'type' => 'type', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFieldId) { $res['customFieldId'] = $this->customFieldId; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->value) { $res['value'] = []; if (null !== $this->value && \is_array($this->value)) { $n = 0; foreach ($this->value as $item) { $res['value'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return customFields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFieldId'])) { $model->customFieldId = $map['customFieldId']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = []; $n = 0; foreach ($map['value'] as $item) { $model->value[$n++] = null !== $item ? value::fromMap($item) : $item; } } } return $model; } } src/project_1_0/Models/QueryProjectResponseBody/result/customFields/value.php000064400000003152146412132660023466 0ustar00 'customFieldValueId', 'metaString' => 'metaString', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFieldValueId) { $res['customFieldValueId'] = $this->customFieldValueId; } if (null !== $this->metaString) { $res['metaString'] = $this->metaString; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return value */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFieldValueId'])) { $model->customFieldValueId = $map['customFieldValueId']; } if (isset($map['metaString'])) { $model->metaString = $map['metaString']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/project_1_0/Models/QueryTaskOfProjectHeaders.php000064400000002343146412132660016443 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryTaskOfProjectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/QueryTaskOfProjectRequest.php000064400000003106146412132660016516 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'query' => 'query', ]; 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->query) { $res['query'] = $this->query; } return $res; } /** * @param array $map * * @return QueryTaskOfProjectRequest */ 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['query'])) { $model->query = $map['query']; } return $model; } } src/project_1_0/Models/QueryTaskOfProjectResponse.php000064400000002745146412132660016674 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryTaskOfProjectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryTaskOfProjectResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/QueryTaskOfProjectResponseBody.php000064400000004077146412132660017512 0ustar00 'nextToken', 'result' => 'result', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryTaskOfProjectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } 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['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/project_1_0/Models/QueryTaskOfProjectResponseBody/result.php000064400000024631146412132660021026 0ustar00 'accomplished', 'ancestorIds' => 'ancestorIds', 'content' => 'content', 'created' => 'created', 'creatorId' => 'creatorId', 'customfields' => 'customfields', 'dueDate' => 'dueDate', 'executorId' => 'executorId', 'involveMembers' => 'involveMembers', 'isArchived' => 'isArchived', 'isDeleted' => 'isDeleted', 'isDone' => 'isDone', 'labels' => 'labels', 'note' => 'note', 'priority' => 'priority', 'progress' => 'progress', 'projectId' => 'projectId', 'scenariofieldconfigId' => 'scenariofieldconfigId', 'sprintId' => 'sprintId', 'stageId' => 'stageId', 'startDate' => 'startDate', 'storyPoint' => 'storyPoint', 'tagIds' => 'tagIds', 'taskId' => 'taskId', 'taskflowstatusId' => 'taskflowstatusId', 'updated' => 'updated', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accomplished) { $res['accomplished'] = $this->accomplished; } if (null !== $this->ancestorIds) { $res['ancestorIds'] = $this->ancestorIds; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->customfields) { $res['customfields'] = []; if (null !== $this->customfields && \is_array($this->customfields)) { $n = 0; foreach ($this->customfields as $item) { $res['customfields'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->dueDate) { $res['dueDate'] = $this->dueDate; } if (null !== $this->executorId) { $res['executorId'] = $this->executorId; } if (null !== $this->involveMembers) { $res['involveMembers'] = $this->involveMembers; } if (null !== $this->isArchived) { $res['isArchived'] = $this->isArchived; } if (null !== $this->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->labels) { $res['labels'] = $this->labels; } if (null !== $this->note) { $res['note'] = $this->note; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->progress) { $res['progress'] = $this->progress; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->scenariofieldconfigId) { $res['scenariofieldconfigId'] = $this->scenariofieldconfigId; } if (null !== $this->sprintId) { $res['sprintId'] = $this->sprintId; } if (null !== $this->stageId) { $res['stageId'] = $this->stageId; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->storyPoint) { $res['storyPoint'] = $this->storyPoint; } if (null !== $this->tagIds) { $res['tagIds'] = $this->tagIds; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->taskflowstatusId) { $res['taskflowstatusId'] = $this->taskflowstatusId; } if (null !== $this->updated) { $res['updated'] = $this->updated; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accomplished'])) { $model->accomplished = $map['accomplished']; } if (isset($map['ancestorIds'])) { if (!empty($map['ancestorIds'])) { $model->ancestorIds = $map['ancestorIds']; } } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['customfields'])) { if (!empty($map['customfields'])) { $model->customfields = []; $n = 0; foreach ($map['customfields'] as $item) { $model->customfields[$n++] = null !== $item ? customfields::fromMap($item) : $item; } } } if (isset($map['dueDate'])) { $model->dueDate = $map['dueDate']; } if (isset($map['executorId'])) { $model->executorId = $map['executorId']; } if (isset($map['involveMembers'])) { if (!empty($map['involveMembers'])) { $model->involveMembers = $map['involveMembers']; } } if (isset($map['isArchived'])) { $model->isArchived = $map['isArchived']; } if (isset($map['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['labels'])) { if (!empty($map['labels'])) { $model->labels = $map['labels']; } } if (isset($map['note'])) { $model->note = $map['note']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['progress'])) { $model->progress = $map['progress']; } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['scenariofieldconfigId'])) { $model->scenariofieldconfigId = $map['scenariofieldconfigId']; } if (isset($map['sprintId'])) { $model->sprintId = $map['sprintId']; } if (isset($map['stageId'])) { $model->stageId = $map['stageId']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['storyPoint'])) { $model->storyPoint = $map['storyPoint']; } if (isset($map['tagIds'])) { if (!empty($map['tagIds'])) { $model->tagIds = $map['tagIds']; } } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['taskflowstatusId'])) { $model->taskflowstatusId = $map['taskflowstatusId']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } if (isset($map['visible'])) { $model->visible = $map['visible']; } return $model; } } src/project_1_0/Models/QueryTaskOfProjectResponseBody/result/customfields.php000064400000001656146412132660023531 0ustar00 'customfieldId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customfieldId) { $res['customfieldId'] = $this->customfieldId; } return $res; } /** * @param array $map * * @return customfields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customfieldId'])) { $model->customfieldId = $map['customfieldId']; } return $model; } } src/project_1_0/Models/SeachTaskStageHeaders.php000064400000002333146412132660015530 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SeachTaskStageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/SeachTaskStageRequest.php000064400000004323146412132660015606 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'query' => 'query', 'taskListId' => 'taskListId', 'taskStageIds' => 'taskStageIds', ]; 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->query) { $res['query'] = $this->query; } if (null !== $this->taskListId) { $res['taskListId'] = $this->taskListId; } if (null !== $this->taskStageIds) { $res['taskStageIds'] = $this->taskStageIds; } return $res; } /** * @param array $map * * @return SeachTaskStageRequest */ 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['query'])) { $model->query = $map['query']; } if (isset($map['taskListId'])) { $model->taskListId = $map['taskListId']; } if (isset($map['taskStageIds'])) { $model->taskStageIds = $map['taskStageIds']; } return $model; } } src/project_1_0/Models/SeachTaskStageResponse.php000064400000002725146412132660015760 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SeachTaskStageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SeachTaskStageResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/SeachTaskStageResponseBody.php000064400000003350146412132660016571 0ustar00 'nextToken', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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 SeachTaskStageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } 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/project_1_0/Models/SeachTaskStageResponseBody/result.php000064400000006252146412132660020113 0ustar00 'created', 'creatorId' => 'creatorId', 'description' => 'description', 'name' => 'name', 'projectId' => 'projectId', 'taskListId' => 'taskListId', 'taskStageId' => 'taskStageId', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->taskListId) { $res['taskListId'] = $this->taskListId; } if (null !== $this->taskStageId) { $res['taskStageId'] = $this->taskStageId; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['taskListId'])) { $model->taskListId = $map['taskListId']; } if (isset($map['taskStageId'])) { $model->taskStageId = $map['taskStageId']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/SearchAllTasksByTqlHeaders.php000064400000002345146412132660016521 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchAllTasksByTqlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/SearchAllTasksByTqlRequest.php000064400000003033146412132660016571 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'tql' => 'tql', ]; 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->tql) { $res['tql'] = $this->tql; } return $res; } /** * @param array $map * * @return SearchAllTasksByTqlRequest */ 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['tql'])) { $model->tql = $map['tql']; } return $model; } } src/project_1_0/Models/SearchAllTasksByTqlResponse.php000064400000002751146412132660016745 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchAllTasksByTqlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchAllTasksByTqlResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/SearchAllTasksByTqlResponseBody.php000064400000003615146412132660017563 0ustar00 'nextToken', 'requestId' => 'requestId', 'result' => 'result', 'totalSize' => 'totalSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->totalSize) { $res['totalSize'] = $this->totalSize; } return $res; } /** * @param array $map * * @return SearchAllTasksByTqlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = $map['result']; } } if (isset($map['totalSize'])) { $model->totalSize = $map['totalSize']; } return $model; } } src/project_1_0/Models/SearchOranizationCustomfieldHeaders.php000064400000002367146412132660020527 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchOranizationCustomfieldHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/SearchOranizationCustomfieldRequest.php000064400000005164146412132660020602 0ustar00 'customFieldIds', 'instanceIds' => 'instanceIds', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'projectIds' => 'projectIds', 'query' => 'query', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFieldIds) { $res['customFieldIds'] = $this->customFieldIds; } if (null !== $this->instanceIds) { $res['instanceIds'] = $this->instanceIds; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->projectIds) { $res['projectIds'] = $this->projectIds; } if (null !== $this->query) { $res['query'] = $this->query; } return $res; } /** * @param array $map * * @return SearchOranizationCustomfieldRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFieldIds'])) { $model->customFieldIds = $map['customFieldIds']; } if (isset($map['instanceIds'])) { $model->instanceIds = $map['instanceIds']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['projectIds'])) { $model->projectIds = $map['projectIds']; } if (isset($map['query'])) { $model->query = $map['query']; } return $model; } } src/project_1_0/Models/SearchOranizationCustomfieldResponse.php000064400000003015146412132660020741 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchOranizationCustomfieldResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchOranizationCustomfieldResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/SearchOranizationCustomfieldResponseBody.php000064400000003422146412132660021561 0ustar00 'nextToken', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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 SearchOranizationCustomfieldResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } 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/project_1_0/Models/SearchOranizationCustomfieldResponseBody/result.php000064400000010166146412132660023102 0ustar00 'advancedCustomField', 'choices' => 'choices', 'created' => 'created', 'creatorId' => 'creatorId', 'customFieldsId' => 'customFieldsId', 'name' => 'name', 'payload' => 'payload', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->advancedCustomField) { $res['advancedCustomField'] = null !== $this->advancedCustomField ? $this->advancedCustomField->toMap() : null; } if (null !== $this->choices) { $res['choices'] = []; if (null !== $this->choices && \is_array($this->choices)) { $n = 0; foreach ($this->choices as $item) { $res['choices'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->customFieldsId) { $res['customFieldsId'] = $this->customFieldsId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->payload) { $res['payload'] = $this->payload; } 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['advancedCustomField'])) { $model->advancedCustomField = advancedCustomField::fromMap($map['advancedCustomField']); } if (isset($map['choices'])) { if (!empty($map['choices'])) { $model->choices = []; $n = 0; foreach ($map['choices'] as $item) { $model->choices[$n++] = null !== $item ? choices::fromMap($item) : $item; } } } if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['customFieldsId'])) { $model->customFieldsId = $map['customFieldsId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['payload'])) { $model->payload = $map['payload']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/project_1_0/Models/SearchOranizationCustomfieldResponseBody/result/advancedCustomField.php000064400000003205146412132660027002 0ustar00 'advancedCustomFieldId', 'name' => 'name', 'objectType' => 'objectType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->advancedCustomFieldId) { $res['advancedCustomFieldId'] = $this->advancedCustomFieldId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->objectType) { $res['objectType'] = $this->objectType; } return $res; } /** * @param array $map * * @return advancedCustomField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['advancedCustomFieldId'])) { $model->advancedCustomFieldId = $map['advancedCustomFieldId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['objectType'])) { $model->objectType = $map['objectType']; } return $model; } } src/project_1_0/Models/SearchOranizationCustomfieldResponseBody/result/choices.php000064400000002255146412132660024517 0ustar00 'choiceId', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->choiceId) { $res['choiceId'] = $this->choiceId; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return choices */ public static function fromMap($map = []) { $model = new self(); if (isset($map['choiceId'])) { $model->choiceId = $map['choiceId']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/project_1_0/Models/SearchProjectCustomfieldHeaders.php000064400000002357146412132660017637 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchProjectCustomfieldHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/SearchProjectCustomfieldRequest.php000064400000005404146412132660017710 0ustar00 'customFieldIds', 'instanceIds' => 'instanceIds', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'query' => 'query', 'scenarioFieldConfigId' => 'scenarioFieldConfigId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFieldIds) { $res['customFieldIds'] = $this->customFieldIds; } if (null !== $this->instanceIds) { $res['instanceIds'] = $this->instanceIds; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->query) { $res['query'] = $this->query; } if (null !== $this->scenarioFieldConfigId) { $res['scenarioFieldConfigId'] = $this->scenarioFieldConfigId; } return $res; } /** * @param array $map * * @return SearchProjectCustomfieldRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFieldIds'])) { $model->customFieldIds = $map['customFieldIds']; } if (isset($map['instanceIds'])) { $model->instanceIds = $map['instanceIds']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['query'])) { $model->query = $map['query']; } if (isset($map['scenarioFieldConfigId'])) { $model->scenarioFieldConfigId = $map['scenarioFieldConfigId']; } return $model; } } src/project_1_0/Models/SearchProjectCustomfieldResponse.php000064400000002775146412132660020066 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchProjectCustomfieldResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchProjectCustomfieldResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/SearchProjectCustomfieldResponseBody.php000064400000003406146412132660020674 0ustar00 'nextToken', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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 SearchProjectCustomfieldResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } 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/project_1_0/Models/SearchProjectCustomfieldResponseBody/result.php000064400000011536146412132660022215 0ustar00 'advancedCustomField', 'boundToObjectId' => 'boundToObjectId', 'choices' => 'choices', 'created' => 'created', 'creatorId' => 'creatorId', 'customFieldId' => 'customFieldId', 'name' => 'name', 'originalId' => 'originalId', 'payload' => 'payload', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->advancedCustomField) { $res['advancedCustomField'] = null !== $this->advancedCustomField ? $this->advancedCustomField->toMap() : null; } if (null !== $this->boundToObjectId) { $res['boundToObjectId'] = $this->boundToObjectId; } if (null !== $this->choices) { $res['choices'] = []; if (null !== $this->choices && \is_array($this->choices)) { $n = 0; foreach ($this->choices as $item) { $res['choices'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->customFieldId) { $res['customFieldId'] = $this->customFieldId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->originalId) { $res['originalId'] = $this->originalId; } if (null !== $this->payload) { $res['payload'] = $this->payload; } 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['advancedCustomField'])) { $model->advancedCustomField = advancedCustomField::fromMap($map['advancedCustomField']); } if (isset($map['boundToObjectId'])) { $model->boundToObjectId = $map['boundToObjectId']; } if (isset($map['choices'])) { if (!empty($map['choices'])) { $model->choices = []; $n = 0; foreach ($map['choices'] as $item) { $model->choices[$n++] = null !== $item ? choices::fromMap($item) : $item; } } } if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['customFieldId'])) { $model->customFieldId = $map['customFieldId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['originalId'])) { $model->originalId = $map['originalId']; } if (isset($map['payload'])) { $model->payload = $map['payload']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/project_1_0/Models/SearchProjectCustomfieldResponseBody/result/advancedCustomField.php000064400000003252146412132660026115 0ustar00 'advancedCustomFieldId', 'name' => 'name', 'objectType' => 'objectType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->advancedCustomFieldId) { $res['advancedCustomFieldId'] = $this->advancedCustomFieldId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->objectType) { $res['objectType'] = $this->objectType; } return $res; } /** * @param array $map * * @return advancedCustomField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['advancedCustomFieldId'])) { $model->advancedCustomFieldId = $map['advancedCustomFieldId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['objectType'])) { $model->objectType = $map['objectType']; } return $model; } } src/project_1_0/Models/SearchProjectCustomfieldResponseBody/result/choices.php000064400000002257146412132660023632 0ustar00 'choiceId', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->choiceId) { $res['choiceId'] = $this->choiceId; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return choices */ public static function fromMap($map = []) { $model = new self(); if (isset($map['choiceId'])) { $model->choiceId = $map['choiceId']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/project_1_0/Models/SearchProjectTemplateHeaders.php000064400000002351146412132660017126 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchProjectTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/SearchProjectTemplateRequest.php000064400000001552146412132660017205 0ustar00 'keyword', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->keyword) { $res['keyword'] = $this->keyword; } return $res; } /** * @param array $map * * @return SearchProjectTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['keyword'])) { $model->keyword = $map['keyword']; } return $model; } } src/project_1_0/Models/SearchProjectTemplateResponse.php000064400000002761146412132660017356 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchProjectTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchProjectTemplateResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/SearchProjectTemplateResponseBody.php000064400000002632146412132660020171 0ustar00 '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 SearchProjectTemplateResponseBody */ 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/project_1_0/Models/SearchProjectTemplateResponseBody/result.php000064400000006506146412132660021513 0ustar00 'created', 'description' => 'description', 'id' => 'id', 'isDeleted' => 'isDeleted', 'isDemo' => 'isDemo', 'logo' => 'logo', 'name' => 'name', 'updated' => 'updated', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->isDemo) { $res['isDemo'] = $this->isDemo; } if (null !== $this->logo) { $res['logo'] = $this->logo; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->updated) { $res['updated'] = $this->updated; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['isDemo'])) { $model->isDemo = $map['isDemo']; } if (isset($map['logo'])) { $model->logo = $map['logo']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } if (isset($map['visible'])) { $model->visible = $map['visible']; } return $model; } } src/project_1_0/Models/SearchTaskFlowHeaders.php000064400000002333146412132660015556 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchTaskFlowHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/SearchTaskFlowRequest.php000064400000003546146412132660015642 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'query' => 'query', 'taskflowIds' => 'taskflowIds', ]; 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->query) { $res['query'] = $this->query; } if (null !== $this->taskflowIds) { $res['taskflowIds'] = $this->taskflowIds; } return $res; } /** * @param array $map * * @return SearchTaskFlowRequest */ 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['query'])) { $model->query = $map['query']; } if (isset($map['taskflowIds'])) { $model->taskflowIds = $map['taskflowIds']; } return $model; } } src/project_1_0/Models/SearchTaskFlowResponse.php000064400000002725146412132660016006 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchTaskFlowResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchTaskFlowResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/SearchTaskFlowResponseBody.php000064400000002605146412132660016621 0ustar00 '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 SearchTaskFlowResponseBody */ 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/project_1_0/Models/SearchTaskFlowResponseBody/result.php000064400000006425146412132660020143 0ustar00 'boundToObjectId', 'boundToObjectType' => 'boundToObjectType', 'created' => 'created', 'creatorId' => 'creatorId', 'isDeleted' => 'isDeleted', 'name' => 'name', 'taskflowId' => 'taskflowId', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->boundToObjectId) { $res['boundToObjectId'] = $this->boundToObjectId; } if (null !== $this->boundToObjectType) { $res['boundToObjectType'] = $this->boundToObjectType; } if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->taskflowId) { $res['taskflowId'] = $this->taskflowId; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['boundToObjectId'])) { $model->boundToObjectId = $map['boundToObjectId']; } if (isset($map['boundToObjectType'])) { $model->boundToObjectType = $map['boundToObjectType']; } if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['taskflowId'])) { $model->taskflowId = $map['taskflowId']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/SearchTaskListHeaders.php000064400000002333146412132660015562 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchTaskListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/SearchTaskListRequest.php000064400000003554146412132660015645 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'query' => 'query', 'taskListIds' => 'taskListIds', ]; 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->query) { $res['query'] = $this->query; } if (null !== $this->taskListIds) { $res['taskListIds'] = $this->taskListIds; } return $res; } /** * @param array $map * * @return SearchTaskListRequest */ 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['query'])) { $model->query = $map['query']; } if (isset($map['taskListIds'])) { $model->taskListIds = $map['taskListIds']; } return $model; } } src/project_1_0/Models/SearchTaskListResponse.php000064400000002725146412132660016012 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchTaskListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchTaskListResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/SearchTaskListResponseBody.php000064400000003350146412132660016623 0ustar00 'nextToken', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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 SearchTaskListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } 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/project_1_0/Models/SearchTaskListResponseBody/result.php000064400000005520146412132660020142 0ustar00 'created', 'creatorId' => 'creatorId', 'description' => 'description', 'projectId' => 'projectId', 'taskListId' => 'taskListId', 'title' => 'title', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->taskListId) { $res['taskListId'] = $this->taskListId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['taskListId'])) { $model->taskListId = $map['taskListId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/SearchTaskflowStatusHeaders.php000064400000002347146412132660017027 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchTaskflowStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/SearchTaskflowStatusRequest.php000064400000004214146412132660017077 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'query' => 'query', 'tfIds' => 'tfIds', 'tfsIds' => 'tfsIds', ]; 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->query) { $res['query'] = $this->query; } if (null !== $this->tfIds) { $res['tfIds'] = $this->tfIds; } if (null !== $this->tfsIds) { $res['tfsIds'] = $this->tfsIds; } return $res; } /** * @param array $map * * @return SearchTaskflowStatusRequest */ 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['query'])) { $model->query = $map['query']; } if (isset($map['tfIds'])) { $model->tfIds = $map['tfIds']; } if (isset($map['tfsIds'])) { $model->tfsIds = $map['tfsIds']; } return $model; } } src/project_1_0/Models/SearchTaskflowStatusResponse.php000064400000002755146412132660017255 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchTaskflowStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchTaskflowStatusResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/SearchTaskflowStatusResponseBody.php000064400000002627146412132660020071 0ustar00 '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 SearchTaskflowStatusResponseBody */ 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/project_1_0/Models/SearchTaskflowStatusResponseBody/result.php000064400000010703146412132660021401 0ustar00 'created', 'creatorId' => 'creatorId', 'isDeleted' => 'isDeleted', 'isTaskflowstatusruleexector' => 'isTaskflowstatusruleexector', 'kind' => 'kind', 'name' => 'name', 'pos' => 'pos', 'rejectStatusIds' => 'rejectStatusIds', 'taskflowId' => 'taskflowId', 'taskflowStatusId' => 'taskflowStatusId', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->isTaskflowstatusruleexector) { $res['isTaskflowstatusruleexector'] = $this->isTaskflowstatusruleexector; } if (null !== $this->kind) { $res['kind'] = $this->kind; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->pos) { $res['pos'] = $this->pos; } if (null !== $this->rejectStatusIds) { $res['rejectStatusIds'] = $this->rejectStatusIds; } if (null !== $this->taskflowId) { $res['taskflowId'] = $this->taskflowId; } if (null !== $this->taskflowStatusId) { $res['taskflowStatusId'] = $this->taskflowStatusId; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['isTaskflowstatusruleexector'])) { $model->isTaskflowstatusruleexector = $map['isTaskflowstatusruleexector']; } if (isset($map['kind'])) { $model->kind = $map['kind']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['pos'])) { $model->pos = $map['pos']; } if (isset($map['rejectStatusIds'])) { if (!empty($map['rejectStatusIds'])) { $model->rejectStatusIds = $map['rejectStatusIds']; } } if (isset($map['taskflowId'])) { $model->taskflowId = $map['taskflowId']; } if (isset($map['taskflowStatusId'])) { $model->taskflowStatusId = $map['taskflowStatusId']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/SearchUserTaskHeaders.php000064400000002333146412132660015565 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchUserTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/SearchUserTaskRequest.php000064400000003243146412132660015643 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'roleTypes' => 'roleTypes', 'tql' => 'tql', ]; 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->roleTypes) { $res['roleTypes'] = $this->roleTypes; } if (null !== $this->tql) { $res['tql'] = $this->tql; } return $res; } /** * @param array $map * * @return SearchUserTaskRequest */ 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['roleTypes'])) { $model->roleTypes = $map['roleTypes']; } if (isset($map['tql'])) { $model->tql = $map['tql']; } return $model; } } src/project_1_0/Models/SearchUserTaskResponse.php000064400000002725146412132660016015 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchUserTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchUserTaskResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/SearchUserTaskResponseBody.php000064400000004156146412132660016633 0ustar00 'nextToken', 'requestId' => 'requestId', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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 SearchUserTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } 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/project_1_0/Models/SearchUserTaskResponseBody/result.php000064400000025555146412132660020157 0ustar00 'accomplishTime', 'ancestorIds' => 'ancestorIds', 'content' => 'content', 'created' => 'created', 'creatorId' => 'creatorId', 'customFields' => 'customFields', 'dueDate' => 'dueDate', 'executorId' => 'executorId', 'involveMembers' => 'involveMembers', 'isArchived' => 'isArchived', 'isDone' => 'isDone', 'note' => 'note', 'parentTaskId' => 'parentTaskId', 'priority' => 'priority', 'projectId' => 'projectId', 'recurrence' => 'recurrence', 'scenarioFieldConfigId' => 'scenarioFieldConfigId', 'sprintId' => 'sprintId', 'startDate' => 'startDate', 'storyPoint' => 'storyPoint', 'tagIds' => 'tagIds', 'taskId' => 'taskId', 'taskListId' => 'taskListId', 'taskStageId' => 'taskStageId', 'taskflowStatusId' => 'taskflowStatusId', 'uniqueId' => 'uniqueId', 'updated' => 'updated', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accomplishTime) { $res['accomplishTime'] = $this->accomplishTime; } if (null !== $this->ancestorIds) { $res['ancestorIds'] = $this->ancestorIds; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->customFields) { $res['customFields'] = []; if (null !== $this->customFields && \is_array($this->customFields)) { $n = 0; foreach ($this->customFields as $item) { $res['customFields'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->dueDate) { $res['dueDate'] = $this->dueDate; } if (null !== $this->executorId) { $res['executorId'] = $this->executorId; } if (null !== $this->involveMembers) { $res['involveMembers'] = $this->involveMembers; } if (null !== $this->isArchived) { $res['isArchived'] = $this->isArchived; } if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->note) { $res['note'] = $this->note; } if (null !== $this->parentTaskId) { $res['parentTaskId'] = $this->parentTaskId; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->recurrence) { $res['recurrence'] = $this->recurrence; } if (null !== $this->scenarioFieldConfigId) { $res['scenarioFieldConfigId'] = $this->scenarioFieldConfigId; } if (null !== $this->sprintId) { $res['sprintId'] = $this->sprintId; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->storyPoint) { $res['storyPoint'] = $this->storyPoint; } if (null !== $this->tagIds) { $res['tagIds'] = $this->tagIds; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->taskListId) { $res['taskListId'] = $this->taskListId; } if (null !== $this->taskStageId) { $res['taskStageId'] = $this->taskStageId; } if (null !== $this->taskflowStatusId) { $res['taskflowStatusId'] = $this->taskflowStatusId; } if (null !== $this->uniqueId) { $res['uniqueId'] = $this->uniqueId; } if (null !== $this->updated) { $res['updated'] = $this->updated; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accomplishTime'])) { $model->accomplishTime = $map['accomplishTime']; } if (isset($map['ancestorIds'])) { if (!empty($map['ancestorIds'])) { $model->ancestorIds = $map['ancestorIds']; } } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['customFields'])) { if (!empty($map['customFields'])) { $model->customFields = []; $n = 0; foreach ($map['customFields'] as $item) { $model->customFields[$n++] = null !== $item ? customFields::fromMap($item) : $item; } } } if (isset($map['dueDate'])) { $model->dueDate = $map['dueDate']; } if (isset($map['executorId'])) { $model->executorId = $map['executorId']; } if (isset($map['involveMembers'])) { if (!empty($map['involveMembers'])) { $model->involveMembers = $map['involveMembers']; } } if (isset($map['isArchived'])) { $model->isArchived = $map['isArchived']; } if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['note'])) { $model->note = $map['note']; } if (isset($map['parentTaskId'])) { $model->parentTaskId = $map['parentTaskId']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['recurrence'])) { if (!empty($map['recurrence'])) { $model->recurrence = $map['recurrence']; } } if (isset($map['scenarioFieldConfigId'])) { $model->scenarioFieldConfigId = $map['scenarioFieldConfigId']; } if (isset($map['sprintId'])) { $model->sprintId = $map['sprintId']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['storyPoint'])) { $model->storyPoint = $map['storyPoint']; } if (isset($map['tagIds'])) { if (!empty($map['tagIds'])) { $model->tagIds = $map['tagIds']; } } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['taskListId'])) { $model->taskListId = $map['taskListId']; } if (isset($map['taskStageId'])) { $model->taskStageId = $map['taskStageId']; } if (isset($map['taskflowStatusId'])) { $model->taskflowStatusId = $map['taskflowStatusId']; } if (isset($map['uniqueId'])) { $model->uniqueId = $map['uniqueId']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } if (isset($map['visible'])) { $model->visible = $map['visible']; } return $model; } } src/project_1_0/Models/SearchUserTaskResponseBody/result/customFields.php000064400000004005146412132660022603 0ustar00 'customFieldId', 'type' => 'type', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFieldId) { $res['customFieldId'] = $this->customFieldId; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->value) { $res['value'] = []; if (null !== $this->value && \is_array($this->value)) { $n = 0; foreach ($this->value as $item) { $res['value'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return customFields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFieldId'])) { $model->customFieldId = $map['customFieldId']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = []; $n = 0; foreach ($map['value'] as $item) { $model->value[$n++] = null !== $item ? value::fromMap($item) : $item; } } } return $model; } } src/project_1_0/Models/SearchUserTaskResponseBody/result/customFields/value.php000064400000003160146412132660023720 0ustar00 'customFieldValueId', 'metaString' => 'metaString', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFieldValueId) { $res['customFieldValueId'] = $this->customFieldValueId; } if (null !== $this->metaString) { $res['metaString'] = $this->metaString; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return value */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFieldValueId'])) { $model->customFieldValueId = $map['customFieldValueId']; } if (isset($map['metaString'])) { $model->metaString = $map['metaString']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/project_1_0/Models/SuspendProjectHeaders.php000064400000002333146412132660015646 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SuspendProjectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/SuspendProjectResponse.php000064400000002725146412132660016076 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SuspendProjectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SuspendProjectResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/SuspendProjectResponseBody.php000064400000001715146412132660016712 0ustar00 '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 SuspendProjectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/SuspendProjectResponseBody/result.php000064400000001552146412132660020227 0ustar00 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UnSuspendProjectHeaders.php000064400000002337146412132660016155 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UnSuspendProjectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UnSuspendProjectResponse.php000064400000002735146412132660016402 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UnSuspendProjectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UnSuspendProjectResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UnSuspendProjectResponseBody.php000064400000001723146412132660017214 0ustar00 '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 UnSuspendProjectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UnSuspendProjectResponseBody/result.php000064400000001554146412132660020534 0ustar00 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UpdateCustomfieldValueHeaders.php000064400000002353146412132660017316 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateCustomfieldValueHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateCustomfieldValueRequest.php000064400000004216146412132660017373 0ustar00 'customFieldId', 'customFieldName' => 'customFieldName', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFieldId) { $res['customFieldId'] = $this->customFieldId; } if (null !== $this->customFieldName) { $res['customFieldName'] = $this->customFieldName; } if (null !== $this->value) { $res['value'] = []; if (null !== $this->value && \is_array($this->value)) { $n = 0; foreach ($this->value as $item) { $res['value'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return UpdateCustomfieldValueRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFieldId'])) { $model->customFieldId = $map['customFieldId']; } if (isset($map['customFieldName'])) { $model->customFieldName = $map['customFieldName']; } if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = []; $n = 0; foreach ($map['value'] as $item) { $model->value[$n++] = null !== $item ? value::fromMap($item) : $item; } } } return $model; } } src/project_1_0/Models/UpdateCustomfieldValueRequest/value.php000064400000001526146412132660020510 0ustar00 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return value */ public static function fromMap($map = []) { $model = new self(); if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/project_1_0/Models/UpdateCustomfieldValueResponse.php000064400000002765146412132660017550 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateCustomfieldValueResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateCustomfieldValueResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateCustomfieldValueResponseBody.php000064400000001745146412132660020363 0ustar00 '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 UpdateCustomfieldValueResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateCustomfieldValueResponseBody/result.php000064400000002773146412132660021703 0ustar00 'customFields', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFields) { $res['customFields'] = []; if (null !== $this->customFields && \is_array($this->customFields)) { $n = 0; foreach ($this->customFields as $item) { $res['customFields'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFields'])) { if (!empty($map['customFields'])) { $model->customFields = []; $n = 0; foreach ($map['customFields'] as $item) { $model->customFields[$n++] = null !== $item ? customFields::fromMap($item) : $item; } } } return $model; } } src/project_1_0/Models/UpdateCustomfieldValueResponseBody/result/customFields.php000064400000003427146412132660024341 0ustar00 'customFieldId', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFieldId) { $res['customFieldId'] = $this->customFieldId; } if (null !== $this->value) { $res['value'] = []; if (null !== $this->value && \is_array($this->value)) { $n = 0; foreach ($this->value as $item) { $res['value'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return customFields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFieldId'])) { $model->customFieldId = $map['customFieldId']; } if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = []; $n = 0; foreach ($map['value'] as $item) { $model->value[$n++] = null !== $item ? value::fromMap($item) : $item; } } } return $model; } } src/project_1_0/Models/UpdateCustomfieldValueResponseBody/result/customFields/value.php000064400000001557146412132660025457 0ustar00 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return value */ public static function fromMap($map = []) { $model = new self(); if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskContentHeaders.php000064400000002371146412132660020665 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskContentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskContentRequest.php000064400000003250146412132660020737 0ustar00 'content', 'disableActivity' => 'disableActivity', 'disableNotification' => 'disableNotification', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->disableActivity) { $res['disableActivity'] = $this->disableActivity; } if (null !== $this->disableNotification) { $res['disableNotification'] = $this->disableNotification; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskContentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['disableActivity'])) { $model->disableActivity = $map['disableActivity']; } if (isset($map['disableNotification'])) { $model->disableNotification = $map['disableNotification']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskContentResponse.php000064400000003021146412132660021101 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskContentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateOrganizationTaskContentResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskContentResponseBody.php000064400000001772146412132660021732 0ustar00 '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 UpdateOrganizationTaskContentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskContentResponseBody/result.php000064400000002267146412132660023250 0ustar00 'content', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskDueDateHeaders.php000064400000002371146412132660020566 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskDueDateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskDueDateRequest.php000064400000003261146412132660020642 0ustar00 'disableActivity', 'disableNotification' => 'disableNotification', 'dueDate' => 'dueDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->disableActivity) { $res['disableActivity'] = $this->disableActivity; } if (null !== $this->disableNotification) { $res['disableNotification'] = $this->disableNotification; } if (null !== $this->dueDate) { $res['dueDate'] = $this->dueDate; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskDueDateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['disableActivity'])) { $model->disableActivity = $map['disableActivity']; } if (isset($map['disableNotification'])) { $model->disableNotification = $map['disableNotification']; } if (isset($map['dueDate'])) { $model->dueDate = $map['dueDate']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskDueDateResponse.php000064400000003021146412132660021002 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskDueDateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateOrganizationTaskDueDateResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskDueDateResponseBody.php000064400000001772146412132660021633 0ustar00 '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 UpdateOrganizationTaskDueDateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskDueDateResponseBody/result.php000064400000002336146412132660023146 0ustar00 'dueDate', 'updateTime' => 'updateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dueDate) { $res['dueDate'] = $this->dueDate; } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dueDate'])) { $model->dueDate = $map['dueDate']; } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskExecutorHeaders.php000064400000002373146412132660021053 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskExecutorHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskExecutorRequest.php000064400000003143146412132660021124 0ustar00 'disableActivity', 'disableNotification' => 'disableNotification', 'executorId' => 'executorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->disableActivity) { $res['disableActivity'] = $this->disableActivity; } if (null !== $this->disableNotification) { $res['disableNotification'] = $this->disableNotification; } if (null !== $this->executorId) { $res['executorId'] = $this->executorId; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskExecutorRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['disableActivity'])) { $model->disableActivity = $map['disableActivity']; } if (isset($map['disableNotification'])) { $model->disableNotification = $map['disableNotification']; } if (isset($map['executorId'])) { $model->executorId = $map['executorId']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskExecutorResponse.php000064400000003025146412132660021271 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskExecutorResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateOrganizationTaskExecutorResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskExecutorResponseBody.php000064400000001775146412132660022121 0ustar00 '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 UpdateOrganizationTaskExecutorResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskExecutorResponseBody/result.php000064400000005101146412132660023422 0ustar00 'executor', 'executorId' => 'executorId', 'involvers' => 'involvers', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->executor) { $res['executor'] = null !== $this->executor ? $this->executor->toMap() : null; } if (null !== $this->executorId) { $res['executorId'] = $this->executorId; } if (null !== $this->involvers) { $res['involvers'] = []; if (null !== $this->involvers && \is_array($this->involvers)) { $n = 0; foreach ($this->involvers as $item) { $res['involvers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['executor'])) { $model->executor = executor::fromMap($map['executor']); } if (isset($map['executorId'])) { $model->executorId = $map['executorId']; } if (isset($map['involvers'])) { if (!empty($map['involvers'])) { $model->involvers = []; $n = 0; foreach ($map['involvers'] as $item) { $model->involvers[$n++] = null !== $item ? involvers::fromMap($item) : $item; } } } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskExecutorResponseBody/result/executor.php000064400000002732146412132660025267 0ustar00 '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 executor */ 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/project_1_0/Models/UpdateOrganizationTaskExecutorResponseBody/result/involvers.php000064400000002734146412132660025462 0ustar00 '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 involvers */ 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/project_1_0/Models/UpdateOrganizationTaskInvolveMembersHeaders.php000064400000002407146412132660022210 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskInvolveMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskInvolveMembersRequest.php000064400000005053146412132660022265 0ustar00 'addInvolvers', 'delInvolvers' => 'delInvolvers', 'disableActivity' => 'disableActivity', 'disableNotification' => 'disableNotification', 'involveMembers' => 'involveMembers', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->addInvolvers) { $res['addInvolvers'] = $this->addInvolvers; } if (null !== $this->delInvolvers) { $res['delInvolvers'] = $this->delInvolvers; } if (null !== $this->disableActivity) { $res['disableActivity'] = $this->disableActivity; } if (null !== $this->disableNotification) { $res['disableNotification'] = $this->disableNotification; } if (null !== $this->involveMembers) { $res['involveMembers'] = $this->involveMembers; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskInvolveMembersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['addInvolvers'])) { if (!empty($map['addInvolvers'])) { $model->addInvolvers = $map['addInvolvers']; } } if (isset($map['delInvolvers'])) { if (!empty($map['delInvolvers'])) { $model->delInvolvers = $map['delInvolvers']; } } if (isset($map['disableActivity'])) { $model->disableActivity = $map['disableActivity']; } if (isset($map['disableNotification'])) { $model->disableNotification = $map['disableNotification']; } if (isset($map['involveMembers'])) { if (!empty($map['involveMembers'])) { $model->involveMembers = $map['involveMembers']; } } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskInvolveMembersResponse.php000064400000003055146412132660022433 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskInvolveMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateOrganizationTaskInvolveMembersResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskInvolveMembersResponseBody.php000064400000002017146412132660023246 0ustar00 '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 UpdateOrganizationTaskInvolveMembersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskInvolveMembersResponseBody/result.php000064400000003452146412132660024570 0ustar00 'involvers', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->involvers) { $res['involvers'] = []; if (null !== $this->involvers && \is_array($this->involvers)) { $n = 0; foreach ($this->involvers as $item) { $res['involvers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['involvers'])) { if (!empty($map['involvers'])) { $model->involvers = []; $n = 0; foreach ($map['involvers'] as $item) { $model->involvers[$n++] = null !== $item ? involvers::fromMap($item) : $item; } } } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskInvolveMembersResponseBody/result/involvers.php000064400000002742146412132660026620 0ustar00 '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 involvers */ 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/project_1_0/Models/UpdateOrganizationTaskNoteHeaders.php000064400000002363146412132660020161 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskNoteHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskNoteRequest.php000064400000003220146412132660020227 0ustar00 'disableActivity', 'disableNotification' => 'disableNotification', 'note' => 'note', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->disableActivity) { $res['disableActivity'] = $this->disableActivity; } if (null !== $this->disableNotification) { $res['disableNotification'] = $this->disableNotification; } if (null !== $this->note) { $res['note'] = $this->note; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskNoteRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['disableActivity'])) { $model->disableActivity = $map['disableActivity']; } if (isset($map['disableNotification'])) { $model->disableNotification = $map['disableNotification']; } if (isset($map['note'])) { $model->note = $map['note']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskNoteResponse.php000064400000003005146412132660020376 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskNoteResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateOrganizationTaskNoteResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskNoteResponseBody.php000064400000001761146412132660021223 0ustar00 '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 UpdateOrganizationTaskNoteResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskNoteResponseBody/result.php000064400000002242146412132660022534 0ustar00 'note', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->note) { $res['note'] = $this->note; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['note'])) { $model->note = $map['note']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskPriorityHeaders.php000064400000002373146412132660021076 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskPriorityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskPriorityRequest.php000064400000003243146412132660021150 0ustar00 'disableActivity', 'disableNotification' => 'disableNotification', 'priority' => 'priority', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->disableActivity) { $res['disableActivity'] = $this->disableActivity; } if (null !== $this->disableNotification) { $res['disableNotification'] = $this->disableNotification; } if (null !== $this->priority) { $res['priority'] = $this->priority; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskPriorityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['disableActivity'])) { $model->disableActivity = $map['disableActivity']; } if (isset($map['disableNotification'])) { $model->disableNotification = $map['disableNotification']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskPriorityResponse.php000064400000003025146412132660021314 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskPriorityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateOrganizationTaskPriorityResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskPriorityResponseBody.php000064400000001775146412132660022144 0ustar00 '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 UpdateOrganizationTaskPriorityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskPriorityResponseBody/result.php000064400000002263146412132660023453 0ustar00 'priority', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskStatusHeaders.php000064400000002367146412132660020543 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskStatusRequest.php000064400000003223146412132660020610 0ustar00 'disableActivity', 'disableNotification' => 'disableNotification', 'isDone' => 'isDone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->disableActivity) { $res['disableActivity'] = $this->disableActivity; } if (null !== $this->disableNotification) { $res['disableNotification'] = $this->disableNotification; } if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['disableActivity'])) { $model->disableActivity = $map['disableActivity']; } if (isset($map['disableNotification'])) { $model->disableNotification = $map['disableNotification']; } if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskStatusResponse.php000064400000003015146412132660020755 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateOrganizationTaskStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateOrganizationTaskStatusResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskStatusResponseBody.php000064400000001767146412132660021607 0ustar00 '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 UpdateOrganizationTaskStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateOrganizationTaskStatusResponseBody/result.php000064400000002277146412132660023122 0ustar00 'isDone', 'updateTime' => 'updateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } return $model; } } src/project_1_0/Models/UpdateProjectGroupHeaders.php000064400000002343146412132660016465 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateProjectGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateProjectGroupRequest.php000064400000002666146412132660016552 0ustar00 'addProjectGroupIds', 'delProjectGroupIds' => 'delProjectGroupIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->addProjectGroupIds) { $res['addProjectGroupIds'] = $this->addProjectGroupIds; } if (null !== $this->delProjectGroupIds) { $res['delProjectGroupIds'] = $this->delProjectGroupIds; } return $res; } /** * @param array $map * * @return UpdateProjectGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['addProjectGroupIds'])) { if (!empty($map['addProjectGroupIds'])) { $model->addProjectGroupIds = $map['addProjectGroupIds']; } } if (isset($map['delProjectGroupIds'])) { if (!empty($map['delProjectGroupIds'])) { $model->delProjectGroupIds = $map['delProjectGroupIds']; } } return $model; } } src/project_1_0/Models/UpdateProjectGroupResponse.php000064400000002745146412132660016716 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateProjectGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateProjectGroupResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateProjectGroupResponseBody.php000064400000001731146412132660017526 0ustar00 '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 UpdateProjectGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateProjectGroupResponseBody/result.php000064400000001453146412132660021045 0ustar00 'ok', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ok) { $res['ok'] = $this->ok; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ok'])) { $model->ok = $map['ok']; } return $model; } } src/project_1_0/Models/UpdateTaskContentHeaders.php000064400000002341146412132660016275 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTaskContentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateTaskContentRequest.php000064400000001555146412132660016360 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return UpdateTaskContentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/project_1_0/Models/UpdateTaskContentResponse.php000064400000002741146412132660016524 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTaskContentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateTaskContentResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateTaskContentResponseBody.php000064400000001726146412132660017344 0ustar00 '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 UpdateTaskContentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateTaskContentResponseBody/result.php000064400000002256146412132660020661 0ustar00 'content', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UpdateTaskDueDateHeaders.php000064400000002341146412132660016176 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTaskDueDateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateTaskDueDateRequest.php000064400000001563146412132660016260 0ustar00 'dueDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dueDate) { $res['dueDate'] = $this->dueDate; } return $res; } /** * @param array $map * * @return UpdateTaskDueDateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dueDate'])) { $model->dueDate = $map['dueDate']; } return $model; } } src/project_1_0/Models/UpdateTaskDueDateResponse.php000064400000002741146412132660016425 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTaskDueDateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateTaskDueDateResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateTaskDueDateResponseBody.php000064400000001726146412132660017245 0ustar00 '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 UpdateTaskDueDateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateTaskDueDateResponseBody/result.php000064400000002264146412132660020561 0ustar00 'dueDate', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dueDate) { $res['dueDate'] = $this->dueDate; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dueDate'])) { $model->dueDate = $map['dueDate']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UpdateTaskExecutorHeaders.php000064400000002343146412132660016463 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTaskExecutorHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateTaskExecutorRequest.php000064400000001603146412132660016536 0ustar00 'executorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->executorId) { $res['executorId'] = $this->executorId; } return $res; } /** * @param array $map * * @return UpdateTaskExecutorRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['executorId'])) { $model->executorId = $map['executorId']; } return $model; } } src/project_1_0/Models/UpdateTaskExecutorResponse.php000064400000002745146412132660016714 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTaskExecutorResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateTaskExecutorResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateTaskExecutorResponseBody.php000064400000001731146412132660017524 0ustar00 '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 UpdateTaskExecutorResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateTaskExecutorResponseBody/result.php000064400000002306146412132660021041 0ustar00 'executorId', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->executorId) { $res['executorId'] = $this->executorId; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['executorId'])) { $model->executorId = $map['executorId']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UpdateTaskInvolvemembersHeaders.php000064400000002357146412132660017667 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTaskInvolvemembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateTaskInvolvemembersRequest.php000064400000003352146412132660017740 0ustar00 'addInvolvers', 'delInvolvers' => 'delInvolvers', 'involveMembers' => 'involveMembers', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->addInvolvers) { $res['addInvolvers'] = $this->addInvolvers; } if (null !== $this->delInvolvers) { $res['delInvolvers'] = $this->delInvolvers; } if (null !== $this->involveMembers) { $res['involveMembers'] = $this->involveMembers; } return $res; } /** * @param array $map * * @return UpdateTaskInvolvemembersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['addInvolvers'])) { if (!empty($map['addInvolvers'])) { $model->addInvolvers = $map['addInvolvers']; } } if (isset($map['delInvolvers'])) { if (!empty($map['delInvolvers'])) { $model->delInvolvers = $map['delInvolvers']; } } if (isset($map['involveMembers'])) { if (!empty($map['involveMembers'])) { $model->involveMembers = $map['involveMembers']; } } return $model; } } src/project_1_0/Models/UpdateTaskInvolvemembersResponse.php000064400000002775146412132660020116 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTaskInvolvemembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateTaskInvolvemembersResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateTaskInvolvemembersResponseBody.php000064400000001753146412132660020727 0ustar00 '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 UpdateTaskInvolvemembersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateTaskInvolvemembersResponseBody/result.php000064400000002427146412132660022244 0ustar00 'involveMembers', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->involveMembers) { $res['involveMembers'] = $this->involveMembers; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['involveMembers'])) { if (!empty($map['involveMembers'])) { $model->involveMembers = $map['involveMembers']; } } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UpdateTaskNoteHeaders.php000064400000002333146412132660015571 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTaskNoteHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateTaskNoteRequest.php000064400000001514146412132660015646 0ustar00 'note', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->note) { $res['note'] = $this->note; } return $res; } /** * @param array $map * * @return UpdateTaskNoteRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['note'])) { $model->note = $map['note']; } return $model; } } src/project_1_0/Models/UpdateTaskNoteResponse.php000064400000002725146412132660016021 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTaskNoteResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateTaskNoteResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateTaskNoteResponseBody.php000064400000001715146412132660016635 0ustar00 '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 UpdateTaskNoteResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateTaskNoteResponseBody/result.php000064400000002223146412132660020146 0ustar00 'note', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->note) { $res['note'] = $this->note; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['note'])) { $model->note = $map['note']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UpdateTaskPriorityHeaders.php000064400000002343146412132660016506 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTaskPriorityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateTaskPriorityRequest.php000064400000001544146412132660016565 0ustar00 'priority', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->priority) { $res['priority'] = $this->priority; } return $res; } /** * @param array $map * * @return UpdateTaskPriorityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['priority'])) { $model->priority = $map['priority']; } return $model; } } src/project_1_0/Models/UpdateTaskPriorityResponse.php000064400000002745146412132660016737 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTaskPriorityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateTaskPriorityResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateTaskPriorityResponseBody.php000064400000001731146412132660017547 0ustar00 '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 UpdateTaskPriorityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateTaskPriorityResponseBody/result.php000064400000002245146412132660021066 0ustar00 'priority', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UpdateTaskStageHeaders.php000064400000002335146412132660015731 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTaskStageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateTaskStageRequest.php000064400000001623146412132660016005 0ustar00 'taskStageId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskStageId) { $res['taskStageId'] = $this->taskStageId; } return $res; } /** * @param array $map * * @return UpdateTaskStageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskStageId'])) { $model->taskStageId = $map['taskStageId']; } return $model; } } src/project_1_0/Models/UpdateTaskStageResponse.php000064400000002731146412132660016154 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTaskStageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateTaskStageResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateTaskStageResponseBody.php000064400000001720146412132660016767 0ustar00 '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 UpdateTaskStageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateTaskStageResponseBody/result.php000064400000005641146412132660020313 0ustar00 'accomplishTime', 'isDone' => 'isDone', 'projectId' => 'projectId', 'taskId' => 'taskId', 'taskListId' => 'taskListId', 'taskStageId' => 'taskStageId', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accomplishTime) { $res['accomplishTime'] = $this->accomplishTime; } if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->taskListId) { $res['taskListId'] = $this->taskListId; } if (null !== $this->taskStageId) { $res['taskStageId'] = $this->taskStageId; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accomplishTime'])) { $model->accomplishTime = $map['accomplishTime']; } if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['taskListId'])) { $model->taskListId = $map['taskListId']; } if (isset($map['taskStageId'])) { $model->taskStageId = $map['taskStageId']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UpdateTaskStartdateHeaders.php000064400000002345146412132660016622 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTaskStartdateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateTaskStartdateRequest.php000064400000001611146412132660016672 0ustar00 'startDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } return $res; } /** * @param array $map * * @return UpdateTaskStartdateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } return $model; } } src/project_1_0/Models/UpdateTaskStartdateResponse.php000064400000002751146412132660017046 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTaskStartdateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateTaskStartdateResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateTaskStartdateResponseBody.php000064400000001734146412132660017664 0ustar00 '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 UpdateTaskStartdateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateTaskStartdateResponseBody/result.php000064400000002312146412132660021173 0ustar00 'startDate', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UpdateTaskTaskflowstatusHeaders.php000064400000002357146412132660017730 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTaskTaskflowstatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateTaskTaskflowstatusRequest.php000064400000002645146412132660020005 0ustar00 'taskflowStatusId', 'taskflowStatusUpdateNote' => 'taskflowStatusUpdateNote', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskflowStatusId) { $res['taskflowStatusId'] = $this->taskflowStatusId; } if (null !== $this->taskflowStatusUpdateNote) { $res['taskflowStatusUpdateNote'] = $this->taskflowStatusUpdateNote; } return $res; } /** * @param array $map * * @return UpdateTaskTaskflowstatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskflowStatusId'])) { $model->taskflowStatusId = $map['taskflowStatusId']; } if (isset($map['taskflowStatusUpdateNote'])) { $model->taskflowStatusUpdateNote = $map['taskflowStatusUpdateNote']; } return $model; } } src/project_1_0/Models/UpdateTaskTaskflowstatusResponse.php000064400000002775146412132660020157 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTaskTaskflowstatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateTaskTaskflowstatusResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateTaskTaskflowstatusResponseBody.php000064400000001753146412132660020770 0ustar00 '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 UpdateTaskTaskflowstatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateTaskTaskflowstatusResponseBody/result.php000064400000001564146412132660022306 0ustar00 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/project_1_0/Models/UpdateWorkTimeApproveHeaders.php000064400000002351146412132660017137 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateWorkTimeApproveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_1_0/Models/UpdateWorkTimeApproveRequest.php000064400000004720146412132660017216 0ustar00 'finishTime', 'instanceId' => 'instanceId', 'status' => 'status', 'submitTime' => 'submitTime', 'title' => 'title', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->finishTime) { $res['finishTime'] = $this->finishTime; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->submitTime) { $res['submitTime'] = $this->submitTime; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return UpdateWorkTimeApproveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['finishTime'])) { $model->finishTime = $map['finishTime']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['submitTime'])) { $model->submitTime = $map['submitTime']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/project_1_0/Models/UpdateWorkTimeApproveResponse.php000064400000002761146412132660017367 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateWorkTimeApproveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateWorkTimeApproveResponseBody::fromMap($map['body']); } return $model; } } src/project_1_0/Models/UpdateWorkTimeApproveResponseBody.php000064400000003147146412132660020204 0ustar00 'message', 'requestId' => 'requestId', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->message) { $res['message'] = $this->message; } 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 UpdateWorkTimeApproveResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/project_1_0/Models/UpdateWorkTimeApproveResponseBody/result.php000064400000013030146412132660021512 0ustar00 'approveOpenId', 'createdAt' => 'createdAt', 'creatorId' => 'creatorId', 'finishTime' => 'finishTime', 'instanceId' => 'instanceId', 'organizationId' => 'organizationId', 'status' => 'status', 'submitTime' => 'submitTime', 'taskId' => 'taskId', 'time' => 'time', 'title' => 'title', 'updatedAt' => 'updatedAt', 'url' => 'url', 'userId' => 'userId', 'workTimeIds' => 'workTimeIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approveOpenId) { $res['approveOpenId'] = $this->approveOpenId; } if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->finishTime) { $res['finishTime'] = $this->finishTime; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->organizationId) { $res['organizationId'] = $this->organizationId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->submitTime) { $res['submitTime'] = $this->submitTime; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->time) { $res['time'] = $this->time; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->updatedAt) { $res['updatedAt'] = $this->updatedAt; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->workTimeIds) { $res['workTimeIds'] = $this->workTimeIds; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approveOpenId'])) { $model->approveOpenId = $map['approveOpenId']; } if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['finishTime'])) { $model->finishTime = $map['finishTime']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['organizationId'])) { $model->organizationId = $map['organizationId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['submitTime'])) { $model->submitTime = $map['submitTime']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['time'])) { $model->time = $map['time']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['updatedAt'])) { $model->updatedAt = $map['updatedAt']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['workTimeIds'])) { if (!empty($map['workTimeIds'])) { $model->workTimeIds = $map['workTimeIds']; } } return $model; } } src/project_integration_1_0/Dingtalk.php000064400000023607146412132660014326 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $userId * @param string $groupId * @param AddAttendeeToEventGroupHeaders $headers * @param RuntimeOptions $runtime * * @return AddAttendeeToEventGroupResponse */ public function addAttendeeToEventGroupWithOptions($userId, $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' => 'AddAttendeeToEventGroup', 'version' => 'projectIntegration_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/projectIntegration/users/' . $userId . '/eventGroups/' . $groupId . '/members', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AddAttendeeToEventGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param string $groupId * * @return AddAttendeeToEventGroupResponse */ public function addAttendeeToEventGroup($userId, $groupId) { $runtime = new RuntimeOptions([]); $headers = new AddAttendeeToEventGroupHeaders([]); return $this->addAttendeeToEventGroupWithOptions($userId, $groupId, $headers, $runtime); } /** * @param string $userId * @param CreateEventGroupHeaders $headers * @param RuntimeOptions $runtime * * @return CreateEventGroupResponse */ public function createEventGroupWithOptions($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' => 'CreateEventGroup', 'version' => 'projectIntegration_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/projectIntegration/users/' . $userId . '/eventGroups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateEventGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * * @return CreateEventGroupResponse */ public function createEventGroup($userId) { $runtime = new RuntimeOptions([]); $headers = new CreateEventGroupHeaders([]); return $this->createEventGroupWithOptions($userId, $headers, $runtime); } /** * @param string $userId * @param SendInteractiveCardHeaders $headers * @param RuntimeOptions $runtime * * @return SendInteractiveCardResponse */ public function sendInteractiveCardWithOptions($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' => 'SendInteractiveCard', 'version' => 'projectIntegration_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/projectIntegration/users/' . $userId . '/groupChatCardMessages', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return SendInteractiveCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * * @return SendInteractiveCardResponse */ public function sendInteractiveCard($userId) { $runtime = new RuntimeOptions([]); $headers = new SendInteractiveCardHeaders([]); return $this->sendInteractiveCardWithOptions($userId, $headers, $runtime); } /** * @param string $userId * @param SendSingleInteractiveCardHeaders $headers * @param RuntimeOptions $runtime * * @return SendSingleInteractiveCardResponse */ public function sendSingleInteractiveCardWithOptions($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' => 'SendSingleInteractiveCard', 'version' => 'projectIntegration_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/projectIntegration/users/' . $userId . '/singleChatCardMessages', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return SendSingleInteractiveCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * * @return SendSingleInteractiveCardResponse */ public function sendSingleInteractiveCard($userId) { $runtime = new RuntimeOptions([]); $headers = new SendSingleInteractiveCardHeaders([]); return $this->sendSingleInteractiveCardWithOptions($userId, $headers, $runtime); } /** * @param string $userId * @param UpdateInteractiveCardHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateInteractiveCardResponse */ public function updateInteractiveCardWithOptions($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' => 'UpdateInteractiveCard', 'version' => 'projectIntegration_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/projectIntegration/users/' . $userId . '/cardMessages', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateInteractiveCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * * @return UpdateInteractiveCardResponse */ public function updateInteractiveCard($userId) { $runtime = new RuntimeOptions([]); $headers = new UpdateInteractiveCardHeaders([]); return $this->updateInteractiveCardWithOptions($userId, $headers, $runtime); } } src/project_integration_1_0/Models/AddAttendeeToEventGroupHeaders.php000064400000002371146412132660021767 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddAttendeeToEventGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_integration_1_0/Models/AddAttendeeToEventGroupResponse.php000064400000002624146412132660022213 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function 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 AddAttendeeToEventGroupResponse */ public static function fromMap($map = []) { $model = 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/project_integration_1_0/Models/CreateEventGroupHeaders.php000064400000002353146412132660020525 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateEventGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_integration_1_0/Models/CreateEventGroupResponse.php000064400000002606146412132660020751 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function 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 CreateEventGroupResponse */ public static function fromMap($map = []) { $model = 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/project_integration_1_0/Models/SendInteractiveCardHeaders.php000064400000002361146412132660021163 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendInteractiveCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_integration_1_0/Models/SendInteractiveCardResponse.php000064400000002614146412132660021407 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function 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 SendInteractiveCardResponse */ public static function fromMap($map = []) { $model = 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/project_integration_1_0/Models/SendSingleInteractiveCardHeaders.php000064400000002375146412132660022332 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendSingleInteractiveCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_integration_1_0/Models/SendSingleInteractiveCardResponse.php000064400000002630146412132660022547 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function 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 SendSingleInteractiveCardResponse */ public static function fromMap($map = []) { $model = 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/project_integration_1_0/Models/UpdateInteractiveCardHeaders.php000064400000002365146412132660021520 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInteractiveCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/project_integration_1_0/Models/UpdateInteractiveCardResponse.php000064400000002620146412132660021735 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function 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 UpdateInteractiveCardResponse */ public static function fromMap($map = []) { $model = 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/rcs_call_1_0/Dingtalk.php000064400000006161146412132660012033 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param RunCallUserRequest $request * @param RunCallUserHeaders $headers * @param RuntimeOptions $runtime * * @return RunCallUserResponse */ public function runCallUserWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->authorizeCorpId)) { $query['authorizeCorpId'] = $request->authorizeCorpId; } if (!Utils::isUnset($request->authorizeUserId)) { $query['authorizeUserId'] = $request->authorizeUserId; } if (!Utils::isUnset($request->orderId)) { $query['orderId'] = $request->orderId; } 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' => 'RunCallUser', 'version' => 'rcsCall_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rcsCall/users/call', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RunCallUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RunCallUserRequest $request * * @return RunCallUserResponse */ public function runCallUser($request) { $runtime = new RuntimeOptions([]); $headers = new RunCallUserHeaders([]); return $this->runCallUserWithOptions($request, $headers, $runtime); } } src/rcs_call_1_0/Models/RunCallUserHeaders.php000064400000002326146412132660015213 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RunCallUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rcs_call_1_0/Models/RunCallUserRequest.php000064400000003615146412132660015272 0ustar00 'authorizeCorpId', 'authorizeUserId' => 'authorizeUserId', 'orderId' => 'orderId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authorizeCorpId) { $res['authorizeCorpId'] = $this->authorizeCorpId; } if (null !== $this->authorizeUserId) { $res['authorizeUserId'] = $this->authorizeUserId; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return RunCallUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authorizeCorpId'])) { $model->authorizeCorpId = $map['authorizeCorpId']; } if (isset($map['authorizeUserId'])) { $model->authorizeUserId = $map['authorizeUserId']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/rcs_call_1_0/Models/RunCallUserResponse.php000064400000002712146412132660015435 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RunCallUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RunCallUserResponseBody::fromMap($map['body']); } return $model; } } src/rcs_call_1_0/Models/RunCallUserResponseBody.php000064400000001546146412132660016257 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return RunCallUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/report_1_0/Dingtalk.php000064400000030064146412132660011563 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CreateTemplatesRequest $request * @param CreateTemplatesHeaders $headers * @param RuntimeOptions $runtime * * @return CreateTemplatesResponse */ public function createTemplatesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->allowAddReceivers)) { $body['allowAddReceivers'] = $request->allowAddReceivers; } if (!Utils::isUnset($request->allowEdit)) { $body['allowEdit'] = $request->allowEdit; } if (!Utils::isUnset($request->allowGetLocation)) { $body['allowGetLocation'] = $request->allowGetLocation; } if (!Utils::isUnset($request->authDeptIds)) { $body['authDeptIds'] = $request->authDeptIds; } if (!Utils::isUnset($request->authUserIds)) { $body['authUserIds'] = $request->authUserIds; } if (!Utils::isUnset($request->creator)) { $body['creator'] = $request->creator; } if (!Utils::isUnset($request->defaultReceivedCids)) { $body['defaultReceivedCids'] = $request->defaultReceivedCids; } if (!Utils::isUnset($request->defaultReceivedMasterLevels)) { $body['defaultReceivedMasterLevels'] = $request->defaultReceivedMasterLevels; } if (!Utils::isUnset($request->defaultReceivers)) { $body['defaultReceivers'] = $request->defaultReceivers; } if (!Utils::isUnset($request->fields)) { $body['fields'] = $request->fields; } if (!Utils::isUnset($request->logo)) { $body['logo'] = $request->logo; } if (!Utils::isUnset($request->maxWordCount)) { $body['maxWordCount'] = $request->maxWordCount; } if (!Utils::isUnset($request->minWordCount)) { $body['minWordCount'] = $request->minWordCount; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->templateManagers)) { $body['templateManagers'] = $request->templateManagers; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateTemplates', 'version' => 'report_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/report/templates', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateTemplatesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateTemplatesRequest $request * * @return CreateTemplatesResponse */ public function createTemplates($request) { $runtime = new RuntimeOptions([]); $headers = new CreateTemplatesHeaders([]); return $this->createTemplatesWithOptions($request, $headers, $runtime); } /** * @param GetSendAndReceiveReportListRequest $request * @param GetSendAndReceiveReportListHeaders $headers * @param RuntimeOptions $runtime * * @return GetSendAndReceiveReportListResponse */ public function getSendAndReceiveReportListWithOptions($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->operationUserId)) { $query['operationUserId'] = $request->operationUserId; } 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' => 'GetSendAndReceiveReportList', 'version' => 'report_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/report/users/sendAndReceiveLists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSendAndReceiveReportListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSendAndReceiveReportListRequest $request * * @return GetSendAndReceiveReportListResponse */ public function getSendAndReceiveReportList($request) { $runtime = new RuntimeOptions([]); $headers = new GetSendAndReceiveReportListHeaders([]); return $this->getSendAndReceiveReportListWithOptions($request, $headers, $runtime); } /** * @param GetSubmitStatisticsRequest $request * @param GetSubmitStatisticsHeaders $headers * @param RuntimeOptions $runtime * * @return GetSubmitStatisticsResponse */ public function getSubmitStatisticsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->operationUserId)) { $query['operationUserId'] = $request->operationUserId; } if (!Utils::isUnset($request->remindId)) { $query['remindId'] = $request->remindId; } if (!Utils::isUnset($request->startTime)) { $query['startTime'] = $request->startTime; } 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' => 'GetSubmitStatistics', 'version' => 'report_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/report/submitStatisticalResults', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSubmitStatisticsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSubmitStatisticsRequest $request * * @return GetSubmitStatisticsResponse */ public function getSubmitStatistics($request) { $runtime = new RuntimeOptions([]); $headers = new GetSubmitStatisticsHeaders([]); return $this->getSubmitStatisticsWithOptions($request, $headers, $runtime); } /** * @param QueryRemindResultsRequest $request * @param QueryRemindResultsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryRemindResultsResponse */ public function queryRemindResultsWithOptions($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->operationUserId)) { $query['operationUserId'] = $request->operationUserId; } 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' => 'QueryRemindResults', 'version' => 'report_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/report/statisticalRules/results', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryRemindResultsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryRemindResultsRequest $request * * @return QueryRemindResultsResponse */ public function queryRemindResults($request) { $runtime = new RuntimeOptions([]); $headers = new QueryRemindResultsHeaders([]); return $this->queryRemindResultsWithOptions($request, $headers, $runtime); } } src/report_1_0/Models/CreateTemplatesHeaders.php000064400000002334146412132660015626 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateTemplatesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/report_1_0/Models/CreateTemplatesRequest.php000064400000015304146412132660015704 0ustar00 'allowAddReceivers', 'allowEdit' => 'allowEdit', 'allowGetLocation' => 'allowGetLocation', 'authDeptIds' => 'authDeptIds', 'authUserIds' => 'authUserIds', 'creator' => 'creator', 'defaultReceivedCids' => 'defaultReceivedCids', 'defaultReceivedMasterLevels' => 'defaultReceivedMasterLevels', 'defaultReceivers' => 'defaultReceivers', 'fields' => 'fields', 'logo' => 'logo', 'maxWordCount' => 'maxWordCount', 'minWordCount' => 'minWordCount', 'name' => 'name', 'templateManagers' => 'templateManagers', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->allowAddReceivers) { $res['allowAddReceivers'] = $this->allowAddReceivers; } if (null !== $this->allowEdit) { $res['allowEdit'] = $this->allowEdit; } if (null !== $this->allowGetLocation) { $res['allowGetLocation'] = $this->allowGetLocation; } if (null !== $this->authDeptIds) { $res['authDeptIds'] = $this->authDeptIds; } if (null !== $this->authUserIds) { $res['authUserIds'] = $this->authUserIds; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->defaultReceivedCids) { $res['defaultReceivedCids'] = $this->defaultReceivedCids; } if (null !== $this->defaultReceivedMasterLevels) { $res['defaultReceivedMasterLevels'] = $this->defaultReceivedMasterLevels; } if (null !== $this->defaultReceivers) { $res['defaultReceivers'] = $this->defaultReceivers; } 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->logo) { $res['logo'] = $this->logo; } if (null !== $this->maxWordCount) { $res['maxWordCount'] = $this->maxWordCount; } if (null !== $this->minWordCount) { $res['minWordCount'] = $this->minWordCount; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->templateManagers) { $res['templateManagers'] = $this->templateManagers; } return $res; } /** * @param array $map * * @return CreateTemplatesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['allowAddReceivers'])) { $model->allowAddReceivers = $map['allowAddReceivers']; } if (isset($map['allowEdit'])) { $model->allowEdit = $map['allowEdit']; } if (isset($map['allowGetLocation'])) { $model->allowGetLocation = $map['allowGetLocation']; } if (isset($map['authDeptIds'])) { if (!empty($map['authDeptIds'])) { $model->authDeptIds = $map['authDeptIds']; } } if (isset($map['authUserIds'])) { if (!empty($map['authUserIds'])) { $model->authUserIds = $map['authUserIds']; } } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['defaultReceivedCids'])) { if (!empty($map['defaultReceivedCids'])) { $model->defaultReceivedCids = $map['defaultReceivedCids']; } } if (isset($map['defaultReceivedMasterLevels'])) { if (!empty($map['defaultReceivedMasterLevels'])) { $model->defaultReceivedMasterLevels = $map['defaultReceivedMasterLevels']; } } if (isset($map['defaultReceivers'])) { if (!empty($map['defaultReceivers'])) { $model->defaultReceivers = $map['defaultReceivers']; } } 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['logo'])) { $model->logo = $map['logo']; } if (isset($map['maxWordCount'])) { $model->maxWordCount = $map['maxWordCount']; } if (isset($map['minWordCount'])) { $model->minWordCount = $map['minWordCount']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['templateManagers'])) { if (!empty($map['templateManagers'])) { $model->templateManagers = $map['templateManagers']; } } return $model; } } src/report_1_0/Models/CreateTemplatesRequest/fields.php000064400000004571146412132660017156 0ustar00 'dataType', 'dataValue' => 'dataValue', 'fieldName' => 'fieldName', 'need' => 'need', 'order' => 'order', 'sort' => 'sort', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataType) { $res['dataType'] = $this->dataType; } if (null !== $this->dataValue) { $res['dataValue'] = null !== $this->dataValue ? $this->dataValue->toMap() : null; } if (null !== $this->fieldName) { $res['fieldName'] = $this->fieldName; } if (null !== $this->need) { $res['need'] = $this->need; } if (null !== $this->order) { $res['order'] = $this->order; } if (null !== $this->sort) { $res['sort'] = $this->sort; } return $res; } /** * @param array $map * * @return fields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataType'])) { $model->dataType = $map['dataType']; } if (isset($map['dataValue'])) { $model->dataValue = dataValue::fromMap($map['dataValue']); } if (isset($map['fieldName'])) { $model->fieldName = $map['fieldName']; } if (isset($map['need'])) { $model->need = $map['need']; } if (isset($map['order'])) { $model->order = $map['order']; } if (isset($map['sort'])) { $model->sort = $map['sort']; } return $model; } } src/report_1_0/Models/CreateTemplatesRequest/fields/dataValue.php000064400000003206146412132660021056 0ustar00 'openInfo', 'options' => 'options', 'placeholder' => 'placeholder', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openInfo) { $res['openInfo'] = null !== $this->openInfo ? $this->openInfo->toMap() : null; } if (null !== $this->options) { $res['options'] = $this->options; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } return $res; } /** * @param array $map * * @return dataValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openInfo'])) { $model->openInfo = openInfo::fromMap($map['openInfo']); } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = $map['options']; } } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } return $model; } } src/report_1_0/Models/CreateTemplatesRequest/fields/dataValue/openInfo.php000064400000002212146412132660022627 0ustar00 'attribute', 'openId' => 'openId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attribute) { $res['attribute'] = $this->attribute; } if (null !== $this->openId) { $res['openId'] = $this->openId; } return $res; } /** * @param array $map * * @return openInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attribute'])) { $model->attribute = $map['attribute']; } if (isset($map['openId'])) { $model->openId = $map['openId']; } return $model; } } src/report_1_0/Models/CreateTemplatesResponse.php000064400000002730146412132660016051 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTemplatesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateTemplatesResponseBody::fromMap($map['body']); } return $model; } } src/report_1_0/Models/CreateTemplatesResponseBody.php000064400000001543146412132660016670 0ustar00 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return CreateTemplatesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/report_1_0/Models/GetSendAndReceiveReportListHeaders.php000064400000002364146412132660020056 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSendAndReceiveReportListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/report_1_0/Models/GetSendAndReceiveReportListRequest.php000064400000004342146412132660020131 0ustar00 'endTime', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'operationUserId' => 'operationUserId', '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->operationUserId) { $res['operationUserId'] = $this->operationUserId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return GetSendAndReceiveReportListRequest */ 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['operationUserId'])) { $model->operationUserId = $map['operationUserId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/report_1_0/Models/GetSendAndReceiveReportListResponse.php000064400000003010146412132660020266 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSendAndReceiveReportListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSendAndReceiveReportListResponseBody::fromMap($map['body']); } return $model; } } src/report_1_0/Models/GetSendAndReceiveReportListResponseBody.php000064400000004562146412132660021121 0ustar00 'dataList', 'hasMore' => 'hasMore', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; 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->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetSendAndReceiveReportListResponseBody */ 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['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/report_1_0/Models/GetSendAndReceiveReportListResponseBody/dataList.php000064400000005070146412132660022661 0ustar00 'createTime', 'creatorId' => 'creatorId', 'creatorName' => 'creatorName', 'modifiedTime' => 'modifiedTime', 'reportId' => 'reportId', 'templateName' => 'templateName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->creatorName) { $res['creatorName'] = $this->creatorName; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->reportId) { $res['reportId'] = $this->reportId; } if (null !== $this->templateName) { $res['templateName'] = $this->templateName; } return $res; } /** * @param array $map * * @return dataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['creatorName'])) { $model->creatorName = $map['creatorName']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['reportId'])) { $model->reportId = $map['reportId']; } if (isset($map['templateName'])) { $model->templateName = $map['templateName']; } return $model; } } src/report_1_0/Models/GetSubmitStatisticsHeaders.php000064400000002344146412132660016523 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSubmitStatisticsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/report_1_0/Models/GetSubmitStatisticsRequest.php000064400000004327146412132660016603 0ustar00 'endTime', 'operationUserId' => 'operationUserId', 'remindId' => 'remindId', 'startTime' => 'startTime', 'templateId' => 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->operationUserId) { $res['operationUserId'] = $this->operationUserId; } if (null !== $this->remindId) { $res['remindId'] = $this->remindId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return GetSubmitStatisticsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['operationUserId'])) { $model->operationUserId = $map['operationUserId']; } if (isset($map['remindId'])) { $model->remindId = $map['remindId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/report_1_0/Models/GetSubmitStatisticsResponse.php000064400000002750146412132660016747 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSubmitStatisticsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSubmitStatisticsResponseBody::fromMap($map['body']); } return $model; } } src/report_1_0/Models/GetSubmitStatisticsResponseBody.php000064400000006230146412132660017562 0ustar00 'shouldRemindTimes', 'templateName' => 'templateName', 'userDeptMap' => 'userDeptMap', 'userIdCountMap' => 'userIdCountMap', 'userIdStatusMap' => 'userIdStatusMap', 'userIds' => 'userIds', 'userMap' => 'userMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->shouldRemindTimes) { $res['shouldRemindTimes'] = $this->shouldRemindTimes; } if (null !== $this->templateName) { $res['templateName'] = $this->templateName; } if (null !== $this->userDeptMap) { $res['userDeptMap'] = $this->userDeptMap; } if (null !== $this->userIdCountMap) { $res['userIdCountMap'] = $this->userIdCountMap; } if (null !== $this->userIdStatusMap) { $res['userIdStatusMap'] = $this->userIdStatusMap; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } if (null !== $this->userMap) { $res['userMap'] = []; if (null !== $this->userMap && \is_array($this->userMap)) { foreach ($this->userMap as $key => $val) { $res['userMap'][$key] = null !== $val ? $val->toMap() : $val; } } } return $res; } /** * @param array $map * * @return GetSubmitStatisticsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['shouldRemindTimes'])) { $model->shouldRemindTimes = $map['shouldRemindTimes']; } if (isset($map['templateName'])) { $model->templateName = $map['templateName']; } if (isset($map['userDeptMap'])) { $model->userDeptMap = $map['userDeptMap']; } if (isset($map['userIdCountMap'])) { $model->userIdCountMap = $map['userIdCountMap']; } if (isset($map['userIdStatusMap'])) { $model->userIdStatusMap = $map['userIdStatusMap']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } if (isset($map['userMap'])) { $model->userMap = $map['userMap']; } return $model; } } src/report_1_0/Models/QueryRemindResultsHeaders.php000064400000002342146412132660016371 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryRemindResultsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/report_1_0/Models/QueryRemindResultsRequest.php000064400000003623146412132660016451 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'operationUserId' => 'operationUserId', 'templateId' => 'templateId', ]; 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->operationUserId) { $res['operationUserId'] = $this->operationUserId; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return QueryRemindResultsRequest */ 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['operationUserId'])) { $model->operationUserId = $map['operationUserId']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/report_1_0/Models/QueryRemindResultsResponse.php000064400000002744146412132660016622 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryRemindResultsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryRemindResultsResponseBody::fromMap($map['body']); } return $model; } } src/report_1_0/Models/QueryRemindResultsResponseBody.php000064400000004013146412132660017427 0ustar00 'dataList', 'hasMore' => 'hasMore', 'nextToken' => 'nextToken', ]; 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->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return QueryRemindResultsResponseBody */ 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['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/report_1_0/Models/QueryRemindResultsResponseBody/dataList.php000064400000007445146412132660021210 0ustar00 'creatorId', 'endDateTime' => 'endDateTime', 'modifierId' => 'modifierId', 'periodType' => 'periodType', 'remindId' => 'remindId', 'startDateTime' => 'startDateTime', 'templateId' => 'templateId', 'toGroups' => 'toGroups', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->endDateTime) { $res['endDateTime'] = $this->endDateTime; } if (null !== $this->modifierId) { $res['modifierId'] = $this->modifierId; } if (null !== $this->periodType) { $res['periodType'] = $this->periodType; } if (null !== $this->remindId) { $res['remindId'] = $this->remindId; } if (null !== $this->startDateTime) { $res['startDateTime'] = $this->startDateTime; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->toGroups) { $res['toGroups'] = []; if (null !== $this->toGroups && \is_array($this->toGroups)) { $n = 0; foreach ($this->toGroups as $item) { $res['toGroups'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return dataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['endDateTime'])) { if (!empty($map['endDateTime'])) { $model->endDateTime = $map['endDateTime']; } } if (isset($map['modifierId'])) { $model->modifierId = $map['modifierId']; } if (isset($map['periodType'])) { $model->periodType = $map['periodType']; } if (isset($map['remindId'])) { $model->remindId = $map['remindId']; } if (isset($map['startDateTime'])) { if (!empty($map['startDateTime'])) { $model->startDateTime = $map['startDateTime']; } } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['toGroups'])) { if (!empty($map['toGroups'])) { $model->toGroups = []; $n = 0; foreach ($map['toGroups'] as $item) { $model->toGroups[$n++] = null !== $item ? toGroups::fromMap($item) : $item; } } } return $model; } } src/report_1_0/Models/QueryRemindResultsResponseBody/dataList/toGroups.php000064400000001526146412132660023024 0ustar00 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return toGroups */ public static function fromMap($map = []) { $model = new self(); if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/report_1_0/Models/UserMapValue.php000064400000002605146412132660013622 0ustar00 'userId', 'name' => 'name', 'deptId' => 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return UserMapValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/resident_1_0/Dingtalk.php000064400000221017146412132660012065 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddPointRequest $request * @param AddPointHeaders $headers * @param RuntimeOptions $runtime * * @return AddPointResponse */ public function addPointWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->actionTime)) { $query['actionTime'] = $request->actionTime; } if (!Utils::isUnset($request->isCircle)) { $query['isCircle'] = $request->isCircle; } if (!Utils::isUnset($request->ruleCode)) { $query['ruleCode'] = $request->ruleCode; } if (!Utils::isUnset($request->ruleName)) { $query['ruleName'] = $request->ruleName; } if (!Utils::isUnset($request->score)) { $query['score'] = $request->score; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } if (!Utils::isUnset($request->uuid)) { $query['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), ]); $params = new Params([ 'action' => 'AddPoint', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/points', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AddPointResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddPointRequest $request * * @return AddPointResponse */ public function addPoint($request) { $runtime = new RuntimeOptions([]); $headers = new AddPointHeaders([]); return $this->addPointWithOptions($request, $headers, $runtime); } /** * @param AddResidentDepartmentRequest $request * @param AddResidentDepartmentHeaders $headers * @param RuntimeOptions $runtime * * @return AddResidentDepartmentResponse */ public function addResidentDepartmentWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->departmentName)) { $query['departmentName'] = $request->departmentName; } if (!Utils::isUnset($request->isResidenceGroup)) { $query['isResidenceGroup'] = $request->isResidenceGroup; } if (!Utils::isUnset($request->parentDepartmentId)) { $query['parentDepartmentId'] = $request->parentDepartmentId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'AddResidentDepartment', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/departments', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AddResidentDepartmentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddResidentDepartmentRequest $request * * @return AddResidentDepartmentResponse */ public function addResidentDepartment($request) { $runtime = new RuntimeOptions([]); $headers = new AddResidentDepartmentHeaders([]); return $this->addResidentDepartmentWithOptions($request, $headers, $runtime); } /** * @param AddResidentMemberRequest $request * @param AddResidentMemberHeaders $headers * @param RuntimeOptions $runtime * * @return AddResidentMemberResponse */ public function addResidentMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->residentAddInfo)) { $body['residentAddInfo'] = $request->residentAddInfo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddResidentMember', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/members', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddResidentMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddResidentMemberRequest $request * * @return AddResidentMemberResponse */ public function addResidentMember($request) { $runtime = new RuntimeOptions([]); $headers = new AddResidentMemberHeaders([]); return $this->addResidentMemberWithOptions($request, $headers, $runtime); } /** * @param AddResidentUsersRequest $request * @param AddResidentUsersHeaders $headers * @param RuntimeOptions $runtime * * @return AddResidentUsersResponse */ public function addResidentUsersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->address)) { $query['address'] = $request->address; } if (!Utils::isUnset($request->departmentId)) { $query['departmentId'] = $request->departmentId; } if (!Utils::isUnset($request->extField)) { $query['extField'] = $request->extField; } if (!Utils::isUnset($request->isLeaseholder)) { $query['isLeaseholder'] = $request->isLeaseholder; } if (!Utils::isUnset($request->mobile)) { $query['mobile'] = $request->mobile; } if (!Utils::isUnset($request->relateType)) { $query['relateType'] = $request->relateType; } if (!Utils::isUnset($request->userName)) { $query['userName'] = $request->userName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'AddResidentUsers', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/users', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AddResidentUsersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddResidentUsersRequest $request * * @return AddResidentUsersResponse */ public function addResidentUsers($request) { $runtime = new RuntimeOptions([]); $headers = new AddResidentUsersHeaders([]); return $this->addResidentUsersWithOptions($request, $headers, $runtime); } /** * @param CreateResidentBlackBoardRequest $request * @param CreateResidentBlackBoardHeaders $headers * @param RuntimeOptions $runtime * * @return CreateResidentBlackBoardResponse */ public function createResidentBlackBoardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->context)) { $body['context'] = $request->context; } if (!Utils::isUnset($request->mediaId)) { $body['mediaId'] = $request->mediaId; } if (!Utils::isUnset($request->sendTime)) { $body['sendTime'] = $request->sendTime; } 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' => 'CreateResidentBlackBoard', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/blackboards', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateResidentBlackBoardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateResidentBlackBoardRequest $request * * @return CreateResidentBlackBoardResponse */ public function createResidentBlackBoard($request) { $runtime = new RuntimeOptions([]); $headers = new CreateResidentBlackBoardHeaders([]); return $this->createResidentBlackBoardWithOptions($request, $headers, $runtime); } /** * @param CreateSpaceRequest $request * @param CreateSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return CreateSpaceResponse */ public function createSpaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->billingArea)) { $body['billingArea'] = $request->billingArea; } if (!Utils::isUnset($request->buildingArea)) { $body['buildingArea'] = $request->buildingArea; } if (!Utils::isUnset($request->floor)) { $body['floor'] = $request->floor; } if (!Utils::isUnset($request->houseState)) { $body['houseState'] = $request->houseState; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->parentDeptId)) { $body['parentDeptId'] = $request->parentDeptId; } if (!Utils::isUnset($request->tagCode)) { $body['tagCode'] = $request->tagCode; } 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' => 'CreateSpace', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/spaces', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateSpaceRequest $request * * @return CreateSpaceResponse */ public function createSpace($request) { $runtime = new RuntimeOptions([]); $headers = new CreateSpaceHeaders([]); return $this->createSpaceWithOptions($request, $headers, $runtime); } /** * @param DeleteResidentBlackBoardRequest $request * @param DeleteResidentBlackBoardHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteResidentBlackBoardResponse */ public function deleteResidentBlackBoardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->blackboardId)) { $query['blackboardId'] = $request->blackboardId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteResidentBlackBoard', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/blackboards', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteResidentBlackBoardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteResidentBlackBoardRequest $request * * @return DeleteResidentBlackBoardResponse */ public function deleteResidentBlackBoard($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteResidentBlackBoardHeaders([]); return $this->deleteResidentBlackBoardWithOptions($request, $headers, $runtime); } /** * @param DeleteResidentDepartmentRequest $request * @param DeleteResidentDepartmentHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteResidentDepartmentResponse */ public function deleteResidentDepartmentWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->departmentId)) { $query['departmentId'] = $request->departmentId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteResidentDepartment', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/departments', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteResidentDepartmentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteResidentDepartmentRequest $request * * @return DeleteResidentDepartmentResponse */ public function deleteResidentDepartment($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteResidentDepartmentHeaders([]); return $this->deleteResidentDepartmentWithOptions($request, $headers, $runtime); } /** * @param DeleteSpaceRequest $request * @param DeleteSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteSpaceResponse */ public function deleteSpaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptIds)) { $body['deptIds'] = $request->deptIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeleteSpace', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/spaces/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteSpaceRequest $request * * @return DeleteSpaceResponse */ public function deleteSpace($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteSpaceHeaders([]); return $this->deleteSpaceWithOptions($request, $headers, $runtime); } /** * @param GetConversationIdRequest $request * @param GetConversationIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetConversationIdResponse */ public function getConversationIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->chatId)) { $query['chatId'] = $request->chatId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetConversationId', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/conversations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetConversationIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetConversationIdRequest $request * * @return GetConversationIdResponse */ public function getConversationId($request) { $runtime = new RuntimeOptions([]); $headers = new GetConversationIdHeaders([]); return $this->getConversationIdWithOptions($request, $headers, $runtime); } /** * @param GetIndustryTypeHeaders $headers * @param RuntimeOptions $runtime * * @return GetIndustryTypeResponse */ public function getIndustryTypeWithOptions($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' => 'GetIndustryType', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/organizations/industryTypes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetIndustryTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return GetIndustryTypeResponse */ public function getIndustryType() { $runtime = new RuntimeOptions([]); $headers = new GetIndustryTypeHeaders([]); return $this->getIndustryTypeWithOptions($headers, $runtime); } /** * @param GetPropertyInfoRequest $request * @param GetPropertyInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetPropertyInfoResponse */ public function getPropertyInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->propertyCorpId)) { $query['propertyCorpId'] = $request->propertyCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetPropertyInfo', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/propertyInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetPropertyInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetPropertyInfoRequest $request * * @return GetPropertyInfoResponse */ public function getPropertyInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetPropertyInfoHeaders([]); return $this->getPropertyInfoWithOptions($request, $headers, $runtime); } /** * @param GetResidentInfoRequest $request * @param GetResidentInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetResidentInfoResponse */ public function getResidentInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->residentCorpId)) { $query['residentCorpId'] = $request->residentCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetResidentInfo', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/residentInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetResidentInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetResidentInfoRequest $request * * @return GetResidentInfoResponse */ public function getResidentInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetResidentInfoHeaders([]); return $this->getResidentInfoWithOptions($request, $headers, $runtime); } /** * @param GetResidentMembersInfoRequest $request * @param GetResidentMembersInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetResidentMembersInfoResponse */ public function getResidentMembersInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->residentCropId)) { $body['residentCropId'] = $request->residentCropId; } 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' => 'GetResidentMembersInfo', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/residences/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetResidentMembersInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetResidentMembersInfoRequest $request * * @return GetResidentMembersInfoResponse */ public function getResidentMembersInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetResidentMembersInfoHeaders([]); return $this->getResidentMembersInfoWithOptions($request, $headers, $runtime); } /** * @param GetSpaceIdByTypeRequest $request * @param GetSpaceIdByTypeHeaders $headers * @param RuntimeOptions $runtime * * @return GetSpaceIdByTypeResponse */ public function getSpaceIdByTypeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->departmentType)) { $query['departmentType'] = $request->departmentType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetSpaceIdByType', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/spaces/types', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSpaceIdByTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSpaceIdByTypeRequest $request * * @return GetSpaceIdByTypeResponse */ public function getSpaceIdByType($request) { $runtime = new RuntimeOptions([]); $headers = new GetSpaceIdByTypeHeaders([]); return $this->getSpaceIdByTypeWithOptions($request, $headers, $runtime); } /** * @param GetSpacesInfoRequest $request * @param GetSpacesInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetSpacesInfoResponse */ public function getSpacesInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->referIds)) { $body['referIds'] = $request->referIds; } if (!Utils::isUnset($request->residentCorpId)) { $body['residentCorpId'] = $request->residentCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetSpacesInfo', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/spaces/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSpacesInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSpacesInfoRequest $request * * @return GetSpacesInfoResponse */ public function getSpacesInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetSpacesInfoHeaders([]); return $this->getSpacesInfoWithOptions($request, $headers, $runtime); } /** * @param ListIndustryRoleUsersRequest $request * @param ListIndustryRoleUsersHeaders $headers * @param RuntimeOptions $runtime * * @return ListIndustryRoleUsersResponse */ public function listIndustryRoleUsersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->tagCode)) { $query['tagCode'] = $request->tagCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListIndustryRoleUsers', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/industryRoles/users', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListIndustryRoleUsersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListIndustryRoleUsersRequest $request * * @return ListIndustryRoleUsersResponse */ public function listIndustryRoleUsers($request) { $runtime = new RuntimeOptions([]); $headers = new ListIndustryRoleUsersHeaders([]); return $this->listIndustryRoleUsersWithOptions($request, $headers, $runtime); } /** * @param ListPointRulesRequest $request * @param ListPointRulesHeaders $headers * @param RuntimeOptions $runtime * * @return ListPointRulesResponse */ public function listPointRulesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->isCircle)) { $query['isCircle'] = $request->isCircle; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListPointRules', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/points/rules', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListPointRulesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListPointRulesRequest $request * * @return ListPointRulesResponse */ public function listPointRules($request) { $runtime = new RuntimeOptions([]); $headers = new ListPointRulesHeaders([]); return $this->listPointRulesWithOptions($request, $headers, $runtime); } /** * @param ListSubSpaceRequest $request * @param ListSubSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return ListSubSpaceResponse */ public function listSubSpaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->referId)) { $query['referId'] = $request->referId; } if (!Utils::isUnset($request->residentCorpId)) { $query['residentCorpId'] = $request->residentCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListSubSpace', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/spaces/subSpaces', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListSubSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListSubSpaceRequest $request * * @return ListSubSpaceResponse */ public function listSubSpace($request) { $runtime = new RuntimeOptions([]); $headers = new ListSubSpaceHeaders([]); return $this->listSubSpaceWithOptions($request, $headers, $runtime); } /** * @param ListUncheckUsersRequest $request * @param ListUncheckUsersHeaders $headers * @param RuntimeOptions $runtime * * @return ListUncheckUsersResponse */ public function listUncheckUsersWithOptions($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->startTime)) { $query['startTime'] = $request->startTime; } 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' => 'ListUncheckUsers', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/organizations/noJoinUsers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListUncheckUsersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListUncheckUsersRequest $request * * @return ListUncheckUsersResponse */ public function listUncheckUsers($request) { $runtime = new RuntimeOptions([]); $headers = new ListUncheckUsersHeaders([]); return $this->listUncheckUsersWithOptions($request, $headers, $runtime); } /** * @param ListUserIndustryRolesRequest $request * @param ListUserIndustryRolesHeaders $headers * @param RuntimeOptions $runtime * * @return ListUserIndustryRolesResponse */ public function listUserIndustryRolesWithOptions($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' => 'ListUserIndustryRoles', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/users/industryRoles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListUserIndustryRolesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListUserIndustryRolesRequest $request * * @return ListUserIndustryRolesResponse */ public function listUserIndustryRoles($request) { $runtime = new RuntimeOptions([]); $headers = new ListUserIndustryRolesHeaders([]); return $this->listUserIndustryRolesWithOptions($request, $headers, $runtime); } /** * @param PagePointHistoryRequest $request * @param PagePointHistoryHeaders $headers * @param RuntimeOptions $runtime * * @return PagePointHistoryResponse */ public function pagePointHistoryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->isCircle)) { $query['isCircle'] = $request->isCircle; } 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->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' => 'PagePointHistory', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/points/records', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PagePointHistoryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PagePointHistoryRequest $request * * @return PagePointHistoryResponse */ public function pagePointHistory($request) { $runtime = new RuntimeOptions([]); $headers = new PagePointHistoryHeaders([]); return $this->pagePointHistoryWithOptions($request, $headers, $runtime); } /** * @param RemoveResidentMemberRequest $request * @param RemoveResidentMemberHeaders $headers * @param RuntimeOptions $runtime * * @return RemoveResidentMemberResponse */ public function removeResidentMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } 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' => 'RemoveResidentMember', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/members/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RemoveResidentMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RemoveResidentMemberRequest $request * * @return RemoveResidentMemberResponse */ public function removeResidentMember($request) { $runtime = new RuntimeOptions([]); $headers = new RemoveResidentMemberHeaders([]); return $this->removeResidentMemberWithOptions($request, $headers, $runtime); } /** * @param RemoveResidentUserRequest $request * @param RemoveResidentUserHeaders $headers * @param RuntimeOptions $runtime * * @return RemoveResidentUserResponse */ public function removeResidentUserWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->departmentId)) { $query['departmentId'] = $request->departmentId; } 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' => 'RemoveResidentUser', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/users/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return RemoveResidentUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RemoveResidentUserRequest $request * * @return RemoveResidentUserResponse */ public function removeResidentUser($request) { $runtime = new RuntimeOptions([]); $headers = new RemoveResidentUserHeaders([]); return $this->removeResidentUserWithOptions($request, $headers, $runtime); } /** * @param SearchResidentRequest $request * @param SearchResidentHeaders $headers * @param RuntimeOptions $runtime * * @return SearchResidentResponse */ public function searchResidentWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->residentCropId)) { $query['residentCropId'] = $request->residentCropId; } if (!Utils::isUnset($request->searchWord)) { $query['searchWord'] = $request->searchWord; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SearchResident', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/residences', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchResidentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchResidentRequest $request * * @return SearchResidentResponse */ public function searchResident($request) { $runtime = new RuntimeOptions([]); $headers = new SearchResidentHeaders([]); return $this->searchResidentWithOptions($request, $headers, $runtime); } /** * @param UpdateResideceGroupRequest $request * @param UpdateResideceGroupHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateResideceGroupResponse */ public function updateResideceGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->departmentId)) { $query['departmentId'] = $request->departmentId; } if (!Utils::isUnset($request->departmentName)) { $query['departmentName'] = $request->departmentName; } if (!Utils::isUnset($request->managerUserId)) { $query['managerUserId'] = $request->managerUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'UpdateResideceGroup', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/departments/updateResideceGroup', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateResideceGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateResideceGroupRequest $request * * @return UpdateResideceGroupResponse */ public function updateResideceGroup($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateResideceGroupHeaders([]); return $this->updateResideceGroupWithOptions($request, $headers, $runtime); } /** * @param UpdateResidenceRequest $request * @param UpdateResidenceHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateResidenceResponse */ public function updateResidenceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->departmentId)) { $query['departmentId'] = $request->departmentId; } if (!Utils::isUnset($request->departmentName)) { $query['departmentName'] = $request->departmentName; } if (!Utils::isUnset($request->destitute)) { $query['destitute'] = $request->destitute; } if (!Utils::isUnset($request->grid)) { $query['grid'] = $request->grid; } if (!Utils::isUnset($request->homeTel)) { $query['homeTel'] = $request->homeTel; } if (!Utils::isUnset($request->managerUserId)) { $query['managerUserId'] = $request->managerUserId; } if (!Utils::isUnset($request->parentDepartmentId)) { $query['parentDepartmentId'] = $request->parentDepartmentId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'UpdateResidence', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/departments/updateResidece', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateResidenceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateResidenceRequest $request * * @return UpdateResidenceResponse */ public function updateResidence($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateResidenceHeaders([]); return $this->updateResidenceWithOptions($request, $headers, $runtime); } /** * @param UpdateResidentBlackBoardRequest $request * @param UpdateResidentBlackBoardHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateResidentBlackBoardResponse */ public function updateResidentBlackBoardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->blackboardId)) { $body['blackboardId'] = $request->blackboardId; } if (!Utils::isUnset($request->context)) { $body['context'] = $request->context; } if (!Utils::isUnset($request->mediaId)) { $body['mediaId'] = $request->mediaId; } 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' => 'UpdateResidentBlackBoard', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/blackboards', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateResidentBlackBoardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateResidentBlackBoardRequest $request * * @return UpdateResidentBlackBoardResponse */ public function updateResidentBlackBoard($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateResidentBlackBoardHeaders([]); return $this->updateResidentBlackBoardWithOptions($request, $headers, $runtime); } /** * @param UpdateResidentInfoRequest $request * @param UpdateResidentInfoHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateResidentInfoResponse */ public function updateResidentInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->address)) { $body['address'] = $request->address; } if (!Utils::isUnset($request->buildingArea)) { $body['buildingArea'] = $request->buildingArea; } if (!Utils::isUnset($request->cityName)) { $body['cityName'] = $request->cityName; } if (!Utils::isUnset($request->communityType)) { $body['communityType'] = $request->communityType; } if (!Utils::isUnset($request->countyName)) { $body['countyName'] = $request->countyName; } if (!Utils::isUnset($request->location)) { $body['location'] = $request->location; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->provName)) { $body['provName'] = $request->provName; } if (!Utils::isUnset($request->state)) { $body['state'] = $request->state; } if (!Utils::isUnset($request->telephone)) { $body['telephone'] = $request->telephone; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateResidentInfo', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/residences', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateResidentInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateResidentInfoRequest $request * * @return UpdateResidentInfoResponse */ public function updateResidentInfo($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateResidentInfoHeaders([]); return $this->updateResidentInfoWithOptions($request, $headers, $runtime); } /** * @param UpdateResidentMemberRequest $request * @param UpdateResidentMemberHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateResidentMemberResponse */ public function updateResidentMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->residentUpdateInfo)) { $body['residentUpdateInfo'] = $request->residentUpdateInfo; } 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' => 'UpdateResidentMember', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/members', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateResidentMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateResidentMemberRequest $request * * @return UpdateResidentMemberResponse */ public function updateResidentMember($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateResidentMemberHeaders([]); return $this->updateResidentMemberWithOptions($request, $headers, $runtime); } /** * @param UpdateResidentUserRequest $request * @param UpdateResidentUserHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateResidentUserResponse */ public function updateResidentUserWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->address)) { $query['address'] = $request->address; } if (!Utils::isUnset($request->departmentId)) { $query['departmentId'] = $request->departmentId; } if (!Utils::isUnset($request->extField)) { $query['extField'] = $request->extField; } if (!Utils::isUnset($request->isRetainOldDept)) { $query['isRetainOldDept'] = $request->isRetainOldDept; } if (!Utils::isUnset($request->mobile)) { $query['mobile'] = $request->mobile; } if (!Utils::isUnset($request->oldDepartmentId)) { $query['oldDepartmentId'] = $request->oldDepartmentId; } if (!Utils::isUnset($request->relateType)) { $query['relateType'] = $request->relateType; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } if (!Utils::isUnset($request->userName)) { $query['userName'] = $request->userName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'UpdateResidentUser', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/users', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateResidentUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateResidentUserRequest $request * * @return UpdateResidentUserResponse */ public function updateResidentUser($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateResidentUserHeaders([]); return $this->updateResidentUserWithOptions($request, $headers, $runtime); } /** * @param UpdateSpaceRequest $request * @param UpdateSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateSpaceResponse */ public function updateSpaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->spaceInfoVOList)) { $body['spaceInfoVOList'] = $request->spaceInfoVOList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateSpace', 'version' => 'resident_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/resident/spaces', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateSpaceRequest $request * * @return UpdateSpaceResponse */ public function updateSpace($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateSpaceHeaders([]); return $this->updateSpaceWithOptions($request, $headers, $runtime); } } src/resident_1_0/Models/AddPointHeaders.php000064400000002320146412132660014543 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddPointHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/AddPointRequest.php000064400000005227146412132660014631 0ustar00 'actionTime', 'isCircle' => 'isCircle', 'ruleCode' => 'ruleCode', 'ruleName' => 'ruleName', 'score' => 'score', 'userId' => 'userId', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionTime) { $res['actionTime'] = $this->actionTime; } if (null !== $this->isCircle) { $res['isCircle'] = $this->isCircle; } if (null !== $this->ruleCode) { $res['ruleCode'] = $this->ruleCode; } if (null !== $this->ruleName) { $res['ruleName'] = $this->ruleName; } if (null !== $this->score) { $res['score'] = $this->score; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return AddPointRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionTime'])) { $model->actionTime = $map['actionTime']; } if (isset($map['isCircle'])) { $model->isCircle = $map['isCircle']; } if (isset($map['ruleCode'])) { $model->ruleCode = $map['ruleCode']; } if (isset($map['ruleName'])) { $model->ruleName = $map['ruleName']; } if (isset($map['score'])) { $model->score = $map['score']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/resident_1_0/Models/AddPointResponse.php000064400000002150146412132660014767 0ustar00 '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 AddPointResponse */ 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/resident_1_0/Models/AddResidentDepartmentHeaders.php000064400000002352146412132660017260 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddResidentDepartmentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/AddResidentDepartmentRequest.php000064400000003316146412132660017336 0ustar00 'departmentName', 'isResidenceGroup' => 'isResidenceGroup', 'parentDepartmentId' => 'parentDepartmentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->isResidenceGroup) { $res['isResidenceGroup'] = $this->isResidenceGroup; } if (null !== $this->parentDepartmentId) { $res['parentDepartmentId'] = $this->parentDepartmentId; } return $res; } /** * @param array $map * * @return AddResidentDepartmentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['isResidenceGroup'])) { $model->isResidenceGroup = $map['isResidenceGroup']; } if (isset($map['parentDepartmentId'])) { $model->parentDepartmentId = $map['parentDepartmentId']; } return $model; } } src/resident_1_0/Models/AddResidentDepartmentResponse.php000064400000002762146412132660017510 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddResidentDepartmentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddResidentDepartmentResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/AddResidentDepartmentResponseBody.php000064400000001545146412132660020324 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AddResidentDepartmentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/resident_1_0/Models/AddResidentMemberHeaders.php000064400000002342146412132660016363 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddResidentMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/AddResidentMemberRequest.php000064400000002132146412132660016435 0ustar00 'residentAddInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->residentAddInfo) { $res['residentAddInfo'] = null !== $this->residentAddInfo ? $this->residentAddInfo->toMap() : null; } return $res; } /** * @param array $map * * @return AddResidentMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['residentAddInfo'])) { $model->residentAddInfo = residentAddInfo::fromMap($map['residentAddInfo']); } return $model; } } src/resident_1_0/Models/AddResidentMemberRequest/residentAddInfo.php000064400000005160146412132660021503 0ustar00 'deptId', 'isPropertyOwner' => 'isPropertyOwner', 'memberDeptExtension' => 'memberDeptExtension', 'mobile' => 'mobile', 'name' => 'name', 'relateType' => 'relateType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->isPropertyOwner) { $res['isPropertyOwner'] = $this->isPropertyOwner; } if (null !== $this->memberDeptExtension) { $res['memberDeptExtension'] = $this->memberDeptExtension; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->relateType) { $res['relateType'] = $this->relateType; } return $res; } /** * @param array $map * * @return residentAddInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['isPropertyOwner'])) { $model->isPropertyOwner = $map['isPropertyOwner']; } if (isset($map['memberDeptExtension'])) { $model->memberDeptExtension = $map['memberDeptExtension']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['relateType'])) { $model->relateType = $map['relateType']; } return $model; } } src/resident_1_0/Models/AddResidentMemberResponse.php000064400000002742146412132660016612 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddResidentMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddResidentMemberResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/AddResidentMemberResponseBody.php000064400000002606146412132660017427 0ustar00 'status', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return AddResidentMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/resident_1_0/Models/AddResidentUsersHeaders.php000064400000002340146412132660016253 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddResidentUsersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/AddResidentUsersRequest.php000064400000006626146412132660016343 0ustar00 'address', 'departmentId' => 'departmentId', 'extField' => 'extField', 'isLeaseholder' => 'isLeaseholder', 'mobile' => 'mobile', 'relateType' => 'relateType', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->extField) { $res['extField'] = []; if (null !== $this->extField && \is_array($this->extField)) { $n = 0; foreach ($this->extField as $item) { $res['extField'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->isLeaseholder) { $res['isLeaseholder'] = $this->isLeaseholder; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->relateType) { $res['relateType'] = $this->relateType; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return AddResidentUsersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['extField'])) { if (!empty($map['extField'])) { $model->extField = []; $n = 0; foreach ($map['extField'] as $item) { $model->extField[$n++] = null !== $item ? extField::fromMap($item) : $item; } } } if (isset($map['isLeaseholder'])) { $model->isLeaseholder = $map['isLeaseholder']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['relateType'])) { $model->relateType = $map['relateType']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/resident_1_0/Models/AddResidentUsersRequest/extField.php000064400000002250146412132660020074 0ustar00 'itemName', 'itemValue' => 'itemValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->itemName) { $res['itemName'] = $this->itemName; } if (null !== $this->itemValue) { $res['itemValue'] = $this->itemValue; } return $res; } /** * @param array $map * * @return extField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['itemName'])) { $model->itemName = $map['itemName']; } if (isset($map['itemValue'])) { $model->itemValue = $map['itemValue']; } return $model; } } src/resident_1_0/Models/AddResidentUsersResponse.php000064400000002736146412132660016507 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddResidentUsersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddResidentUsersResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/AddResidentUsersResponseBody.php000064400000001537146412132660017323 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AddResidentUsersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/resident_1_0/Models/CreateResidentBlackBoardHeaders.php000064400000002360146412132660017653 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateResidentBlackBoardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/CreateResidentBlackBoardRequest.php000064400000003223146412132660017727 0ustar00 'context', 'mediaId' => 'mediaId', 'sendTime' => 'sendTime', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->context) { $res['context'] = $this->context; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->sendTime) { $res['sendTime'] = $this->sendTime; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return CreateResidentBlackBoardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['context'])) { $model->context = $map['context']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['sendTime'])) { $model->sendTime = $map['sendTime']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/resident_1_0/Models/CreateResidentBlackBoardResponse.php000064400000002776146412132660020111 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateResidentBlackBoardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateResidentBlackBoardResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/CreateResidentBlackBoardResponseBody.php000064400000001611146412132660020712 0ustar00 'blackBoardId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->blackBoardId) { $res['blackBoardId'] = $this->blackBoardId; } return $res; } /** * @param array $map * * @return CreateResidentBlackBoardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['blackBoardId'])) { $model->blackBoardId = $map['blackBoardId']; } return $model; } } src/resident_1_0/Models/CreateSpaceHeaders.php000064400000002326146412132660015226 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/CreateSpaceRequest.php000064400000005660146412132660015307 0ustar00 'billingArea', 'buildingArea' => 'buildingArea', 'floor' => 'floor', 'houseState' => 'houseState', 'name' => 'name', 'parentDeptId' => 'parentDeptId', 'tagCode' => 'tagCode', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->billingArea) { $res['billingArea'] = $this->billingArea; } if (null !== $this->buildingArea) { $res['buildingArea'] = $this->buildingArea; } if (null !== $this->floor) { $res['floor'] = $this->floor; } if (null !== $this->houseState) { $res['houseState'] = $this->houseState; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentDeptId) { $res['parentDeptId'] = $this->parentDeptId; } if (null !== $this->tagCode) { $res['tagCode'] = $this->tagCode; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return CreateSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['billingArea'])) { $model->billingArea = $map['billingArea']; } if (isset($map['buildingArea'])) { $model->buildingArea = $map['buildingArea']; } if (isset($map['floor'])) { $model->floor = $map['floor']; } if (isset($map['houseState'])) { $model->houseState = $map['houseState']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentDeptId'])) { $model->parentDeptId = $map['parentDeptId']; } if (isset($map['tagCode'])) { $model->tagCode = $map['tagCode']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/resident_1_0/Models/CreateSpaceResponse.php000064400000002712146412132660015450 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateSpaceResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/CreateSpaceResponseBody.php000064400000001526146412132660016270 0ustar00 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return CreateSpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/resident_1_0/Models/DeleteResidentBlackBoardHeaders.php000064400000002360146412132660017652 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteResidentBlackBoardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/DeleteResidentBlackBoardRequest.php000064400000001577146412132660017740 0ustar00 'blackboardId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->blackboardId) { $res['blackboardId'] = $this->blackboardId; } return $res; } /** * @param array $map * * @return DeleteResidentBlackBoardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['blackboardId'])) { $model->blackboardId = $map['blackboardId']; } return $model; } } src/resident_1_0/Models/DeleteResidentBlackBoardResponse.php000064400000002776146412132660020110 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteResidentBlackBoardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteResidentBlackBoardResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/DeleteResidentBlackBoardResponseBody.php000064400000001532146412132660020713 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteResidentBlackBoardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/resident_1_0/Models/DeleteResidentDepartmentHeaders.php000064400000002360146412132660017771 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteResidentDepartmentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/DeleteResidentDepartmentRequest.php000064400000001631146412132660020046 0ustar00 'departmentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } return $res; } /** * @param array $map * * @return DeleteResidentDepartmentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } return $model; } } src/resident_1_0/Models/DeleteResidentDepartmentResponse.php000064400000002776146412132660020227 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteResidentDepartmentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteResidentDepartmentResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/DeleteResidentDepartmentResponseBody.php000064400000001555146412132660021037 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteResidentDepartmentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/resident_1_0/Models/DeleteSpaceHeaders.php000064400000002326146412132660015225 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/DeleteSpaceRequest.php000064400000001631146412132660015300 0ustar00 'deptIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } return $res; } /** * @param array $map * * @return DeleteSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } return $model; } } src/resident_1_0/Models/DeleteSpaceResponse.php000064400000002712146412132660015447 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteSpaceResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/DeleteSpaceResponseBody.php000064400000003564146412132660016273 0ustar00 'delFailedDept', 'delSuccessCount' => 'delSuccessCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->delFailedDept) { $res['delFailedDept'] = []; if (null !== $this->delFailedDept && \is_array($this->delFailedDept)) { $n = 0; foreach ($this->delFailedDept as $item) { $res['delFailedDept'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->delSuccessCount) { $res['delSuccessCount'] = $this->delSuccessCount; } return $res; } /** * @param array $map * * @return DeleteSpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['delFailedDept'])) { if (!empty($map['delFailedDept'])) { $model->delFailedDept = []; $n = 0; foreach ($map['delFailedDept'] as $item) { $model->delFailedDept[$n++] = null !== $item ? delFailedDept::fromMap($item) : $item; } } } if (isset($map['delSuccessCount'])) { $model->delSuccessCount = $map['delSuccessCount']; } return $model; } } src/resident_1_0/Models/DeleteSpaceResponseBody/delFailedDept.php000064400000001530146412132660020750 0ustar00 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return delFailedDept */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/resident_1_0/Models/GetConversationIdHeaders.php000064400000002342146412132660016434 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetConversationIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/GetConversationIdRequest.php000064400000001567146412132660016521 0ustar00 'chatId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatId) { $res['chatId'] = $this->chatId; } return $res; } /** * @param array $map * * @return GetConversationIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatId'])) { $model->chatId = $map['chatId']; } return $model; } } src/resident_1_0/Models/GetConversationIdResponse.php000064400000002742146412132660016663 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetConversationIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetConversationIdResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/GetConversationIdResponseBody.php000064400000001744146412132660017502 0ustar00 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return GetConversationIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/resident_1_0/Models/GetIndustryTypeHeaders.php000064400000002336146412132660016173 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetIndustryTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/GetIndustryTypeResponse.php000064400000002732146412132660016416 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetIndustryTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetIndustryTypeResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/GetIndustryTypeResponseBody.php000064400000001630146412132660017230 0ustar00 'industryType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->industryType) { $res['industryType'] = $this->industryType; } return $res; } /** * @param array $map * * @return GetIndustryTypeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['industryType'])) { $model->industryType = $map['industryType']; } return $model; } } src/resident_1_0/Models/GetPropertyInfoHeaders.php000064400000002336146412132660016150 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPropertyInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/GetPropertyInfoRequest.php000064400000001577146412132660016233 0ustar00 'propertyCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->propertyCorpId) { $res['propertyCorpId'] = $this->propertyCorpId; } return $res; } /** * @param array $map * * @return GetPropertyInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['propertyCorpId'])) { $model->propertyCorpId = $map['propertyCorpId']; } return $model; } } src/resident_1_0/Models/GetPropertyInfoResponse.php000064400000002732146412132660016373 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPropertyInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPropertyInfoResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/GetPropertyInfoResponseBody.php000064400000004107146412132660017207 0ustar00 'adminName', 'adminUserId' => 'adminUserId', 'name' => 'name', 'orgId' => 'orgId', 'unifiedSocialCredit' => 'unifiedSocialCredit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->adminName) { $res['adminName'] = $this->adminName; } if (null !== $this->adminUserId) { $res['adminUserId'] = $this->adminUserId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->orgId) { $res['orgId'] = $this->orgId; } if (null !== $this->unifiedSocialCredit) { $res['unifiedSocialCredit'] = $this->unifiedSocialCredit; } return $res; } /** * @param array $map * * @return GetPropertyInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['adminName'])) { $model->adminName = $map['adminName']; } if (isset($map['adminUserId'])) { $model->adminUserId = $map['adminUserId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['orgId'])) { $model->orgId = $map['orgId']; } if (isset($map['unifiedSocialCredit'])) { $model->unifiedSocialCredit = $map['unifiedSocialCredit']; } return $model; } } src/resident_1_0/Models/GetResidentInfoHeaders.php000064400000002336146412132660016101 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetResidentInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/GetResidentInfoRequest.php000064400000001577146412132660016164 0ustar00 'residentCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->residentCorpId) { $res['residentCorpId'] = $this->residentCorpId; } return $res; } /** * @param array $map * * @return GetResidentInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['residentCorpId'])) { $model->residentCorpId = $map['residentCorpId']; } return $model; } } src/resident_1_0/Models/GetResidentInfoResponse.php000064400000002732146412132660016324 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetResidentInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetResidentInfoResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/GetResidentInfoResponseBody.php000064400000017615146412132660017150 0ustar00 'address', 'allUserGroupOpenConversationId' => 'allUserGroupOpenConversationId', 'allUserGroupOwnerUserId' => 'allUserGroupOwnerUserId', 'buildingArea' => 'buildingArea', 'cityId' => 'cityId', 'contactMode' => 'contactMode', 'countyId' => 'countyId', 'deliveryTime' => 'deliveryTime', 'location' => 'location', 'name' => 'name', 'projectManager' => 'projectManager', 'propertyDeptGroupOpenConversationId' => 'propertyDeptGroupOpenConversationId', 'propertyDeptGroupOwnerUserId' => 'propertyDeptGroupOwnerUserId', 'provId' => 'provId', 'scopeEast' => 'scopeEast', 'scopeNorth' => 'scopeNorth', 'scopeSouth' => 'scopeSouth', 'scopeWest' => 'scopeWest', 'telephone' => 'telephone', 'townId' => 'townId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->allUserGroupOpenConversationId) { $res['allUserGroupOpenConversationId'] = $this->allUserGroupOpenConversationId; } if (null !== $this->allUserGroupOwnerUserId) { $res['allUserGroupOwnerUserId'] = $this->allUserGroupOwnerUserId; } if (null !== $this->buildingArea) { $res['buildingArea'] = $this->buildingArea; } if (null !== $this->cityId) { $res['cityId'] = $this->cityId; } if (null !== $this->contactMode) { $res['contactMode'] = $this->contactMode; } if (null !== $this->countyId) { $res['countyId'] = $this->countyId; } if (null !== $this->deliveryTime) { $res['deliveryTime'] = $this->deliveryTime; } if (null !== $this->location) { $res['location'] = $this->location; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->projectManager) { $res['projectManager'] = null !== $this->projectManager ? $this->projectManager->toMap() : null; } if (null !== $this->propertyDeptGroupOpenConversationId) { $res['propertyDeptGroupOpenConversationId'] = $this->propertyDeptGroupOpenConversationId; } if (null !== $this->propertyDeptGroupOwnerUserId) { $res['propertyDeptGroupOwnerUserId'] = $this->propertyDeptGroupOwnerUserId; } if (null !== $this->provId) { $res['provId'] = $this->provId; } if (null !== $this->scopeEast) { $res['scopeEast'] = $this->scopeEast; } if (null !== $this->scopeNorth) { $res['scopeNorth'] = $this->scopeNorth; } if (null !== $this->scopeSouth) { $res['scopeSouth'] = $this->scopeSouth; } if (null !== $this->scopeWest) { $res['scopeWest'] = $this->scopeWest; } if (null !== $this->telephone) { $res['telephone'] = $this->telephone; } if (null !== $this->townId) { $res['townId'] = $this->townId; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return GetResidentInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['allUserGroupOpenConversationId'])) { $model->allUserGroupOpenConversationId = $map['allUserGroupOpenConversationId']; } if (isset($map['allUserGroupOwnerUserId'])) { $model->allUserGroupOwnerUserId = $map['allUserGroupOwnerUserId']; } if (isset($map['buildingArea'])) { $model->buildingArea = $map['buildingArea']; } if (isset($map['cityId'])) { $model->cityId = $map['cityId']; } if (isset($map['contactMode'])) { $model->contactMode = $map['contactMode']; } if (isset($map['countyId'])) { $model->countyId = $map['countyId']; } if (isset($map['deliveryTime'])) { $model->deliveryTime = $map['deliveryTime']; } if (isset($map['location'])) { $model->location = $map['location']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['projectManager'])) { $model->projectManager = projectManager::fromMap($map['projectManager']); } if (isset($map['propertyDeptGroupOpenConversationId'])) { $model->propertyDeptGroupOpenConversationId = $map['propertyDeptGroupOpenConversationId']; } if (isset($map['propertyDeptGroupOwnerUserId'])) { $model->propertyDeptGroupOwnerUserId = $map['propertyDeptGroupOwnerUserId']; } if (isset($map['provId'])) { $model->provId = $map['provId']; } if (isset($map['scopeEast'])) { $model->scopeEast = $map['scopeEast']; } if (isset($map['scopeNorth'])) { $model->scopeNorth = $map['scopeNorth']; } if (isset($map['scopeSouth'])) { $model->scopeSouth = $map['scopeSouth']; } if (isset($map['scopeWest'])) { $model->scopeWest = $map['scopeWest']; } if (isset($map['telephone'])) { $model->telephone = $map['telephone']; } if (isset($map['townId'])) { $model->townId = $map['townId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/resident_1_0/Models/GetResidentInfoResponseBody/projectManager.php000064400000002565146412132660022107 0ustar00 'avatar', 'userId' => 'userId', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatar) { $res['avatar'] = $this->avatar; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return projectManager */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatar'])) { $model->avatar = $map['avatar']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/resident_1_0/Models/GetResidentMembersInfoHeaders.php000064400000002354146412132660017414 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetResidentMembersInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/GetResidentMembersInfoRequest.php000064400000002405146412132660017466 0ustar00 'residentCropId', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->residentCropId) { $res['residentCropId'] = $this->residentCropId; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return GetResidentMembersInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['residentCropId'])) { $model->residentCropId = $map['residentCropId']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/resident_1_0/Models/GetResidentMembersInfoResponse.php000064400000002766146412132660017646 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetResidentMembersInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetResidentMembersInfoResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/GetResidentMembersInfoResponseBody.php000064400000003035146412132660020452 0ustar00 'residenceList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->residenceList) { $res['residenceList'] = []; if (null !== $this->residenceList && \is_array($this->residenceList)) { $n = 0; foreach ($this->residenceList as $item) { $res['residenceList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetResidentMembersInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['residenceList'])) { if (!empty($map['residenceList'])) { $model->residenceList = []; $n = 0; foreach ($map['residenceList'] as $item) { $model->residenceList[$n++] = null !== $item ? residenceList::fromMap($item) : $item; } } } return $model; } } src/resident_1_0/Models/GetResidentMembersInfoResponseBody/residenceList.php000064400000004021146412132660023243 0ustar00 'active', 'extField' => 'extField', 'isPropertyOwner' => 'isPropertyOwner', 'name' => 'name', 'relateType' => 'relateType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->extField) { $res['extField'] = $this->extField; } if (null !== $this->isPropertyOwner) { $res['isPropertyOwner'] = $this->isPropertyOwner; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->relateType) { $res['relateType'] = $this->relateType; } return $res; } /** * @param array $map * * @return residenceList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } if (isset($map['extField'])) { $model->extField = $map['extField']; } if (isset($map['isPropertyOwner'])) { $model->isPropertyOwner = $map['isPropertyOwner']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['relateType'])) { $model->relateType = $map['relateType']; } return $model; } } src/resident_1_0/Models/GetSpaceIdByTypeHeaders.php000064400000002340146412132660016150 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSpaceIdByTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/GetSpaceIdByTypeRequest.php000064400000001654146412132660016234 0ustar00 'departmentType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentType) { $res['departmentType'] = $this->departmentType; } return $res; } /** * @param array $map * * @return GetSpaceIdByTypeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentType'])) { $model->departmentType = $map['departmentType']; } return $model; } } src/resident_1_0/Models/GetSpaceIdByTypeResponse.php000064400000002736146412132660016404 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSpaceIdByTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSpaceIdByTypeResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/GetSpaceIdByTypeResponseBody.php000064400000001546146412132660017220 0ustar00 'referId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->referId) { $res['referId'] = $this->referId; } return $res; } /** * @param array $map * * @return GetSpaceIdByTypeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['referId'])) { $model->referId = $map['referId']; } return $model; } } src/resident_1_0/Models/GetSpacesInfoHeaders.php000064400000002332146412132660015536 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSpacesInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/GetSpacesInfoRequest.php000064400000002336146412132660015617 0ustar00 'referIds', 'residentCorpId' => 'residentCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->referIds) { $res['referIds'] = $this->referIds; } if (null !== $this->residentCorpId) { $res['residentCorpId'] = $this->residentCorpId; } return $res; } /** * @param array $map * * @return GetSpacesInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['referIds'])) { if (!empty($map['referIds'])) { $model->referIds = $map['referIds']; } } if (isset($map['residentCorpId'])) { $model->residentCorpId = $map['residentCorpId']; } return $model; } } src/resident_1_0/Models/GetSpacesInfoResponse.php000064400000002722146412132660015764 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSpacesInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSpacesInfoResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/GetSpacesInfoResponseBody.php000064400000002672146412132660016606 0ustar00 'spaceList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spaceList) { $res['spaceList'] = []; if (null !== $this->spaceList && \is_array($this->spaceList)) { $n = 0; foreach ($this->spaceList as $item) { $res['spaceList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetSpacesInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spaceList'])) { if (!empty($map['spaceList'])) { $model->spaceList = []; $n = 0; foreach ($map['spaceList'] as $item) { $model->spaceList[$n++] = null !== $item ? spaceList::fromMap($item) : $item; } } } return $model; } } src/resident_1_0/Models/GetSpacesInfoResponseBody/spaceList.php000064400000006705146412132660020536 0ustar00 'billingArea', 'buildingArea' => 'buildingArea', 'floor' => 'floor', 'houseState' => 'houseState', 'isVirtual' => 'isVirtual', 'parentReferId' => 'parentReferId', 'referId' => 'referId', 'spaceName' => 'spaceName', 'tagCode' => 'tagCode', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->billingArea) { $res['billingArea'] = $this->billingArea; } if (null !== $this->buildingArea) { $res['buildingArea'] = $this->buildingArea; } if (null !== $this->floor) { $res['floor'] = $this->floor; } if (null !== $this->houseState) { $res['houseState'] = $this->houseState; } if (null !== $this->isVirtual) { $res['isVirtual'] = $this->isVirtual; } if (null !== $this->parentReferId) { $res['parentReferId'] = $this->parentReferId; } if (null !== $this->referId) { $res['referId'] = $this->referId; } if (null !== $this->spaceName) { $res['spaceName'] = $this->spaceName; } if (null !== $this->tagCode) { $res['tagCode'] = $this->tagCode; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return spaceList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['billingArea'])) { $model->billingArea = $map['billingArea']; } if (isset($map['buildingArea'])) { $model->buildingArea = $map['buildingArea']; } if (isset($map['floor'])) { $model->floor = $map['floor']; } if (isset($map['houseState'])) { $model->houseState = $map['houseState']; } if (isset($map['isVirtual'])) { $model->isVirtual = $map['isVirtual']; } if (isset($map['parentReferId'])) { $model->parentReferId = $map['parentReferId']; } if (isset($map['referId'])) { $model->referId = $map['referId']; } if (isset($map['spaceName'])) { $model->spaceName = $map['spaceName']; } if (isset($map['tagCode'])) { $model->tagCode = $map['tagCode']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/resident_1_0/Models/ListIndustryRoleUsersHeaders.php000064400000002352146412132660017367 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListIndustryRoleUsersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/ListIndustryRoleUsersRequest.php000064400000001563146412132660017447 0ustar00 'tagCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->tagCode) { $res['tagCode'] = $this->tagCode; } return $res; } /** * @param array $map * * @return ListIndustryRoleUsersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['tagCode'])) { $model->tagCode = $map['tagCode']; } return $model; } } src/resident_1_0/Models/ListIndustryRoleUsersResponse.php000064400000002762146412132660017617 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListIndustryRoleUsersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListIndustryRoleUsersResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/ListIndustryRoleUsersResponseBody.php000064400000001663146412132660020434 0ustar00 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return ListIndustryRoleUsersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/resident_1_0/Models/ListPointRulesHeaders.php000064400000002334146412132660016006 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListPointRulesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/ListPointRulesRequest.php000064400000001542146412132660016063 0ustar00 'isCircle', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isCircle) { $res['isCircle'] = $this->isCircle; } return $res; } /** * @param array $map * * @return ListPointRulesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isCircle'])) { $model->isCircle = $map['isCircle']; } return $model; } } src/resident_1_0/Models/ListPointRulesResponse.php000064400000002726146412132660016236 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListPointRulesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListPointRulesResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/ListPointRulesResponseBody.php000064400000003040146412132660017042 0ustar00 'pointRuleList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pointRuleList) { $res['pointRuleList'] = []; if (null !== $this->pointRuleList && \is_array($this->pointRuleList)) { $n = 0; foreach ($this->pointRuleList as $item) { $res['pointRuleList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListPointRulesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pointRuleList'])) { if (!empty($map['pointRuleList'])) { $model->pointRuleList = []; $n = 0; foreach ($map['pointRuleList'] as $item) { $model->pointRuleList[$n++] = null !== $item ? pointRuleList::fromMap($item) : $item; } } } return $model; } } src/resident_1_0/Models/ListPointRulesResponseBody/pointRuleList.php000064400000006045146412132660021667 0ustar00 'dayLimitTimes', 'extension' => 'extension', 'groupId' => 'groupId', 'orderId' => 'orderId', 'ruleCode' => 'ruleCode', 'ruleName' => 'ruleName', 'score' => 'score', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayLimitTimes) { $res['dayLimitTimes'] = $this->dayLimitTimes; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->ruleCode) { $res['ruleCode'] = $this->ruleCode; } if (null !== $this->ruleName) { $res['ruleName'] = $this->ruleName; } if (null !== $this->score) { $res['score'] = $this->score; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return pointRuleList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayLimitTimes'])) { $model->dayLimitTimes = $map['dayLimitTimes']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['ruleCode'])) { $model->ruleCode = $map['ruleCode']; } if (isset($map['ruleName'])) { $model->ruleName = $map['ruleName']; } if (isset($map['score'])) { $model->score = $map['score']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/resident_1_0/Models/ListSubSpaceHeaders.php000064400000002330146412132660015403 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListSubSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/ListSubSpaceRequest.php000064400000002224146412132660015462 0ustar00 'referId', 'residentCorpId' => 'residentCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->referId) { $res['referId'] = $this->referId; } if (null !== $this->residentCorpId) { $res['residentCorpId'] = $this->residentCorpId; } return $res; } /** * @param array $map * * @return ListSubSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['referId'])) { $model->referId = $map['referId']; } if (isset($map['residentCorpId'])) { $model->residentCorpId = $map['residentCorpId']; } return $model; } } src/resident_1_0/Models/ListSubSpaceResponse.php000064400000002716146412132660015636 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListSubSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListSubSpaceResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/ListSubSpaceResponseBody.php000064400000002667146412132660016461 0ustar00 'spaceList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spaceList) { $res['spaceList'] = []; if (null !== $this->spaceList && \is_array($this->spaceList)) { $n = 0; foreach ($this->spaceList as $item) { $res['spaceList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListSubSpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spaceList'])) { if (!empty($map['spaceList'])) { $model->spaceList = []; $n = 0; foreach ($map['spaceList'] as $item) { $model->spaceList[$n++] = null !== $item ? spaceList::fromMap($item) : $item; } } } return $model; } } src/resident_1_0/Models/ListSubSpaceResponseBody/spaceList.php000064400000006704146412132660020404 0ustar00 'billingArea', 'buildingArea' => 'buildingArea', 'floor' => 'floor', 'houseState' => 'houseState', 'isVirtual' => 'isVirtual', 'parentReferId' => 'parentReferId', 'referId' => 'referId', 'spaceName' => 'spaceName', 'tagCode' => 'tagCode', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->billingArea) { $res['billingArea'] = $this->billingArea; } if (null !== $this->buildingArea) { $res['buildingArea'] = $this->buildingArea; } if (null !== $this->floor) { $res['floor'] = $this->floor; } if (null !== $this->houseState) { $res['houseState'] = $this->houseState; } if (null !== $this->isVirtual) { $res['isVirtual'] = $this->isVirtual; } if (null !== $this->parentReferId) { $res['parentReferId'] = $this->parentReferId; } if (null !== $this->referId) { $res['referId'] = $this->referId; } if (null !== $this->spaceName) { $res['spaceName'] = $this->spaceName; } if (null !== $this->tagCode) { $res['tagCode'] = $this->tagCode; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return spaceList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['billingArea'])) { $model->billingArea = $map['billingArea']; } if (isset($map['buildingArea'])) { $model->buildingArea = $map['buildingArea']; } if (isset($map['floor'])) { $model->floor = $map['floor']; } if (isset($map['houseState'])) { $model->houseState = $map['houseState']; } if (isset($map['isVirtual'])) { $model->isVirtual = $map['isVirtual']; } if (isset($map['parentReferId'])) { $model->parentReferId = $map['parentReferId']; } if (isset($map['referId'])) { $model->referId = $map['referId']; } if (isset($map['spaceName'])) { $model->spaceName = $map['spaceName']; } if (isset($map['tagCode'])) { $model->tagCode = $map['tagCode']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/resident_1_0/Models/ListUncheckUsersHeaders.php000064400000002340146412132660016301 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListUncheckUsersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/ListUncheckUsersRequest.php000064400000003450146412132660016361 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'startTime' => 'startTime', 'status' => 'status', ]; 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->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return ListUncheckUsersRequest */ 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['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/resident_1_0/Models/ListUncheckUsersResponse.php000064400000002736146412132660016535 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListUncheckUsersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListUncheckUsersResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/ListUncheckUsersResponseBody.php000064400000004003146412132660017340 0ustar00 'hasMore', 'nextToken' => 'nextToken', 'values' => 'values', ]; 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->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 ListUncheckUsersResponseBody */ 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['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/resident_1_0/Models/ListUncheckUsersResponseBody/values.php000064400000006233146412132660020646 0ustar00 'deptId', 'extension' => 'extension', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'isPropertyOwner' => 'isPropertyOwner', 'name' => 'name', 'status' => 'status', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->isPropertyOwner) { $res['isPropertyOwner'] = $this->isPropertyOwner; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return values */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['isPropertyOwner'])) { $model->isPropertyOwner = $map['isPropertyOwner']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/resident_1_0/Models/ListUserIndustryRolesHeaders.php000064400000002352146412132660017367 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListUserIndustryRolesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/ListUserIndustryRolesRequest.php000064400000001540146412132660017442 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ListUserIndustryRolesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/resident_1_0/Models/ListUserIndustryRolesResponse.php000064400000002762146412132660017617 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListUserIndustryRolesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListUserIndustryRolesResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/ListUserIndustryRolesResponseBody.php000064400000002700146412132660020425 0ustar00 'roleList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleList) { $res['roleList'] = []; if (null !== $this->roleList && \is_array($this->roleList)) { $n = 0; foreach ($this->roleList as $item) { $res['roleList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListUserIndustryRolesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleList'])) { if (!empty($map['roleList'])) { $model->roleList = []; $n = 0; foreach ($map['roleList'] as $item) { $model->roleList[$n++] = null !== $item ? roleList::fromMap($item) : $item; } } } return $model; } } src/resident_1_0/Models/ListUserIndustryRolesResponseBody/roleList.php000064400000002743146412132660022231 0ustar00 'roleId', 'roleName' => 'roleName', 'tagCode' => 'tagCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } if (null !== $this->tagCode) { $res['tagCode'] = $this->tagCode; } return $res; } /** * @param array $map * * @return roleList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } if (isset($map['tagCode'])) { $model->tagCode = $map['tagCode']; } return $model; } } src/resident_1_0/Models/PagePointHistoryHeaders.php000064400000002340146412132660016313 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PagePointHistoryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/PagePointHistoryRequest.php000064400000004646146412132660016403 0ustar00 'endTime', 'isCircle' => 'isCircle', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'startTime' => 'startTime', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->isCircle) { $res['isCircle'] = $this->isCircle; } 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->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return PagePointHistoryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['isCircle'])) { $model->isCircle = $map['isCircle']; } 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['userId'])) { $model->userId = $map['userId']; } return $model; } } src/resident_1_0/Models/PagePointHistoryResponse.php000064400000002736146412132660016547 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PagePointHistoryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PagePointHistoryResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/PagePointHistoryResponseBody.php000064400000005031146412132660017354 0ustar00 'hasMore', 'nextToken' => 'nextToken', 'pointRecordList' => 'pointRecordList', '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->pointRecordList) { $res['pointRecordList'] = []; if (null !== $this->pointRecordList && \is_array($this->pointRecordList)) { $n = 0; foreach ($this->pointRecordList as $item) { $res['pointRecordList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return PagePointHistoryResponseBody */ 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['pointRecordList'])) { if (!empty($map['pointRecordList'])) { $model->pointRecordList = []; $n = 0; foreach ($map['pointRecordList'] as $item) { $model->pointRecordList[$n++] = null !== $item ? pointRecordList::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/resident_1_0/Models/PagePointHistoryResponseBody/pointRecordList.php000064400000004533146412132660022506 0ustar00 'createAt', 'ruleCode' => 'ruleCode', 'ruleName' => 'ruleName', 'score' => 'score', 'userId' => 'userId', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createAt) { $res['createAt'] = $this->createAt; } if (null !== $this->ruleCode) { $res['ruleCode'] = $this->ruleCode; } if (null !== $this->ruleName) { $res['ruleName'] = $this->ruleName; } if (null !== $this->score) { $res['score'] = $this->score; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return pointRecordList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createAt'])) { $model->createAt = $map['createAt']; } if (isset($map['ruleCode'])) { $model->ruleCode = $map['ruleCode']; } if (isset($map['ruleName'])) { $model->ruleName = $map['ruleName']; } if (isset($map['score'])) { $model->score = $map['score']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/resident_1_0/Models/RemoveResidentMemberHeaders.php000064400000002350146412132660017127 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveResidentMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/RemoveResidentMemberRequest.php000064400000002637146412132660017214 0ustar00 'deptId', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return RemoveResidentMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/resident_1_0/Models/RemoveResidentMemberResponse.php000064400000002756146412132660017364 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RemoveResidentMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RemoveResidentMemberResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/RemoveResidentMemberResponseBody.php000064400000001556146412132660020177 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return RemoveResidentMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/resident_1_0/Models/RemoveResidentUserHeaders.php000064400000002344146412132660016641 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveResidentUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/RemoveResidentUserRequest.php000064400000002276146412132660016722 0ustar00 'departmentId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return RemoveResidentUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/resident_1_0/Models/RemoveResidentUserResponse.php000064400000002746146412132660017072 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RemoveResidentUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RemoveResidentUserResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/RemoveResidentUserResponseBody.php000064400000001541146412132660017700 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return RemoveResidentUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/resident_1_0/Models/SearchResidentHeaders.php000064400000002334146412132660015751 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchResidentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/SearchResidentRequest.php000064400000002263146412132660016027 0ustar00 'residentCropId', 'searchWord' => 'searchWord', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->residentCropId) { $res['residentCropId'] = $this->residentCropId; } if (null !== $this->searchWord) { $res['searchWord'] = $this->searchWord; } return $res; } /** * @param array $map * * @return SearchResidentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['residentCropId'])) { $model->residentCropId = $map['residentCropId']; } if (isset($map['searchWord'])) { $model->searchWord = $map['searchWord']; } return $model; } } src/resident_1_0/Models/SearchResidentResponse.php000064400000002726146412132660016201 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchResidentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchResidentResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/SearchResidentResponseBody.php000064400000003005146412132660017006 0ustar00 'residenceList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->residenceList) { $res['residenceList'] = []; if (null !== $this->residenceList && \is_array($this->residenceList)) { $n = 0; foreach ($this->residenceList as $item) { $res['residenceList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return SearchResidentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['residenceList'])) { if (!empty($map['residenceList'])) { $model->residenceList = []; $n = 0; foreach ($map['residenceList'] as $item) { $model->residenceList[$n++] = null !== $item ? residenceList::fromMap($item) : $item; } } } return $model; } } src/resident_1_0/Models/SearchResidentResponseBody/residenceList.php000064400000004011146412132660021601 0ustar00 'active', 'extField' => 'extField', 'isPropertyOwner' => 'isPropertyOwner', 'name' => 'name', 'relateType' => 'relateType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->extField) { $res['extField'] = $this->extField; } if (null !== $this->isPropertyOwner) { $res['isPropertyOwner'] = $this->isPropertyOwner; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->relateType) { $res['relateType'] = $this->relateType; } return $res; } /** * @param array $map * * @return residenceList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } if (isset($map['extField'])) { $model->extField = $map['extField']; } if (isset($map['isPropertyOwner'])) { $model->isPropertyOwner = $map['isPropertyOwner']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['relateType'])) { $model->relateType = $map['relateType']; } return $model; } } src/resident_1_0/Models/UpdateResideceGroupHeaders.php000064400000002346146412132660016754 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateResideceGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/UpdateResideceGroupRequest.php000064400000003170146412132660017025 0ustar00 'departmentId', 'departmentName' => 'departmentName', 'managerUserId' => 'managerUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->managerUserId) { $res['managerUserId'] = $this->managerUserId; } return $res; } /** * @param array $map * * @return UpdateResideceGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['managerUserId'])) { $model->managerUserId = $map['managerUserId']; } return $model; } } src/resident_1_0/Models/UpdateResideceGroupResponse.php000064400000002752146412132660017200 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateResideceGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateResideceGroupResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/UpdateResideceGroupResponseBody.php000064400000001543146412132660020013 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateResideceGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/resident_1_0/Models/UpdateResidenceHeaders.php000064400000002336146412132660016114 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateResidenceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/UpdateResidenceRequest.php000064400000005705146412132660016174 0ustar00 'departmentId', 'departmentName' => 'departmentName', 'destitute' => 'destitute', 'grid' => 'grid', 'homeTel' => 'homeTel', 'managerUserId' => 'managerUserId', 'parentDepartmentId' => 'parentDepartmentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->destitute) { $res['destitute'] = $this->destitute; } if (null !== $this->grid) { $res['grid'] = $this->grid; } if (null !== $this->homeTel) { $res['homeTel'] = $this->homeTel; } if (null !== $this->managerUserId) { $res['managerUserId'] = $this->managerUserId; } if (null !== $this->parentDepartmentId) { $res['parentDepartmentId'] = $this->parentDepartmentId; } return $res; } /** * @param array $map * * @return UpdateResidenceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['destitute'])) { $model->destitute = $map['destitute']; } if (isset($map['grid'])) { $model->grid = $map['grid']; } if (isset($map['homeTel'])) { $model->homeTel = $map['homeTel']; } if (isset($map['managerUserId'])) { $model->managerUserId = $map['managerUserId']; } if (isset($map['parentDepartmentId'])) { $model->parentDepartmentId = $map['parentDepartmentId']; } return $model; } } src/resident_1_0/Models/UpdateResidenceResponse.php000064400000002732146412132660016337 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateResidenceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateResidenceResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/UpdateResidenceResponseBody.php000064400000001533146412132660017153 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateResidenceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/resident_1_0/Models/UpdateResidentBlackBoardHeaders.php000064400000002360146412132660017672 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateResidentBlackBoardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/UpdateResidentBlackBoardRequest.php000064400000003303146412132660017745 0ustar00 'blackboardId', 'context' => 'context', 'mediaId' => 'mediaId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->blackboardId) { $res['blackboardId'] = $this->blackboardId; } if (null !== $this->context) { $res['context'] = $this->context; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return UpdateResidentBlackBoardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['blackboardId'])) { $model->blackboardId = $map['blackboardId']; } if (isset($map['context'])) { $model->context = $map['context']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/resident_1_0/Models/UpdateResidentBlackBoardResponse.php000064400000002776146412132660020130 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateResidentBlackBoardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateResidentBlackBoardResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/UpdateResidentBlackBoardResponseBody.php000064400000001532146412132660020733 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateResidentBlackBoardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/resident_1_0/Models/UpdateResidentInfoHeaders.php000064400000002344146412132660016603 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateResidentInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/UpdateResidentInfoRequest.php000064400000006770146412132660016667 0ustar00 'address', 'buildingArea' => 'buildingArea', 'cityName' => 'cityName', 'communityType' => 'communityType', 'countyName' => 'countyName', 'location' => 'location', 'name' => 'name', 'provName' => 'provName', 'state' => 'state', 'telephone' => 'telephone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->buildingArea) { $res['buildingArea'] = $this->buildingArea; } if (null !== $this->cityName) { $res['cityName'] = $this->cityName; } if (null !== $this->communityType) { $res['communityType'] = $this->communityType; } if (null !== $this->countyName) { $res['countyName'] = $this->countyName; } if (null !== $this->location) { $res['location'] = $this->location; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->provName) { $res['provName'] = $this->provName; } if (null !== $this->state) { $res['state'] = $this->state; } if (null !== $this->telephone) { $res['telephone'] = $this->telephone; } return $res; } /** * @param array $map * * @return UpdateResidentInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['buildingArea'])) { $model->buildingArea = $map['buildingArea']; } if (isset($map['cityName'])) { $model->cityName = $map['cityName']; } if (isset($map['communityType'])) { $model->communityType = $map['communityType']; } if (isset($map['countyName'])) { $model->countyName = $map['countyName']; } if (isset($map['location'])) { $model->location = $map['location']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['provName'])) { $model->provName = $map['provName']; } if (isset($map['state'])) { $model->state = $map['state']; } if (isset($map['telephone'])) { $model->telephone = $map['telephone']; } return $model; } } src/resident_1_0/Models/UpdateResidentInfoResponse.php000064400000002746146412132660017034 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateResidentInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateResidentInfoResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/UpdateResidentInfoResponseBody.php000064400000001552146412132660017644 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateResidentInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/resident_1_0/Models/UpdateResidentMemberHeaders.php000064400000002350146412132660017114 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateResidentMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/UpdateResidentMemberRequest.php000064400000002721146412132660017173 0ustar00 'residentUpdateInfo', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->residentUpdateInfo) { $res['residentUpdateInfo'] = null !== $this->residentUpdateInfo ? $this->residentUpdateInfo->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return UpdateResidentMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['residentUpdateInfo'])) { $model->residentUpdateInfo = residentUpdateInfo::fromMap($map['residentUpdateInfo']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/resident_1_0/Models/UpdateResidentMemberRequest/residentUpdateInfo.php000064400000005701146412132660022770 0ustar00 'deptId', 'isPropertyOwner' => 'isPropertyOwner', 'memberDeptExtension' => 'memberDeptExtension', 'name' => 'name', 'oldDeptId' => 'oldDeptId', 'relateType' => 'relateType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->isPropertyOwner) { $res['isPropertyOwner'] = $this->isPropertyOwner; } if (null !== $this->memberDeptExtension) { $res['memberDeptExtension'] = $this->memberDeptExtension; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->oldDeptId) { $res['oldDeptId'] = $this->oldDeptId; } if (null !== $this->relateType) { $res['relateType'] = $this->relateType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return residentUpdateInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['isPropertyOwner'])) { $model->isPropertyOwner = $map['isPropertyOwner']; } if (isset($map['memberDeptExtension'])) { $model->memberDeptExtension = $map['memberDeptExtension']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['oldDeptId'])) { $model->oldDeptId = $map['oldDeptId']; } if (isset($map['relateType'])) { $model->relateType = $map['relateType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/resident_1_0/Models/UpdateResidentMemberResponse.php000064400000002756146412132660017351 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateResidentMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateResidentMemberResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/UpdateResidentMemberResponseBody.php000064400000001556146412132660020164 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateResidentMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/resident_1_0/Models/UpdateResidentUserHeaders.php000064400000002344146412132660016626 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateResidentUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/UpdateResidentUserRequest.php000064400000010147146412132660016703 0ustar00 'address', 'departmentId' => 'departmentId', 'extField' => 'extField', 'isRetainOldDept' => 'isRetainOldDept', 'mobile' => 'mobile', 'oldDepartmentId' => 'oldDepartmentId', 'relateType' => 'relateType', 'userId' => 'userId', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->extField) { $res['extField'] = []; if (null !== $this->extField && \is_array($this->extField)) { $n = 0; foreach ($this->extField as $item) { $res['extField'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->isRetainOldDept) { $res['isRetainOldDept'] = $this->isRetainOldDept; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->oldDepartmentId) { $res['oldDepartmentId'] = $this->oldDepartmentId; } if (null !== $this->relateType) { $res['relateType'] = $this->relateType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return UpdateResidentUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['extField'])) { if (!empty($map['extField'])) { $model->extField = []; $n = 0; foreach ($map['extField'] as $item) { $model->extField[$n++] = null !== $item ? extField::fromMap($item) : $item; } } } if (isset($map['isRetainOldDept'])) { $model->isRetainOldDept = $map['isRetainOldDept']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['oldDepartmentId'])) { $model->oldDepartmentId = $map['oldDepartmentId']; } if (isset($map['relateType'])) { $model->relateType = $map['relateType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/resident_1_0/Models/UpdateResidentUserRequest/extField.php000064400000002252146412132660020445 0ustar00 'itemName', 'itemValue' => 'itemValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->itemName) { $res['itemName'] = $this->itemName; } if (null !== $this->itemValue) { $res['itemValue'] = $this->itemValue; } return $res; } /** * @param array $map * * @return extField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['itemName'])) { $model->itemName = $map['itemName']; } if (isset($map['itemValue'])) { $model->itemValue = $map['itemValue']; } return $model; } } src/resident_1_0/Models/UpdateResidentUserResponse.php000064400000002746146412132660017057 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateResidentUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateResidentUserResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/UpdateResidentUserResponseBody.php000064400000001541146412132660017665 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateResidentUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/resident_1_0/Models/UpdateSpaceHeaders.php000064400000002326146412132660015245 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/resident_1_0/Models/UpdateSpaceRequest.php000064400000003055146412132660015322 0ustar00 'spaceInfoVOList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spaceInfoVOList) { $res['spaceInfoVOList'] = []; if (null !== $this->spaceInfoVOList && \is_array($this->spaceInfoVOList)) { $n = 0; foreach ($this->spaceInfoVOList as $item) { $res['spaceInfoVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return UpdateSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spaceInfoVOList'])) { if (!empty($map['spaceInfoVOList'])) { $model->spaceInfoVOList = []; $n = 0; foreach ($map['spaceInfoVOList'] as $item) { $model->spaceInfoVOList[$n++] = null !== $item ? spaceInfoVOList::fromMap($item) : $item; } } } return $model; } } src/resident_1_0/Models/UpdateSpaceRequest/spaceInfoVOList.php000064400000007423146412132660020335 0ustar00 'billingArea', 'buildingArea' => 'buildingArea', 'buildingType' => 'buildingType', 'deptId' => 'deptId', 'floor' => 'floor', 'houseState' => 'houseState', 'houseType' => 'houseType', 'name' => 'name', 'parentDeptId' => 'parentDeptId', 'tagCode' => 'tagCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->billingArea) { $res['billingArea'] = $this->billingArea; } if (null !== $this->buildingArea) { $res['buildingArea'] = $this->buildingArea; } if (null !== $this->buildingType) { $res['buildingType'] = $this->buildingType; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->floor) { $res['floor'] = $this->floor; } if (null !== $this->houseState) { $res['houseState'] = $this->houseState; } if (null !== $this->houseType) { $res['houseType'] = $this->houseType; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentDeptId) { $res['parentDeptId'] = $this->parentDeptId; } if (null !== $this->tagCode) { $res['tagCode'] = $this->tagCode; } return $res; } /** * @param array $map * * @return spaceInfoVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['billingArea'])) { $model->billingArea = $map['billingArea']; } if (isset($map['buildingArea'])) { $model->buildingArea = $map['buildingArea']; } if (isset($map['buildingType'])) { $model->buildingType = $map['buildingType']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['floor'])) { $model->floor = $map['floor']; } if (isset($map['houseState'])) { $model->houseState = $map['houseState']; } if (isset($map['houseType'])) { $model->houseType = $map['houseType']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentDeptId'])) { $model->parentDeptId = $map['parentDeptId']; } if (isset($map['tagCode'])) { $model->tagCode = $map['tagCode']; } return $model; } } src/resident_1_0/Models/UpdateSpaceResponse.php000064400000002712146412132660015467 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateSpaceResponseBody::fromMap($map['body']); } return $model; } } src/resident_1_0/Models/UpdateSpaceResponseBody.php000064400000001534146412132660016306 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateSpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/robot_1_0/Dingtalk.php000064400000145524146412132660011405 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param BatchOTOQueryRequest $request * @param BatchOTOQueryHeaders $headers * @param RuntimeOptions $runtime * * @return BatchOTOQueryResponse */ public function batchOTOQueryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->processQueryKey)) { $query['processQueryKey'] = $request->processQueryKey; } if (!Utils::isUnset($request->robotCode)) { $query['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'BatchOTOQuery', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/oToMessages/readStatus', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchOTOQueryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchOTOQueryRequest $request * * @return BatchOTOQueryResponse */ public function batchOTOQuery($request) { $runtime = new RuntimeOptions([]); $headers = new BatchOTOQueryHeaders([]); return $this->batchOTOQueryWithOptions($request, $headers, $runtime); } /** * @param BatchRecallGroupRequest $request * @param BatchRecallGroupHeaders $headers * @param RuntimeOptions $runtime * * @return BatchRecallGroupResponse */ public function batchRecallGroupWithOptions($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; } if (!Utils::isUnset($request->processQueryKeys)) { $body['processQueryKeys'] = $request->processQueryKeys; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchRecallGroup', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/groupMessages/batchRecall', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchRecallGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchRecallGroupRequest $request * * @return BatchRecallGroupResponse */ public function batchRecallGroup($request) { $runtime = new RuntimeOptions([]); $headers = new BatchRecallGroupHeaders([]); return $this->batchRecallGroupWithOptions($request, $headers, $runtime); } /** * @param BatchRecallOTORequest $request * @param BatchRecallOTOHeaders $headers * @param RuntimeOptions $runtime * * @return BatchRecallOTOResponse */ public function batchRecallOTOWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->processQueryKeys)) { $body['processQueryKeys'] = $request->processQueryKeys; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchRecallOTO', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/otoMessages/batchRecall', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchRecallOTOResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchRecallOTORequest $request * * @return BatchRecallOTOResponse */ public function batchRecallOTO($request) { $runtime = new RuntimeOptions([]); $headers = new BatchRecallOTOHeaders([]); return $this->batchRecallOTOWithOptions($request, $headers, $runtime); } /** * @param BatchRecallPrivateChatRequest $request * @param BatchRecallPrivateChatHeaders $headers * @param RuntimeOptions $runtime * * @return BatchRecallPrivateChatResponse */ public function batchRecallPrivateChatWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->processQueryKeys)) { $body['processQueryKeys'] = $request->processQueryKeys; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchRecallPrivateChat', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/privateChatMessages/batchRecall', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchRecallPrivateChatResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchRecallPrivateChatRequest $request * * @return BatchRecallPrivateChatResponse */ public function batchRecallPrivateChat($request) { $runtime = new RuntimeOptions([]); $headers = new BatchRecallPrivateChatHeaders([]); return $this->batchRecallPrivateChatWithOptions($request, $headers, $runtime); } /** * @param BatchSendOTORequest $request * @param BatchSendOTOHeaders $headers * @param RuntimeOptions $runtime * * @return BatchSendOTOResponse */ public function batchSendOTOWithOptions($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->robotCode)) { $body['robotCode'] = $request->robotCode; } 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' => 'BatchSendOTO', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/oToMessages/batchSend', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchSendOTOResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchSendOTORequest $request * * @return BatchSendOTOResponse */ public function batchSendOTO($request) { $runtime = new RuntimeOptions([]); $headers = new BatchSendOTOHeaders([]); return $this->batchSendOTOWithOptions($request, $headers, $runtime); } /** * @param ClearRobotPluginRequest $request * @param ClearRobotPluginHeaders $headers * @param RuntimeOptions $runtime * * @return ClearRobotPluginResponse */ public function clearRobotPluginWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ClearRobotPlugin', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/plugins/clear', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ClearRobotPluginResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ClearRobotPluginRequest $request * * @return ClearRobotPluginResponse */ public function clearRobotPlugin($request) { $runtime = new RuntimeOptions([]); $headers = new ClearRobotPluginHeaders([]); return $this->clearRobotPluginWithOptions($request, $headers, $runtime); } /** * @param ExecuteRobotAiSkillRequest $request * @param ExecuteRobotAiSkillHeaders $headers * @param RuntimeOptions $runtime * * @return ExecuteRobotAiSkillResponse */ public function executeRobotAiSkillWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->context)) { $body['context'] = $request->context; } if (!Utils::isUnset($request->input)) { $body['input'] = $request->input; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } 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' => 'ExecuteRobotAiSkill', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/aiSkill/execute', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ExecuteRobotAiSkillResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ExecuteRobotAiSkillRequest $request * * @return ExecuteRobotAiSkillResponse */ public function executeRobotAiSkill($request) { $runtime = new RuntimeOptions([]); $headers = new ExecuteRobotAiSkillHeaders([]); return $this->executeRobotAiSkillWithOptions($request, $headers, $runtime); } /** * @param GetBotListInGroupRequest $request * @param GetBotListInGroupHeaders $headers * @param RuntimeOptions $runtime * * @return GetBotListInGroupResponse */ public function getBotListInGroupWithOptions($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' => 'GetBotListInGroup', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/groups/robots/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetBotListInGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetBotListInGroupRequest $request * * @return GetBotListInGroupResponse */ public function getBotListInGroup($request) { $runtime = new RuntimeOptions([]); $headers = new GetBotListInGroupHeaders([]); return $this->getBotListInGroupWithOptions($request, $headers, $runtime); } /** * @param ManageSingleChatRobotStatusRequest $request * @param ManageSingleChatRobotStatusHeaders $headers * @param RuntimeOptions $runtime * * @return ManageSingleChatRobotStatusResponse */ public function manageSingleChatRobotStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } 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' => 'ManageSingleChatRobotStatus', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/statuses/manage', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ManageSingleChatRobotStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ManageSingleChatRobotStatusRequest $request * * @return ManageSingleChatRobotStatusResponse */ public function manageSingleChatRobotStatus($request) { $runtime = new RuntimeOptions([]); $headers = new ManageSingleChatRobotStatusHeaders([]); return $this->manageSingleChatRobotStatusWithOptions($request, $headers, $runtime); } /** * @param OrgGroupQueryRequest $request * @param OrgGroupQueryHeaders $headers * @param RuntimeOptions $runtime * * @return OrgGroupQueryResponse */ public function orgGroupQueryWithOptions($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->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->processQueryKey)) { $body['processQueryKey'] = $request->processQueryKey; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } if (!Utils::isUnset($request->token)) { $body['token'] = $request->token; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'OrgGroupQuery', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/groupMessages/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return OrgGroupQueryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param OrgGroupQueryRequest $request * * @return OrgGroupQueryResponse */ public function orgGroupQuery($request) { $runtime = new RuntimeOptions([]); $headers = new OrgGroupQueryHeaders([]); return $this->orgGroupQueryWithOptions($request, $headers, $runtime); } /** * @param OrgGroupRecallRequest $request * @param OrgGroupRecallHeaders $headers * @param RuntimeOptions $runtime * * @return OrgGroupRecallResponse */ public function orgGroupRecallWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->processQueryKeys)) { $body['processQueryKeys'] = $request->processQueryKeys; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'OrgGroupRecall', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/groupMessages/recall', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return OrgGroupRecallResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param OrgGroupRecallRequest $request * * @return OrgGroupRecallResponse */ public function orgGroupRecall($request) { $runtime = new RuntimeOptions([]); $headers = new OrgGroupRecallHeaders([]); return $this->orgGroupRecallWithOptions($request, $headers, $runtime); } /** * @param OrgGroupSendRequest $request * @param OrgGroupSendHeaders $headers * @param RuntimeOptions $runtime * * @return OrgGroupSendResponse */ public function orgGroupSendWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->coolAppCode)) { $body['coolAppCode'] = $request->coolAppCode; } 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; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } if (!Utils::isUnset($request->token)) { $body['token'] = $request->token; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'OrgGroupSend', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/groupMessages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return OrgGroupSendResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param OrgGroupSendRequest $request * * @return OrgGroupSendResponse */ public function orgGroupSend($request) { $runtime = new RuntimeOptions([]); $headers = new OrgGroupSendHeaders([]); return $this->orgGroupSendWithOptions($request, $headers, $runtime); } /** * @param PrivateChatQueryRequest $request * @param PrivateChatQueryHeaders $headers * @param RuntimeOptions $runtime * * @return PrivateChatQueryResponse */ public function privateChatQueryWithOptions($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->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->processQueryKey)) { $body['processQueryKey'] = $request->processQueryKey; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PrivateChatQuery', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/privateChatMessages/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PrivateChatQueryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PrivateChatQueryRequest $request * * @return PrivateChatQueryResponse */ public function privateChatQuery($request) { $runtime = new RuntimeOptions([]); $headers = new PrivateChatQueryHeaders([]); return $this->privateChatQueryWithOptions($request, $headers, $runtime); } /** * @param PrivateChatSendRequest $request * @param PrivateChatSendHeaders $headers * @param RuntimeOptions $runtime * * @return PrivateChatSendResponse */ public function privateChatSendWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->coolAppCode)) { $body['coolAppCode'] = $request->coolAppCode; } 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; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PrivateChatSend', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/privateChatMessages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PrivateChatSendResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PrivateChatSendRequest $request * * @return PrivateChatSendResponse */ public function privateChatSend($request) { $runtime = new RuntimeOptions([]); $headers = new PrivateChatSendHeaders([]); return $this->privateChatSendWithOptions($request, $headers, $runtime); } /** * @param QueryBotInstanceInGroupInfoRequest $request * @param QueryBotInstanceInGroupInfoHeaders $headers * @param RuntimeOptions $runtime * * @return QueryBotInstanceInGroupInfoResponse */ public function queryBotInstanceInGroupInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryBotInstanceInGroupInfo', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/groups/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryBotInstanceInGroupInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryBotInstanceInGroupInfoRequest $request * * @return QueryBotInstanceInGroupInfoResponse */ public function queryBotInstanceInGroupInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBotInstanceInGroupInfoHeaders([]); return $this->queryBotInstanceInGroupInfoWithOptions($request, $headers, $runtime); } /** * @param QueryRobotPluginRequest $request * @param QueryRobotPluginHeaders $headers * @param RuntimeOptions $runtime * * @return QueryRobotPluginResponse */ public function queryRobotPluginWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryRobotPlugin', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/plugins/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryRobotPluginResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryRobotPluginRequest $request * * @return QueryRobotPluginResponse */ public function queryRobotPlugin($request) { $runtime = new RuntimeOptions([]); $headers = new QueryRobotPluginHeaders([]); return $this->queryRobotPluginWithOptions($request, $headers, $runtime); } /** * @param RobotMessageFileDownloadRequest $request * @param RobotMessageFileDownloadHeaders $headers * @param RuntimeOptions $runtime * * @return RobotMessageFileDownloadResponse */ public function robotMessageFileDownloadWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->downloadCode)) { $body['downloadCode'] = $request->downloadCode; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RobotMessageFileDownload', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/messageFiles/download', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RobotMessageFileDownloadResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RobotMessageFileDownloadRequest $request * * @return RobotMessageFileDownloadResponse */ public function robotMessageFileDownload($request) { $runtime = new RuntimeOptions([]); $headers = new RobotMessageFileDownloadHeaders([]); return $this->robotMessageFileDownloadWithOptions($request, $headers, $runtime); } /** * @param RobotRecallDingRequest $request * @param RobotRecallDingHeaders $headers * @param RuntimeOptions $runtime * * @return RobotRecallDingResponse */ public function robotRecallDingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openDingId)) { $body['openDingId'] = $request->openDingId; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RobotRecallDing', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/ding/recall', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RobotRecallDingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RobotRecallDingRequest $request * * @return RobotRecallDingResponse */ public function robotRecallDing($request) { $runtime = new RuntimeOptions([]); $headers = new RobotRecallDingHeaders([]); return $this->robotRecallDingWithOptions($request, $headers, $runtime); } /** * @param RobotSendDingRequest $request * @param RobotSendDingHeaders $headers * @param RuntimeOptions $runtime * * @return RobotSendDingResponse */ public function robotSendDingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->receiverUserIdList)) { $body['receiverUserIdList'] = $request->receiverUserIdList; } if (!Utils::isUnset($request->remindType)) { $body['remindType'] = $request->remindType; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RobotSendDing', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/ding/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RobotSendDingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RobotSendDingRequest $request * * @return RobotSendDingResponse */ public function robotSendDing($request) { $runtime = new RuntimeOptions([]); $headers = new RobotSendDingHeaders([]); return $this->robotSendDingWithOptions($request, $headers, $runtime); } /** * @param SendRobotDingMessageRequest $request * @param SendRobotDingMessageHeaders $headers * @param RuntimeOptions $runtime * * @return SendRobotDingMessageResponse */ public function sendRobotDingMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->contentParams)) { $body['contentParams'] = $request->contentParams; } if (!Utils::isUnset($request->dingTemplateId)) { $body['dingTemplateId'] = $request->dingTemplateId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->receiverUserIdList)) { $body['receiverUserIdList'] = $request->receiverUserIdList; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendRobotDingMessage', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/dingMessages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return SendRobotDingMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendRobotDingMessageRequest $request * * @return SendRobotDingMessageResponse */ public function sendRobotDingMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendRobotDingMessageHeaders([]); return $this->sendRobotDingMessageWithOptions($request, $headers, $runtime); } /** * @param SetRobotPluginRequest $request * @param SetRobotPluginHeaders $headers * @param RuntimeOptions $runtime * * @return SetRobotPluginResponse */ public function setRobotPluginWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->pluginInfoList)) { $body['pluginInfoList'] = $request->pluginInfoList; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SetRobotPlugin', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/plugins/set', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SetRobotPluginResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SetRobotPluginRequest $request * * @return SetRobotPluginResponse */ public function setRobotPlugin($request) { $runtime = new RuntimeOptions([]); $headers = new SetRobotPluginHeaders([]); return $this->setRobotPluginWithOptions($request, $headers, $runtime); } /** * @param UpdateInstalledRobotRequest $request * @param UpdateInstalledRobotHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateInstalledRobotResponse */ public function updateInstalledRobotWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->brief)) { $body['brief'] = $request->brief; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->robotCode)) { $body['robotCode'] = $request->robotCode; } if (!Utils::isUnset($request->updateType)) { $body['updateType'] = $request->updateType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateInstalledRobot', 'version' => 'robot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/robot/managements/infos', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateInstalledRobotResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateInstalledRobotRequest $request * * @return UpdateInstalledRobotResponse */ public function updateInstalledRobot($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInstalledRobotHeaders([]); return $this->updateInstalledRobotWithOptions($request, $headers, $runtime); } } src/robot_1_0/Models/BatchOTOQueryHeaders.php000064400000002327146412132660015011 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchOTOQueryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/BatchOTOQueryRequest.php000064400000002367146412132660015072 0ustar00 'processQueryKey', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processQueryKey) { $res['processQueryKey'] = $this->processQueryKey; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return BatchOTOQueryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processQueryKey'])) { $model->processQueryKey = $map['processQueryKey']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/robot_1_0/Models/BatchOTOQueryResponse.php000064400000002717146412132660015237 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchOTOQueryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchOTOQueryResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/BatchOTOQueryResponseBody.php000064400000003701146412132660016047 0ustar00 'messageReadInfoList', 'sendStatus' => 'sendStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messageReadInfoList) { $res['messageReadInfoList'] = []; if (null !== $this->messageReadInfoList && \is_array($this->messageReadInfoList)) { $n = 0; foreach ($this->messageReadInfoList as $item) { $res['messageReadInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sendStatus) { $res['sendStatus'] = $this->sendStatus; } return $res; } /** * @param array $map * * @return BatchOTOQueryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messageReadInfoList'])) { if (!empty($map['messageReadInfoList'])) { $model->messageReadInfoList = []; $n = 0; foreach ($map['messageReadInfoList'] as $item) { $model->messageReadInfoList[$n++] = null !== $item ? messageReadInfoList::fromMap($item) : $item; } } } if (isset($map['sendStatus'])) { $model->sendStatus = $map['sendStatus']; } return $model; } } src/robot_1_0/Models/BatchOTOQueryResponseBody/messageReadInfoList.php000064400000003526146412132660021744 0ustar00 'name', 'readStatus' => 'readStatus', 'readTimestamp' => 'readTimestamp', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->readStatus) { $res['readStatus'] = $this->readStatus; } if (null !== $this->readTimestamp) { $res['readTimestamp'] = $this->readTimestamp; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return messageReadInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['readStatus'])) { $model->readStatus = $map['readStatus']; } if (isset($map['readTimestamp'])) { $model->readTimestamp = $map['readTimestamp']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/robot_1_0/Models/BatchRecallGroupHeaders.php000064400000002335146412132660015540 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchRecallGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/BatchRecallGroupRequest.php000064400000003337146412132660015620 0ustar00 'chatbotId', 'openConversationId' => 'openConversationId', 'processQueryKeys' => 'processQueryKeys', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatbotId) { $res['chatbotId'] = $this->chatbotId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->processQueryKeys) { $res['processQueryKeys'] = $this->processQueryKeys; } return $res; } /** * @param array $map * * @return BatchRecallGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatbotId'])) { $model->chatbotId = $map['chatbotId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['processQueryKeys'])) { if (!empty($map['processQueryKeys'])) { $model->processQueryKeys = $map['processQueryKeys']; } } return $model; } } src/robot_1_0/Models/BatchRecallGroupResponse.php000064400000002733146412132660015765 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchRecallGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchRecallGroupResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/BatchRecallGroupResponseBody.php000064400000002515146412132660016601 0ustar00 'failedResult', 'successResult' => 'successResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failedResult) { $res['failedResult'] = $this->failedResult; } if (null !== $this->successResult) { $res['successResult'] = $this->successResult; } return $res; } /** * @param array $map * * @return BatchRecallGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failedResult'])) { $model->failedResult = $map['failedResult']; } if (isset($map['successResult'])) { if (!empty($map['successResult'])) { $model->successResult = $map['successResult']; } } return $model; } } src/robot_1_0/Models/BatchRecallOTOHeaders.php000064400000002331146412132660015101 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchRecallOTOHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/BatchRecallOTORequest.php000064400000002446146412132660015165 0ustar00 'processQueryKeys', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processQueryKeys) { $res['processQueryKeys'] = $this->processQueryKeys; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return BatchRecallOTORequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processQueryKeys'])) { if (!empty($map['processQueryKeys'])) { $model->processQueryKeys = $map['processQueryKeys']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/robot_1_0/Models/BatchRecallOTOResponse.php000064400000002723146412132660015331 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchRecallOTOResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchRecallOTOResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/BatchRecallOTOResponseBody.php000064400000002512146412132660016143 0ustar00 'failedResult', 'successResult' => 'successResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failedResult) { $res['failedResult'] = $this->failedResult; } if (null !== $this->successResult) { $res['successResult'] = $this->successResult; } return $res; } /** * @param array $map * * @return BatchRecallOTOResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failedResult'])) { $model->failedResult = $map['failedResult']; } if (isset($map['successResult'])) { if (!empty($map['successResult'])) { $model->successResult = $map['successResult']; } } return $model; } } src/robot_1_0/Models/BatchRecallPrivateChatHeaders.php000064400000002351146412132660016654 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchRecallPrivateChatHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/BatchRecallPrivateChatRequest.php000064400000003353146412132660016734 0ustar00 'openConversationId', 'processQueryKeys' => 'processQueryKeys', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->processQueryKeys) { $res['processQueryKeys'] = $this->processQueryKeys; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return BatchRecallPrivateChatRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['processQueryKeys'])) { if (!empty($map['processQueryKeys'])) { $model->processQueryKeys = $map['processQueryKeys']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/robot_1_0/Models/BatchRecallPrivateChatResponse.php000064400000002763146412132660017106 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchRecallPrivateChatResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchRecallPrivateChatResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/BatchRecallPrivateChatResponseBody.php000064400000002531146412132660017715 0ustar00 'failedResult', 'successResult' => 'successResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failedResult) { $res['failedResult'] = $this->failedResult; } if (null !== $this->successResult) { $res['successResult'] = $this->successResult; } return $res; } /** * @param array $map * * @return BatchRecallPrivateChatResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failedResult'])) { $model->failedResult = $map['failedResult']; } if (isset($map['successResult'])) { if (!empty($map['successResult'])) { $model->successResult = $map['successResult']; } } return $model; } } src/robot_1_0/Models/BatchSendOTOHeaders.php000064400000002325146412132660014573 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchSendOTOHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/BatchSendOTORequest.php000064400000003540146412132660014650 0ustar00 'msgKey', 'msgParam' => 'msgParam', 'robotCode' => 'robotCode', 'userIds' => 'userIds', ]; 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->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return BatchSendOTORequest */ 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['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/robot_1_0/Models/BatchSendOTOResponse.php000064400000002713146412132660015017 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchSendOTOResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchSendOTOResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/BatchSendOTOResponseBody.php000064400000003550146412132660015635 0ustar00 'flowControlledStaffIdList', 'invalidStaffIdList' => 'invalidStaffIdList', 'processQueryKey' => 'processQueryKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->flowControlledStaffIdList) { $res['flowControlledStaffIdList'] = $this->flowControlledStaffIdList; } if (null !== $this->invalidStaffIdList) { $res['invalidStaffIdList'] = $this->invalidStaffIdList; } if (null !== $this->processQueryKey) { $res['processQueryKey'] = $this->processQueryKey; } return $res; } /** * @param array $map * * @return BatchSendOTOResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['flowControlledStaffIdList'])) { if (!empty($map['flowControlledStaffIdList'])) { $model->flowControlledStaffIdList = $map['flowControlledStaffIdList']; } } if (isset($map['invalidStaffIdList'])) { if (!empty($map['invalidStaffIdList'])) { $model->invalidStaffIdList = $map['invalidStaffIdList']; } } if (isset($map['processQueryKey'])) { $model->processQueryKey = $map['processQueryKey']; } return $model; } } src/robot_1_0/Models/ClearRobotPluginHeaders.php000064400000002335146412132660015572 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ClearRobotPluginHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/ClearRobotPluginRequest.php000064400000001572146412132660015651 0ustar00 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return ClearRobotPluginRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/robot_1_0/Models/ClearRobotPluginResponse.php000064400000002733146412132660016017 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ClearRobotPluginResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ClearRobotPluginResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/ClearRobotPluginResponseBody.php000064400000001476146412132660016640 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ClearRobotPluginResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/robot_1_0/Models/ExecuteRobotAiSkillHeaders.php000064400000002343146412132660016237 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ExecuteRobotAiSkillHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/ExecuteRobotAiSkillRequest.php000064400000003223146412132660016312 0ustar00 'context', 'input' => 'input', 'robotCode' => 'robotCode', 'skillId' => 'skillId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->context) { $res['context'] = $this->context; } if (null !== $this->input) { $res['input'] = $this->input; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->skillId) { $res['skillId'] = $this->skillId; } return $res; } /** * @param array $map * * @return ExecuteRobotAiSkillRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['context'])) { $model->context = $map['context']; } if (isset($map['input'])) { $model->input = $map['input']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['skillId'])) { $model->skillId = $map['skillId']; } return $model; } } src/robot_1_0/Models/ExecuteRobotAiSkillResponse.php000064400000002747146412132660016472 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ExecuteRobotAiSkillResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ExecuteRobotAiSkillResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/ExecuteRobotAiSkillResponseBody.php000064400000002244146412132660017300 0ustar00 'result', 'skillExecuteId' => 'skillExecuteId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->skillExecuteId) { $res['skillExecuteId'] = $this->skillExecuteId; } return $res; } /** * @param array $map * * @return ExecuteRobotAiSkillResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['skillExecuteId'])) { $model->skillExecuteId = $map['skillExecuteId']; } return $model; } } src/robot_1_0/Models/GetBotListInGroupHeaders.php000064400000002337146412132660015705 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetBotListInGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/GetBotListInGroupRequest.php000064400000001716146412132660015762 0ustar00 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return GetBotListInGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/robot_1_0/Models/GetBotListInGroupResponse.php000064400000002737146412132660016134 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetBotListInGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetBotListInGroupResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/GetBotListInGroupResponseBody.php000064400000003230146412132660016737 0ustar00 'chatbotInstanceVOList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatbotInstanceVOList) { $res['chatbotInstanceVOList'] = []; if (null !== $this->chatbotInstanceVOList && \is_array($this->chatbotInstanceVOList)) { $n = 0; foreach ($this->chatbotInstanceVOList as $item) { $res['chatbotInstanceVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetBotListInGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatbotInstanceVOList'])) { if (!empty($map['chatbotInstanceVOList'])) { $model->chatbotInstanceVOList = []; $n = 0; foreach ($map['chatbotInstanceVOList'] as $item) { $model->chatbotInstanceVOList[$n++] = null !== $item ? chatbotInstanceVOList::fromMap($item) : $item; } } } return $model; } } src/robot_1_0/Models/GetBotListInGroupResponseBody/chatbotInstanceVOList.php000064400000003443146412132660023157 0ustar00 'downloadIconURL', 'name' => 'name', 'openRobotType' => 'openRobotType', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->downloadIconURL) { $res['downloadIconURL'] = $this->downloadIconURL; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->openRobotType) { $res['openRobotType'] = $this->openRobotType; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return chatbotInstanceVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['downloadIconURL'])) { $model->downloadIconURL = $map['downloadIconURL']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['openRobotType'])) { $model->openRobotType = $map['openRobotType']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/robot_1_0/Models/ManageSingleChatRobotStatusHeaders.php000064400000002363146412132660017724 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ManageSingleChatRobotStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/ManageSingleChatRobotStatusRequest.php000064400000002302146412132660017772 0ustar00 'robotCode', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return ManageSingleChatRobotStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/robot_1_0/Models/ManageSingleChatRobotStatusResponse.php000064400000003007146412132660020143 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ManageSingleChatRobotStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ManageSingleChatRobotStatusResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/ManageSingleChatRobotStatusResponseBody.php000064400000001524146412132660020763 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ManageSingleChatRobotStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/robot_1_0/Models/OrgGroupQueryHeaders.php000064400000002327146412132660015152 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return OrgGroupQueryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/OrgGroupQueryRequest.php000064400000005340146412132660015225 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'openConversationId' => 'openConversationId', 'processQueryKey' => 'processQueryKey', 'robotCode' => 'robotCode', 'token' => 'token', ]; 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->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->processQueryKey) { $res['processQueryKey'] = $this->processQueryKey; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->token) { $res['token'] = $this->token; } return $res; } /** * @param array $map * * @return OrgGroupQueryRequest */ 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['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['processQueryKey'])) { $model->processQueryKey = $map['processQueryKey']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['token'])) { $model->token = $map['token']; } return $model; } } src/robot_1_0/Models/OrgGroupQueryResponse.php000064400000002717146412132660015400 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return OrgGroupQueryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = OrgGroupQueryResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/OrgGroupQueryResponseBody.php000064400000003640146412132660016212 0ustar00 'hasMore', 'nextToken' => 'nextToken', 'readUserIds' => 'readUserIds', 'sendStatus' => 'sendStatus', ]; 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->readUserIds) { $res['readUserIds'] = $this->readUserIds; } if (null !== $this->sendStatus) { $res['sendStatus'] = $this->sendStatus; } return $res; } /** * @param array $map * * @return OrgGroupQueryResponseBody */ 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['readUserIds'])) { if (!empty($map['readUserIds'])) { $model->readUserIds = $map['readUserIds']; } } if (isset($map['sendStatus'])) { $model->sendStatus = $map['sendStatus']; } return $model; } } src/robot_1_0/Models/OrgGroupRecallHeaders.php000064400000002331146412132660015242 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return OrgGroupRecallHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/OrgGroupRecallRequest.php000064400000003333146412132660015322 0ustar00 'openConversationId', 'processQueryKeys' => 'processQueryKeys', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->processQueryKeys) { $res['processQueryKeys'] = $this->processQueryKeys; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return OrgGroupRecallRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['processQueryKeys'])) { if (!empty($map['processQueryKeys'])) { $model->processQueryKeys = $map['processQueryKeys']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/robot_1_0/Models/OrgGroupRecallResponse.php000064400000002723146412132660015472 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return OrgGroupRecallResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = OrgGroupRecallResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/OrgGroupRecallResponseBody.php000064400000002511146412132660016303 0ustar00 'failedResult', 'successResult' => 'successResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failedResult) { $res['failedResult'] = $this->failedResult; } if (null !== $this->successResult) { $res['successResult'] = $this->successResult; } return $res; } /** * @param array $map * * @return OrgGroupRecallResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failedResult'])) { $model->failedResult = $map['failedResult']; } if (isset($map['successResult'])) { if (!empty($map['successResult'])) { $model->successResult = $map['successResult']; } } return $model; } } src/robot_1_0/Models/OrgGroupSendHeaders.php000064400000002325146412132660014734 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return OrgGroupSendHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/OrgGroupSendRequest.php000064400000005262146412132660015014 0ustar00 'coolAppCode', 'msgKey' => 'msgKey', 'msgParam' => 'msgParam', 'openConversationId' => 'openConversationId', 'robotCode' => 'robotCode', 'token' => 'token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->msgKey) { $res['msgKey'] = $this->msgKey; } if (null !== $this->msgParam) { $res['msgParam'] = $this->msgParam; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->token) { $res['token'] = $this->token; } return $res; } /** * @param array $map * * @return OrgGroupSendRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['msgKey'])) { $model->msgKey = $map['msgKey']; } if (isset($map['msgParam'])) { $model->msgParam = $map['msgParam']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['token'])) { $model->token = $map['token']; } return $model; } } src/robot_1_0/Models/OrgGroupSendResponse.php000064400000002713146412132660015160 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return OrgGroupSendResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = OrgGroupSendResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/OrgGroupSendResponseBody.php000064400000001611146412132660015772 0ustar00 'processQueryKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processQueryKey) { $res['processQueryKey'] = $this->processQueryKey; } return $res; } /** * @param array $map * * @return OrgGroupSendResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processQueryKey'])) { $model->processQueryKey = $map['processQueryKey']; } return $model; } } src/robot_1_0/Models/PrivateChatQueryHeaders.php000064400000002335146412132660015617 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PrivateChatQueryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/PrivateChatQueryRequest.php000064400000004574146412132660015703 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'openConversationId' => 'openConversationId', 'processQueryKey' => 'processQueryKey', 'robotCode' => 'robotCode', ]; 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->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->processQueryKey) { $res['processQueryKey'] = $this->processQueryKey; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return PrivateChatQueryRequest */ 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['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['processQueryKey'])) { $model->processQueryKey = $map['processQueryKey']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/robot_1_0/Models/PrivateChatQueryResponse.php000064400000002733146412132660016044 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PrivateChatQueryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PrivateChatQueryResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/PrivateChatQueryResponseBody.php000064400000003646146412132660016666 0ustar00 'hasMore', 'nextToken' => 'nextToken', 'readUserIds' => 'readUserIds', 'sendStatus' => 'sendStatus', ]; 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->readUserIds) { $res['readUserIds'] = $this->readUserIds; } if (null !== $this->sendStatus) { $res['sendStatus'] = $this->sendStatus; } return $res; } /** * @param array $map * * @return PrivateChatQueryResponseBody */ 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['readUserIds'])) { if (!empty($map['readUserIds'])) { $model->readUserIds = $map['readUserIds']; } } if (isset($map['sendStatus'])) { $model->sendStatus = $map['sendStatus']; } return $model; } } src/robot_1_0/Models/PrivateChatSendHeaders.php000064400000002333146412132660015401 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PrivateChatSendHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/PrivateChatSendRequest.php000064400000004516146412132660015463 0ustar00 'coolAppCode', 'msgKey' => 'msgKey', 'msgParam' => 'msgParam', 'openConversationId' => 'openConversationId', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->msgKey) { $res['msgKey'] = $this->msgKey; } if (null !== $this->msgParam) { $res['msgParam'] = $this->msgParam; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return PrivateChatSendRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['msgKey'])) { $model->msgKey = $map['msgKey']; } if (isset($map['msgParam'])) { $model->msgParam = $map['msgParam']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/robot_1_0/Models/PrivateChatSendResponse.php000064400000002727146412132660015633 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PrivateChatSendResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PrivateChatSendResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/PrivateChatSendResponseBody.php000064400000001617146412132660016446 0ustar00 'processQueryKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processQueryKey) { $res['processQueryKey'] = $this->processQueryKey; } return $res; } /** * @param array $map * * @return PrivateChatSendResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processQueryKey'])) { $model->processQueryKey = $map['processQueryKey']; } return $model; } } src/robot_1_0/Models/QueryBotInstanceInGroupInfoHeaders.php000064400000002363146412132660017737 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryBotInstanceInGroupInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/QueryBotInstanceInGroupInfoRequest.php000064400000003025146412132660020010 0ustar00 'pageNumber', 'pageSize' => 'pageSize', 'robotCode' => 'robotCode', ]; 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->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return QueryBotInstanceInGroupInfoRequest */ 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['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/robot_1_0/Models/QueryBotInstanceInGroupInfoResponse.php000064400000003007146412132660020156 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryBotInstanceInGroupInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryBotInstanceInGroupInfoResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/QueryBotInstanceInGroupInfoResponseBody.php000064400000002467146412132660021005 0ustar00 'hasMore', 'openConversationIds' => 'openConversationIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->openConversationIds) { $res['openConversationIds'] = $this->openConversationIds; } return $res; } /** * @param array $map * * @return QueryBotInstanceInGroupInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['openConversationIds'])) { if (!empty($map['openConversationIds'])) { $model->openConversationIds = $map['openConversationIds']; } } return $model; } } src/robot_1_0/Models/QueryRobotPluginHeaders.php000064400000002335146412132660015651 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryRobotPluginHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/QueryRobotPluginRequest.php000064400000001575146412132660015733 0ustar00 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return QueryRobotPluginRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/robot_1_0/Models/QueryRobotPluginResponse.php000064400000002733146412132660016076 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryRobotPluginResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryRobotPluginResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/QueryRobotPluginResponseBody.php000064400000003027146412132660016711 0ustar00 'pluginInfoList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pluginInfoList) { $res['pluginInfoList'] = []; if (null !== $this->pluginInfoList && \is_array($this->pluginInfoList)) { $n = 0; foreach ($this->pluginInfoList as $item) { $res['pluginInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryRobotPluginResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pluginInfoList'])) { if (!empty($map['pluginInfoList'])) { $model->pluginInfoList = []; $n = 0; foreach ($map['pluginInfoList'] as $item) { $model->pluginInfoList[$n++] = null !== $item ? pluginInfoList::fromMap($item) : $item; } } } return $model; } } src/robot_1_0/Models/QueryRobotPluginResponseBody/pluginInfoList.php000064400000003434146412132660021661 0ustar00 'icon', 'mobileUrl' => 'mobileUrl', 'name' => 'name', 'pcUrl' => 'pcUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } return $res; } /** * @param array $map * * @return pluginInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } return $model; } } src/robot_1_0/Models/RobotMessageFileDownloadHeaders.php000064400000002355146412132660017243 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RobotMessageFileDownloadHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/RobotMessageFileDownloadRequest.php000064400000003002146412132660017306 0ustar00 'downloadCode', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->downloadCode) { $res['downloadCode'] = $this->downloadCode; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return RobotMessageFileDownloadRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['downloadCode'])) { $model->downloadCode = $map['downloadCode']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/robot_1_0/Models/RobotMessageFileDownloadResponse.php000064400000002773146412132660017472 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RobotMessageFileDownloadResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RobotMessageFileDownloadResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/RobotMessageFileDownloadResponseBody.php000064400000001575146412132660020307 0ustar00 'downloadUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->downloadUrl) { $res['downloadUrl'] = $this->downloadUrl; } return $res; } /** * @param array $map * * @return RobotMessageFileDownloadResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['downloadUrl'])) { $model->downloadUrl = $map['downloadUrl']; } return $model; } } src/robot_1_0/Models/RobotRecallDingHeaders.php000064400000002333146412132660015367 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RobotRecallDingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/RobotRecallDingRequest.php000064400000002202146412132660015437 0ustar00 'openDingId', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openDingId) { $res['openDingId'] = $this->openDingId; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return RobotRecallDingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openDingId'])) { $model->openDingId = $map['openDingId']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/robot_1_0/Models/RobotRecallDingResponse.php000064400000002727146412132660015621 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RobotRecallDingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RobotRecallDingResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/RobotRecallDingResponseBody.php000064400000001542146412132660016431 0ustar00 'openDingId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openDingId) { $res['openDingId'] = $this->openDingId; } return $res; } /** * @param array $map * * @return RobotRecallDingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openDingId'])) { $model->openDingId = $map['openDingId']; } return $model; } } src/robot_1_0/Models/RobotSendDingHeaders.php000064400000002327146412132660015061 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RobotSendDingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/RobotSendDingRequest.php000064400000003644146412132660015141 0ustar00 'content', 'receiverUserIdList' => 'receiverUserIdList', 'remindType' => 'remindType', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->receiverUserIdList) { $res['receiverUserIdList'] = $this->receiverUserIdList; } if (null !== $this->remindType) { $res['remindType'] = $this->remindType; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return RobotSendDingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['receiverUserIdList'])) { if (!empty($map['receiverUserIdList'])) { $model->receiverUserIdList = $map['receiverUserIdList']; } } if (isset($map['remindType'])) { $model->remindType = $map['remindType']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/robot_1_0/Models/RobotSendDingResponse.php000064400000002717146412132660015307 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RobotSendDingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RobotSendDingResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/RobotSendDingResponseBody.php000064400000002221146412132660016113 0ustar00 'failedList', 'openDingId' => 'openDingId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failedList) { $res['failedList'] = $this->failedList; } if (null !== $this->openDingId) { $res['openDingId'] = $this->openDingId; } return $res; } /** * @param array $map * * @return RobotSendDingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failedList'])) { $model->failedList = $map['failedList']; } if (isset($map['openDingId'])) { $model->openDingId = $map['openDingId']; } return $model; } } src/robot_1_0/Models/SendRobotDingMessageHeaders.php000064400000002345146412132660016366 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendRobotDingMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/SendRobotDingMessageRequest.php000064400000004746146412132660016452 0ustar00 'contentParams', 'dingTemplateId' => 'dingTemplateId', 'openConversationId' => 'openConversationId', 'receiverUserIdList' => 'receiverUserIdList', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contentParams) { $res['contentParams'] = $this->contentParams; } if (null !== $this->dingTemplateId) { $res['dingTemplateId'] = $this->dingTemplateId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->receiverUserIdList) { $res['receiverUserIdList'] = $this->receiverUserIdList; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return SendRobotDingMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contentParams'])) { $model->contentParams = $map['contentParams']; } if (isset($map['dingTemplateId'])) { $model->dingTemplateId = $map['dingTemplateId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['receiverUserIdList'])) { if (!empty($map['receiverUserIdList'])) { $model->receiverUserIdList = $map['receiverUserIdList']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/robot_1_0/Models/SendRobotDingMessageResponse.php000064400000002753146412132660016614 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendRobotDingMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendRobotDingMessageResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/SendRobotDingMessageResponseBody.php000064400000001642146412132660017426 0ustar00 'dingSendResultId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingSendResultId) { $res['dingSendResultId'] = $this->dingSendResultId; } return $res; } /** * @param array $map * * @return SendRobotDingMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingSendResultId'])) { $model->dingSendResultId = $map['dingSendResultId']; } return $model; } } src/robot_1_0/Models/SetRobotPluginHeaders.php000064400000002331146412132660015273 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SetRobotPluginHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/SetRobotPluginRequest.php000064400000003531146412132660015353 0ustar00 'pluginInfoList', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pluginInfoList) { $res['pluginInfoList'] = []; if (null !== $this->pluginInfoList && \is_array($this->pluginInfoList)) { $n = 0; foreach ($this->pluginInfoList as $item) { $res['pluginInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return SetRobotPluginRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pluginInfoList'])) { if (!empty($map['pluginInfoList'])) { $model->pluginInfoList = []; $n = 0; foreach ($map['pluginInfoList'] as $item) { $model->pluginInfoList[$n++] = null !== $item ? pluginInfoList::fromMap($item) : $item; } } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/robot_1_0/Models/SetRobotPluginRequest/pluginInfoList.php000064400000003425146412132660020323 0ustar00 'icon', 'mobileUrl' => 'mobileUrl', 'name' => 'name', 'pcUrl' => 'pcUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } return $res; } /** * @param array $map * * @return pluginInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } return $model; } } src/robot_1_0/Models/SetRobotPluginResponse.php000064400000002723146412132660015523 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SetRobotPluginResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SetRobotPluginResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/SetRobotPluginResponseBody.php000064400000001472146412132660016341 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SetRobotPluginResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/robot_1_0/Models/UpdateInstalledRobotHeaders.php000064400000002345146412132660016450 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInstalledRobotHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/robot_1_0/Models/UpdateInstalledRobotRequest.php000064400000004721146412132660016525 0ustar00 'brief', 'description' => 'description', 'icon' => 'icon', 'name' => 'name', 'robotCode' => 'robotCode', 'updateType' => 'updateType', ]; public function validate() { } public function toMap() { $res = []; 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->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->updateType) { $res['updateType'] = $this->updateType; } return $res; } /** * @param array $map * * @return UpdateInstalledRobotRequest */ public static function fromMap($map = []) { $model = new self(); 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['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['updateType'])) { $model->updateType = $map['updateType']; } return $model; } } src/robot_1_0/Models/UpdateInstalledRobotResponse.php000064400000002753146412132660016676 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInstalledRobotResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateInstalledRobotResponseBody::fromMap($map['body']); } return $model; } } src/robot_1_0/Models/UpdateInstalledRobotResponseBody.php000064400000001517146412132660017511 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateInstalledRobotResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/rooms_1_0/Dingtalk.php000064400000145526146412132660011421 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CreateDeviceCustomTemplateRequest $request * @param CreateDeviceCustomTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return CreateDeviceCustomTemplateResponse */ public function createDeviceCustomTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bgImgList)) { $body['bgImgList'] = $request->bgImgList; } if (!Utils::isUnset($request->bgType)) { $body['bgType'] = $request->bgType; } if (!Utils::isUnset($request->bgUrl)) { $body['bgUrl'] = $request->bgUrl; } if (!Utils::isUnset($request->customDoc)) { $body['customDoc'] = $request->customDoc; } if (!Utils::isUnset($request->desensitizeUserName)) { $body['desensitizeUserName'] = $request->desensitizeUserName; } if (!Utils::isUnset($request->deviceUnionIds)) { $body['deviceUnionIds'] = $request->deviceUnionIds; } if (!Utils::isUnset($request->groupIds)) { $body['groupIds'] = $request->groupIds; } if (!Utils::isUnset($request->hideServerCodeWhenProjecting)) { $body['hideServerCodeWhenProjecting'] = $request->hideServerCodeWhenProjecting; } if (!Utils::isUnset($request->instruction)) { $body['instruction'] = $request->instruction; } if (!Utils::isUnset($request->isPicTop)) { $body['isPicTop'] = $request->isPicTop; } if (!Utils::isUnset($request->logo)) { $body['logo'] = $request->logo; } if (!Utils::isUnset($request->orgName)) { $body['orgName'] = $request->orgName; } if (!Utils::isUnset($request->picturePlayInterval)) { $body['picturePlayInterval'] = $request->picturePlayInterval; } if (!Utils::isUnset($request->roomIds)) { $body['roomIds'] = $request->roomIds; } if (!Utils::isUnset($request->showCalendarCard)) { $body['showCalendarCard'] = $request->showCalendarCard; } if (!Utils::isUnset($request->showCalendarTitle)) { $body['showCalendarTitle'] = $request->showCalendarTitle; } if (!Utils::isUnset($request->showFunctionCard)) { $body['showFunctionCard'] = $request->showFunctionCard; } if (!Utils::isUnset($request->templateName)) { $body['templateName'] = $request->templateName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateDeviceCustomTemplate', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/devices/screens/templates', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateDeviceCustomTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateDeviceCustomTemplateRequest $request * * @return CreateDeviceCustomTemplateResponse */ public function createDeviceCustomTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new CreateDeviceCustomTemplateHeaders([]); return $this->createDeviceCustomTemplateWithOptions($request, $headers, $runtime); } /** * @param CreateMeetingRoomRequest $request * @param CreateMeetingRoomHeaders $headers * @param RuntimeOptions $runtime * * @return CreateMeetingRoomResponse */ public function createMeetingRoomWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->enableCycleReservation)) { $body['enableCycleReservation'] = $request->enableCycleReservation; } if (!Utils::isUnset($request->groupId)) { $body['groupId'] = $request->groupId; } if (!Utils::isUnset($request->isvRoomId)) { $body['isvRoomId'] = $request->isvRoomId; } if (!Utils::isUnset($request->reservationAuthority)) { $body['reservationAuthority'] = $request->reservationAuthority; } if (!Utils::isUnset($request->roomCapacity)) { $body['roomCapacity'] = $request->roomCapacity; } if (!Utils::isUnset($request->roomLabelIds)) { $body['roomLabelIds'] = $request->roomLabelIds; } if (!Utils::isUnset($request->roomLocation)) { $body['roomLocation'] = $request->roomLocation; } if (!Utils::isUnset($request->roomName)) { $body['roomName'] = $request->roomName; } if (!Utils::isUnset($request->roomPicture)) { $body['roomPicture'] = $request->roomPicture; } if (!Utils::isUnset($request->roomStatus)) { $body['roomStatus'] = $request->roomStatus; } 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' => 'CreateMeetingRoom', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/meetingrooms', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateMeetingRoomResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateMeetingRoomRequest $request * * @return CreateMeetingRoomResponse */ public function createMeetingRoom($request) { $runtime = new RuntimeOptions([]); $headers = new CreateMeetingRoomHeaders([]); return $this->createMeetingRoomWithOptions($request, $headers, $runtime); } /** * @param CreateMeetingRoomGroupRequest $request * @param CreateMeetingRoomGroupHeaders $headers * @param RuntimeOptions $runtime * * @return CreateMeetingRoomGroupResponse */ public function createMeetingRoomGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } if (!Utils::isUnset($request->parentGroupId)) { $body['parentGroupId'] = $request->parentGroupId; } 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' => 'CreateMeetingRoomGroup', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/groups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateMeetingRoomGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateMeetingRoomGroupRequest $request * * @return CreateMeetingRoomGroupResponse */ public function createMeetingRoomGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CreateMeetingRoomGroupHeaders([]); return $this->createMeetingRoomGroupWithOptions($request, $headers, $runtime); } /** * @param DeleteDeviceCustomTemplateRequest $request * @param DeleteDeviceCustomTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteDeviceCustomTemplateResponse */ public function deleteDeviceCustomTemplateWithOptions($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' => 'DeleteDeviceCustomTemplate', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/devices/screens/templates/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteDeviceCustomTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteDeviceCustomTemplateRequest $request * * @return DeleteDeviceCustomTemplateResponse */ public function deleteDeviceCustomTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteDeviceCustomTemplateHeaders([]); return $this->deleteDeviceCustomTemplateWithOptions($request, $headers, $runtime); } /** * @param string $roomId * @param DeleteMeetingRoomRequest $request * @param DeleteMeetingRoomHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteMeetingRoomResponse */ public function deleteMeetingRoomWithOptions($roomId, $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' => 'DeleteMeetingRoom', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/meetingRooms/' . $roomId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteMeetingRoomResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $roomId * @param DeleteMeetingRoomRequest $request * * @return DeleteMeetingRoomResponse */ public function deleteMeetingRoom($roomId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteMeetingRoomHeaders([]); return $this->deleteMeetingRoomWithOptions($roomId, $request, $headers, $runtime); } /** * @param string $groupId * @param DeleteMeetingRoomGroupRequest $request * @param DeleteMeetingRoomGroupHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteMeetingRoomGroupResponse */ public function deleteMeetingRoomGroupWithOptions($groupId, $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' => 'DeleteMeetingRoomGroup', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/groups/' . $groupId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteMeetingRoomGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $groupId * @param DeleteMeetingRoomGroupRequest $request * * @return DeleteMeetingRoomGroupResponse */ public function deleteMeetingRoomGroup($groupId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteMeetingRoomGroupHeaders([]); return $this->deleteMeetingRoomGroupWithOptions($groupId, $request, $headers, $runtime); } /** * @param string $templateId * @param QueryDeviceCustomTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return QueryDeviceCustomTemplateResponse */ public function queryDeviceCustomTemplateWithOptions($templateId, $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' => 'QueryDeviceCustomTemplate', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/devices/screens/templates/' . $templateId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDeviceCustomTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $templateId * * @return QueryDeviceCustomTemplateResponse */ public function queryDeviceCustomTemplate($templateId) { $runtime = new RuntimeOptions([]); $headers = new QueryDeviceCustomTemplateHeaders([]); return $this->queryDeviceCustomTemplateWithOptions($templateId, $headers, $runtime); } /** * @param QueryDeviceCustomTemplateListHeaders $headers * @param RuntimeOptions $runtime * * @return QueryDeviceCustomTemplateListResponse */ public function queryDeviceCustomTemplateListWithOptions($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' => 'QueryDeviceCustomTemplateList', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/devices/screens/templateLists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDeviceCustomTemplateListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return QueryDeviceCustomTemplateListResponse */ public function queryDeviceCustomTemplateList() { $runtime = new RuntimeOptions([]); $headers = new QueryDeviceCustomTemplateListHeaders([]); return $this->queryDeviceCustomTemplateListWithOptions($headers, $runtime); } /** * @param string $shareCode * @param QueryDeviceIpByCodeRequest $request * @param QueryDeviceIpByCodeHeaders $headers * @param RuntimeOptions $runtime * * @return QueryDeviceIpByCodeResponse */ public function queryDeviceIpByCodeWithOptions($shareCode, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deviceSn)) { $query['deviceSn'] = $request->deviceSn; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryDeviceIpByCode', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/devices/shareCodes/' . $shareCode . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDeviceIpByCodeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $shareCode * @param QueryDeviceIpByCodeRequest $request * * @return QueryDeviceIpByCodeResponse */ public function queryDeviceIpByCode($shareCode, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryDeviceIpByCodeHeaders([]); return $this->queryDeviceIpByCodeWithOptions($shareCode, $request, $headers, $runtime); } /** * @param QueryDevicePropertiesRequest $request * @param QueryDevicePropertiesHeaders $headers * @param RuntimeOptions $runtime * * @return QueryDevicePropertiesResponse */ public function queryDevicePropertiesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deviceId)) { $query['deviceId'] = $request->deviceId; } if (!Utils::isUnset($request->deviceUnionId)) { $query['deviceUnionId'] = $request->deviceUnionId; } if (!Utils::isUnset($request->operatorUnionId)) { $query['operatorUnionId'] = $request->operatorUnionId; } $body = []; if (!Utils::isUnset($request->propertyNames)) { $body['propertyNames'] = $request->propertyNames; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'QueryDeviceProperties', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/devices/properties/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDevicePropertiesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryDevicePropertiesRequest $request * * @return QueryDevicePropertiesResponse */ public function queryDeviceProperties($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDevicePropertiesHeaders([]); return $this->queryDevicePropertiesWithOptions($request, $headers, $runtime); } /** * @param string $roomId * @param QueryMeetingRoomRequest $request * @param QueryMeetingRoomHeaders $headers * @param RuntimeOptions $runtime * * @return QueryMeetingRoomResponse */ public function queryMeetingRoomWithOptions($roomId, $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' => 'QueryMeetingRoom', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/meetingRooms/' . $roomId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryMeetingRoomResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $roomId * @param QueryMeetingRoomRequest $request * * @return QueryMeetingRoomResponse */ public function queryMeetingRoom($roomId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryMeetingRoomHeaders([]); return $this->queryMeetingRoomWithOptions($roomId, $request, $headers, $runtime); } /** * @param QueryMeetingRoomDeviceRequest $request * @param QueryMeetingRoomDeviceHeaders $headers * @param RuntimeOptions $runtime * * @return QueryMeetingRoomDeviceResponse */ public function queryMeetingRoomDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deviceId)) { $query['deviceId'] = $request->deviceId; } if (!Utils::isUnset($request->deviceUnionId)) { $query['deviceUnionId'] = $request->deviceUnionId; } 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' => 'QueryMeetingRoomDevice', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/devices', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryMeetingRoomDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryMeetingRoomDeviceRequest $request * * @return QueryMeetingRoomDeviceResponse */ public function queryMeetingRoomDevice($request) { $runtime = new RuntimeOptions([]); $headers = new QueryMeetingRoomDeviceHeaders([]); return $this->queryMeetingRoomDeviceWithOptions($request, $headers, $runtime); } /** * @param string $groupId * @param QueryMeetingRoomGroupRequest $request * @param QueryMeetingRoomGroupHeaders $headers * @param RuntimeOptions $runtime * * @return QueryMeetingRoomGroupResponse */ public function queryMeetingRoomGroupWithOptions($groupId, $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' => 'QueryMeetingRoomGroup', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/groups/' . $groupId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryMeetingRoomGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $groupId * @param QueryMeetingRoomGroupRequest $request * * @return QueryMeetingRoomGroupResponse */ public function queryMeetingRoomGroup($groupId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryMeetingRoomGroupHeaders([]); return $this->queryMeetingRoomGroupWithOptions($groupId, $request, $headers, $runtime); } /** * @param QueryMeetingRoomGroupListRequest $request * @param QueryMeetingRoomGroupListHeaders $headers * @param RuntimeOptions $runtime * * @return QueryMeetingRoomGroupListResponse */ public function queryMeetingRoomGroupListWithOptions($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' => 'QueryMeetingRoomGroupList', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/groupLists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryMeetingRoomGroupListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryMeetingRoomGroupListRequest $request * * @return QueryMeetingRoomGroupListResponse */ public function queryMeetingRoomGroupList($request) { $runtime = new RuntimeOptions([]); $headers = new QueryMeetingRoomGroupListHeaders([]); return $this->queryMeetingRoomGroupListWithOptions($request, $headers, $runtime); } /** * @param QueryMeetingRoomListRequest $request * @param QueryMeetingRoomListHeaders $headers * @param RuntimeOptions $runtime * * @return QueryMeetingRoomListResponse */ public function queryMeetingRoomListWithOptions($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->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' => 'QueryMeetingRoomList', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/meetingRoomLists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryMeetingRoomListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryMeetingRoomListRequest $request * * @return QueryMeetingRoomListResponse */ public function queryMeetingRoomList($request) { $runtime = new RuntimeOptions([]); $headers = new QueryMeetingRoomListHeaders([]); return $this->queryMeetingRoomListWithOptions($request, $headers, $runtime); } /** * @param RemoveSuperUserMeetingRoomRequest $request * @param RemoveSuperUserMeetingRoomHeaders $headers * @param RuntimeOptions $runtime * * @return RemoveSuperUserMeetingRoomResponse */ public function removeSuperUserMeetingRoomWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->roomId)) { $query['roomId'] = $request->roomId; } 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' => 'RemoveSuperUserMeetingRoom', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/meetingRooms/superUsers/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RemoveSuperUserMeetingRoomResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RemoveSuperUserMeetingRoomRequest $request * * @return RemoveSuperUserMeetingRoomResponse */ public function removeSuperUserMeetingRoom($request) { $runtime = new RuntimeOptions([]); $headers = new RemoveSuperUserMeetingRoomHeaders([]); return $this->removeSuperUserMeetingRoomWithOptions($request, $headers, $runtime); } /** * @param SetSuperUserMeetingRoomRequest $request * @param SetSuperUserMeetingRoomHeaders $headers * @param RuntimeOptions $runtime * * @return SetSuperUserMeetingRoomResponse */ public function setSuperUserMeetingRoomWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptIdWhiteList)) { $body['deptIdWhiteList'] = $request->deptIdWhiteList; } if (!Utils::isUnset($request->roomId)) { $body['roomId'] = $request->roomId; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } if (!Utils::isUnset($request->userIdWhiteList)) { $body['userIdWhiteList'] = $request->userIdWhiteList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SetSuperUserMeetingRoom', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/meetingRooms/superUsers/set', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SetSuperUserMeetingRoomResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SetSuperUserMeetingRoomRequest $request * * @return SetSuperUserMeetingRoomResponse */ public function setSuperUserMeetingRoom($request) { $runtime = new RuntimeOptions([]); $headers = new SetSuperUserMeetingRoomHeaders([]); return $this->setSuperUserMeetingRoomWithOptions($request, $headers, $runtime); } /** * @param UpdateDeviceCustomTemplateRequest $request * @param UpdateDeviceCustomTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateDeviceCustomTemplateResponse */ public function updateDeviceCustomTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bgImgList)) { $body['bgImgList'] = $request->bgImgList; } if (!Utils::isUnset($request->bgType)) { $body['bgType'] = $request->bgType; } if (!Utils::isUnset($request->bgUrl)) { $body['bgUrl'] = $request->bgUrl; } if (!Utils::isUnset($request->customDoc)) { $body['customDoc'] = $request->customDoc; } if (!Utils::isUnset($request->desensitizeUserName)) { $body['desensitizeUserName'] = $request->desensitizeUserName; } if (!Utils::isUnset($request->deviceUnionIds)) { $body['deviceUnionIds'] = $request->deviceUnionIds; } if (!Utils::isUnset($request->groupIds)) { $body['groupIds'] = $request->groupIds; } if (!Utils::isUnset($request->hideServerCodeWhenProjecting)) { $body['hideServerCodeWhenProjecting'] = $request->hideServerCodeWhenProjecting; } if (!Utils::isUnset($request->instruction)) { $body['instruction'] = $request->instruction; } if (!Utils::isUnset($request->isPicTop)) { $body['isPicTop'] = $request->isPicTop; } if (!Utils::isUnset($request->logo)) { $body['logo'] = $request->logo; } if (!Utils::isUnset($request->orgName)) { $body['orgName'] = $request->orgName; } if (!Utils::isUnset($request->picturePlayInterval)) { $body['picturePlayInterval'] = $request->picturePlayInterval; } if (!Utils::isUnset($request->roomIds)) { $body['roomIds'] = $request->roomIds; } if (!Utils::isUnset($request->showCalendarCard)) { $body['showCalendarCard'] = $request->showCalendarCard; } if (!Utils::isUnset($request->showCalendarTitle)) { $body['showCalendarTitle'] = $request->showCalendarTitle; } if (!Utils::isUnset($request->showFunctionCard)) { $body['showFunctionCard'] = $request->showFunctionCard; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } if (!Utils::isUnset($request->templateName)) { $body['templateName'] = $request->templateName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateDeviceCustomTemplate', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/devices/screens/templates', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateDeviceCustomTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateDeviceCustomTemplateRequest $request * * @return UpdateDeviceCustomTemplateResponse */ public function updateDeviceCustomTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateDeviceCustomTemplateHeaders([]); return $this->updateDeviceCustomTemplateWithOptions($request, $headers, $runtime); } /** * @param UpdateMeetingRoomRequest $request * @param UpdateMeetingRoomHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateMeetingRoomResponse */ public function updateMeetingRoomWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->enableCycleReservation)) { $body['enableCycleReservation'] = $request->enableCycleReservation; } if (!Utils::isUnset($request->groupId)) { $body['groupId'] = $request->groupId; } if (!Utils::isUnset($request->isvRoomId)) { $body['isvRoomId'] = $request->isvRoomId; } if (!Utils::isUnset($request->reservationAuthority)) { $body['reservationAuthority'] = $request->reservationAuthority; } if (!Utils::isUnset($request->roomCapacity)) { $body['roomCapacity'] = $request->roomCapacity; } if (!Utils::isUnset($request->roomId)) { $body['roomId'] = $request->roomId; } if (!Utils::isUnset($request->roomLabelIds)) { $body['roomLabelIds'] = $request->roomLabelIds; } if (!Utils::isUnset($request->roomLocation)) { $body['roomLocation'] = $request->roomLocation; } if (!Utils::isUnset($request->roomName)) { $body['roomName'] = $request->roomName; } if (!Utils::isUnset($request->roomPicture)) { $body['roomPicture'] = $request->roomPicture; } if (!Utils::isUnset($request->roomStatus)) { $body['roomStatus'] = $request->roomStatus; } 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' => 'UpdateMeetingRoom', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/meetingRooms', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateMeetingRoomResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateMeetingRoomRequest $request * * @return UpdateMeetingRoomResponse */ public function updateMeetingRoom($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateMeetingRoomHeaders([]); return $this->updateMeetingRoomWithOptions($request, $headers, $runtime); } /** * @param UpdateMeetingRoomGroupRequest $request * @param UpdateMeetingRoomGroupHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateMeetingRoomGroupResponse */ public function updateMeetingRoomGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupId)) { $body['groupId'] = $request->groupId; } if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } 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' => 'UpdateMeetingRoomGroup', 'version' => 'rooms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/rooms/groups', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateMeetingRoomGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateMeetingRoomGroupRequest $request * * @return UpdateMeetingRoomGroupResponse */ public function updateMeetingRoomGroup($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateMeetingRoomGroupHeaders([]); return $this->updateMeetingRoomGroupWithOptions($request, $headers, $runtime); } } src/rooms_1_0/Models/CreateDeviceCustomTemplateHeaders.php000064400000002361146412132660017602 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateDeviceCustomTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/CreateDeviceCustomTemplateRequest.php000064400000016123146412132660017660 0ustar00 'bgImgList', 'bgType' => 'bgType', 'bgUrl' => 'bgUrl', 'customDoc' => 'customDoc', 'desensitizeUserName' => 'desensitizeUserName', 'deviceUnionIds' => 'deviceUnionIds', 'groupIds' => 'groupIds', 'hideServerCodeWhenProjecting' => 'hideServerCodeWhenProjecting', 'instruction' => 'instruction', 'isPicTop' => 'isPicTop', 'logo' => 'logo', 'orgName' => 'orgName', 'picturePlayInterval' => 'picturePlayInterval', 'roomIds' => 'roomIds', 'showCalendarCard' => 'showCalendarCard', 'showCalendarTitle' => 'showCalendarTitle', 'showFunctionCard' => 'showFunctionCard', 'templateName' => 'templateName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bgImgList) { $res['bgImgList'] = $this->bgImgList; } if (null !== $this->bgType) { $res['bgType'] = $this->bgType; } if (null !== $this->bgUrl) { $res['bgUrl'] = $this->bgUrl; } if (null !== $this->customDoc) { $res['customDoc'] = $this->customDoc; } if (null !== $this->desensitizeUserName) { $res['desensitizeUserName'] = $this->desensitizeUserName; } if (null !== $this->deviceUnionIds) { $res['deviceUnionIds'] = $this->deviceUnionIds; } if (null !== $this->groupIds) { $res['groupIds'] = $this->groupIds; } if (null !== $this->hideServerCodeWhenProjecting) { $res['hideServerCodeWhenProjecting'] = $this->hideServerCodeWhenProjecting; } if (null !== $this->instruction) { $res['instruction'] = $this->instruction; } if (null !== $this->isPicTop) { $res['isPicTop'] = $this->isPicTop; } if (null !== $this->logo) { $res['logo'] = $this->logo; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->picturePlayInterval) { $res['picturePlayInterval'] = $this->picturePlayInterval; } if (null !== $this->roomIds) { $res['roomIds'] = $this->roomIds; } if (null !== $this->showCalendarCard) { $res['showCalendarCard'] = $this->showCalendarCard; } if (null !== $this->showCalendarTitle) { $res['showCalendarTitle'] = $this->showCalendarTitle; } if (null !== $this->showFunctionCard) { $res['showFunctionCard'] = $this->showFunctionCard; } if (null !== $this->templateName) { $res['templateName'] = $this->templateName; } return $res; } /** * @param array $map * * @return CreateDeviceCustomTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bgImgList'])) { if (!empty($map['bgImgList'])) { $model->bgImgList = $map['bgImgList']; } } if (isset($map['bgType'])) { $model->bgType = $map['bgType']; } if (isset($map['bgUrl'])) { $model->bgUrl = $map['bgUrl']; } if (isset($map['customDoc'])) { $model->customDoc = $map['customDoc']; } if (isset($map['desensitizeUserName'])) { $model->desensitizeUserName = $map['desensitizeUserName']; } if (isset($map['deviceUnionIds'])) { if (!empty($map['deviceUnionIds'])) { $model->deviceUnionIds = $map['deviceUnionIds']; } } if (isset($map['groupIds'])) { if (!empty($map['groupIds'])) { $model->groupIds = $map['groupIds']; } } if (isset($map['hideServerCodeWhenProjecting'])) { $model->hideServerCodeWhenProjecting = $map['hideServerCodeWhenProjecting']; } if (isset($map['instruction'])) { $model->instruction = $map['instruction']; } if (isset($map['isPicTop'])) { $model->isPicTop = $map['isPicTop']; } if (isset($map['logo'])) { $model->logo = $map['logo']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['picturePlayInterval'])) { $model->picturePlayInterval = $map['picturePlayInterval']; } if (isset($map['roomIds'])) { if (!empty($map['roomIds'])) { $model->roomIds = $map['roomIds']; } } if (isset($map['showCalendarCard'])) { $model->showCalendarCard = $map['showCalendarCard']; } if (isset($map['showCalendarTitle'])) { $model->showCalendarTitle = $map['showCalendarTitle']; } if (isset($map['showFunctionCard'])) { $model->showFunctionCard = $map['showFunctionCard']; } if (isset($map['templateName'])) { $model->templateName = $map['templateName']; } return $model; } } src/rooms_1_0/Models/CreateDeviceCustomTemplateResponse.php000064400000003003146412132660020017 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateDeviceCustomTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateDeviceCustomTemplateResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/CreateDeviceCustomTemplateResponseBody.php000064400000001565146412132660020650 0ustar00 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return CreateDeviceCustomTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/rooms_1_0/Models/CreateMeetingRoomGroupHeaders.php000064400000002351146412132660016755 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateMeetingRoomGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/CreateMeetingRoomGroupRequest.php000064400000003074146412132660017035 0ustar00 'groupName', 'parentGroupId' => 'parentGroupId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->parentGroupId) { $res['parentGroupId'] = $this->parentGroupId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return CreateMeetingRoomGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['parentGroupId'])) { $model->parentGroupId = $map['parentGroupId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/rooms_1_0/Models/CreateMeetingRoomGroupResponse.php000064400000002763146412132660017207 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateMeetingRoomGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateMeetingRoomGroupResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/CreateMeetingRoomGroupResponseBody.php000064400000001544146412132660020021 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CreateMeetingRoomGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/rooms_1_0/Models/CreateMeetingRoomHeaders.php000064400000002337146412132660015744 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateMeetingRoomHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/CreateMeetingRoomRequest.php000064400000011533146412132660016017 0ustar00 'enableCycleReservation', 'groupId' => 'groupId', 'isvRoomId' => 'isvRoomId', 'reservationAuthority' => 'reservationAuthority', 'roomCapacity' => 'roomCapacity', 'roomLabelIds' => 'roomLabelIds', 'roomLocation' => 'roomLocation', 'roomName' => 'roomName', 'roomPicture' => 'roomPicture', 'roomStatus' => 'roomStatus', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enableCycleReservation) { $res['enableCycleReservation'] = $this->enableCycleReservation; } if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->isvRoomId) { $res['isvRoomId'] = $this->isvRoomId; } if (null !== $this->reservationAuthority) { $res['reservationAuthority'] = null !== $this->reservationAuthority ? $this->reservationAuthority->toMap() : null; } if (null !== $this->roomCapacity) { $res['roomCapacity'] = $this->roomCapacity; } if (null !== $this->roomLabelIds) { $res['roomLabelIds'] = $this->roomLabelIds; } if (null !== $this->roomLocation) { $res['roomLocation'] = null !== $this->roomLocation ? $this->roomLocation->toMap() : null; } if (null !== $this->roomName) { $res['roomName'] = $this->roomName; } if (null !== $this->roomPicture) { $res['roomPicture'] = $this->roomPicture; } if (null !== $this->roomStatus) { $res['roomStatus'] = $this->roomStatus; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return CreateMeetingRoomRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['enableCycleReservation'])) { $model->enableCycleReservation = $map['enableCycleReservation']; } if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['isvRoomId'])) { $model->isvRoomId = $map['isvRoomId']; } if (isset($map['reservationAuthority'])) { $model->reservationAuthority = reservationAuthority::fromMap($map['reservationAuthority']); } if (isset($map['roomCapacity'])) { $model->roomCapacity = $map['roomCapacity']; } if (isset($map['roomLabelIds'])) { if (!empty($map['roomLabelIds'])) { $model->roomLabelIds = $map['roomLabelIds']; } } if (isset($map['roomLocation'])) { $model->roomLocation = roomLocation::fromMap($map['roomLocation']); } if (isset($map['roomName'])) { $model->roomName = $map['roomName']; } if (isset($map['roomPicture'])) { $model->roomPicture = $map['roomPicture']; } if (isset($map['roomStatus'])) { $model->roomStatus = $map['roomStatus']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/rooms_1_0/Models/CreateMeetingRoomRequest/reservationAuthority.php000064400000003147146412132660022273 0ustar00 'authorizedMembers', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authorizedMembers) { $res['authorizedMembers'] = []; if (null !== $this->authorizedMembers && \is_array($this->authorizedMembers)) { $n = 0; foreach ($this->authorizedMembers as $item) { $res['authorizedMembers'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return reservationAuthority */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authorizedMembers'])) { if (!empty($map['authorizedMembers'])) { $model->authorizedMembers = []; $n = 0; foreach ($map['authorizedMembers'] as $item) { $model->authorizedMembers[$n++] = null !== $item ? authorizedMembers::fromMap($item) : $item; } } } return $model; } } src/rooms_1_0/Models/CreateMeetingRoomRequest/reservationAuthority/authorizedMembers.php000064400000003075146412132660025764 0ustar00 'memberId', 'memberName' => 'memberName', 'memberType' => 'memberType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberName) { $res['memberName'] = $this->memberName; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } return $res; } /** * @param array $map * * @return authorizedMembers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberName'])) { $model->memberName = $map['memberName']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } return $model; } } src/rooms_1_0/Models/CreateMeetingRoomRequest/roomLocation.php000064400000002172146412132660020463 0ustar00 'desc', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return roomLocation */ public static function fromMap($map = []) { $model = new self(); if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/rooms_1_0/Models/CreateMeetingRoomResponse.php000064400000002737146412132660016173 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateMeetingRoomResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateMeetingRoomResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/CreateMeetingRoomResponseBody.php000064400000001612146412132660017000 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CreateMeetingRoomResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/rooms_1_0/Models/DeleteDeviceCustomTemplateHeaders.php000064400000002361146412132660017601 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteDeviceCustomTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/DeleteDeviceCustomTemplateRequest.php000064400000001553146412132660017660 0ustar00 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return DeleteDeviceCustomTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/rooms_1_0/Models/DeleteDeviceCustomTemplateResponse.php000064400000003003146412132660020016 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteDeviceCustomTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteDeviceCustomTemplateResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/DeleteDeviceCustomTemplateResponseBody.php000064400000001556146412132660020647 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteDeviceCustomTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/rooms_1_0/Models/DeleteMeetingRoomGroupHeaders.php000064400000002351146412132660016754 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteMeetingRoomGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/DeleteMeetingRoomGroupRequest.php000064400000001600146412132660017025 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return DeleteMeetingRoomGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/rooms_1_0/Models/DeleteMeetingRoomGroupResponse.php000064400000002763146412132660017206 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteMeetingRoomGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteMeetingRoomGroupResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/DeleteMeetingRoomGroupResponseBody.php000064400000001546146412132660020022 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteMeetingRoomGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/rooms_1_0/Models/DeleteMeetingRoomHeaders.php000064400000002337146412132660015743 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteMeetingRoomHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/DeleteMeetingRoomRequest.php000064400000001566146412132660016023 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return DeleteMeetingRoomRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/rooms_1_0/Models/DeleteMeetingRoomResponse.php000064400000002737146412132660016172 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteMeetingRoomResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteMeetingRoomResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/DeleteMeetingRoomResponseBody.php000064400000001534146412132660017002 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteMeetingRoomResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/rooms_1_0/Models/QueryDeviceCustomTemplateHeaders.php000064400000002357146412132660017511 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDeviceCustomTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/QueryDeviceCustomTemplateListHeaders.php000064400000002367146412132660020346 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDeviceCustomTemplateListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/QueryDeviceCustomTemplateListResponse.php000064400000003017146412132660020562 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDeviceCustomTemplateListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDeviceCustomTemplateListResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/QueryDeviceCustomTemplateListResponseBody.php000064400000001766146412132660021411 0ustar00 '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 QueryDeviceCustomTemplateListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/rooms_1_0/Models/QueryDeviceCustomTemplateListResponseBody/result.php000064400000005427146412132660022725 0ustar00 'deviceCustomTemplates', 'deviceTemplateMap' => 'deviceTemplateMap', 'groupIdTemplateMap' => 'groupIdTemplateMap', 'roomIdTemplateMap' => 'roomIdTemplateMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceCustomTemplates) { $res['deviceCustomTemplates'] = []; if (null !== $this->deviceCustomTemplates && \is_array($this->deviceCustomTemplates)) { $n = 0; foreach ($this->deviceCustomTemplates as $item) { $res['deviceCustomTemplates'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->deviceTemplateMap) { $res['deviceTemplateMap'] = $this->deviceTemplateMap; } if (null !== $this->groupIdTemplateMap) { $res['groupIdTemplateMap'] = $this->groupIdTemplateMap; } if (null !== $this->roomIdTemplateMap) { $res['roomIdTemplateMap'] = $this->roomIdTemplateMap; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceCustomTemplates'])) { if (!empty($map['deviceCustomTemplates'])) { $model->deviceCustomTemplates = []; $n = 0; foreach ($map['deviceCustomTemplates'] as $item) { $model->deviceCustomTemplates[$n++] = null !== $item ? deviceCustomTemplates::fromMap($item) : $item; } } } if (isset($map['deviceTemplateMap'])) { $model->deviceTemplateMap = $map['deviceTemplateMap']; } if (isset($map['groupIdTemplateMap'])) { $model->groupIdTemplateMap = $map['groupIdTemplateMap']; } if (isset($map['roomIdTemplateMap'])) { $model->roomIdTemplateMap = $map['roomIdTemplateMap']; } return $model; } } src/rooms_1_0/Models/QueryDeviceCustomTemplateListResponseBody/result/deviceCustomTemplates.php000064400000017251146412132660027234 0ustar00 'bgImageList', 'bgType' => 'bgType', 'bgUrl' => 'bgUrl', 'confSubType' => 'confSubType', 'confType' => 'confType', 'corpId' => 'corpId', 'customDoc' => 'customDoc', 'desensitizeUserName' => 'desensitizeUserName', 'hideServerCodeWhenProjecting' => 'hideServerCodeWhenProjecting', 'instruction' => 'instruction', 'isPicTop' => 'isPicTop', 'logo' => 'logo', 'orgName' => 'orgName', 'picturePlayInterval' => 'picturePlayInterval', 'showCalendarCard' => 'showCalendarCard', 'showCalendarTitle' => 'showCalendarTitle', 'showFunctionCard' => 'showFunctionCard', 'templateId' => 'templateId', 'templateName' => 'templateName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bgImageList) { $res['bgImageList'] = $this->bgImageList; } if (null !== $this->bgType) { $res['bgType'] = $this->bgType; } if (null !== $this->bgUrl) { $res['bgUrl'] = $this->bgUrl; } if (null !== $this->confSubType) { $res['confSubType'] = $this->confSubType; } if (null !== $this->confType) { $res['confType'] = $this->confType; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->customDoc) { $res['customDoc'] = $this->customDoc; } if (null !== $this->desensitizeUserName) { $res['desensitizeUserName'] = $this->desensitizeUserName; } if (null !== $this->hideServerCodeWhenProjecting) { $res['hideServerCodeWhenProjecting'] = $this->hideServerCodeWhenProjecting; } if (null !== $this->instruction) { $res['instruction'] = $this->instruction; } if (null !== $this->isPicTop) { $res['isPicTop'] = $this->isPicTop; } if (null !== $this->logo) { $res['logo'] = $this->logo; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->picturePlayInterval) { $res['picturePlayInterval'] = $this->picturePlayInterval; } if (null !== $this->showCalendarCard) { $res['showCalendarCard'] = $this->showCalendarCard; } if (null !== $this->showCalendarTitle) { $res['showCalendarTitle'] = $this->showCalendarTitle; } if (null !== $this->showFunctionCard) { $res['showFunctionCard'] = $this->showFunctionCard; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->templateName) { $res['templateName'] = $this->templateName; } return $res; } /** * @param array $map * * @return deviceCustomTemplates */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bgImageList'])) { if (!empty($map['bgImageList'])) { $model->bgImageList = $map['bgImageList']; } } if (isset($map['bgType'])) { $model->bgType = $map['bgType']; } if (isset($map['bgUrl'])) { $model->bgUrl = $map['bgUrl']; } if (isset($map['confSubType'])) { $model->confSubType = $map['confSubType']; } if (isset($map['confType'])) { $model->confType = $map['confType']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['customDoc'])) { $model->customDoc = $map['customDoc']; } if (isset($map['desensitizeUserName'])) { $model->desensitizeUserName = $map['desensitizeUserName']; } if (isset($map['hideServerCodeWhenProjecting'])) { $model->hideServerCodeWhenProjecting = $map['hideServerCodeWhenProjecting']; } if (isset($map['instruction'])) { $model->instruction = $map['instruction']; } if (isset($map['isPicTop'])) { $model->isPicTop = $map['isPicTop']; } if (isset($map['logo'])) { $model->logo = $map['logo']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['picturePlayInterval'])) { $model->picturePlayInterval = $map['picturePlayInterval']; } if (isset($map['showCalendarCard'])) { $model->showCalendarCard = $map['showCalendarCard']; } if (isset($map['showCalendarTitle'])) { $model->showCalendarTitle = $map['showCalendarTitle']; } if (isset($map['showFunctionCard'])) { $model->showFunctionCard = $map['showFunctionCard']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['templateName'])) { $model->templateName = $map['templateName']; } return $model; } } src/rooms_1_0/Models/QueryDeviceCustomTemplateResponse.php000064400000002777146412132660017742 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDeviceCustomTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDeviceCustomTemplateResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/QueryDeviceCustomTemplateResponseBody.php000064400000001752146412132660020550 0ustar00 '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 QueryDeviceCustomTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/rooms_1_0/Models/QueryDeviceCustomTemplateResponseBody/result.php000064400000004375146412132660022072 0ustar00 'deviceCustomTemplate', 'deviceUnionIds' => 'deviceUnionIds', 'groupIds' => 'groupIds', 'roomIds' => 'roomIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceCustomTemplate) { $res['deviceCustomTemplate'] = null !== $this->deviceCustomTemplate ? $this->deviceCustomTemplate->toMap() : null; } if (null !== $this->deviceUnionIds) { $res['deviceUnionIds'] = $this->deviceUnionIds; } if (null !== $this->groupIds) { $res['groupIds'] = $this->groupIds; } if (null !== $this->roomIds) { $res['roomIds'] = $this->roomIds; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceCustomTemplate'])) { $model->deviceCustomTemplate = deviceCustomTemplate::fromMap($map['deviceCustomTemplate']); } if (isset($map['deviceUnionIds'])) { if (!empty($map['deviceUnionIds'])) { $model->deviceUnionIds = $map['deviceUnionIds']; } } if (isset($map['groupIds'])) { if (!empty($map['groupIds'])) { $model->groupIds = $map['groupIds']; } } if (isset($map['roomIds'])) { if (!empty($map['roomIds'])) { $model->roomIds = $map['roomIds']; } } return $model; } } src/rooms_1_0/Models/QueryDeviceCustomTemplateResponseBody/result/deviceCustomTemplate.php000064400000017242146412132660026215 0ustar00 'bgImageList', 'bgType' => 'bgType', 'bgUrl' => 'bgUrl', 'confSubType' => 'confSubType', 'confType' => 'confType', 'corpId' => 'corpId', 'customDoc' => 'customDoc', 'desensitizeUserName' => 'desensitizeUserName', 'hideServerCodeWhenProjecting' => 'hideServerCodeWhenProjecting', 'instruction' => 'instruction', 'isPicTop' => 'isPicTop', 'logo' => 'logo', 'orgName' => 'orgName', 'picturePlayInterval' => 'picturePlayInterval', 'showCalendarCard' => 'showCalendarCard', 'showCalendarTitle' => 'showCalendarTitle', 'showFunctionCard' => 'showFunctionCard', 'templateId' => 'templateId', 'templateName' => 'templateName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bgImageList) { $res['bgImageList'] = $this->bgImageList; } if (null !== $this->bgType) { $res['bgType'] = $this->bgType; } if (null !== $this->bgUrl) { $res['bgUrl'] = $this->bgUrl; } if (null !== $this->confSubType) { $res['confSubType'] = $this->confSubType; } if (null !== $this->confType) { $res['confType'] = $this->confType; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->customDoc) { $res['customDoc'] = $this->customDoc; } if (null !== $this->desensitizeUserName) { $res['desensitizeUserName'] = $this->desensitizeUserName; } if (null !== $this->hideServerCodeWhenProjecting) { $res['hideServerCodeWhenProjecting'] = $this->hideServerCodeWhenProjecting; } if (null !== $this->instruction) { $res['instruction'] = $this->instruction; } if (null !== $this->isPicTop) { $res['isPicTop'] = $this->isPicTop; } if (null !== $this->logo) { $res['logo'] = $this->logo; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->picturePlayInterval) { $res['picturePlayInterval'] = $this->picturePlayInterval; } if (null !== $this->showCalendarCard) { $res['showCalendarCard'] = $this->showCalendarCard; } if (null !== $this->showCalendarTitle) { $res['showCalendarTitle'] = $this->showCalendarTitle; } if (null !== $this->showFunctionCard) { $res['showFunctionCard'] = $this->showFunctionCard; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->templateName) { $res['templateName'] = $this->templateName; } return $res; } /** * @param array $map * * @return deviceCustomTemplate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bgImageList'])) { if (!empty($map['bgImageList'])) { $model->bgImageList = $map['bgImageList']; } } if (isset($map['bgType'])) { $model->bgType = $map['bgType']; } if (isset($map['bgUrl'])) { $model->bgUrl = $map['bgUrl']; } if (isset($map['confSubType'])) { $model->confSubType = $map['confSubType']; } if (isset($map['confType'])) { $model->confType = $map['confType']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['customDoc'])) { $model->customDoc = $map['customDoc']; } if (isset($map['desensitizeUserName'])) { $model->desensitizeUserName = $map['desensitizeUserName']; } if (isset($map['hideServerCodeWhenProjecting'])) { $model->hideServerCodeWhenProjecting = $map['hideServerCodeWhenProjecting']; } if (isset($map['instruction'])) { $model->instruction = $map['instruction']; } if (isset($map['isPicTop'])) { $model->isPicTop = $map['isPicTop']; } if (isset($map['logo'])) { $model->logo = $map['logo']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['picturePlayInterval'])) { $model->picturePlayInterval = $map['picturePlayInterval']; } if (isset($map['showCalendarCard'])) { $model->showCalendarCard = $map['showCalendarCard']; } if (isset($map['showCalendarTitle'])) { $model->showCalendarTitle = $map['showCalendarTitle']; } if (isset($map['showFunctionCard'])) { $model->showFunctionCard = $map['showFunctionCard']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['templateName'])) { $model->templateName = $map['templateName']; } return $model; } } src/rooms_1_0/Models/QueryDeviceIpByCodeHeaders.php000064400000002343146412132660016174 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDeviceIpByCodeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/QueryDeviceIpByCodeRequest.php000064400000001572146412132660016254 0ustar00 'deviceSn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceSn) { $res['deviceSn'] = $this->deviceSn; } return $res; } /** * @param array $map * * @return QueryDeviceIpByCodeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceSn'])) { $model->deviceSn = $map['deviceSn']; } return $model; } } src/rooms_1_0/Models/QueryDeviceIpByCodeResponse.php000064400000002747146412132660016427 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDeviceIpByCodeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDeviceIpByCodeResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/QueryDeviceIpByCodeResponseBody.php000064400000002356146412132660017241 0ustar00 '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 QueryDeviceIpByCodeResponseBody */ 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/rooms_1_0/Models/QueryDeviceIpByCodeResponseBody/result.php000064400000001551146412132660020553 0ustar00 'deviceIp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceIp) { $res['deviceIp'] = $this->deviceIp; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceIp'])) { $model->deviceIp = $map['deviceIp']; } return $model; } } src/rooms_1_0/Models/QueryDevicePropertiesHeaders.php000064400000002347146412132660016676 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDevicePropertiesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/QueryDevicePropertiesRequest.php000064400000004041146412132660016744 0ustar00 'propertyNames', 'deviceId' => 'deviceId', 'deviceUnionId' => 'deviceUnionId', 'operatorUnionId' => 'operatorUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->propertyNames) { $res['propertyNames'] = $this->propertyNames; } if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } if (null !== $this->deviceUnionId) { $res['deviceUnionId'] = $this->deviceUnionId; } if (null !== $this->operatorUnionId) { $res['operatorUnionId'] = $this->operatorUnionId; } return $res; } /** * @param array $map * * @return QueryDevicePropertiesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['propertyNames'])) { if (!empty($map['propertyNames'])) { $model->propertyNames = $map['propertyNames']; } } if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } if (isset($map['deviceUnionId'])) { $model->deviceUnionId = $map['deviceUnionId']; } if (isset($map['operatorUnionId'])) { $model->operatorUnionId = $map['operatorUnionId']; } return $model; } } src/rooms_1_0/Models/QueryDevicePropertiesResponse.php000064400000002757146412132660017126 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDevicePropertiesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDevicePropertiesResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/QueryDevicePropertiesResponseBody.php000064400000002626146412132660017737 0ustar00 '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 QueryDevicePropertiesResponseBody */ 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/rooms_1_0/Models/QueryDevicePropertiesResponseBody/result.php000064400000002400146412132660021243 0ustar00 'propertyName', 'propertyValue' => 'propertyValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->propertyName) { $res['propertyName'] = $this->propertyName; } if (null !== $this->propertyValue) { $res['propertyValue'] = $this->propertyValue; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['propertyName'])) { $model->propertyName = $map['propertyName']; } if (isset($map['propertyValue'])) { $model->propertyValue = $map['propertyValue']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomDeviceHeaders.php000064400000002351146412132660016762 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryMeetingRoomDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomDeviceRequest.php000064400000003217146412132660017041 0ustar00 'deviceId', 'deviceUnionId' => 'deviceUnionId', 'operatorUnionId' => 'operatorUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } if (null !== $this->deviceUnionId) { $res['deviceUnionId'] = $this->deviceUnionId; } if (null !== $this->operatorUnionId) { $res['operatorUnionId'] = $this->operatorUnionId; } return $res; } /** * @param array $map * * @return QueryMeetingRoomDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } if (isset($map['deviceUnionId'])) { $model->deviceUnionId = $map['deviceUnionId']; } if (isset($map['operatorUnionId'])) { $model->operatorUnionId = $map['operatorUnionId']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomDeviceResponse.php000064400000002763146412132660017214 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMeetingRoomDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryMeetingRoomDeviceResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomDeviceResponseBody.php000064400000001741146412132660020025 0ustar00 '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 QueryMeetingRoomDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomDeviceResponseBody/result.php000064400000025734146412132660021353 0ustar00 'activeTime', 'controllers' => 'controllers', 'corpId' => 'corpId', 'creatorUnionId' => 'creatorUnionId', 'devCamera' => 'devCamera', 'devHdmi' => 'devHdmi', 'devMic' => 'devMic', 'devMirror' => 'devMirror', 'devNetIp' => 'devNetIp', 'devNetType' => 'devNetType', 'devVoice' => 'devVoice', 'devWifiMac' => 'devWifiMac', 'devWireMac' => 'devWireMac', 'deviceId' => 'deviceId', 'deviceMac' => 'deviceMac', 'deviceModel' => 'deviceModel', 'deviceName' => 'deviceName', 'deviceServiceId' => 'deviceServiceId', 'deviceSn' => 'deviceSn', 'deviceStatus' => 'deviceStatus', 'deviceType' => 'deviceType', 'deviceUnionId' => 'deviceUnionId', 'firmwareVersion' => 'firmwareVersion', 'openRoomId' => 'openRoomId', 'roomName' => 'roomName', 'shareCode' => 'shareCode', 'sipAccountName' => 'sipAccountName', 'softwareVersion' => 'softwareVersion', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activeTime) { $res['activeTime'] = $this->activeTime; } if (null !== $this->controllers) { $res['controllers'] = []; if (null !== $this->controllers && \is_array($this->controllers)) { $n = 0; foreach ($this->controllers as $item) { $res['controllers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->devCamera) { $res['devCamera'] = $this->devCamera; } if (null !== $this->devHdmi) { $res['devHdmi'] = $this->devHdmi; } if (null !== $this->devMic) { $res['devMic'] = $this->devMic; } if (null !== $this->devMirror) { $res['devMirror'] = $this->devMirror; } if (null !== $this->devNetIp) { $res['devNetIp'] = $this->devNetIp; } if (null !== $this->devNetType) { $res['devNetType'] = $this->devNetType; } if (null !== $this->devVoice) { $res['devVoice'] = $this->devVoice; } if (null !== $this->devWifiMac) { $res['devWifiMac'] = $this->devWifiMac; } if (null !== $this->devWireMac) { $res['devWireMac'] = $this->devWireMac; } if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } if (null !== $this->deviceMac) { $res['deviceMac'] = $this->deviceMac; } if (null !== $this->deviceModel) { $res['deviceModel'] = $this->deviceModel; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->deviceServiceId) { $res['deviceServiceId'] = $this->deviceServiceId; } if (null !== $this->deviceSn) { $res['deviceSn'] = $this->deviceSn; } if (null !== $this->deviceStatus) { $res['deviceStatus'] = $this->deviceStatus; } if (null !== $this->deviceType) { $res['deviceType'] = $this->deviceType; } if (null !== $this->deviceUnionId) { $res['deviceUnionId'] = $this->deviceUnionId; } if (null !== $this->firmwareVersion) { $res['firmwareVersion'] = $this->firmwareVersion; } if (null !== $this->openRoomId) { $res['openRoomId'] = $this->openRoomId; } if (null !== $this->roomName) { $res['roomName'] = $this->roomName; } if (null !== $this->shareCode) { $res['shareCode'] = $this->shareCode; } if (null !== $this->sipAccountName) { $res['sipAccountName'] = $this->sipAccountName; } if (null !== $this->softwareVersion) { $res['softwareVersion'] = $this->softwareVersion; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activeTime'])) { $model->activeTime = $map['activeTime']; } if (isset($map['controllers'])) { if (!empty($map['controllers'])) { $model->controllers = []; $n = 0; foreach ($map['controllers'] as $item) { $model->controllers[$n++] = null !== $item ? controllers::fromMap($item) : $item; } } } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['devCamera'])) { $model->devCamera = $map['devCamera']; } if (isset($map['devHdmi'])) { $model->devHdmi = $map['devHdmi']; } if (isset($map['devMic'])) { $model->devMic = $map['devMic']; } if (isset($map['devMirror'])) { $model->devMirror = $map['devMirror']; } if (isset($map['devNetIp'])) { $model->devNetIp = $map['devNetIp']; } if (isset($map['devNetType'])) { $model->devNetType = $map['devNetType']; } if (isset($map['devVoice'])) { $model->devVoice = $map['devVoice']; } if (isset($map['devWifiMac'])) { $model->devWifiMac = $map['devWifiMac']; } if (isset($map['devWireMac'])) { $model->devWireMac = $map['devWireMac']; } if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } if (isset($map['deviceMac'])) { $model->deviceMac = $map['deviceMac']; } if (isset($map['deviceModel'])) { $model->deviceModel = $map['deviceModel']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['deviceServiceId'])) { $model->deviceServiceId = $map['deviceServiceId']; } if (isset($map['deviceSn'])) { $model->deviceSn = $map['deviceSn']; } if (isset($map['deviceStatus'])) { $model->deviceStatus = $map['deviceStatus']; } if (isset($map['deviceType'])) { $model->deviceType = $map['deviceType']; } if (isset($map['deviceUnionId'])) { $model->deviceUnionId = $map['deviceUnionId']; } if (isset($map['firmwareVersion'])) { $model->firmwareVersion = $map['firmwareVersion']; } if (isset($map['openRoomId'])) { $model->openRoomId = $map['openRoomId']; } if (isset($map['roomName'])) { $model->roomName = $map['roomName']; } if (isset($map['shareCode'])) { $model->shareCode = $map['shareCode']; } if (isset($map['sipAccountName'])) { $model->sipAccountName = $map['sipAccountName']; } if (isset($map['softwareVersion'])) { $model->softwareVersion = $map['softwareVersion']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomDeviceResponseBody/result/controllers.php000064400000011641146412132660023711 0ustar00 'corpId', 'deviceId' => 'deviceId', 'deviceMac' => 'deviceMac', 'deviceModel' => 'deviceModel', 'deviceName' => 'deviceName', 'deviceServiceId' => 'deviceServiceId', 'deviceSn' => 'deviceSn', 'deviceStatus' => 'deviceStatus', 'deviceType' => 'deviceType', 'deviceUnionId' => 'deviceUnionId', 'openRoomId' => 'openRoomId', 'shareCode' => 'shareCode', ]; 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->deviceMac) { $res['deviceMac'] = $this->deviceMac; } if (null !== $this->deviceModel) { $res['deviceModel'] = $this->deviceModel; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->deviceServiceId) { $res['deviceServiceId'] = $this->deviceServiceId; } if (null !== $this->deviceSn) { $res['deviceSn'] = $this->deviceSn; } if (null !== $this->deviceStatus) { $res['deviceStatus'] = $this->deviceStatus; } if (null !== $this->deviceType) { $res['deviceType'] = $this->deviceType; } if (null !== $this->deviceUnionId) { $res['deviceUnionId'] = $this->deviceUnionId; } if (null !== $this->openRoomId) { $res['openRoomId'] = $this->openRoomId; } if (null !== $this->shareCode) { $res['shareCode'] = $this->shareCode; } return $res; } /** * @param array $map * * @return controllers */ 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['deviceMac'])) { $model->deviceMac = $map['deviceMac']; } if (isset($map['deviceModel'])) { $model->deviceModel = $map['deviceModel']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['deviceServiceId'])) { $model->deviceServiceId = $map['deviceServiceId']; } if (isset($map['deviceSn'])) { $model->deviceSn = $map['deviceSn']; } if (isset($map['deviceStatus'])) { $model->deviceStatus = $map['deviceStatus']; } if (isset($map['deviceType'])) { $model->deviceType = $map['deviceType']; } if (isset($map['deviceUnionId'])) { $model->deviceUnionId = $map['deviceUnionId']; } if (isset($map['openRoomId'])) { $model->openRoomId = $map['openRoomId']; } if (isset($map['shareCode'])) { $model->shareCode = $map['shareCode']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomGroupHeaders.php000064400000002347146412132660016664 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryMeetingRoomGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomGroupListHeaders.php000064400000002357146412132660017521 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryMeetingRoomGroupListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomGroupListRequest.php000064400000001606146412132660017572 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryMeetingRoomGroupListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomGroupListResponse.php000064400000002777146412132660017752 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMeetingRoomGroupListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryMeetingRoomGroupListResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomGroupListResponseBody.php000064400000002642146412132660020557 0ustar00 '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 QueryMeetingRoomGroupListResponseBody */ 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/rooms_1_0/Models/QueryMeetingRoomGroupListResponseBody/result.php000064400000002741146412132660022075 0ustar00 'groupId', 'groupName' => 'groupName', 'parentId' => 'parentId', ]; 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->parentId) { $res['parentId'] = $this->parentId; } return $res; } /** * @param array $map * * @return result */ 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['parentId'])) { $model->parentId = $map['parentId']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomGroupRequest.php000064400000001576146412132660016744 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryMeetingRoomGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomGroupResponse.php000064400000002757146412132660017114 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMeetingRoomGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryMeetingRoomGroupResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomGroupResponseBody.php000064400000002761146412132660017725 0ustar00 'groupId', 'groupName' => 'groupName', 'parentId' => 'parentId', ]; 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->parentId) { $res['parentId'] = $this->parentId; } return $res; } /** * @param array $map * * @return QueryMeetingRoomGroupResponseBody */ 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['parentId'])) { $model->parentId = $map['parentId']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomHeaders.php000064400000002335146412132660015644 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryMeetingRoomHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomListHeaders.php000064400000002345146412132660016501 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryMeetingRoomListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomListRequest.php000064400000003012146412132660016546 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'unionId' => 'unionId', ]; 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->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryMeetingRoomListRequest */ 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['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomListResponse.php000064400000002753146412132660016727 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMeetingRoomListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryMeetingRoomListResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomListResponseBody.php000064400000004012146412132660017533 0ustar00 'hasMore', 'nextToken' => 'nextToken', 'result' => 'result', ]; 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->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 QueryMeetingRoomListResponseBody */ 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['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/rooms_1_0/Models/QueryMeetingRoomListResponseBody/result.php000064400000012250146412132660021054 0ustar00 'corpId', 'isvRoomId' => 'isvRoomId', 'roomCapacity' => 'roomCapacity', 'roomGroup' => 'roomGroup', 'roomId' => 'roomId', 'roomLabels' => 'roomLabels', 'roomLocation' => 'roomLocation', 'roomName' => 'roomName', 'roomPicture' => 'roomPicture', 'roomStaffId' => 'roomStaffId', 'roomStatus' => 'roomStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->isvRoomId) { $res['isvRoomId'] = $this->isvRoomId; } if (null !== $this->roomCapacity) { $res['roomCapacity'] = $this->roomCapacity; } if (null !== $this->roomGroup) { $res['roomGroup'] = null !== $this->roomGroup ? $this->roomGroup->toMap() : null; } if (null !== $this->roomId) { $res['roomId'] = $this->roomId; } if (null !== $this->roomLabels) { $res['roomLabels'] = []; if (null !== $this->roomLabels && \is_array($this->roomLabels)) { $n = 0; foreach ($this->roomLabels as $item) { $res['roomLabels'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->roomLocation) { $res['roomLocation'] = null !== $this->roomLocation ? $this->roomLocation->toMap() : null; } if (null !== $this->roomName) { $res['roomName'] = $this->roomName; } if (null !== $this->roomPicture) { $res['roomPicture'] = $this->roomPicture; } if (null !== $this->roomStaffId) { $res['roomStaffId'] = $this->roomStaffId; } if (null !== $this->roomStatus) { $res['roomStatus'] = $this->roomStatus; } 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['isvRoomId'])) { $model->isvRoomId = $map['isvRoomId']; } if (isset($map['roomCapacity'])) { $model->roomCapacity = $map['roomCapacity']; } if (isset($map['roomGroup'])) { $model->roomGroup = roomGroup::fromMap($map['roomGroup']); } if (isset($map['roomId'])) { $model->roomId = $map['roomId']; } if (isset($map['roomLabels'])) { if (!empty($map['roomLabels'])) { $model->roomLabels = []; $n = 0; foreach ($map['roomLabels'] as $item) { $model->roomLabels[$n++] = null !== $item ? roomLabels::fromMap($item) : $item; } } } if (isset($map['roomLocation'])) { $model->roomLocation = roomLocation::fromMap($map['roomLocation']); } if (isset($map['roomName'])) { $model->roomName = $map['roomName']; } if (isset($map['roomPicture'])) { $model->roomPicture = $map['roomPicture']; } if (isset($map['roomStaffId'])) { $model->roomStaffId = $map['roomStaffId']; } if (isset($map['roomStatus'])) { $model->roomStatus = $map['roomStatus']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomListResponseBody/result/roomGroup.php000064400000002747146412132660023057 0ustar00 'groupId', 'groupName' => 'groupName', 'parentId' => 'parentId', ]; 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->parentId) { $res['parentId'] = $this->parentId; } return $res; } /** * @param array $map * * @return roomGroup */ 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['parentId'])) { $model->parentId = $map['parentId']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomListResponseBody/result/roomLabels.php000064400000002165146412132660023157 0ustar00 'labelId', 'labelName' => 'labelName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } if (null !== $this->labelName) { $res['labelName'] = $this->labelName; } return $res; } /** * @param array $map * * @return roomLabels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } if (isset($map['labelName'])) { $model->labelName = $map['labelName']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomListResponseBody/result/roomLocation.php000064400000002214146412132660023520 0ustar00 'desc', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return roomLocation */ public static function fromMap($map = []) { $model = new self(); if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomRequest.php000064400000001564146412132660015724 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryMeetingRoomRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomResponse.php000064400000002733146412132660016071 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMeetingRoomResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryMeetingRoomResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomResponseBody.php000064400000001717146412132660016710 0ustar00 '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 QueryMeetingRoomResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomResponseBody/result.php000064400000015242146412132660020224 0ustar00 'corpId', 'deviceUnionIds' => 'deviceUnionIds', 'enableCycleReservation' => 'enableCycleReservation', 'isvRoomId' => 'isvRoomId', 'reservationAuthority' => 'reservationAuthority', 'roomCapacity' => 'roomCapacity', 'roomGroup' => 'roomGroup', 'roomId' => 'roomId', 'roomLabels' => 'roomLabels', 'roomLocation' => 'roomLocation', 'roomName' => 'roomName', 'roomPicture' => 'roomPicture', 'roomStaffId' => 'roomStaffId', 'roomStatus' => 'roomStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deviceUnionIds) { $res['deviceUnionIds'] = $this->deviceUnionIds; } if (null !== $this->enableCycleReservation) { $res['enableCycleReservation'] = $this->enableCycleReservation; } if (null !== $this->isvRoomId) { $res['isvRoomId'] = $this->isvRoomId; } if (null !== $this->reservationAuthority) { $res['reservationAuthority'] = null !== $this->reservationAuthority ? $this->reservationAuthority->toMap() : null; } if (null !== $this->roomCapacity) { $res['roomCapacity'] = $this->roomCapacity; } if (null !== $this->roomGroup) { $res['roomGroup'] = null !== $this->roomGroup ? $this->roomGroup->toMap() : null; } if (null !== $this->roomId) { $res['roomId'] = $this->roomId; } if (null !== $this->roomLabels) { $res['roomLabels'] = []; if (null !== $this->roomLabels && \is_array($this->roomLabels)) { $n = 0; foreach ($this->roomLabels as $item) { $res['roomLabels'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->roomLocation) { $res['roomLocation'] = null !== $this->roomLocation ? $this->roomLocation->toMap() : null; } if (null !== $this->roomName) { $res['roomName'] = $this->roomName; } if (null !== $this->roomPicture) { $res['roomPicture'] = $this->roomPicture; } if (null !== $this->roomStaffId) { $res['roomStaffId'] = $this->roomStaffId; } if (null !== $this->roomStatus) { $res['roomStatus'] = $this->roomStatus; } 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['deviceUnionIds'])) { if (!empty($map['deviceUnionIds'])) { $model->deviceUnionIds = $map['deviceUnionIds']; } } if (isset($map['enableCycleReservation'])) { $model->enableCycleReservation = $map['enableCycleReservation']; } if (isset($map['isvRoomId'])) { $model->isvRoomId = $map['isvRoomId']; } if (isset($map['reservationAuthority'])) { $model->reservationAuthority = reservationAuthority::fromMap($map['reservationAuthority']); } if (isset($map['roomCapacity'])) { $model->roomCapacity = $map['roomCapacity']; } if (isset($map['roomGroup'])) { $model->roomGroup = roomGroup::fromMap($map['roomGroup']); } if (isset($map['roomId'])) { $model->roomId = $map['roomId']; } if (isset($map['roomLabels'])) { if (!empty($map['roomLabels'])) { $model->roomLabels = []; $n = 0; foreach ($map['roomLabels'] as $item) { $model->roomLabels[$n++] = null !== $item ? roomLabels::fromMap($item) : $item; } } } if (isset($map['roomLocation'])) { $model->roomLocation = roomLocation::fromMap($map['roomLocation']); } if (isset($map['roomName'])) { $model->roomName = $map['roomName']; } if (isset($map['roomPicture'])) { $model->roomPicture = $map['roomPicture']; } if (isset($map['roomStaffId'])) { $model->roomStaffId = $map['roomStaffId']; } if (isset($map['roomStatus'])) { $model->roomStatus = $map['roomStatus']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomResponseBody/result/reservationAuthority.php000064400000003175146412132660024500 0ustar00 'authorizedMembers', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authorizedMembers) { $res['authorizedMembers'] = []; if (null !== $this->authorizedMembers && \is_array($this->authorizedMembers)) { $n = 0; foreach ($this->authorizedMembers as $item) { $res['authorizedMembers'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return reservationAuthority */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authorizedMembers'])) { if (!empty($map['authorizedMembers'])) { $model->authorizedMembers = []; $n = 0; foreach ($map['authorizedMembers'] as $item) { $model->authorizedMembers[$n++] = null !== $item ? authorizedMembers::fromMap($item) : $item; } } } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomResponseBody/result/reservationAuthority/authorizedMembers.php000064400000003110146412132660030156 0ustar00 'memberId', 'memberName' => 'memberName', 'memberType' => 'memberType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberName) { $res['memberName'] = $this->memberName; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } return $res; } /** * @param array $map * * @return authorizedMembers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberName'])) { $model->memberName = $map['memberName']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomResponseBody/result/roomGroup.php000064400000002743146412132660022217 0ustar00 'groupId', 'groupName' => 'groupName', 'parentId' => 'parentId', ]; 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->parentId) { $res['parentId'] = $this->parentId; } return $res; } /** * @param array $map * * @return roomGroup */ 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['parentId'])) { $model->parentId = $map['parentId']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomResponseBody/result/roomLabels.php000064400000002161146412132660022317 0ustar00 'labelId', 'labelName' => 'labelName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelId) { $res['labelId'] = $this->labelId; } if (null !== $this->labelName) { $res['labelName'] = $this->labelName; } return $res; } /** * @param array $map * * @return roomLabels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelId'])) { $model->labelId = $map['labelId']; } if (isset($map['labelName'])) { $model->labelName = $map['labelName']; } return $model; } } src/rooms_1_0/Models/QueryMeetingRoomResponseBody/result/roomLocation.php000064400000002210146412132660022660 0ustar00 'desc', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return roomLocation */ public static function fromMap($map = []) { $model = new self(); if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/rooms_1_0/Models/RemoveSuperUserMeetingRoomHeaders.php000064400000002361146412132660017651 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveSuperUserMeetingRoomHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/RemoveSuperUserMeetingRoomRequest.php000064400000002337146412132660017731 0ustar00 'roomId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roomId) { $res['roomId'] = $this->roomId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return RemoveSuperUserMeetingRoomRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roomId'])) { $model->roomId = $map['roomId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/rooms_1_0/Models/RemoveSuperUserMeetingRoomResponse.php000064400000003003146412132660020066 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RemoveSuperUserMeetingRoomResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RemoveSuperUserMeetingRoomResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/RemoveSuperUserMeetingRoomResponseBody.php000064400000001522146412132660020710 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return RemoveSuperUserMeetingRoomResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/rooms_1_0/Models/SetSuperUserMeetingRoomHeaders.php000064400000002353146412132660017150 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SetSuperUserMeetingRoomHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/SetSuperUserMeetingRoomRequest.php000064400000003737146412132660017234 0ustar00 'deptIdWhiteList', 'roomId' => 'roomId', 'unionId' => 'unionId', 'userIdWhiteList' => 'userIdWhiteList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIdWhiteList) { $res['deptIdWhiteList'] = $this->deptIdWhiteList; } if (null !== $this->roomId) { $res['roomId'] = $this->roomId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userIdWhiteList) { $res['userIdWhiteList'] = $this->userIdWhiteList; } return $res; } /** * @param array $map * * @return SetSuperUserMeetingRoomRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIdWhiteList'])) { if (!empty($map['deptIdWhiteList'])) { $model->deptIdWhiteList = $map['deptIdWhiteList']; } } if (isset($map['roomId'])) { $model->roomId = $map['roomId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userIdWhiteList'])) { if (!empty($map['userIdWhiteList'])) { $model->userIdWhiteList = $map['userIdWhiteList']; } } return $model; } } src/rooms_1_0/Models/SetSuperUserMeetingRoomResponse.php000064400000002767146412132660017404 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SetSuperUserMeetingRoomResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SetSuperUserMeetingRoomResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/SetSuperUserMeetingRoomResponseBody.php000064400000001514146412132660020207 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SetSuperUserMeetingRoomResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/rooms_1_0/Models/UpdateDeviceCustomTemplateHeaders.php000064400000002361146412132660017621 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateDeviceCustomTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/UpdateDeviceCustomTemplateRequest.php000064400000017370146412132660017704 0ustar00 'bgImgList', 'bgType' => 'bgType', 'bgUrl' => 'bgUrl', 'customDoc' => 'customDoc', 'desensitizeUserName' => 'desensitizeUserName', 'deviceUnionIds' => 'deviceUnionIds', 'groupIds' => 'groupIds', 'hideServerCodeWhenProjecting' => 'hideServerCodeWhenProjecting', 'instruction' => 'instruction', 'isPicTop' => 'isPicTop', 'logo' => 'logo', 'orgName' => 'orgName', 'picturePlayInterval' => 'picturePlayInterval', 'roomIds' => 'roomIds', 'showCalendarCard' => 'showCalendarCard', 'showCalendarTitle' => 'showCalendarTitle', 'showFunctionCard' => 'showFunctionCard', 'templateId' => 'templateId', 'templateName' => 'templateName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bgImgList) { $res['bgImgList'] = $this->bgImgList; } if (null !== $this->bgType) { $res['bgType'] = $this->bgType; } if (null !== $this->bgUrl) { $res['bgUrl'] = $this->bgUrl; } if (null !== $this->customDoc) { $res['customDoc'] = $this->customDoc; } if (null !== $this->desensitizeUserName) { $res['desensitizeUserName'] = $this->desensitizeUserName; } if (null !== $this->deviceUnionIds) { $res['deviceUnionIds'] = $this->deviceUnionIds; } if (null !== $this->groupIds) { $res['groupIds'] = $this->groupIds; } if (null !== $this->hideServerCodeWhenProjecting) { $res['hideServerCodeWhenProjecting'] = $this->hideServerCodeWhenProjecting; } if (null !== $this->instruction) { $res['instruction'] = $this->instruction; } if (null !== $this->isPicTop) { $res['isPicTop'] = $this->isPicTop; } if (null !== $this->logo) { $res['logo'] = $this->logo; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->picturePlayInterval) { $res['picturePlayInterval'] = $this->picturePlayInterval; } if (null !== $this->roomIds) { $res['roomIds'] = $this->roomIds; } if (null !== $this->showCalendarCard) { $res['showCalendarCard'] = $this->showCalendarCard; } if (null !== $this->showCalendarTitle) { $res['showCalendarTitle'] = $this->showCalendarTitle; } if (null !== $this->showFunctionCard) { $res['showFunctionCard'] = $this->showFunctionCard; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->templateName) { $res['templateName'] = $this->templateName; } return $res; } /** * @param array $map * * @return UpdateDeviceCustomTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bgImgList'])) { if (!empty($map['bgImgList'])) { $model->bgImgList = $map['bgImgList']; } } if (isset($map['bgType'])) { $model->bgType = $map['bgType']; } if (isset($map['bgUrl'])) { $model->bgUrl = $map['bgUrl']; } if (isset($map['customDoc'])) { $model->customDoc = $map['customDoc']; } if (isset($map['desensitizeUserName'])) { $model->desensitizeUserName = $map['desensitizeUserName']; } if (isset($map['deviceUnionIds'])) { if (!empty($map['deviceUnionIds'])) { $model->deviceUnionIds = $map['deviceUnionIds']; } } if (isset($map['groupIds'])) { if (!empty($map['groupIds'])) { $model->groupIds = $map['groupIds']; } } if (isset($map['hideServerCodeWhenProjecting'])) { $model->hideServerCodeWhenProjecting = $map['hideServerCodeWhenProjecting']; } if (isset($map['instruction'])) { $model->instruction = $map['instruction']; } if (isset($map['isPicTop'])) { $model->isPicTop = $map['isPicTop']; } if (isset($map['logo'])) { $model->logo = $map['logo']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['picturePlayInterval'])) { $model->picturePlayInterval = $map['picturePlayInterval']; } if (isset($map['roomIds'])) { if (!empty($map['roomIds'])) { $model->roomIds = $map['roomIds']; } } if (isset($map['showCalendarCard'])) { $model->showCalendarCard = $map['showCalendarCard']; } if (isset($map['showCalendarTitle'])) { $model->showCalendarTitle = $map['showCalendarTitle']; } if (isset($map['showFunctionCard'])) { $model->showFunctionCard = $map['showFunctionCard']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['templateName'])) { $model->templateName = $map['templateName']; } return $model; } } src/rooms_1_0/Models/UpdateDeviceCustomTemplateResponse.php000064400000003003146412132660020036 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateDeviceCustomTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateDeviceCustomTemplateResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/UpdateDeviceCustomTemplateResponseBody.php000064400000001556146412132660020667 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateDeviceCustomTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/rooms_1_0/Models/UpdateMeetingRoomGroupHeaders.php000064400000002351146412132660016774 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateMeetingRoomGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/UpdateMeetingRoomGroupRequest.php000064400000003000146412132660017041 0ustar00 'groupId', 'groupName' => 'groupName', 'unionId' => 'unionId', ]; 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->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return UpdateMeetingRoomGroupRequest */ 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['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/rooms_1_0/Models/UpdateMeetingRoomGroupResponse.php000064400000002763146412132660017226 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateMeetingRoomGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateMeetingRoomGroupResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/UpdateMeetingRoomGroupResponseBody.php000064400000001546146412132660020042 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateMeetingRoomGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/rooms_1_0/Models/UpdateMeetingRoomHeaders.php000064400000002337146412132660015763 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateMeetingRoomHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/rooms_1_0/Models/UpdateMeetingRoomRequest.php000064400000012301146412132660016030 0ustar00 'enableCycleReservation', 'groupId' => 'groupId', 'isvRoomId' => 'isvRoomId', 'reservationAuthority' => 'reservationAuthority', 'roomCapacity' => 'roomCapacity', 'roomId' => 'roomId', 'roomLabelIds' => 'roomLabelIds', 'roomLocation' => 'roomLocation', 'roomName' => 'roomName', 'roomPicture' => 'roomPicture', 'roomStatus' => 'roomStatus', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enableCycleReservation) { $res['enableCycleReservation'] = $this->enableCycleReservation; } if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->isvRoomId) { $res['isvRoomId'] = $this->isvRoomId; } if (null !== $this->reservationAuthority) { $res['reservationAuthority'] = null !== $this->reservationAuthority ? $this->reservationAuthority->toMap() : null; } if (null !== $this->roomCapacity) { $res['roomCapacity'] = $this->roomCapacity; } if (null !== $this->roomId) { $res['roomId'] = $this->roomId; } if (null !== $this->roomLabelIds) { $res['roomLabelIds'] = $this->roomLabelIds; } if (null !== $this->roomLocation) { $res['roomLocation'] = null !== $this->roomLocation ? $this->roomLocation->toMap() : null; } if (null !== $this->roomName) { $res['roomName'] = $this->roomName; } if (null !== $this->roomPicture) { $res['roomPicture'] = $this->roomPicture; } if (null !== $this->roomStatus) { $res['roomStatus'] = $this->roomStatus; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return UpdateMeetingRoomRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['enableCycleReservation'])) { $model->enableCycleReservation = $map['enableCycleReservation']; } if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['isvRoomId'])) { $model->isvRoomId = $map['isvRoomId']; } if (isset($map['reservationAuthority'])) { $model->reservationAuthority = reservationAuthority::fromMap($map['reservationAuthority']); } if (isset($map['roomCapacity'])) { $model->roomCapacity = $map['roomCapacity']; } if (isset($map['roomId'])) { $model->roomId = $map['roomId']; } if (isset($map['roomLabelIds'])) { if (!empty($map['roomLabelIds'])) { $model->roomLabelIds = $map['roomLabelIds']; } } if (isset($map['roomLocation'])) { $model->roomLocation = roomLocation::fromMap($map['roomLocation']); } if (isset($map['roomName'])) { $model->roomName = $map['roomName']; } if (isset($map['roomPicture'])) { $model->roomPicture = $map['roomPicture']; } if (isset($map['roomStatus'])) { $model->roomStatus = $map['roomStatus']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/rooms_1_0/Models/UpdateMeetingRoomRequest/reservationAuthority.php000064400000003147146412132660022312 0ustar00 'authorizedMembers', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authorizedMembers) { $res['authorizedMembers'] = []; if (null !== $this->authorizedMembers && \is_array($this->authorizedMembers)) { $n = 0; foreach ($this->authorizedMembers as $item) { $res['authorizedMembers'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return reservationAuthority */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authorizedMembers'])) { if (!empty($map['authorizedMembers'])) { $model->authorizedMembers = []; $n = 0; foreach ($map['authorizedMembers'] as $item) { $model->authorizedMembers[$n++] = null !== $item ? authorizedMembers::fromMap($item) : $item; } } } return $model; } } src/rooms_1_0/Models/UpdateMeetingRoomRequest/reservationAuthority/authorizedMembers.php000064400000003075146412132660026003 0ustar00 'memberId', 'memberName' => 'memberName', 'memberType' => 'memberType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberName) { $res['memberName'] = $this->memberName; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } return $res; } /** * @param array $map * * @return authorizedMembers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberName'])) { $model->memberName = $map['memberName']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } return $model; } } src/rooms_1_0/Models/UpdateMeetingRoomRequest/roomLocation.php000064400000002172146412132660020502 0ustar00 'desc', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return roomLocation */ public static function fromMap($map = []) { $model = new self(); if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/rooms_1_0/Models/UpdateMeetingRoomResponse.php000064400000002737146412132660016212 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateMeetingRoomResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateMeetingRoomResponseBody::fromMap($map['body']); } return $model; } } src/rooms_1_0/Models/UpdateMeetingRoomResponseBody.php000064400000001534146412132660017022 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateMeetingRoomResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/search_1_0/Dingtalk.php000064400000053403146412132660011517 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $tabId * @param BatchInsertSearchItemRequest $request * @param BatchInsertSearchItemHeaders $headers * @param RuntimeOptions $runtime * * @return BatchInsertSearchItemResponse */ public function batchInsertSearchItemWithOptions($tabId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->searchItemModels)) { $body['searchItemModels'] = $request->searchItemModels; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchInsertSearchItem', 'version' => 'search_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/search/tabs/' . $tabId . '/items/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return BatchInsertSearchItemResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $tabId * @param BatchInsertSearchItemRequest $request * * @return BatchInsertSearchItemResponse */ public function batchInsertSearchItem($tabId, $request) { $runtime = new RuntimeOptions([]); $headers = new BatchInsertSearchItemHeaders([]); return $this->batchInsertSearchItemWithOptions($tabId, $request, $headers, $runtime); } /** * @param CreateSearchTabRequest $request * @param CreateSearchTabHeaders $headers * @param RuntimeOptions $runtime * * @return CreateSearchTabResponse */ public function createSearchTabWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->darkIcon)) { $body['darkIcon'] = $request->darkIcon; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->priority)) { $body['priority'] = $request->priority; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } 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' => 'CreateSearchTab', 'version' => 'search_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/search/tabs', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateSearchTabResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateSearchTabRequest $request * * @return CreateSearchTabResponse */ public function createSearchTab($request) { $runtime = new RuntimeOptions([]); $headers = new CreateSearchTabHeaders([]); return $this->createSearchTabWithOptions($request, $headers, $runtime); } /** * @param string $tabId * @param string $itemId * @param DeleteSearchItemHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteSearchItemResponse */ public function deleteSearchItemWithOptions($tabId, $itemId, $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' => 'DeleteSearchItem', 'version' => 'search_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/search/tabs/' . $tabId . '/items/' . $itemId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteSearchItemResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $tabId * @param string $itemId * * @return DeleteSearchItemResponse */ public function deleteSearchItem($tabId, $itemId) { $runtime = new RuntimeOptions([]); $headers = new DeleteSearchItemHeaders([]); return $this->deleteSearchItemWithOptions($tabId, $itemId, $headers, $runtime); } /** * @param string $tabId * @param DeleteSearchTabHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteSearchTabResponse */ public function deleteSearchTabWithOptions($tabId, $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' => 'DeleteSearchTab', 'version' => 'search_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/search/tabs/' . $tabId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteSearchTabResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $tabId * * @return DeleteSearchTabResponse */ public function deleteSearchTab($tabId) { $runtime = new RuntimeOptions([]); $headers = new DeleteSearchTabHeaders([]); return $this->deleteSearchTabWithOptions($tabId, $headers, $runtime); } /** * @param string $tabId * @param string $itemId * @param GetSearchItemHeaders $headers * @param RuntimeOptions $runtime * * @return GetSearchItemResponse */ public function getSearchItemWithOptions($tabId, $itemId, $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' => 'GetSearchItem', 'version' => 'search_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/search/tabs/' . $tabId . '/items/' . $itemId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSearchItemResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $tabId * @param string $itemId * * @return GetSearchItemResponse */ public function getSearchItem($tabId, $itemId) { $runtime = new RuntimeOptions([]); $headers = new GetSearchItemHeaders([]); return $this->getSearchItemWithOptions($tabId, $itemId, $headers, $runtime); } /** * @param string $tabId * @param GetSearchItemsByKeyWordRequest $request * @param GetSearchItemsByKeyWordHeaders $headers * @param RuntimeOptions $runtime * * @return GetSearchItemsByKeyWordResponse */ public function getSearchItemsByKeyWordWithOptions($tabId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->keyWord)) { $query['keyWord'] = $request->keyWord; } 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' => 'GetSearchItemsByKeyWord', 'version' => 'search_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/search/tabs/' . $tabId . '/items', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSearchItemsByKeyWordResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $tabId * @param GetSearchItemsByKeyWordRequest $request * * @return GetSearchItemsByKeyWordResponse */ public function getSearchItemsByKeyWord($tabId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetSearchItemsByKeyWordHeaders([]); return $this->getSearchItemsByKeyWordWithOptions($tabId, $request, $headers, $runtime); } /** * @param string $tabId * @param GetSearchTabHeaders $headers * @param RuntimeOptions $runtime * * @return GetSearchTabResponse */ public function getSearchTabWithOptions($tabId, $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' => 'GetSearchTab', 'version' => 'search_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/search/tabs/' . $tabId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSearchTabResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $tabId * * @return GetSearchTabResponse */ public function getSearchTab($tabId) { $runtime = new RuntimeOptions([]); $headers = new GetSearchTabHeaders([]); return $this->getSearchTabWithOptions($tabId, $headers, $runtime); } /** * @param string $tabId * @param InsertSearchItemRequest $request * @param InsertSearchItemHeaders $headers * @param RuntimeOptions $runtime * * @return InsertSearchItemResponse */ public function insertSearchItemWithOptions($tabId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->footer)) { $body['footer'] = $request->footer; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->itemId)) { $body['itemId'] = $request->itemId; } if (!Utils::isUnset($request->mobileUrl)) { $body['mobileUrl'] = $request->mobileUrl; } if (!Utils::isUnset($request->pcUrl)) { $body['pcUrl'] = $request->pcUrl; } if (!Utils::isUnset($request->summary)) { $body['summary'] = $request->summary; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } 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' => 'InsertSearchItem', 'version' => 'search_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/search/tabs/' . $tabId . '/items', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return InsertSearchItemResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $tabId * @param InsertSearchItemRequest $request * * @return InsertSearchItemResponse */ public function insertSearchItem($tabId, $request) { $runtime = new RuntimeOptions([]); $headers = new InsertSearchItemHeaders([]); return $this->insertSearchItemWithOptions($tabId, $request, $headers, $runtime); } /** * @param ListSearchTabsByOrgIdHeaders $headers * @param RuntimeOptions $runtime * * @return ListSearchTabsByOrgIdResponse */ public function listSearchTabsByOrgIdWithOptions($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' => 'ListSearchTabsByOrgId', 'version' => 'search_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/search/tabs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListSearchTabsByOrgIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return ListSearchTabsByOrgIdResponse */ public function listSearchTabsByOrgId() { $runtime = new RuntimeOptions([]); $headers = new ListSearchTabsByOrgIdHeaders([]); return $this->listSearchTabsByOrgIdWithOptions($headers, $runtime); } /** * @param string $tabId * @param UpdateSearchTabRequest $request * @param UpdateSearchTabHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateSearchTabResponse */ public function updateSearchTabWithOptions($tabId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->darkIcon)) { $body['darkIcon'] = $request->darkIcon; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->priority)) { $body['priority'] = $request->priority; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } 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' => 'UpdateSearchTab', 'version' => 'search_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/search/tabs/' . $tabId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return UpdateSearchTabResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $tabId * @param UpdateSearchTabRequest $request * * @return UpdateSearchTabResponse */ public function updateSearchTab($tabId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateSearchTabHeaders([]); return $this->updateSearchTabWithOptions($tabId, $request, $headers, $runtime); } } src/search_1_0/Models/BatchInsertSearchItemHeaders.php000064400000002350146412132660016647 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchInsertSearchItemHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/search_1_0/Models/BatchInsertSearchItemRequest.php000064400000003075146412132660016731 0ustar00 'searchItemModels', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchItemModels) { $res['searchItemModels'] = []; if (null !== $this->searchItemModels && \is_array($this->searchItemModels)) { $n = 0; foreach ($this->searchItemModels as $item) { $res['searchItemModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchInsertSearchItemRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchItemModels'])) { if (!empty($map['searchItemModels'])) { $model->searchItemModels = []; $n = 0; foreach ($map['searchItemModels'] as $item) { $model->searchItemModels[$n++] = null !== $item ? searchItemModels::fromMap($item) : $item; } } } return $model; } } src/search_1_0/Models/BatchInsertSearchItemRequest/searchItemModels.php000064400000005661146412132660022164 0ustar00 'footer', 'icon' => 'icon', 'itemId' => 'itemId', 'mobileUrl' => 'mobileUrl', 'pcUrl' => 'pcUrl', 'summary' => 'summary', 'title' => 'title', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->footer) { $res['footer'] = $this->footer; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->itemId) { $res['itemId'] = $this->itemId; } if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return searchItemModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['footer'])) { $model->footer = $map['footer']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['itemId'])) { $model->itemId = $map['itemId']; } if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/search_1_0/Models/BatchInsertSearchItemResponse.php000064400000002200146412132660017064 0ustar00 '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 BatchInsertSearchItemResponse */ 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/search_1_0/Models/CreateSearchTabHeaders.php000064400000002334146412132660015456 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateSearchTabHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/search_1_0/Models/CreateSearchTabRequest.php000064400000004321146412132660015531 0ustar00 'darkIcon', 'icon' => 'icon', 'name' => 'name', 'priority' => 'priority', 'source' => 'source', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->darkIcon) { $res['darkIcon'] = $this->darkIcon; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return CreateSearchTabRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['darkIcon'])) { $model->darkIcon = $map['darkIcon']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/search_1_0/Models/CreateSearchTabResponse.php000064400000002730146412132660015701 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateSearchTabResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateSearchTabResponseBody::fromMap($map['body']); } return $model; } } src/search_1_0/Models/CreateSearchTabResponseBody.php000064400000001517146412132660016521 0ustar00 'tabId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->tabId) { $res['tabId'] = $this->tabId; } return $res; } /** * @param array $map * * @return CreateSearchTabResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['tabId'])) { $model->tabId = $map['tabId']; } return $model; } } src/search_1_0/Models/DeleteSearchItemHeaders.php000064400000002336146412132660015647 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteSearchItemHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/search_1_0/Models/DeleteSearchItemResponse.php000064400000002166146412132660016073 0ustar00 '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 DeleteSearchItemResponse */ 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/search_1_0/Models/DeleteSearchTabHeaders.php000064400000002334146412132660015455 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteSearchTabHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/search_1_0/Models/DeleteSearchTabResponse.php000064400000002164146412132660015701 0ustar00 '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 DeleteSearchTabResponse */ 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/search_1_0/Models/GetSearchItemHeaders.php000064400000002330146412132660015156 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSearchItemHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/search_1_0/Models/GetSearchItemResponse.php000064400000002720146412132660015404 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSearchItemResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSearchItemResponseBody::fromMap($map['body']); } return $model; } } src/search_1_0/Models/GetSearchItemResponseBody.php000064400000007622146412132660016230 0ustar00 'footer', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'icon' => 'icon', 'itemId' => 'itemId', 'mobileUrl' => 'mobileUrl', 'pcUrl' => 'pcUrl', 'summary' => 'summary', 'tabId' => 'tabId', 'title' => 'title', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->footer) { $res['footer'] = $this->footer; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->itemId) { $res['itemId'] = $this->itemId; } if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->tabId) { $res['tabId'] = $this->tabId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return GetSearchItemResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['footer'])) { $model->footer = $map['footer']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['itemId'])) { $model->itemId = $map['itemId']; } if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['tabId'])) { $model->tabId = $map['tabId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/search_1_0/Models/GetSearchItemsByKeyWordHeaders.php000064400000002354146412132660017147 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSearchItemsByKeyWordHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/search_1_0/Models/GetSearchItemsByKeyWordRequest.php000064400000003001146412132660017212 0ustar00 'keyWord', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->keyWord) { $res['keyWord'] = $this->keyWord; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetSearchItemsByKeyWordRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['keyWord'])) { $model->keyWord = $map['keyWord']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/search_1_0/Models/GetSearchItemsByKeyWordResponse.php000064400000002770146412132660017374 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSearchItemsByKeyWordResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSearchItemsByKeyWordResponseBody::fromMap($map['body']); } return $model; } } src/search_1_0/Models/GetSearchItemsByKeyWordResponseBody.php000064400000004004146412132660020202 0ustar00 'nextToken', 'totalCount' => 'totalCount', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } if (null !== $this->value) { $res['value'] = []; if (null !== $this->value && \is_array($this->value)) { $n = 0; foreach ($this->value as $item) { $res['value'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetSearchItemsByKeyWordResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } if (isset($map['value'])) { if (!empty($map['value'])) { $model->value = []; $n = 0; foreach ($map['value'] as $item) { $model->value[$n++] = null !== $item ? value::fromMap($item) : $item; } } } return $model; } } src/search_1_0/Models/GetSearchItemsByKeyWordResponseBody/value.php000064400000007616146412132660021332 0ustar00 'footer', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'icon' => 'icon', 'itemId' => 'itemId', 'mobileUrl' => 'mobileUrl', 'pcUrl' => 'pcUrl', 'summary' => 'summary', 'tabId' => 'tabId', 'title' => 'title', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->footer) { $res['footer'] = $this->footer; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->itemId) { $res['itemId'] = $this->itemId; } if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->tabId) { $res['tabId'] = $this->tabId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return value */ public static function fromMap($map = []) { $model = new self(); if (isset($map['footer'])) { $model->footer = $map['footer']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['itemId'])) { $model->itemId = $map['itemId']; } if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['tabId'])) { $model->tabId = $map['tabId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/search_1_0/Models/GetSearchTabHeaders.php000064400000002326146412132660014773 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSearchTabHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/search_1_0/Models/GetSearchTabResponse.php000064400000002714146412132660015217 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSearchTabResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSearchTabResponseBody::fromMap($map['body']); } return $model; } } src/search_1_0/Models/GetSearchTabResponseBody.php000064400000006303146412132660016033 0ustar00 'darkIcon', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'icon' => 'icon', 'name' => 'name', 'priority' => 'priority', 'source' => 'source', 'status' => 'status', 'tabId' => 'tabId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->darkIcon) { $res['darkIcon'] = $this->darkIcon; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->tabId) { $res['tabId'] = $this->tabId; } return $res; } /** * @param array $map * * @return GetSearchTabResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['darkIcon'])) { $model->darkIcon = $map['darkIcon']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['tabId'])) { $model->tabId = $map['tabId']; } return $model; } } src/search_1_0/Models/InsertSearchItemHeaders.php000064400000002336146412132660015711 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InsertSearchItemHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/search_1_0/Models/InsertSearchItemRequest.php000064400000005642146412132660015771 0ustar00 'footer', 'icon' => 'icon', 'itemId' => 'itemId', 'mobileUrl' => 'mobileUrl', 'pcUrl' => 'pcUrl', 'summary' => 'summary', 'title' => 'title', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->footer) { $res['footer'] = $this->footer; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->itemId) { $res['itemId'] = $this->itemId; } if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return InsertSearchItemRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['footer'])) { $model->footer = $map['footer']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['itemId'])) { $model->itemId = $map['itemId']; } if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/search_1_0/Models/InsertSearchItemResponse.php000064400000002166146412132660016135 0ustar00 '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 InsertSearchItemResponse */ 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/search_1_0/Models/ListSearchTabsByOrgIdHeaders.php000064400000002350146412132660016567 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListSearchTabsByOrgIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/search_1_0/Models/ListSearchTabsByOrgIdResponse.php000064400000002760146412132660017017 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListSearchTabsByOrgIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListSearchTabsByOrgIdResponseBody::fromMap($map['body']); } return $model; } } src/search_1_0/Models/ListSearchTabsByOrgIdResponseBody.php000064400000003072146412132660017632 0ustar00 'searchTabResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchTabResult) { $res['searchTabResult'] = []; if (null !== $this->searchTabResult && \is_array($this->searchTabResult)) { $n = 0; foreach ($this->searchTabResult as $item) { $res['searchTabResult'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListSearchTabsByOrgIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchTabResult'])) { if (!empty($map['searchTabResult'])) { $model->searchTabResult = []; $n = 0; foreach ($map['searchTabResult'] as $item) { $model->searchTabResult[$n++] = null !== $item ? searchTabResult::fromMap($item) : $item; } } } return $model; } } src/search_1_0/Models/ListSearchTabsByOrgIdResponseBody/searchTabResult.php000064400000006323146412132660022727 0ustar00 'darkIcon', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'icon' => 'icon', 'name' => 'name', 'priority' => 'priority', 'source' => 'source', 'status' => 'status', 'tabId' => 'tabId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->darkIcon) { $res['darkIcon'] = $this->darkIcon; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->tabId) { $res['tabId'] = $this->tabId; } return $res; } /** * @param array $map * * @return searchTabResult */ public static function fromMap($map = []) { $model = new self(); if (isset($map['darkIcon'])) { $model->darkIcon = $map['darkIcon']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['tabId'])) { $model->tabId = $map['tabId']; } return $model; } } src/search_1_0/Models/UpdateSearchTabHeaders.php000064400000002334146412132660015475 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateSearchTabHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/search_1_0/Models/UpdateSearchTabRequest.php000064400000004321146412132660015550 0ustar00 'darkIcon', 'icon' => 'icon', 'name' => 'name', 'priority' => 'priority', 'source' => 'source', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->darkIcon) { $res['darkIcon'] = $this->darkIcon; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return UpdateSearchTabRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['darkIcon'])) { $model->darkIcon = $map['darkIcon']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/search_1_0/Models/UpdateSearchTabResponse.php000064400000002164146412132660015721 0ustar00 '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 UpdateSearchTabResponse */ 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/service_group_1_0/Dingtalk.php000064400000630252146412132660013131 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddContactMemberToGroupRequest $request * @param AddContactMemberToGroupHeaders $headers * @param RuntimeOptions $runtime * * @return AddContactMemberToGroupResponse */ public function addContactMemberToGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->fissionType)) { $body['fissionType'] = $request->fissionType; } if (!Utils::isUnset($request->memberUnionId)) { $body['memberUnionId'] = $request->memberUnionId; } if (!Utils::isUnset($request->memberUserId)) { $body['memberUserId'] = $request->memberUserId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddContactMemberToGroup', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groups/contacts', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddContactMemberToGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddContactMemberToGroupRequest $request * * @return AddContactMemberToGroupResponse */ public function addContactMemberToGroup($request) { $runtime = new RuntimeOptions([]); $headers = new AddContactMemberToGroupHeaders([]); return $this->addContactMemberToGroupWithOptions($request, $headers, $runtime); } /** * @param AddKnowledgeRequest $request * @param AddKnowledgeHeaders $headers * @param RuntimeOptions $runtime * * @return AddKnowledgeResponse */ public function addKnowledgeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->attachmentList)) { $body['attachmentList'] = $request->attachmentList; } if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->effectTimeend)) { $body['effectTimeend'] = $request->effectTimeend; } if (!Utils::isUnset($request->effectTimestart)) { $body['effectTimestart'] = $request->effectTimestart; } if (!Utils::isUnset($request->extTitle)) { $body['extTitle'] = $request->extTitle; } if (!Utils::isUnset($request->keyword)) { $body['keyword'] = $request->keyword; } if (!Utils::isUnset($request->libraryKey)) { $body['libraryKey'] = $request->libraryKey; } if (!Utils::isUnset($request->linkUrl)) { $body['linkUrl'] = $request->linkUrl; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->questionIds)) { $body['questionIds'] = $request->questionIds; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } if (!Utils::isUnset($request->sourcePrimaryKey)) { $body['sourcePrimaryKey'] = $request->sourcePrimaryKey; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } if (!Utils::isUnset($request->version)) { $body['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddKnowledge', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/knowledges', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddKnowledgeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddKnowledgeRequest $request * * @return AddKnowledgeResponse */ public function addKnowledge($request) { $runtime = new RuntimeOptions([]); $headers = new AddKnowledgeHeaders([]); return $this->addKnowledgeWithOptions($request, $headers, $runtime); } /** * @param AddLibraryRequest $request * @param AddLibraryHeaders $headers * @param RuntimeOptions $runtime * * @return AddLibraryResponse */ public function addLibraryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->openTeamIds)) { $body['openTeamIds'] = $request->openTeamIds; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } if (!Utils::isUnset($request->sourcePrimaryKey)) { $body['sourcePrimaryKey'] = $request->sourcePrimaryKey; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } 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' => 'AddLibrary', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/librarys', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AddLibraryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddLibraryRequest $request * * @return AddLibraryResponse */ public function addLibrary($request) { $runtime = new RuntimeOptions([]); $headers = new AddLibraryHeaders([]); return $this->addLibraryWithOptions($request, $headers, $runtime); } /** * @param AddMemberToServiceGroupRequest $request * @param AddMemberToServiceGroupHeaders $headers * @param RuntimeOptions $runtime * * @return AddMemberToServiceGroupResponse */ public function addMemberToServiceGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } 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' => 'AddMemberToServiceGroup', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groups/members', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddMemberToServiceGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddMemberToServiceGroupRequest $request * * @return AddMemberToServiceGroupResponse */ public function addMemberToServiceGroup($request) { $runtime = new RuntimeOptions([]); $headers = new AddMemberToServiceGroupHeaders([]); return $this->addMemberToServiceGroupWithOptions($request, $headers, $runtime); } /** * @param AddOpenCategoryRequest $request * @param AddOpenCategoryHeaders $headers * @param RuntimeOptions $runtime * * @return AddOpenCategoryResponse */ public function addOpenCategoryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->libraryId)) { $body['libraryId'] = $request->libraryId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->parentId)) { $body['parentId'] = $request->parentId; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->userName)) { $body['userName'] = $request->userName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddOpenCategory', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/openCategories', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddOpenCategoryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddOpenCategoryRequest $request * * @return AddOpenCategoryResponse */ public function addOpenCategory($request) { $runtime = new RuntimeOptions([]); $headers = new AddOpenCategoryHeaders([]); return $this->addOpenCategoryWithOptions($request, $headers, $runtime); } /** * @param AddOpenKnowledgeRequest $request * @param AddOpenKnowledgeHeaders $headers * @param RuntimeOptions $runtime * * @return AddOpenKnowledgeResponse */ public function addOpenKnowledgeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->attachments)) { $body['attachments'] = $request->attachments; } if (!Utils::isUnset($request->categoryId)) { $body['categoryId'] = $request->categoryId; } if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->effectTimeend)) { $body['effectTimeend'] = $request->effectTimeend; } if (!Utils::isUnset($request->effectTimestart)) { $body['effectTimestart'] = $request->effectTimestart; } if (!Utils::isUnset($request->extTitle)) { $body['extTitle'] = $request->extTitle; } if (!Utils::isUnset($request->keyword)) { $body['keyword'] = $request->keyword; } if (!Utils::isUnset($request->libraryId)) { $body['libraryId'] = $request->libraryId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } if (!Utils::isUnset($request->tags)) { $body['tags'] = $request->tags; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->userName)) { $body['userName'] = $request->userName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddOpenKnowledge', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/openKnowledges', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddOpenKnowledgeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddOpenKnowledgeRequest $request * * @return AddOpenKnowledgeResponse */ public function addOpenKnowledge($request) { $runtime = new RuntimeOptions([]); $headers = new AddOpenKnowledgeHeaders([]); return $this->addOpenKnowledgeWithOptions($request, $headers, $runtime); } /** * @param AddOpenLibraryRequest $request * @param AddOpenLibraryHeaders $headers * @param RuntimeOptions $runtime * * @return AddOpenLibraryResponse */ public function addOpenLibraryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->userName)) { $body['userName'] = $request->userName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddOpenLibrary', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/openLibraries', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddOpenLibraryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddOpenLibraryRequest $request * * @return AddOpenLibraryResponse */ public function addOpenLibrary($request) { $runtime = new RuntimeOptions([]); $headers = new AddOpenLibraryHeaders([]); return $this->addOpenLibraryWithOptions($request, $headers, $runtime); } /** * @param AddTicketMemoRequest $request * @param AddTicketMemoHeaders $headers * @param RuntimeOptions $runtime * * @return AddTicketMemoResponse */ public function addTicketMemoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->openTicketId)) { $body['openTicketId'] = $request->openTicketId; } if (!Utils::isUnset($request->processorUnionId)) { $body['processorUnionId'] = $request->processorUnionId; } if (!Utils::isUnset($request->ticketMemo)) { $body['ticketMemo'] = $request->ticketMemo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddTicketMemo', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tickets/memos', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AddTicketMemoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddTicketMemoRequest $request * * @return AddTicketMemoResponse */ public function addTicketMemo($request) { $runtime = new RuntimeOptions([]); $headers = new AddTicketMemoHeaders([]); return $this->addTicketMemoWithOptions($request, $headers, $runtime); } /** * @param AssignTicketRequest $request * @param AssignTicketHeaders $headers * @param RuntimeOptions $runtime * * @return AssignTicketResponse */ public function assignTicketWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->notify)) { $body['notify'] = $request->notify; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->openTicketId)) { $body['openTicketId'] = $request->openTicketId; } if (!Utils::isUnset($request->operatorUnionId)) { $body['operatorUnionId'] = $request->operatorUnionId; } if (!Utils::isUnset($request->processorUnionIds)) { $body['processorUnionIds'] = $request->processorUnionIds; } if (!Utils::isUnset($request->ticketMemo)) { $body['ticketMemo'] = $request->ticketMemo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AssignTicket', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tickets/assign', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AssignTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AssignTicketRequest $request * * @return AssignTicketResponse */ public function assignTicket($request) { $runtime = new RuntimeOptions([]); $headers = new AssignTicketHeaders([]); return $this->assignTicketWithOptions($request, $headers, $runtime); } /** * @param BatchBindingGroupBizIdsRequest $request * @param BatchBindingGroupBizIdsHeaders $headers * @param RuntimeOptions $runtime * * @return BatchBindingGroupBizIdsResponse */ public function batchBindingGroupBizIdsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bindingGroupBizIds)) { $body['bindingGroupBizIds'] = $request->bindingGroupBizIds; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchBindingGroupBizIds', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groups/bind', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchBindingGroupBizIdsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchBindingGroupBizIdsRequest $request * * @return BatchBindingGroupBizIdsResponse */ public function batchBindingGroupBizIds($request) { $runtime = new RuntimeOptions([]); $headers = new BatchBindingGroupBizIdsHeaders([]); return $this->batchBindingGroupBizIdsWithOptions($request, $headers, $runtime); } /** * @param BatchGetGroupSetConfigRequest $request * @param BatchGetGroupSetConfigHeaders $headers * @param RuntimeOptions $runtime * * @return BatchGetGroupSetConfigResponse */ public function batchGetGroupSetConfigWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->configKeys)) { $body['configKeys'] = $request->configKeys; } if (!Utils::isUnset($request->openGroupSetId)) { $body['openGroupSetId'] = $request->openGroupSetId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchGetGroupSetConfig', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groupSetConfigs/batchQuery', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return BatchGetGroupSetConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchGetGroupSetConfigRequest $request * * @return BatchGetGroupSetConfigResponse */ public function batchGetGroupSetConfig($request) { $runtime = new RuntimeOptions([]); $headers = new BatchGetGroupSetConfigHeaders([]); return $this->batchGetGroupSetConfigWithOptions($request, $headers, $runtime); } /** * @param BatchQueryCustomerSendTaskRequest $request * @param BatchQueryCustomerSendTaskHeaders $headers * @param RuntimeOptions $runtime * * @return BatchQueryCustomerSendTaskResponse */ public function batchQueryCustomerSendTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->gmtCreateEnd)) { $body['gmtCreateEnd'] = $request->gmtCreateEnd; } if (!Utils::isUnset($request->gmtCreateStart)) { $body['gmtCreateStart'] = $request->gmtCreateStart; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->needRichStatistics)) { $body['needRichStatistics'] = $request->needRichStatistics; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->openBatchTaskIds)) { $body['openBatchTaskIds'] = $request->openBatchTaskIds; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->taskName)) { $body['taskName'] = $request->taskName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchQueryCustomerSendTask', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/customers/tasks/batchQuery', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchQueryCustomerSendTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchQueryCustomerSendTaskRequest $request * * @return BatchQueryCustomerSendTaskResponse */ public function batchQueryCustomerSendTask($request) { $runtime = new RuntimeOptions([]); $headers = new BatchQueryCustomerSendTaskHeaders([]); return $this->batchQueryCustomerSendTaskWithOptions($request, $headers, $runtime); } /** * @param BatchQueryGroupMemberRequest $request * @param BatchQueryGroupMemberHeaders $headers * @param RuntimeOptions $runtime * * @return BatchQueryGroupMemberResponse */ public function batchQueryGroupMemberWithOptions($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->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchQueryGroupMember', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groups/members/batchQuery', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchQueryGroupMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchQueryGroupMemberRequest $request * * @return BatchQueryGroupMemberResponse */ public function batchQueryGroupMember($request) { $runtime = new RuntimeOptions([]); $headers = new BatchQueryGroupMemberHeaders([]); return $this->batchQueryGroupMemberWithOptions($request, $headers, $runtime); } /** * @param BatchQuerySendMessageTaskRequest $request * @param BatchQuerySendMessageTaskHeaders $headers * @param RuntimeOptions $runtime * * @return BatchQuerySendMessageTaskResponse */ public function batchQuerySendMessageTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->getReadCount)) { $body['getReadCount'] = $request->getReadCount; } if (!Utils::isUnset($request->gmtCreateEnd)) { $body['gmtCreateEnd'] = $request->gmtCreateEnd; } if (!Utils::isUnset($request->gmtCreateStart)) { $body['gmtCreateStart'] = $request->gmtCreateStart; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->openGroupSetId)) { $body['openGroupSetId'] = $request->openGroupSetId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->taskName)) { $body['taskName'] = $request->taskName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchQuerySendMessageTask', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tasks/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchQuerySendMessageTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchQuerySendMessageTaskRequest $request * * @return BatchQuerySendMessageTaskResponse */ public function batchQuerySendMessageTask($request) { $runtime = new RuntimeOptions([]); $headers = new BatchQuerySendMessageTaskHeaders([]); return $this->batchQuerySendMessageTaskWithOptions($request, $headers, $runtime); } /** * @param BoundTemplateToTeamRequest $request * @param BoundTemplateToTeamHeaders $headers * @param RuntimeOptions $runtime * * @return BoundTemplateToTeamResponse */ public function boundTemplateToTeamWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->robotConfig)) { $body['robotConfig'] = $request->robotConfig; } if (!Utils::isUnset($request->templateDesc)) { $body['templateDesc'] = $request->templateDesc; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } if (!Utils::isUnset($request->templateName)) { $body['templateName'] = $request->templateName; } if (!Utils::isUnset($request->templateType)) { $body['templateType'] = $request->templateType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BoundTemplateToTeam', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/teams/templates/bound', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return BoundTemplateToTeamResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BoundTemplateToTeamRequest $request * * @return BoundTemplateToTeamResponse */ public function boundTemplateToTeam($request) { $runtime = new RuntimeOptions([]); $headers = new BoundTemplateToTeamHeaders([]); return $this->boundTemplateToTeamWithOptions($request, $headers, $runtime); } /** * @param CancelTicketRequest $request * @param CancelTicketHeaders $headers * @param RuntimeOptions $runtime * * @return CancelTicketResponse */ public function cancelTicketWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->notify)) { $body['notify'] = $request->notify; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->openTicketId)) { $body['openTicketId'] = $request->openTicketId; } if (!Utils::isUnset($request->operatorUnionId)) { $body['operatorUnionId'] = $request->operatorUnionId; } if (!Utils::isUnset($request->ticketMemo)) { $body['ticketMemo'] = $request->ticketMemo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CancelTicket', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tickets/cancel', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CancelTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CancelTicketRequest $request * * @return CancelTicketResponse */ public function cancelTicket($request) { $runtime = new RuntimeOptions([]); $headers = new CancelTicketHeaders([]); return $this->cancelTicketWithOptions($request, $headers, $runtime); } /** * @param CategoryStatisticsRequest $request * @param CategoryStatisticsHeaders $headers * @param RuntimeOptions $runtime * * @return CategoryStatisticsResponse */ public function categoryStatisticsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxDt)) { $query['maxDt'] = $request->maxDt; } if (!Utils::isUnset($request->minDt)) { $query['minDt'] = $request->minDt; } if (!Utils::isUnset($request->openTeamId)) { $query['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CategoryStatistics', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/voices/dashboards/categories/statistics', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CategoryStatisticsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CategoryStatisticsRequest $request * * @return CategoryStatisticsResponse */ public function categoryStatistics($request) { $runtime = new RuntimeOptions([]); $headers = new CategoryStatisticsHeaders([]); return $this->categoryStatisticsWithOptions($request, $headers, $runtime); } /** * @param CloseConversationRequest $request * @param CloseConversationHeaders $headers * @param RuntimeOptions $runtime * * @return CloseConversationResponse */ public function closeConversationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->serverTips)) { $body['serverTips'] = $request->serverTips; } if (!Utils::isUnset($request->serviceToken)) { $body['serviceToken'] = $request->serviceToken; } if (!Utils::isUnset($request->targetChannel)) { $body['targetChannel'] = $request->targetChannel; } if (!Utils::isUnset($request->visitorToken)) { $body['visitorToken'] = $request->visitorToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CloseConversation', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/conversions', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CloseConversationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CloseConversationRequest $request * * @return CloseConversationResponse */ public function closeConversation($request) { $runtime = new RuntimeOptions([]); $headers = new CloseConversationHeaders([]); return $this->closeConversationWithOptions($request, $headers, $runtime); } /** * @param CloseHumanSessionRequest $request * @param CloseHumanSessionHeaders $headers * @param RuntimeOptions $runtime * * @return CloseHumanSessionResponse */ public function closeHumanSessionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CloseHumanSession', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/humanSessions/close', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CloseHumanSessionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CloseHumanSessionRequest $request * * @return CloseHumanSessionResponse */ public function closeHumanSession($request) { $runtime = new RuntimeOptions([]); $headers = new CloseHumanSessionHeaders([]); return $this->closeHumanSessionWithOptions($request, $headers, $runtime); } /** * @param ConversationCreatedNotifyRequest $request * @param ConversationCreatedNotifyHeaders $headers * @param RuntimeOptions $runtime * * @return ConversationCreatedNotifyResponse */ public function conversationCreatedNotifyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->alipayUserId)) { $body['alipayUserId'] = $request->alipayUserId; } if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } if (!Utils::isUnset($request->nickName)) { $body['nickName'] = $request->nickName; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->serverName)) { $body['serverName'] = $request->serverName; } if (!Utils::isUnset($request->serverTips)) { $body['serverTips'] = $request->serverTips; } if (!Utils::isUnset($request->serviceToken)) { $body['serviceToken'] = $request->serviceToken; } if (!Utils::isUnset($request->timeoutRemindTips)) { $body['timeoutRemindTips'] = $request->timeoutRemindTips; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->visitorToken)) { $body['visitorToken'] = $request->visitorToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ConversationCreatedNotify', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/customers', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ConversationCreatedNotifyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ConversationCreatedNotifyRequest $request * * @return ConversationCreatedNotifyResponse */ public function conversationCreatedNotify($request) { $runtime = new RuntimeOptions([]); $headers = new ConversationCreatedNotifyHeaders([]); return $this->conversationCreatedNotifyWithOptions($request, $headers, $runtime); } /** * @param ConversationTransferBeginNotifyRequest $request * @param ConversationTransferBeginNotifyHeaders $headers * @param RuntimeOptions $runtime * * @return ConversationTransferBeginNotifyResponse */ public function conversationTransferBeginNotifyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } if (!Utils::isUnset($request->memo)) { $body['memo'] = $request->memo; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->serviceToken)) { $body['serviceToken'] = $request->serviceToken; } if (!Utils::isUnset($request->sourceSkillGroupId)) { $body['sourceSkillGroupId'] = $request->sourceSkillGroupId; } if (!Utils::isUnset($request->targetSkillGroupId)) { $body['targetSkillGroupId'] = $request->targetSkillGroupId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ConversationTransferBeginNotify', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/transfers', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ConversationTransferBeginNotifyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ConversationTransferBeginNotifyRequest $request * * @return ConversationTransferBeginNotifyResponse */ public function conversationTransferBeginNotify($request) { $runtime = new RuntimeOptions([]); $headers = new ConversationTransferBeginNotifyHeaders([]); return $this->conversationTransferBeginNotifyWithOptions($request, $headers, $runtime); } /** * @param ConversationTransferCompleteNotifyRequest $request * @param ConversationTransferCompleteNotifyHeaders $headers * @param RuntimeOptions $runtime * * @return ConversationTransferCompleteNotifyResponse */ public function conversationTransferCompleteNotifyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->alipayUserId)) { $body['alipayUserId'] = $request->alipayUserId; } if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } if (!Utils::isUnset($request->nickName)) { $body['nickName'] = $request->nickName; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->serviceToken)) { $body['serviceToken'] = $request->serviceToken; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->visitorToken)) { $body['visitorToken'] = $request->visitorToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ConversationTransferCompleteNotify', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/completes', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ConversationTransferCompleteNotifyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ConversationTransferCompleteNotifyRequest $request * * @return ConversationTransferCompleteNotifyResponse */ public function conversationTransferCompleteNotify($request) { $runtime = new RuntimeOptions([]); $headers = new ConversationTransferCompleteNotifyHeaders([]); return $this->conversationTransferCompleteNotifyWithOptions($request, $headers, $runtime); } /** * @param CreateGroupRequest $request * @param CreateGroupHeaders $headers * @param RuntimeOptions $runtime * * @return CreateGroupResponse */ public function createGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupBizId)) { $body['groupBizId'] = $request->groupBizId; } if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } if (!Utils::isUnset($request->groupTagNames)) { $body['groupTagNames'] = $request->groupTagNames; } if (!Utils::isUnset($request->memberStaffIds)) { $body['memberStaffIds'] = $request->memberStaffIds; } if (!Utils::isUnset($request->openGroupSetId)) { $body['openGroupSetId'] = $request->openGroupSetId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->ownerStaffId)) { $body['ownerStaffId'] = $request->ownerStaffId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->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' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateGroupRequest $request * * @return CreateGroupResponse */ public function createGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CreateGroupHeaders([]); return $this->createGroupWithOptions($request, $headers, $runtime); } /** * @param CreateGroupConversationRequest $request * @param CreateGroupConversationHeaders $headers * @param RuntimeOptions $runtime * * @return CreateGroupConversationResponse */ public function createGroupConversationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->dingGroupId)) { $body['dingGroupId'] = $request->dingGroupId; } if (!Utils::isUnset($request->dingSuiteKey)) { $body['dingSuiteKey'] = $request->dingSuiteKey; } if (!Utils::isUnset($request->dingTokenGrantType)) { $body['dingTokenGrantType'] = $request->dingTokenGrantType; } if (!Utils::isUnset($request->dingUserId)) { $body['dingUserId'] = $request->dingUserId; } if (!Utils::isUnset($request->dingUserName)) { $body['dingUserName'] = $request->dingUserName; } if (!Utils::isUnset($request->extValues)) { $body['extValues'] = $request->extValues; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->serverGroupId)) { $body['serverGroupId'] = $request->serverGroupId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateGroupConversation', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/create/conversations', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateGroupConversationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateGroupConversationRequest $request * * @return CreateGroupConversationResponse */ public function createGroupConversation($request) { $runtime = new RuntimeOptions([]); $headers = new CreateGroupConversationHeaders([]); return $this->createGroupConversationWithOptions($request, $headers, $runtime); } /** * @param CreateGroupSetRequest $request * @param CreateGroupSetHeaders $headers * @param RuntimeOptions $runtime * * @return CreateGroupSetResponse */ public function createGroupSetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupSetName)) { $body['groupSetName'] = $request->groupSetName; } if (!Utils::isUnset($request->groupTemplateId)) { $body['groupTemplateId'] = $request->groupTemplateId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->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' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groupSets', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateGroupSetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateGroupSetRequest $request * * @return CreateGroupSetResponse */ public function createGroupSet($request) { $runtime = new RuntimeOptions([]); $headers = new CreateGroupSetHeaders([]); return $this->createGroupSetWithOptions($request, $headers, $runtime); } /** * @param CreateInstanceRequest $request * @param CreateInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return CreateInstanceResponse */ public function createInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->channel)) { $body['channel'] = $request->channel; } if (!Utils::isUnset($request->externalBizId)) { $body['externalBizId'] = $request->externalBizId; } if (!Utils::isUnset($request->formCode)) { $body['formCode'] = $request->formCode; } if (!Utils::isUnset($request->formDataList)) { $body['formDataList'] = $request->formDataList; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->operatorUnionId)) { $body['operatorUnionId'] = $request->operatorUnionId; } if (!Utils::isUnset($request->ownerUnionId)) { $body['ownerUnionId'] = $request->ownerUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateInstance', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/customForms/instances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateInstanceRequest $request * * @return CreateInstanceResponse */ public function createInstance($request) { $runtime = new RuntimeOptions([]); $headers = new CreateInstanceHeaders([]); return $this->createInstanceWithOptions($request, $headers, $runtime); } /** * @param CreateTeamRequest $request * @param CreateTeamHeaders $headers * @param RuntimeOptions $runtime * * @return CreateTeamResponse */ public function createTeamWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->creatorDingUnionId)) { $body['creatorDingUnionId'] = $request->creatorDingUnionId; } if (!Utils::isUnset($request->teamName)) { $body['teamName'] = $request->teamName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateTeam', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/teams', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateTeamResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateTeamRequest $request * * @return CreateTeamResponse */ public function createTeam($request) { $runtime = new RuntimeOptions([]); $headers = new CreateTeamHeaders([]); return $this->createTeamWithOptions($request, $headers, $runtime); } /** * @param CreateTicketRequest $request * @param CreateTicketHeaders $headers * @param RuntimeOptions $runtime * * @return CreateTicketResponse */ public function createTicketWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->creatorUnionId)) { $body['creatorUnionId'] = $request->creatorUnionId; } if (!Utils::isUnset($request->customFields)) { $body['customFields'] = $request->customFields; } if (!Utils::isUnset($request->notify)) { $body['notify'] = $request->notify; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->openTemplateBizId)) { $body['openTemplateBizId'] = $request->openTemplateBizId; } if (!Utils::isUnset($request->processorUnionIds)) { $body['processorUnionIds'] = $request->processorUnionIds; } if (!Utils::isUnset($request->scene)) { $body['scene'] = $request->scene; } if (!Utils::isUnset($request->sceneContext)) { $body['sceneContext'] = $request->sceneContext; } 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' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tickets', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateTicketRequest $request * * @return CreateTicketResponse */ public function createTicket($request) { $runtime = new RuntimeOptions([]); $headers = new CreateTicketHeaders([]); return $this->createTicketWithOptions($request, $headers, $runtime); } /** * @param CustomerSendMsgTaskRequest $request * @param CustomerSendMsgTaskHeaders $headers * @param RuntimeOptions $runtime * * @return CustomerSendMsgTaskResponse */ public function customerSendMsgTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->messageContent)) { $body['messageContent'] = $request->messageContent; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->queryCustomer)) { $body['queryCustomer'] = $request->queryCustomer; } if (!Utils::isUnset($request->sendConfig)) { $body['sendConfig'] = $request->sendConfig; } if (!Utils::isUnset($request->taskName)) { $body['taskName'] = $request->taskName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CustomerSendMsgTask', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/customers/tasks/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CustomerSendMsgTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CustomerSendMsgTaskRequest $request * * @return CustomerSendMsgTaskResponse */ public function customerSendMsgTask($request) { $runtime = new RuntimeOptions([]); $headers = new CustomerSendMsgTaskHeaders([]); return $this->customerSendMsgTaskWithOptions($request, $headers, $runtime); } /** * @param DeleteGroupMembersFromGroupRequest $request * @param DeleteGroupMembersFromGroupHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteGroupMembersFromGroupResponse */ public function deleteGroupMembersFromGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deleteGroupType)) { $body['deleteGroupType'] = $request->deleteGroupType; } if (!Utils::isUnset($request->memberUnionId)) { $body['memberUnionId'] = $request->memberUnionId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openGroupSetId)) { $body['openGroupSetId'] = $request->openGroupSetId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeleteGroupMembersFromGroup', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groups/members/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteGroupMembersFromGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteGroupMembersFromGroupRequest $request * * @return DeleteGroupMembersFromGroupResponse */ public function deleteGroupMembersFromGroup($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteGroupMembersFromGroupHeaders([]); return $this->deleteGroupMembersFromGroupWithOptions($request, $headers, $runtime); } /** * @param DeleteInstanceRequest $request * @param DeleteInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteInstanceResponse */ public function deleteInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->formCode)) { $body['formCode'] = $request->formCode; } if (!Utils::isUnset($request->openDataInstanceId)) { $body['openDataInstanceId'] = $request->openDataInstanceId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->operatorUnionId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeleteInstance', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/customForms/instances/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteInstanceRequest $request * * @return DeleteInstanceResponse */ public function deleteInstance($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteInstanceHeaders([]); return $this->deleteInstanceWithOptions($request, $headers, $runtime); } /** * @param DeleteKnowledgeRequest $request * @param DeleteKnowledgeHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteKnowledgeResponse */ public function deleteKnowledgeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->libraryKey)) { $body['libraryKey'] = $request->libraryKey; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } if (!Utils::isUnset($request->sourcePrimaryKey)) { $body['sourcePrimaryKey'] = $request->sourcePrimaryKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeleteKnowledge', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/knowledges/batchDelete', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteKnowledgeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteKnowledgeRequest $request * * @return DeleteKnowledgeResponse */ public function deleteKnowledge($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteKnowledgeHeaders([]); return $this->deleteKnowledgeWithOptions($request, $headers, $runtime); } /** * @param EmotionStatisticsRequest $request * @param EmotionStatisticsHeaders $headers * @param RuntimeOptions $runtime * * @return EmotionStatisticsResponse */ public function emotionStatisticsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxDt)) { $query['maxDt'] = $request->maxDt; } if (!Utils::isUnset($request->maxEmotion)) { $query['maxEmotion'] = $request->maxEmotion; } if (!Utils::isUnset($request->minDt)) { $query['minDt'] = $request->minDt; } if (!Utils::isUnset($request->minEmotion)) { $query['minEmotion'] = $request->minEmotion; } if (!Utils::isUnset($request->openConversationIds)) { $query['openConversationIds'] = $request->openConversationIds; } if (!Utils::isUnset($request->openGroupSetId)) { $query['openGroupSetId'] = $request->openGroupSetId; } if (!Utils::isUnset($request->openTeamId)) { $query['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'EmotionStatistics', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/voices/emotions/statistics', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EmotionStatisticsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param EmotionStatisticsRequest $request * * @return EmotionStatisticsResponse */ public function emotionStatistics($request) { $runtime = new RuntimeOptions([]); $headers = new EmotionStatisticsHeaders([]); return $this->emotionStatisticsWithOptions($request, $headers, $runtime); } /** * @param FinishTicketRequest $request * @param FinishTicketHeaders $headers * @param RuntimeOptions $runtime * * @return FinishTicketResponse */ public function finishTicketWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->notify)) { $body['notify'] = $request->notify; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->openTicketId)) { $body['openTicketId'] = $request->openTicketId; } if (!Utils::isUnset($request->processorUnionId)) { $body['processorUnionId'] = $request->processorUnionId; } if (!Utils::isUnset($request->ticketMemo)) { $body['ticketMemo'] = $request->ticketMemo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'FinishTicket', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tickets/finish', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return FinishTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param FinishTicketRequest $request * * @return FinishTicketResponse */ public function finishTicket($request) { $runtime = new RuntimeOptions([]); $headers = new FinishTicketHeaders([]); return $this->finishTicketWithOptions($request, $headers, $runtime); } /** * @param GetAuthTokenRequest $request * @param GetAuthTokenHeaders $headers * @param RuntimeOptions $runtime * * @return GetAuthTokenResponse */ public function getAuthTokenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->channel)) { $body['channel'] = $request->channel; } if (!Utils::isUnset($request->effectiveTime)) { $body['effectiveTime'] = $request->effectiveTime; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->serverId)) { $body['serverId'] = $request->serverId; } if (!Utils::isUnset($request->serverName)) { $body['serverName'] = $request->serverName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetAuthToken', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/get/tokens', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAuthTokenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetAuthTokenRequest $request * * @return GetAuthTokenResponse */ public function getAuthToken($request) { $runtime = new RuntimeOptions([]); $headers = new GetAuthTokenHeaders([]); return $this->getAuthTokenWithOptions($request, $headers, $runtime); } /** * @param GetInstancesByIdsRequest $request * @param GetInstancesByIdsHeaders $headers * @param RuntimeOptions $runtime * * @return GetInstancesByIdsResponse */ public function getInstancesByIdsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->formCode)) { $body['formCode'] = $request->formCode; } if (!Utils::isUnset($request->openDataInstanceIdList)) { $body['openDataInstanceIdList'] = $request->openDataInstanceIdList; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetInstancesByIds', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/customForms/instances/batchQuery', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetInstancesByIdsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetInstancesByIdsRequest $request * * @return GetInstancesByIdsResponse */ public function getInstancesByIds($request) { $runtime = new RuntimeOptions([]); $headers = new GetInstancesByIdsHeaders([]); return $this->getInstancesByIdsWithOptions($request, $headers, $runtime); } /** * @param GetNegativeWordCloudRequest $request * @param GetNegativeWordCloudHeaders $headers * @param RuntimeOptions $runtime * * @return GetNegativeWordCloudResponse */ public function getNegativeWordCloudWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->openTeamId)) { $query['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetNegativeWordCloud', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/voices/negatives/wordClouds', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetNegativeWordCloudResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetNegativeWordCloudRequest $request * * @return GetNegativeWordCloudResponse */ public function getNegativeWordCloud($request) { $runtime = new RuntimeOptions([]); $headers = new GetNegativeWordCloudHeaders([]); return $this->getNegativeWordCloudWithOptions($request, $headers, $runtime); } /** * @param GetOssTempUrlRequest $request * @param GetOssTempUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetOssTempUrlResponse */ public function getOssTempUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->fetchMode)) { $query['fetchMode'] = $request->fetchMode; } if (!Utils::isUnset($request->fileName)) { $query['fileName'] = $request->fileName; } if (!Utils::isUnset($request->key)) { $query['key'] = $request->key; } if (!Utils::isUnset($request->openTeamId)) { $query['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetOssTempUrl', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/ossServices/tempUrls', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetOssTempUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetOssTempUrlRequest $request * * @return GetOssTempUrlResponse */ public function getOssTempUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetOssTempUrlHeaders([]); return $this->getOssTempUrlWithOptions($request, $headers, $runtime); } /** * @param GetStoragePolicyRequest $request * @param GetStoragePolicyHeaders $headers * @param RuntimeOptions $runtime * * @return GetStoragePolicyResponse */ public function getStoragePolicyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->fileName)) { $body['fileName'] = $request->fileName; } if (!Utils::isUnset($request->fileSize)) { $body['fileSize'] = $request->fileSize; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetStoragePolicy', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/ossServices/policies', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetStoragePolicyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetStoragePolicyRequest $request * * @return GetStoragePolicyResponse */ public function getStoragePolicy($request) { $runtime = new RuntimeOptions([]); $headers = new GetStoragePolicyHeaders([]); return $this->getStoragePolicyWithOptions($request, $headers, $runtime); } /** * @param GetTicketRequest $request * @param GetTicketHeaders $headers * @param RuntimeOptions $runtime * * @return GetTicketResponse */ public function getTicketWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->openTeamId)) { $query['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->openTicketId)) { $query['openTicketId'] = $request->openTicketId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetTicket', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tickets', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetTicketRequest $request * * @return GetTicketResponse */ public function getTicket($request) { $runtime = new RuntimeOptions([]); $headers = new GetTicketHeaders([]); return $this->getTicketWithOptions($request, $headers, $runtime); } /** * @param GetWordCloudRequest $request * @param GetWordCloudHeaders $headers * @param RuntimeOptions $runtime * * @return GetWordCloudResponse */ public function getWordCloudWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->openTeamId)) { $query['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetWordCloud', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/voices/wordClouds', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetWordCloudResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetWordCloudRequest $request * * @return GetWordCloudResponse */ public function getWordCloud($request) { $runtime = new RuntimeOptions([]); $headers = new GetWordCloudHeaders([]); return $this->getWordCloudWithOptions($request, $headers, $runtime); } /** * @param GroupStatisticsRequest $request * @param GroupStatisticsHeaders $headers * @param RuntimeOptions $runtime * * @return GroupStatisticsResponse */ public function groupStatisticsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxDt)) { $query['maxDt'] = $request->maxDt; } if (!Utils::isUnset($request->minDt)) { $query['minDt'] = $request->minDt; } if (!Utils::isUnset($request->openTeamId)) { $query['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GroupStatistics', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/voices/dashboards/groups/statistics', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GroupStatisticsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GroupStatisticsRequest $request * * @return GroupStatisticsResponse */ public function groupStatistics($request) { $runtime = new RuntimeOptions([]); $headers = new GroupStatisticsHeaders([]); return $this->groupStatisticsWithOptions($request, $headers, $runtime); } /** * @param IntentionCategoryStatisticsRequest $request * @param IntentionCategoryStatisticsHeaders $headers * @param RuntimeOptions $runtime * * @return IntentionCategoryStatisticsResponse */ public function intentionCategoryStatisticsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxDt)) { $query['maxDt'] = $request->maxDt; } if (!Utils::isUnset($request->minDt)) { $query['minDt'] = $request->minDt; } if (!Utils::isUnset($request->openTeamId)) { $query['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'IntentionCategoryStatistics', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/voices/dashboards/intentionCategories/statistics', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IntentionCategoryStatisticsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IntentionCategoryStatisticsRequest $request * * @return IntentionCategoryStatisticsResponse */ public function intentionCategoryStatistics($request) { $runtime = new RuntimeOptions([]); $headers = new IntentionCategoryStatisticsHeaders([]); return $this->intentionCategoryStatisticsWithOptions($request, $headers, $runtime); } /** * @param IntentionStatisticsRequest $request * @param IntentionStatisticsHeaders $headers * @param RuntimeOptions $runtime * * @return IntentionStatisticsResponse */ public function intentionStatisticsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxDt)) { $query['maxDt'] = $request->maxDt; } if (!Utils::isUnset($request->minDt)) { $query['minDt'] = $request->minDt; } if (!Utils::isUnset($request->openTeamId)) { $query['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'IntentionStatistics', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/voices/dashboards/intentions/statistics', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IntentionStatisticsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param IntentionStatisticsRequest $request * * @return IntentionStatisticsResponse */ public function intentionStatistics($request) { $runtime = new RuntimeOptions([]); $headers = new IntentionStatisticsHeaders([]); return $this->intentionStatisticsWithOptions($request, $headers, $runtime); } /** * @param ListTicketOperateRecordRequest $request * @param ListTicketOperateRecordHeaders $headers * @param RuntimeOptions $runtime * * @return ListTicketOperateRecordResponse */ public function listTicketOperateRecordWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->openTeamId)) { $query['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->openTicketId)) { $query['openTicketId'] = $request->openTicketId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListTicketOperateRecord', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tickets/operateRecords', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListTicketOperateRecordResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListTicketOperateRecordRequest $request * * @return ListTicketOperateRecordResponse */ public function listTicketOperateRecord($request) { $runtime = new RuntimeOptions([]); $headers = new ListTicketOperateRecordHeaders([]); return $this->listTicketOperateRecordWithOptions($request, $headers, $runtime); } /** * @param string $userId * @param ListUserTeamsHeaders $headers * @param RuntimeOptions $runtime * * @return ListUserTeamsResponse */ public function listUserTeamsWithOptions($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' => 'ListUserTeams', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/users/' . $userId . '/teams', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListUserTeamsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * * @return ListUserTeamsResponse */ public function listUserTeams($userId) { $runtime = new RuntimeOptions([]); $headers = new ListUserTeamsHeaders([]); return $this->listUserTeamsWithOptions($userId, $headers, $runtime); } /** * @param QueryActiveUsersRequest $request * @param QueryActiveUsersHeaders $headers * @param RuntimeOptions $runtime * * @return QueryActiveUsersResponse */ public function queryActiveUsersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->openConversationId)) { $query['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openTeamId)) { $query['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->topN)) { $query['topN'] = $request->topN; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryActiveUsers', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groups/queryActiveUsers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryActiveUsersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryActiveUsersRequest $request * * @return QueryActiveUsersResponse */ public function queryActiveUsers($request) { $runtime = new RuntimeOptions([]); $headers = new QueryActiveUsersHeaders([]); return $this->queryActiveUsersWithOptions($request, $headers, $runtime); } /** * @param QueryCrmGroupContactRequest $request * @param QueryCrmGroupContactHeaders $headers * @param RuntimeOptions $runtime * * @return QueryCrmGroupContactResponse */ public function queryCrmGroupContactWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->minResult)) { $body['minResult'] = $request->minResult; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->searchFields)) { $body['searchFields'] = $request->searchFields; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryCrmGroupContact', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groups/contacts/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCrmGroupContactResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryCrmGroupContactRequest $request * * @return QueryCrmGroupContactResponse */ public function queryCrmGroupContact($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCrmGroupContactHeaders([]); return $this->queryCrmGroupContactWithOptions($request, $headers, $runtime); } /** * @param QueryCustomerCardRequest $request * @param QueryCustomerCardHeaders $headers * @param RuntimeOptions $runtime * * @return QueryCustomerCardResponse */ public function queryCustomerCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->jsonParams)) { $body['jsonParams'] = $request->jsonParams; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryCustomerCard', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/userDetials', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCustomerCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryCustomerCardRequest $request * * @return QueryCustomerCardResponse */ public function queryCustomerCard($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCustomerCardHeaders([]); return $this->queryCustomerCardWithOptions($request, $headers, $runtime); } /** * @param QueryCustomerTaskUserDetailRequest $request * @param QueryCustomerTaskUserDetailHeaders $headers * @param RuntimeOptions $runtime * * @return QueryCustomerTaskUserDetailResponse */ public function queryCustomerTaskUserDetailWithOptions($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->openBatchTaskId)) { $body['openBatchTaskId'] = $request->openBatchTaskId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->receiverUnionIds)) { $body['receiverUnionIds'] = $request->receiverUnionIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryCustomerTaskUserDetail', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/customers/tasks/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCustomerTaskUserDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryCustomerTaskUserDetailRequest $request * * @return QueryCustomerTaskUserDetailResponse */ public function queryCustomerTaskUserDetail($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCustomerTaskUserDetailHeaders([]); return $this->queryCustomerTaskUserDetailWithOptions($request, $headers, $runtime); } /** * @param QueryGroupRequest $request * @param QueryGroupHeaders $headers * @param RuntimeOptions $runtime * * @return QueryGroupResponse */ public function queryGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryGroup', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groups/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryGroupRequest $request * * @return QueryGroupResponse */ public function queryGroup($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGroupHeaders([]); return $this->queryGroupWithOptions($request, $headers, $runtime); } /** * @param QueryGroupMemberRequest $request * @param QueryGroupMemberHeaders $headers * @param RuntimeOptions $runtime * * @return QueryGroupMemberResponse */ public function queryGroupMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->targetCorpId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryGroupMember', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groups/members/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryGroupMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryGroupMemberRequest $request * * @return QueryGroupMemberResponse */ public function queryGroupMember($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGroupMemberHeaders([]); return $this->queryGroupMemberWithOptions($request, $headers, $runtime); } /** * @param QueryGroupSetRequest $request * @param QueryGroupSetHeaders $headers * @param RuntimeOptions $runtime * * @return QueryGroupSetResponse */ public function queryGroupSetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->openTeamId)) { $query['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryGroupSet', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groupSets', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryGroupSetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryGroupSetRequest $request * * @return QueryGroupSetResponse */ public function queryGroupSet($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGroupSetHeaders([]); return $this->queryGroupSetWithOptions($request, $headers, $runtime); } /** * @param QueryInstancesByMultiConditionsRequest $request * @param QueryInstancesByMultiConditionsHeaders $headers * @param RuntimeOptions $runtime * * @return QueryInstancesByMultiConditionsResponse */ public function queryInstancesByMultiConditionsWithOptions($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->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->searchFields)) { $body['searchFields'] = $request->searchFields; } if (!Utils::isUnset($request->sortFields)) { $body['sortFields'] = $request->sortFields; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryInstancesByMultiConditions', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/customForms/instances/multiConditions/batchQuery', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryInstancesByMultiConditionsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryInstancesByMultiConditionsRequest $request * * @return QueryInstancesByMultiConditionsResponse */ public function queryInstancesByMultiConditions($request) { $runtime = new RuntimeOptions([]); $headers = new QueryInstancesByMultiConditionsHeaders([]); return $this->queryInstancesByMultiConditionsWithOptions($request, $headers, $runtime); } /** * @param QuerySendMsgTaskStatisticsRequest $request * @param QuerySendMsgTaskStatisticsHeaders $headers * @param RuntimeOptions $runtime * * @return QuerySendMsgTaskStatisticsResponse */ public function querySendMsgTaskStatisticsWithOptions($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->openBatchTaskId)) { $body['openBatchTaskId'] = $request->openBatchTaskId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QuerySendMsgTaskStatistics', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tasks/statistics/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QuerySendMsgTaskStatisticsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QuerySendMsgTaskStatisticsRequest $request * * @return QuerySendMsgTaskStatisticsResponse */ public function querySendMsgTaskStatistics($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySendMsgTaskStatisticsHeaders([]); return $this->querySendMsgTaskStatisticsWithOptions($request, $headers, $runtime); } /** * @param QuerySendMsgTaskStatisticsDetailRequest $request * @param QuerySendMsgTaskStatisticsDetailHeaders $headers * @param RuntimeOptions $runtime * * @return QuerySendMsgTaskStatisticsDetailResponse */ public function querySendMsgTaskStatisticsDetailWithOptions($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->openBatchTaskId)) { $body['openBatchTaskId'] = $request->openBatchTaskId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QuerySendMsgTaskStatisticsDetail', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tasks/statistics/details/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QuerySendMsgTaskStatisticsDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QuerySendMsgTaskStatisticsDetailRequest $request * * @return QuerySendMsgTaskStatisticsDetailResponse */ public function querySendMsgTaskStatisticsDetail($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySendMsgTaskStatisticsDetailHeaders([]); return $this->querySendMsgTaskStatisticsDetailWithOptions($request, $headers, $runtime); } /** * @param QueryServiceGroupMessageReadStatusRequest $request * @param QueryServiceGroupMessageReadStatusHeaders $headers * @param RuntimeOptions $runtime * * @return QueryServiceGroupMessageReadStatusResponse */ public function queryServiceGroupMessageReadStatusWithOptions($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->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openMsgTaskId)) { $body['openMsgTaskId'] = $request->openMsgTaskId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryServiceGroupMessageReadStatus', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/messages/readStatus/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryServiceGroupMessageReadStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryServiceGroupMessageReadStatusRequest $request * * @return QueryServiceGroupMessageReadStatusResponse */ public function queryServiceGroupMessageReadStatus($request) { $runtime = new RuntimeOptions([]); $headers = new QueryServiceGroupMessageReadStatusHeaders([]); return $this->queryServiceGroupMessageReadStatusWithOptions($request, $headers, $runtime); } /** * @param QueueNotifyRequest $request * @param QueueNotifyHeaders $headers * @param RuntimeOptions $runtime * * @return QueueNotifyResponse */ public function queueNotifyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->estimateWaitMin)) { $body['estimateWaitMin'] = $request->estimateWaitMin; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->queuePlace)) { $body['queuePlace'] = $request->queuePlace; } if (!Utils::isUnset($request->serviceToken)) { $body['serviceToken'] = $request->serviceToken; } if (!Utils::isUnset($request->targetChannel)) { $body['targetChannel'] = $request->targetChannel; } if (!Utils::isUnset($request->tips)) { $body['tips'] = $request->tips; } if (!Utils::isUnset($request->visitorToken)) { $body['visitorToken'] = $request->visitorToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueueNotify', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/dts', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueueNotifyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueueNotifyRequest $request * * @return QueueNotifyResponse */ public function queueNotify($request) { $runtime = new RuntimeOptions([]); $headers = new QueueNotifyHeaders([]); return $this->queueNotifyWithOptions($request, $headers, $runtime); } /** * @param RemoveContactFromOrgRequest $request * @param RemoveContactFromOrgHeaders $headers * @param RuntimeOptions $runtime * * @return RemoveContactFromOrgResponse */ public function removeContactFromOrgWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->contactUnionId)) { $body['contactUnionId'] = $request->contactUnionId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RemoveContactFromOrg', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/organizations/contacts/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RemoveContactFromOrgResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RemoveContactFromOrgRequest $request * * @return RemoveContactFromOrgResponse */ public function removeContactFromOrg($request) { $runtime = new RuntimeOptions([]); $headers = new RemoveContactFromOrgHeaders([]); return $this->removeContactFromOrgWithOptions($request, $headers, $runtime); } /** * @param ReportCustomerDetailRequest $request * @param ReportCustomerDetailHeaders $headers * @param RuntimeOptions $runtime * * @return ReportCustomerDetailResponse */ public function reportCustomerDetailWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->hasLogin)) { $body['hasLogin'] = $request->hasLogin; } if (!Utils::isUnset($request->hasOpenConv)) { $body['hasOpenConv'] = $request->hasOpenConv; } if (!Utils::isUnset($request->maxDt)) { $body['maxDt'] = $request->maxDt; } if (!Utils::isUnset($request->minDt)) { $body['minDt'] = $request->minDt; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } 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' => 'ReportCustomerDetail', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/customers/activities/details/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ReportCustomerDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ReportCustomerDetailRequest $request * * @return ReportCustomerDetailResponse */ public function reportCustomerDetail($request) { $runtime = new RuntimeOptions([]); $headers = new ReportCustomerDetailHeaders([]); return $this->reportCustomerDetailWithOptions($request, $headers, $runtime); } /** * @param ReportCustomerStatisticsRequest $request * @param ReportCustomerStatisticsHeaders $headers * @param RuntimeOptions $runtime * * @return ReportCustomerStatisticsResponse */ public function reportCustomerStatisticsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupOwnerUserIds)) { $body['groupOwnerUserIds'] = $request->groupOwnerUserIds; } if (!Utils::isUnset($request->groupTags)) { $body['groupTags'] = $request->groupTags; } if (!Utils::isUnset($request->maxDt)) { $body['maxDt'] = $request->maxDt; } if (!Utils::isUnset($request->minDt)) { $body['minDt'] = $request->minDt; } if (!Utils::isUnset($request->openConversationIds)) { $body['openConversationIds'] = $request->openConversationIds; } if (!Utils::isUnset($request->openGroupSetId)) { $body['openGroupSetId'] = $request->openGroupSetId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } 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' => 'ReportCustomerStatistics', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/customers/activities/statistics/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ReportCustomerStatisticsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ReportCustomerStatisticsRequest $request * * @return ReportCustomerStatisticsResponse */ public function reportCustomerStatistics($request) { $runtime = new RuntimeOptions([]); $headers = new ReportCustomerStatisticsHeaders([]); return $this->reportCustomerStatisticsWithOptions($request, $headers, $runtime); } /** * @param ResubmitTicketRequest $request * @param ResubmitTicketHeaders $headers * @param RuntimeOptions $runtime * * @return ResubmitTicketResponse */ public function resubmitTicketWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->creatorUnionId)) { $body['creatorUnionId'] = $request->creatorUnionId; } if (!Utils::isUnset($request->customFields)) { $body['customFields'] = $request->customFields; } if (!Utils::isUnset($request->notify)) { $body['notify'] = $request->notify; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->openTemplateBizId)) { $body['openTemplateBizId'] = $request->openTemplateBizId; } if (!Utils::isUnset($request->openTicketId)) { $body['openTicketId'] = $request->openTicketId; } if (!Utils::isUnset($request->processorUnionIds)) { $body['processorUnionIds'] = $request->processorUnionIds; } if (!Utils::isUnset($request->scene)) { $body['scene'] = $request->scene; } if (!Utils::isUnset($request->sceneContext)) { $body['sceneContext'] = $request->sceneContext; } if (!Utils::isUnset($request->ticketMemo)) { $body['ticketMemo'] = $request->ticketMemo; } 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' => 'ResubmitTicket', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tickets/resubmit', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ResubmitTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ResubmitTicketRequest $request * * @return ResubmitTicketResponse */ public function resubmitTicket($request) { $runtime = new RuntimeOptions([]); $headers = new ResubmitTicketHeaders([]); return $this->resubmitTicketWithOptions($request, $headers, $runtime); } /** * @param RetractTicketRequest $request * @param RetractTicketHeaders $headers * @param RuntimeOptions $runtime * * @return RetractTicketResponse */ public function retractTicketWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->notify)) { $body['notify'] = $request->notify; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->openTicketId)) { $body['openTicketId'] = $request->openTicketId; } if (!Utils::isUnset($request->operatorUnionId)) { $body['operatorUnionId'] = $request->operatorUnionId; } if (!Utils::isUnset($request->ticketMemo)) { $body['ticketMemo'] = $request->ticketMemo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RetractTicket', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tickets/retract', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return RetractTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RetractTicketRequest $request * * @return RetractTicketResponse */ public function retractTicket($request) { $runtime = new RuntimeOptions([]); $headers = new RetractTicketHeaders([]); return $this->retractTicketWithOptions($request, $headers, $runtime); } /** * @param RobotMessageRecallRequest $request * @param RobotMessageRecallHeaders $headers * @param RuntimeOptions $runtime * * @return RobotMessageRecallResponse */ public function robotMessageRecallWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openMsgId)) { $body['openMsgId'] = $request->openMsgId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RobotMessageRecall', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/robots/messages/recall', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RobotMessageRecallResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RobotMessageRecallRequest $request * * @return RobotMessageRecallResponse */ public function robotMessageRecall($request) { $runtime = new RuntimeOptions([]); $headers = new RobotMessageRecallHeaders([]); return $this->robotMessageRecallWithOptions($request, $headers, $runtime); } /** * @param SaveFormInstanceRequest $request * @param SaveFormInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return SaveFormInstanceResponse */ public function saveFormInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->formDataList)) { $body['formDataList'] = $request->formDataList; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->operatorUnionId)) { $body['operatorUnionId'] = $request->operatorUnionId; } if (!Utils::isUnset($request->ownerUnionId)) { $body['ownerUnionId'] = $request->ownerUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SaveFormInstance', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/forms/instances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveFormInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SaveFormInstanceRequest $request * * @return SaveFormInstanceResponse */ public function saveFormInstance($request) { $runtime = new RuntimeOptions([]); $headers = new SaveFormInstanceHeaders([]); return $this->saveFormInstanceWithOptions($request, $headers, $runtime); } /** * @param SearchGroupRequest $request * @param SearchGroupHeaders $headers * @param RuntimeOptions $runtime * * @return SearchGroupResponse */ public function searchGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openGroupSetId)) { $body['openGroupSetId'] = $request->openGroupSetId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->searchType)) { $body['searchType'] = $request->searchType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SearchGroup', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groups/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return SearchGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchGroupRequest $request * * @return SearchGroupResponse */ public function searchGroup($request) { $runtime = new RuntimeOptions([]); $headers = new SearchGroupHeaders([]); return $this->searchGroupWithOptions($request, $headers, $runtime); } /** * @param SendMsgByTaskRequest $request * @param SendMsgByTaskHeaders $headers * @param RuntimeOptions $runtime * * @return SendMsgByTaskResponse */ public function sendMsgByTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->messageContent)) { $body['messageContent'] = $request->messageContent; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->queryGroup)) { $body['queryGroup'] = $request->queryGroup; } if (!Utils::isUnset($request->sendConfig)) { $body['sendConfig'] = $request->sendConfig; } if (!Utils::isUnset($request->taskName)) { $body['taskName'] = $request->taskName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendMsgByTask', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/messages/tasks/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendMsgByTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendMsgByTaskRequest $request * * @return SendMsgByTaskResponse */ public function sendMsgByTask($request) { $runtime = new RuntimeOptions([]); $headers = new SendMsgByTaskHeaders([]); return $this->sendMsgByTaskWithOptions($request, $headers, $runtime); } /** * @param SendMsgByTaskSupportInviteJoinOrgRequest $request * @param SendMsgByTaskSupportInviteJoinOrgHeaders $headers * @param RuntimeOptions $runtime * * @return SendMsgByTaskSupportInviteJoinOrgResponse */ public function sendMsgByTaskSupportInviteJoinOrgWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->messageContent)) { $body['messageContent'] = $request->messageContent; } if (!Utils::isUnset($request->mobilePhones)) { $body['mobilePhones'] = $request->mobilePhones; } if (!Utils::isUnset($request->needUrlTrack)) { $body['needUrlTrack'] = $request->needUrlTrack; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->sendChannel)) { $body['sendChannel'] = $request->sendChannel; } if (!Utils::isUnset($request->taskName)) { $body['taskName'] = $request->taskName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendMsgByTaskSupportInviteJoinOrg', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/customers/tasks/groupSend', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendMsgByTaskSupportInviteJoinOrgResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendMsgByTaskSupportInviteJoinOrgRequest $request * * @return SendMsgByTaskSupportInviteJoinOrgResponse */ public function sendMsgByTaskSupportInviteJoinOrg($request) { $runtime = new RuntimeOptions([]); $headers = new SendMsgByTaskSupportInviteJoinOrgHeaders([]); return $this->sendMsgByTaskSupportInviteJoinOrgWithOptions($request, $headers, $runtime); } /** * @param SendServiceGroupMessageRequest $request * @param SendServiceGroupMessageHeaders $headers * @param RuntimeOptions $runtime * * @return SendServiceGroupMessageResponse */ public function sendServiceGroupMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->atDingtalkIds)) { $body['atDingtalkIds'] = $request->atDingtalkIds; } if (!Utils::isUnset($request->atMobiles)) { $body['atMobiles'] = $request->atMobiles; } if (!Utils::isUnset($request->atUnionIds)) { $body['atUnionIds'] = $request->atUnionIds; } if (!Utils::isUnset($request->btnOrientation)) { $body['btnOrientation'] = $request->btnOrientation; } if (!Utils::isUnset($request->btns)) { $body['btns'] = $request->btns; } if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->hasContentLinks)) { $body['hasContentLinks'] = $request->hasContentLinks; } if (!Utils::isUnset($request->isAtAll)) { $body['isAtAll'] = $request->isAtAll; } if (!Utils::isUnset($request->messageType)) { $body['messageType'] = $request->messageType; } if (!Utils::isUnset($request->receiverDingtalkIds)) { $body['receiverDingtalkIds'] = $request->receiverDingtalkIds; } if (!Utils::isUnset($request->receiverMobiles)) { $body['receiverMobiles'] = $request->receiverMobiles; } if (!Utils::isUnset($request->receiverUnionIds)) { $body['receiverUnionIds'] = $request->receiverUnionIds; } if (!Utils::isUnset($request->targetOpenConversationId)) { $body['targetOpenConversationId'] = $request->targetOpenConversationId; } 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' => 'SendServiceGroupMessage', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/messages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendServiceGroupMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendServiceGroupMessageRequest $request * * @return SendServiceGroupMessageResponse */ public function sendServiceGroupMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendServiceGroupMessageHeaders([]); return $this->sendServiceGroupMessageWithOptions($request, $headers, $runtime); } /** * @param SetRobotConfigRequest $request * @param SetRobotConfigHeaders $headers * @param RuntimeOptions $runtime * * @return SetRobotConfigResponse */ public function setRobotConfigWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->dingIsvOrgId)) { $body['dingIsvOrgId'] = $request->dingIsvOrgId; } if (!Utils::isUnset($request->dingOrgId)) { $body['dingOrgId'] = $request->dingOrgId; } if (!Utils::isUnset($request->dingSuiteKey)) { $body['dingSuiteKey'] = $request->dingSuiteKey; } if (!Utils::isUnset($request->dingTokenGrantType)) { $body['dingTokenGrantType'] = $request->dingTokenGrantType; } if (!Utils::isUnset($request->openGroupSetId)) { $body['openGroupSetId'] = $request->openGroupSetId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } 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' => 'SetRobotConfig', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groups/configs/set', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SetRobotConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SetRobotConfigRequest $request * * @return SetRobotConfigResponse */ public function setRobotConfig($request) { $runtime = new RuntimeOptions([]); $headers = new SetRobotConfigHeaders([]); return $this->setRobotConfigWithOptions($request, $headers, $runtime); } /** * @param TakeTicketRequest $request * @param TakeTicketHeaders $headers * @param RuntimeOptions $runtime * * @return TakeTicketResponse */ public function takeTicketWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->openTicketId)) { $body['openTicketId'] = $request->openTicketId; } if (!Utils::isUnset($request->takerUnionId)) { $body['takerUnionId'] = $request->takerUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'TakeTicket', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tickets/apply', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return TakeTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param TakeTicketRequest $request * * @return TakeTicketResponse */ public function takeTicket($request) { $runtime = new RuntimeOptions([]); $headers = new TakeTicketHeaders([]); return $this->takeTicketWithOptions($request, $headers, $runtime); } /** * @param TopicStatisticsRequest $request * @param TopicStatisticsHeaders $headers * @param RuntimeOptions $runtime * * @return TopicStatisticsResponse */ public function topicStatisticsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxDt)) { $query['maxDt'] = $request->maxDt; } if (!Utils::isUnset($request->minDt)) { $query['minDt'] = $request->minDt; } if (!Utils::isUnset($request->openConversationIds)) { $query['openConversationIds'] = $request->openConversationIds; } if (!Utils::isUnset($request->openTeamId)) { $query['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->searchContent)) { $query['searchContent'] = $request->searchContent; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'TopicStatistics', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/voices/topics/statistics', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return TopicStatisticsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param TopicStatisticsRequest $request * * @return TopicStatisticsResponse */ public function topicStatistics($request) { $runtime = new RuntimeOptions([]); $headers = new TopicStatisticsHeaders([]); return $this->topicStatisticsWithOptions($request, $headers, $runtime); } /** * @param TransferTicketRequest $request * @param TransferTicketHeaders $headers * @param RuntimeOptions $runtime * * @return TransferTicketResponse */ public function transferTicketWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->notify)) { $body['notify'] = $request->notify; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->openTicketId)) { $body['openTicketId'] = $request->openTicketId; } if (!Utils::isUnset($request->processorUnionId)) { $body['processorUnionId'] = $request->processorUnionId; } if (!Utils::isUnset($request->processorUnionIds)) { $body['processorUnionIds'] = $request->processorUnionIds; } if (!Utils::isUnset($request->ticketMemo)) { $body['ticketMemo'] = $request->ticketMemo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'TransferTicket', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tickets/transfer', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return TransferTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param TransferTicketRequest $request * * @return TransferTicketResponse */ public function transferTicket($request) { $runtime = new RuntimeOptions([]); $headers = new TransferTicketHeaders([]); return $this->transferTicketWithOptions($request, $headers, $runtime); } /** * @param UpdateGroupSetRequest $request * @param UpdateGroupSetHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateGroupSetResponse */ public function updateGroupSetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openGroupSetId)) { $body['openGroupSetId'] = $request->openGroupSetId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->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' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/groups/configurations', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateGroupSetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateGroupSetRequest $request * * @return UpdateGroupSetResponse */ public function updateGroupSet($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateGroupSetHeaders([]); return $this->updateGroupSetWithOptions($request, $headers, $runtime); } /** * @param UpdateGroupTagRequest $request * @param UpdateGroupTagHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateGroupTagResponse */ public function updateGroupTagWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationIds)) { $body['openConversationIds'] = $request->openConversationIds; } if (!Utils::isUnset($request->tagNames)) { $body['tagNames'] = $request->tagNames; } if (!Utils::isUnset($request->updateType)) { $body['updateType'] = $request->updateType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateGroupTag', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tags', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateGroupTagResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateGroupTagRequest $request * * @return UpdateGroupTagResponse */ public function updateGroupTag($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateGroupTagHeaders([]); return $this->updateGroupTagWithOptions($request, $headers, $runtime); } /** * @param UpdateInstanceRequest $request * @param UpdateInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateInstanceResponse */ public function updateInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->externalBizId)) { $body['externalBizId'] = $request->externalBizId; } if (!Utils::isUnset($request->formCode)) { $body['formCode'] = $request->formCode; } if (!Utils::isUnset($request->formDataList)) { $body['formDataList'] = $request->formDataList; } if (!Utils::isUnset($request->openDataInstanceId)) { $body['openDataInstanceId'] = $request->openDataInstanceId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->operatorUnionId)) { $body['operatorUnionId'] = $request->operatorUnionId; } if (!Utils::isUnset($request->ownerUnionId)) { $body['ownerUnionId'] = $request->ownerUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateInstance', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/customForms/instances', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateInstanceRequest $request * * @return UpdateInstanceResponse */ public function updateInstance($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInstanceHeaders([]); return $this->updateInstanceWithOptions($request, $headers, $runtime); } /** * @param UpdateTicketRequest $request * @param UpdateTicketHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateTicketResponse */ public function updateTicketWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->customFields)) { $body['customFields'] = $request->customFields; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->openTicketId)) { $body['openTicketId'] = $request->openTicketId; } if (!Utils::isUnset($request->processorUnionId)) { $body['processorUnionId'] = $request->processorUnionId; } if (!Utils::isUnset($request->ticketMemo)) { $body['ticketMemo'] = $request->ticketMemo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateTicket', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tickets', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateTicketRequest $request * * @return UpdateTicketResponse */ public function updateTicket($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTicketHeaders([]); return $this->updateTicketWithOptions($request, $headers, $runtime); } /** * @param UpgradeCloudGroupRequest $request * @param UpgradeCloudGroupHeaders $headers * @param RuntimeOptions $runtime * * @return UpgradeCloudGroupResponse */ public function upgradeCloudGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->ccsInstanceId)) { $body['ccsInstanceId'] = $request->ccsInstanceId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openGroupSetId)) { $body['openGroupSetId'] = $request->openGroupSetId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } 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' => 'UpgradeCloudGroup', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/cloudGroups/upgrade', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpgradeCloudGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpgradeCloudGroupRequest $request * * @return UpgradeCloudGroupResponse */ public function upgradeCloudGroup($request) { $runtime = new RuntimeOptions([]); $headers = new UpgradeCloudGroupHeaders([]); return $this->upgradeCloudGroupWithOptions($request, $headers, $runtime); } /** * @param UpgradeNormalGroupRequest $request * @param UpgradeNormalGroupHeaders $headers * @param RuntimeOptions $runtime * * @return UpgradeNormalGroupResponse */ public function upgradeNormalGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->openGroupSetId)) { $body['openGroupSetId'] = $request->openGroupSetId; } if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } 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' => 'UpgradeNormalGroup', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/normalGroups/upgrade', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpgradeNormalGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpgradeNormalGroupRequest $request * * @return UpgradeNormalGroupResponse */ public function upgradeNormalGroup($request) { $runtime = new RuntimeOptions([]); $headers = new UpgradeNormalGroupHeaders([]); return $this->upgradeNormalGroupWithOptions($request, $headers, $runtime); } /** * @param UrgeTicketRequest $request * @param UrgeTicketHeaders $headers * @param RuntimeOptions $runtime * * @return UrgeTicketResponse */ public function urgeTicketWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openTeamId)) { $body['openTeamId'] = $request->openTeamId; } if (!Utils::isUnset($request->openTicketId)) { $body['openTicketId'] = $request->openTicketId; } if (!Utils::isUnset($request->operatorUnionId)) { $body['operatorUnionId'] = $request->operatorUnionId; } if (!Utils::isUnset($request->ticketMemo)) { $body['ticketMemo'] = $request->ticketMemo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UrgeTicket', 'version' => 'serviceGroup_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/serviceGroup/tickets/urge', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UrgeTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UrgeTicketRequest $request * * @return UrgeTicketResponse */ public function urgeTicket($request) { $runtime = new RuntimeOptions([]); $headers = new UrgeTicketHeaders([]); return $this->urgeTicketWithOptions($request, $headers, $runtime); } } src/service_group_1_0/Models/AddContactMemberToGroupHeaders.php000064400000002363146412132660020563 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddContactMemberToGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/AddContactMemberToGroupRequest.php000064400000004574146412132660020646 0ustar00 'fissionType', 'memberUnionId' => 'memberUnionId', 'memberUserId' => 'memberUserId', 'openConversationId' => 'openConversationId', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fissionType) { $res['fissionType'] = $this->fissionType; } if (null !== $this->memberUnionId) { $res['memberUnionId'] = $this->memberUnionId; } if (null !== $this->memberUserId) { $res['memberUserId'] = $this->memberUserId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return AddContactMemberToGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fissionType'])) { $model->fissionType = $map['fissionType']; } if (isset($map['memberUnionId'])) { $model->memberUnionId = $map['memberUnionId']; } if (isset($map['memberUserId'])) { $model->memberUserId = $map['memberUserId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/AddContactMemberToGroupResponse.php000064400000002777146412132660021017 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddContactMemberToGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddContactMemberToGroupResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/AddContactMemberToGroupResponseBody.php000064400000001524146412132660021622 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AddContactMemberToGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/service_group_1_0/Models/AddKnowledgeHeaders.php000064400000002335146412132660016436 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddKnowledgeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/AddKnowledgeRequest.php000064400000014035146412132660016513 0ustar00 'attachmentList', 'content' => 'content', 'effectTimeend' => 'effectTimeend', 'effectTimestart' => 'effectTimestart', 'extTitle' => 'extTitle', 'keyword' => 'keyword', 'libraryKey' => 'libraryKey', 'linkUrl' => 'linkUrl', 'openTeamId' => 'openTeamId', 'questionIds' => 'questionIds', 'source' => 'source', 'sourcePrimaryKey' => 'sourcePrimaryKey', 'title' => 'title', 'type' => 'type', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachmentList) { $res['attachmentList'] = []; if (null !== $this->attachmentList && \is_array($this->attachmentList)) { $n = 0; foreach ($this->attachmentList as $item) { $res['attachmentList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->effectTimeend) { $res['effectTimeend'] = $this->effectTimeend; } if (null !== $this->effectTimestart) { $res['effectTimestart'] = $this->effectTimestart; } if (null !== $this->extTitle) { $res['extTitle'] = $this->extTitle; } if (null !== $this->keyword) { $res['keyword'] = $this->keyword; } if (null !== $this->libraryKey) { $res['libraryKey'] = $this->libraryKey; } if (null !== $this->linkUrl) { $res['linkUrl'] = $this->linkUrl; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->questionIds) { $res['questionIds'] = $this->questionIds; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->sourcePrimaryKey) { $res['sourcePrimaryKey'] = $this->sourcePrimaryKey; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return AddKnowledgeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachmentList'])) { if (!empty($map['attachmentList'])) { $model->attachmentList = []; $n = 0; foreach ($map['attachmentList'] as $item) { $model->attachmentList[$n++] = null !== $item ? attachmentList::fromMap($item) : $item; } } } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['effectTimeend'])) { $model->effectTimeend = $map['effectTimeend']; } if (isset($map['effectTimestart'])) { $model->effectTimestart = $map['effectTimestart']; } if (isset($map['extTitle'])) { $model->extTitle = $map['extTitle']; } if (isset($map['keyword'])) { $model->keyword = $map['keyword']; } if (isset($map['libraryKey'])) { $model->libraryKey = $map['libraryKey']; } if (isset($map['linkUrl'])) { $model->linkUrl = $map['linkUrl']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['questionIds'])) { if (!empty($map['questionIds'])) { $model->questionIds = $map['questionIds']; } } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['sourcePrimaryKey'])) { $model->sourcePrimaryKey = $map['sourcePrimaryKey']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/service_group_1_0/Models/AddKnowledgeRequest/attachmentList.php000064400000003740146412132660021500 0ustar00 'mime_type', 'path' => 'path', 'size' => 'size', 'suffix' => 'suffix', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mimeType) { $res['mime_type'] = $this->mimeType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->suffix) { $res['suffix'] = $this->suffix; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return attachmentList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mime_type'])) { $model->mimeType = $map['mime_type']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['suffix'])) { $model->suffix = $map['suffix']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/service_group_1_0/Models/AddKnowledgeResponse.php000064400000002723146412132660016662 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddKnowledgeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddKnowledgeResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/AddKnowledgeResponseBody.php000064400000001663146412132660017502 0ustar00 'openKnowledgeId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openKnowledgeId) { $res['openKnowledgeId'] = $this->openKnowledgeId; } return $res; } /** * @param array $map * * @return AddKnowledgeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openKnowledgeId'])) { $model->openKnowledgeId = $map['openKnowledgeId']; } return $model; } } src/service_group_1_0/Models/AddLibraryHeaders.php000064400000002331146412132660016117 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddLibraryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/AddLibraryRequest.php000064400000005533146412132660016203 0ustar00 'description', 'openTeamIds' => 'openTeamIds', 'source' => 'source', 'sourcePrimaryKey' => 'sourcePrimaryKey', 'title' => 'title', 'type' => 'type', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->openTeamIds) { $res['openTeamIds'] = $this->openTeamIds; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->sourcePrimaryKey) { $res['sourcePrimaryKey'] = $this->sourcePrimaryKey; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return AddLibraryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['openTeamIds'])) { if (!empty($map['openTeamIds'])) { $model->openTeamIds = $map['openTeamIds']; } } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['sourcePrimaryKey'])) { $model->sourcePrimaryKey = $map['sourcePrimaryKey']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/service_group_1_0/Models/AddLibraryResponse.php000064400000002713146412132660016346 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddLibraryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddLibraryResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/AddLibraryResponseBody.php000064400000001503146412132660017160 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AddLibraryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/service_group_1_0/Models/AddMemberToServiceGroupHeaders.php000064400000002363146412132660020570 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddMemberToServiceGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/AddMemberToServiceGroupRequest.php000064400000003225146412132660020643 0ustar00 'openConversationId', 'openTeamId' => 'openTeamId', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return AddMemberToServiceGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/service_group_1_0/Models/AddMemberToServiceGroupResponse.php000064400000002777146412132660021024 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddMemberToServiceGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddMemberToServiceGroupResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/AddMemberToServiceGroupResponseBody.php000064400000001535146412132660021631 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AddMemberToServiceGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/service_group_1_0/Models/AddOpenCategoryHeaders.php000064400000002343146412132660017115 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddOpenCategoryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/AddOpenCategoryRequest.php000064400000004652146412132660017177 0ustar00 'libraryId', 'openTeamId' => 'openTeamId', 'parentId' => 'parentId', 'title' => 'title', 'userId' => 'userId', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->libraryId) { $res['libraryId'] = $this->libraryId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return AddOpenCategoryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['libraryId'])) { $model->libraryId = $map['libraryId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/service_group_1_0/Models/AddOpenCategoryResponse.php000064400000002737146412132660017347 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddOpenCategoryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddOpenCategoryResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/AddOpenCategoryResponseBody.php000064400000002447146412132660020163 0ustar00 '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 AddOpenCategoryResponseBody */ 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/service_group_1_0/Models/AddOpenCategoryResponseBody/result.php000064400000002642146412132660021476 0ustar00 'id', 'message' => 'message', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->message) { $res['message'] = $this->message; } 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['id'])) { $model->id = $map['id']; } if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/service_group_1_0/Models/AddOpenKnowledgeHeaders.php000064400000002345146412132660017261 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddOpenKnowledgeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/AddOpenKnowledgeRequest.php000064400000014076146412132660017342 0ustar00 'attachments', 'categoryId' => 'categoryId', 'content' => 'content', 'effectTimeend' => 'effectTimeend', 'effectTimestart' => 'effectTimestart', 'extTitle' => 'extTitle', 'keyword' => 'keyword', 'libraryId' => 'libraryId', 'openTeamId' => 'openTeamId', 'source' => 'source', 'tags' => 'tags', 'title' => 'title', 'type' => 'type', 'userId' => 'userId', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->categoryId) { $res['categoryId'] = $this->categoryId; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->effectTimeend) { $res['effectTimeend'] = $this->effectTimeend; } if (null !== $this->effectTimestart) { $res['effectTimestart'] = $this->effectTimestart; } if (null !== $this->extTitle) { $res['extTitle'] = $this->extTitle; } if (null !== $this->keyword) { $res['keyword'] = $this->keyword; } if (null !== $this->libraryId) { $res['libraryId'] = $this->libraryId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->tags) { $res['tags'] = $this->tags; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return AddOpenKnowledgeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['categoryId'])) { $model->categoryId = $map['categoryId']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['effectTimeend'])) { $model->effectTimeend = $map['effectTimeend']; } if (isset($map['effectTimestart'])) { $model->effectTimestart = $map['effectTimestart']; } if (isset($map['extTitle'])) { $model->extTitle = $map['extTitle']; } if (isset($map['keyword'])) { $model->keyword = $map['keyword']; } if (isset($map['libraryId'])) { $model->libraryId = $map['libraryId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['tags'])) { $model->tags = $map['tags']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/service_group_1_0/Models/AddOpenKnowledgeRequest/attachments.php000064400000004072146412132660021650 0ustar00 'mimeType', 'path' => 'path', 'size' => 'size', 'suffix' => 'suffix', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mimeType) { $res['mimeType'] = $this->mimeType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->suffix) { $res['suffix'] = $this->suffix; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return attachments */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mimeType'])) { $model->mimeType = $map['mimeType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['suffix'])) { $model->suffix = $map['suffix']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/service_group_1_0/Models/AddOpenKnowledgeResponse.php000064400000002743146412132660017506 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddOpenKnowledgeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddOpenKnowledgeResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/AddOpenKnowledgeResponseBody.php000064400000002453146412132660020322 0ustar00 '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 AddOpenKnowledgeResponseBody */ 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/service_group_1_0/Models/AddOpenKnowledgeResponseBody/result.php000064400000002652146412132660021641 0ustar00 'id', 'message' => 'message', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->message) { $res['message'] = $this->message; } 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['id'])) { $model->id = $map['id']; } if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/service_group_1_0/Models/AddOpenLibraryHeaders.php000064400000002341146412132660016742 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddOpenLibraryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/AddOpenLibraryRequest.php000064400000005352146412132660017024 0ustar00 'description', 'openTeamId' => 'openTeamId', 'source' => 'source', 'title' => 'title', 'type' => 'type', 'userId' => 'userId', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return AddOpenLibraryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/service_group_1_0/Models/AddOpenLibraryResponse.php000064400000002733146412132660017172 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddOpenLibraryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddOpenLibraryResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/AddOpenLibraryResponseBody.php000064400000002413146412132660020003 0ustar00 '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 AddOpenLibraryResponseBody */ 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/service_group_1_0/Models/AddOpenLibraryResponseBody/result.php000064400000002567146412132660021333 0ustar00 'id', 'message' => 'message', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->message) { $res['message'] = $this->message; } 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['id'])) { $model->id = $map['id']; } if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/service_group_1_0/Models/AddTicketMemoHeaders.php000064400000002337146412132660016562 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddTicketMemoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/AddTicketMemoRequest.php000064400000004146146412132660016637 0ustar00 'openTeamId', 'openTicketId' => 'openTicketId', 'processorUnionId' => 'processorUnionId', 'ticketMemo' => 'ticketMemo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->openTicketId) { $res['openTicketId'] = $this->openTicketId; } if (null !== $this->processorUnionId) { $res['processorUnionId'] = $this->processorUnionId; } if (null !== $this->ticketMemo) { $res['ticketMemo'] = null !== $this->ticketMemo ? $this->ticketMemo->toMap() : null; } return $res; } /** * @param array $map * * @return AddTicketMemoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['openTicketId'])) { $model->openTicketId = $map['openTicketId']; } if (isset($map['processorUnionId'])) { $model->processorUnionId = $map['processorUnionId']; } if (isset($map['ticketMemo'])) { $model->ticketMemo = ticketMemo::fromMap($map['ticketMemo']); } return $model; } } src/service_group_1_0/Models/AddTicketMemoRequest/ticketMemo.php000064400000003406146412132660020736 0ustar00 'attachments', 'memo' => 'memo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->memo) { $res['memo'] = $this->memo; } return $res; } /** * @param array $map * * @return ticketMemo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['memo'])) { $model->memo = $map['memo']; } return $model; } } src/service_group_1_0/Models/AddTicketMemoRequest/ticketMemo/attachments.php000064400000002330146412132660023244 0ustar00 'fileName', 'key' => 'key', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->key) { $res['key'] = $this->key; } return $res; } /** * @param array $map * * @return attachments */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['key'])) { $model->key = $map['key']; } return $model; } } src/service_group_1_0/Models/AddTicketMemoResponse.php000064400000002167146412132660017006 0ustar00 '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 AddTicketMemoResponse */ 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/service_group_1_0/Models/AssignTicketHeaders.php000064400000002335146412132660016476 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AssignTicketHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/AssignTicketRequest.php000064400000005616146412132660016560 0ustar00 'notify', 'openTeamId' => 'openTeamId', 'openTicketId' => 'openTicketId', 'operatorUnionId' => 'operatorUnionId', 'processorUnionIds' => 'processorUnionIds', 'ticketMemo' => 'ticketMemo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->notify) { $res['notify'] = null !== $this->notify ? $this->notify->toMap() : null; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->openTicketId) { $res['openTicketId'] = $this->openTicketId; } if (null !== $this->operatorUnionId) { $res['operatorUnionId'] = $this->operatorUnionId; } if (null !== $this->processorUnionIds) { $res['processorUnionIds'] = $this->processorUnionIds; } if (null !== $this->ticketMemo) { $res['ticketMemo'] = null !== $this->ticketMemo ? $this->ticketMemo->toMap() : null; } return $res; } /** * @param array $map * * @return AssignTicketRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['notify'])) { $model->notify = notify::fromMap($map['notify']); } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['openTicketId'])) { $model->openTicketId = $map['openTicketId']; } if (isset($map['operatorUnionId'])) { $model->operatorUnionId = $map['operatorUnionId']; } if (isset($map['processorUnionIds'])) { if (!empty($map['processorUnionIds'])) { $model->processorUnionIds = $map['processorUnionIds']; } } if (isset($map['ticketMemo'])) { $model->ticketMemo = ticketMemo::fromMap($map['ticketMemo']); } return $model; } } src/service_group_1_0/Models/AssignTicketRequest/notify.php000064400000004002146412132660020054 0ustar00 'groupNoticeReceiverUnionIds', 'noticeAllGroupMember' => 'noticeAllGroupMember', 'workNoticeReceiverUnionIds' => 'workNoticeReceiverUnionIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupNoticeReceiverUnionIds) { $res['groupNoticeReceiverUnionIds'] = $this->groupNoticeReceiverUnionIds; } if (null !== $this->noticeAllGroupMember) { $res['noticeAllGroupMember'] = $this->noticeAllGroupMember; } if (null !== $this->workNoticeReceiverUnionIds) { $res['workNoticeReceiverUnionIds'] = $this->workNoticeReceiverUnionIds; } return $res; } /** * @param array $map * * @return notify */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupNoticeReceiverUnionIds'])) { if (!empty($map['groupNoticeReceiverUnionIds'])) { $model->groupNoticeReceiverUnionIds = $map['groupNoticeReceiverUnionIds']; } } if (isset($map['noticeAllGroupMember'])) { $model->noticeAllGroupMember = $map['noticeAllGroupMember']; } if (isset($map['workNoticeReceiverUnionIds'])) { if (!empty($map['workNoticeReceiverUnionIds'])) { $model->workNoticeReceiverUnionIds = $map['workNoticeReceiverUnionIds']; } } return $model; } } src/service_group_1_0/Models/AssignTicketRequest/ticketMemo.php000064400000003404146412132660020652 0ustar00 'attachments', 'memo' => 'memo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->memo) { $res['memo'] = $this->memo; } return $res; } /** * @param array $map * * @return ticketMemo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['memo'])) { $model->memo = $map['memo']; } return $model; } } src/service_group_1_0/Models/AssignTicketRequest/ticketMemo/attachments.php000064400000002327146412132660023170 0ustar00 'fileName', 'key' => 'key', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->key) { $res['key'] = $this->key; } return $res; } /** * @param array $map * * @return attachments */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['key'])) { $model->key = $map['key']; } return $model; } } src/service_group_1_0/Models/AssignTicketResponse.php000064400000002165146412132660016722 0ustar00 '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 AssignTicketResponse */ 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/service_group_1_0/Models/BatchBindingGroupBizIdsHeaders.php000064400000002363146412132660020545 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchBindingGroupBizIdsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/BatchBindingGroupBizIdsRequest.php000064400000003716146412132660020625 0ustar00 'bindingGroupBizIds', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bindingGroupBizIds) { $res['bindingGroupBizIds'] = []; if (null !== $this->bindingGroupBizIds && \is_array($this->bindingGroupBizIds)) { $n = 0; foreach ($this->bindingGroupBizIds as $item) { $res['bindingGroupBizIds'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return BatchBindingGroupBizIdsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bindingGroupBizIds'])) { if (!empty($map['bindingGroupBizIds'])) { $model->bindingGroupBizIds = []; $n = 0; foreach ($map['bindingGroupBizIds'] as $item) { $model->bindingGroupBizIds[$n++] = null !== $item ? bindingGroupBizIds::fromMap($item) : $item; } } } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/BatchBindingGroupBizIdsRequest/bindingGroupBizIds.php000064400000002421146412132660024351 0ustar00 'bizId', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return bindingGroupBizIds */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/service_group_1_0/Models/BatchBindingGroupBizIdsResponse.php000064400000002777146412132660021001 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchBindingGroupBizIdsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchBindingGroupBizIdsResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/BatchBindingGroupBizIdsResponseBody.php000064400000001560146412132660021604 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return BatchBindingGroupBizIdsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/service_group_1_0/Models/BatchGetGroupSetConfigHeaders.php000064400000002361146412132660020405 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchGetGroupSetConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/BatchGetGroupSetConfigRequest.php000064400000003100146412132660020452 0ustar00 'configKeys', 'openGroupSetId' => 'openGroupSetId', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->configKeys) { $res['configKeys'] = $this->configKeys; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return BatchGetGroupSetConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['configKeys'])) { if (!empty($map['configKeys'])) { $model->configKeys = $map['configKeys']; } } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/BatchGetGroupSetConfigResponse.php000064400000002773146412132660020637 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchGetGroupSetConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchGetGroupSetConfigResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/BatchGetGroupSetConfigResponseBody.php000064400000003113146412132660021442 0ustar00 'groupSetConfigs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupSetConfigs) { $res['groupSetConfigs'] = []; if (null !== $this->groupSetConfigs && \is_array($this->groupSetConfigs)) { $n = 0; foreach ($this->groupSetConfigs as $item) { $res['groupSetConfigs'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchGetGroupSetConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupSetConfigs'])) { if (!empty($map['groupSetConfigs'])) { $model->groupSetConfigs = []; $n = 0; foreach ($map['groupSetConfigs'] as $item) { $model->groupSetConfigs[$n++] = null !== $item ? groupSetConfigs::fromMap($item) : $item; } } } return $model; } } src/service_group_1_0/Models/BatchGetGroupSetConfigResponseBody/groupSetConfigs.php000064400000002346146412132660024572 0ustar00 'configKey', 'configValue' => 'configValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->configKey) { $res['configKey'] = $this->configKey; } if (null !== $this->configValue) { $res['configValue'] = $this->configValue; } return $res; } /** * @param array $map * * @return groupSetConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['configKey'])) { $model->configKey = $map['configKey']; } if (isset($map['configValue'])) { $model->configValue = $map['configValue']; } return $model; } } src/service_group_1_0/Models/BatchQueryCustomerSendTaskHeaders.php000064400000002371146412132660021334 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchQueryCustomerSendTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/BatchQueryCustomerSendTaskRequest.php000064400000006645146412132660021421 0ustar00 'gmtCreateEnd', 'gmtCreateStart' => 'gmtCreateStart', 'maxResults' => 'maxResults', 'needRichStatistics' => 'needRichStatistics', 'nextToken' => 'nextToken', 'openBatchTaskIds' => 'openBatchTaskIds', 'openTeamId' => 'openTeamId', 'taskName' => 'taskName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->gmtCreateEnd) { $res['gmtCreateEnd'] = $this->gmtCreateEnd; } if (null !== $this->gmtCreateStart) { $res['gmtCreateStart'] = $this->gmtCreateStart; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->needRichStatistics) { $res['needRichStatistics'] = $this->needRichStatistics; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->openBatchTaskIds) { $res['openBatchTaskIds'] = $this->openBatchTaskIds; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->taskName) { $res['taskName'] = $this->taskName; } return $res; } /** * @param array $map * * @return BatchQueryCustomerSendTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['gmtCreateEnd'])) { $model->gmtCreateEnd = $map['gmtCreateEnd']; } if (isset($map['gmtCreateStart'])) { $model->gmtCreateStart = $map['gmtCreateStart']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['needRichStatistics'])) { $model->needRichStatistics = $map['needRichStatistics']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['openBatchTaskIds'])) { if (!empty($map['openBatchTaskIds'])) { $model->openBatchTaskIds = $map['openBatchTaskIds']; } } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['taskName'])) { $model->taskName = $map['taskName']; } return $model; } } src/service_group_1_0/Models/BatchQueryCustomerSendTaskResponse.php000064400000003013146412132660021551 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchQueryCustomerSendTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchQueryCustomerSendTaskResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/BatchQueryCustomerSendTaskResponseBody.php000064400000004643146412132660022401 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'records' => 'records', 'totalCount' => 'totalCount', ]; 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->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; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return BatchQueryCustomerSendTaskResponseBody */ 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['records'])) { if (!empty($map['records'])) { $model->records = []; $n = 0; foreach ($map['records'] as $item) { $model->records[$n++] = null !== $item ? records::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/service_group_1_0/Models/BatchQueryCustomerSendTaskResponseBody/records.php000064400000011154146412132660024035 0ustar00 'createName', 'createTimeStr' => 'createTimeStr', 'createUnionId' => 'createUnionId', 'openBatchTaskId' => 'openBatchTaskId', 'readCustomerInc' => 'readCustomerInc', 'readUserInc' => 'readUserInc', 'sendCustomerInc' => 'sendCustomerInc', 'sendMessageStatus' => 'sendMessageStatus', 'sendTaskTimeStr' => 'sendTaskTimeStr', 'sendUserInc' => 'sendUserInc', 'taskName' => 'taskName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createName) { $res['createName'] = $this->createName; } if (null !== $this->createTimeStr) { $res['createTimeStr'] = $this->createTimeStr; } if (null !== $this->createUnionId) { $res['createUnionId'] = $this->createUnionId; } if (null !== $this->openBatchTaskId) { $res['openBatchTaskId'] = $this->openBatchTaskId; } if (null !== $this->readCustomerInc) { $res['readCustomerInc'] = $this->readCustomerInc; } if (null !== $this->readUserInc) { $res['readUserInc'] = $this->readUserInc; } if (null !== $this->sendCustomerInc) { $res['sendCustomerInc'] = $this->sendCustomerInc; } if (null !== $this->sendMessageStatus) { $res['sendMessageStatus'] = $this->sendMessageStatus; } if (null !== $this->sendTaskTimeStr) { $res['sendTaskTimeStr'] = $this->sendTaskTimeStr; } if (null !== $this->sendUserInc) { $res['sendUserInc'] = $this->sendUserInc; } if (null !== $this->taskName) { $res['taskName'] = $this->taskName; } return $res; } /** * @param array $map * * @return records */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createName'])) { $model->createName = $map['createName']; } if (isset($map['createTimeStr'])) { $model->createTimeStr = $map['createTimeStr']; } if (isset($map['createUnionId'])) { $model->createUnionId = $map['createUnionId']; } if (isset($map['openBatchTaskId'])) { $model->openBatchTaskId = $map['openBatchTaskId']; } if (isset($map['readCustomerInc'])) { $model->readCustomerInc = $map['readCustomerInc']; } if (isset($map['readUserInc'])) { $model->readUserInc = $map['readUserInc']; } if (isset($map['sendCustomerInc'])) { $model->sendCustomerInc = $map['sendCustomerInc']; } if (isset($map['sendMessageStatus'])) { $model->sendMessageStatus = $map['sendMessageStatus']; } if (isset($map['sendTaskTimeStr'])) { $model->sendTaskTimeStr = $map['sendTaskTimeStr']; } if (isset($map['sendUserInc'])) { $model->sendUserInc = $map['sendUserInc']; } if (isset($map['taskName'])) { $model->taskName = $map['taskName']; } return $model; } } src/service_group_1_0/Models/BatchQueryGroupMemberHeaders.php000064400000002357146412132660020326 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchQueryGroupMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/BatchQueryGroupMemberRequest.php000064400000003705146412132660020401 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'openConversationId' => 'openConversationId', 'openTeamId' => 'openTeamId', ]; 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->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return BatchQueryGroupMemberRequest */ 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['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/BatchQueryGroupMemberResponse.php000064400000002767146412132660020556 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchQueryGroupMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchQueryGroupMemberResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/BatchQueryGroupMemberResponseBody.php000064400000004617146412132660021370 0ustar00 'hasMore', 'nextToken' => 'nextToken', 'openConversationId' => 'openConversationId', 'records' => 'records', ]; 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->openConversationId) { $res['openConversationId'] = $this->openConversationId; } 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 BatchQueryGroupMemberResponseBody */ 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['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } 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/service_group_1_0/Models/BatchQueryGroupMemberResponseBody/records.php000064400000003670146412132660023027 0ustar00 'innerStaff', 'nickName' => 'nickName', 'owner' => 'owner', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->innerStaff) { $res['innerStaff'] = $this->innerStaff; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->owner) { $res['owner'] = $this->owner; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } 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['innerStaff'])) { $model->innerStaff = $map['innerStaff']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['owner'])) { $model->owner = $map['owner']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/service_group_1_0/Models/BatchQuerySendMessageTaskHeaders.php000064400000002367146412132660021124 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchQuerySendMessageTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/BatchQuerySendMessageTaskRequest.php000064400000006524146412132660021200 0ustar00 'getReadCount', 'gmtCreateEnd' => 'gmtCreateEnd', 'gmtCreateStart' => 'gmtCreateStart', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'openGroupSetId' => 'openGroupSetId', 'openTeamId' => 'openTeamId', 'taskName' => 'taskName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->getReadCount) { $res['getReadCount'] = $this->getReadCount; } if (null !== $this->gmtCreateEnd) { $res['gmtCreateEnd'] = $this->gmtCreateEnd; } if (null !== $this->gmtCreateStart) { $res['gmtCreateStart'] = $this->gmtCreateStart; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->taskName) { $res['taskName'] = $this->taskName; } return $res; } /** * @param array $map * * @return BatchQuerySendMessageTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['getReadCount'])) { $model->getReadCount = $map['getReadCount']; } if (isset($map['gmtCreateEnd'])) { $model->gmtCreateEnd = $map['gmtCreateEnd']; } if (isset($map['gmtCreateStart'])) { $model->gmtCreateStart = $map['gmtCreateStart']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['taskName'])) { $model->taskName = $map['taskName']; } return $model; } } src/service_group_1_0/Models/BatchQuerySendMessageTaskResponse.php000064400000003007146412132660021337 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchQuerySendMessageTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchQuerySendMessageTaskResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/BatchQuerySendMessageTaskResponseBody.php000064400000004521146412132660022157 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'records' => 'records', 'totalCount' => 'totalCount', ]; 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->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; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return BatchQuerySendMessageTaskResponseBody */ 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['records'])) { if (!empty($map['records'])) { $model->records = []; $n = 0; foreach ($map['records'] as $item) { $model->records[$n++] = null !== $item ? records::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/service_group_1_0/Models/BatchQuerySendMessageTaskResponseBody/records.php000064400000006771146412132660023631 0ustar00 'createName', 'createTimeStr' => 'createTimeStr', 'createUnionId' => 'createUnionId', 'openBatchTaskId' => 'openBatchTaskId', 'readGroupInc' => 'readGroupInc', 'sendGroupInc' => 'sendGroupInc', 'sendMessageStatus' => 'sendMessageStatus', 'sendTaskTimeStr' => 'sendTaskTimeStr', 'taskName' => 'taskName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createName) { $res['createName'] = $this->createName; } if (null !== $this->createTimeStr) { $res['createTimeStr'] = $this->createTimeStr; } if (null !== $this->createUnionId) { $res['createUnionId'] = $this->createUnionId; } if (null !== $this->openBatchTaskId) { $res['openBatchTaskId'] = $this->openBatchTaskId; } if (null !== $this->readGroupInc) { $res['readGroupInc'] = $this->readGroupInc; } if (null !== $this->sendGroupInc) { $res['sendGroupInc'] = $this->sendGroupInc; } if (null !== $this->sendMessageStatus) { $res['sendMessageStatus'] = $this->sendMessageStatus; } if (null !== $this->sendTaskTimeStr) { $res['sendTaskTimeStr'] = $this->sendTaskTimeStr; } if (null !== $this->taskName) { $res['taskName'] = $this->taskName; } return $res; } /** * @param array $map * * @return records */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createName'])) { $model->createName = $map['createName']; } if (isset($map['createTimeStr'])) { $model->createTimeStr = $map['createTimeStr']; } if (isset($map['createUnionId'])) { $model->createUnionId = $map['createUnionId']; } if (isset($map['openBatchTaskId'])) { $model->openBatchTaskId = $map['openBatchTaskId']; } if (isset($map['readGroupInc'])) { $model->readGroupInc = $map['readGroupInc']; } if (isset($map['sendGroupInc'])) { $model->sendGroupInc = $map['sendGroupInc']; } if (isset($map['sendMessageStatus'])) { $model->sendMessageStatus = $map['sendMessageStatus']; } if (isset($map['sendTaskTimeStr'])) { $model->sendTaskTimeStr = $map['sendTaskTimeStr']; } if (isset($map['taskName'])) { $model->taskName = $map['taskName']; } return $model; } } src/service_group_1_0/Models/BoundTemplateToTeamHeaders.php000064400000002353146412132660017763 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BoundTemplateToTeamHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/BoundTemplateToTeamRequest.php000064400000005153146412132660020041 0ustar00 'openTeamId', 'robotConfig' => 'robotConfig', 'templateDesc' => 'templateDesc', 'templateId' => 'templateId', 'templateName' => 'templateName', 'templateType' => 'templateType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->robotConfig) { $res['robotConfig'] = $this->robotConfig; } if (null !== $this->templateDesc) { $res['templateDesc'] = $this->templateDesc; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->templateName) { $res['templateName'] = $this->templateName; } if (null !== $this->templateType) { $res['templateType'] = $this->templateType; } return $res; } /** * @param array $map * * @return BoundTemplateToTeamRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['robotConfig'])) { $model->robotConfig = $map['robotConfig']; } if (isset($map['templateDesc'])) { $model->templateDesc = $map['templateDesc']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['templateName'])) { $model->templateName = $map['templateName']; } if (isset($map['templateType'])) { $model->templateType = $map['templateType']; } return $model; } } src/service_group_1_0/Models/BoundTemplateToTeamResponse.php000064400000002757146412132660020216 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BoundTemplateToTeamResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BoundTemplateToTeamResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/BoundTemplateToTeamResponseBody.php000064400000001514146412132660021022 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return BoundTemplateToTeamResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/service_group_1_0/Models/CancelTicketHeaders.php000064400000002335146412132660016437 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CancelTicketHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/CancelTicketRequest.php000064400000004774146412132660016525 0ustar00 'notify', 'openTeamId' => 'openTeamId', 'openTicketId' => 'openTicketId', 'operatorUnionId' => 'operatorUnionId', 'ticketMemo' => 'ticketMemo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->notify) { $res['notify'] = null !== $this->notify ? $this->notify->toMap() : null; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->openTicketId) { $res['openTicketId'] = $this->openTicketId; } if (null !== $this->operatorUnionId) { $res['operatorUnionId'] = $this->operatorUnionId; } if (null !== $this->ticketMemo) { $res['ticketMemo'] = null !== $this->ticketMemo ? $this->ticketMemo->toMap() : null; } return $res; } /** * @param array $map * * @return CancelTicketRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['notify'])) { $model->notify = notify::fromMap($map['notify']); } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['openTicketId'])) { $model->openTicketId = $map['openTicketId']; } if (isset($map['operatorUnionId'])) { $model->operatorUnionId = $map['operatorUnionId']; } if (isset($map['ticketMemo'])) { $model->ticketMemo = ticketMemo::fromMap($map['ticketMemo']); } return $model; } } src/service_group_1_0/Models/CancelTicketRequest/notify.php000064400000004002146412132660020015 0ustar00 'groupNoticeReceiverUnionIds', 'noticeAllGroupMember' => 'noticeAllGroupMember', 'workNoticeReceiverUnionIds' => 'workNoticeReceiverUnionIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupNoticeReceiverUnionIds) { $res['groupNoticeReceiverUnionIds'] = $this->groupNoticeReceiverUnionIds; } if (null !== $this->noticeAllGroupMember) { $res['noticeAllGroupMember'] = $this->noticeAllGroupMember; } if (null !== $this->workNoticeReceiverUnionIds) { $res['workNoticeReceiverUnionIds'] = $this->workNoticeReceiverUnionIds; } return $res; } /** * @param array $map * * @return notify */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupNoticeReceiverUnionIds'])) { if (!empty($map['groupNoticeReceiverUnionIds'])) { $model->groupNoticeReceiverUnionIds = $map['groupNoticeReceiverUnionIds']; } } if (isset($map['noticeAllGroupMember'])) { $model->noticeAllGroupMember = $map['noticeAllGroupMember']; } if (isset($map['workNoticeReceiverUnionIds'])) { if (!empty($map['workNoticeReceiverUnionIds'])) { $model->workNoticeReceiverUnionIds = $map['workNoticeReceiverUnionIds']; } } return $model; } } src/service_group_1_0/Models/CancelTicketRequest/ticketMemo.php000064400000003404146412132660020613 0ustar00 'attachments', 'memo' => 'memo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->memo) { $res['memo'] = $this->memo; } return $res; } /** * @param array $map * * @return ticketMemo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['memo'])) { $model->memo = $map['memo']; } return $model; } } src/service_group_1_0/Models/CancelTicketRequest/ticketMemo/attachments.php000064400000002327146412132660023131 0ustar00 'fileName', 'key' => 'key', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->key) { $res['key'] = $this->key; } return $res; } /** * @param array $map * * @return attachments */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['key'])) { $model->key = $map['key']; } return $model; } } src/service_group_1_0/Models/CancelTicketResponse.php000064400000002165146412132660016663 0ustar00 '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 CancelTicketResponse */ 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/service_group_1_0/Models/CategoryStatisticsHeaders.php000064400000002351146412132660017734 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CategoryStatisticsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/CategoryStatisticsRequest.php000064400000002731146412132660020013 0ustar00 'maxDt', 'minDt' => 'minDt', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxDt) { $res['maxDt'] = $this->maxDt; } if (null !== $this->minDt) { $res['minDt'] = $this->minDt; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return CategoryStatisticsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxDt'])) { $model->maxDt = $map['maxDt']; } if (isset($map['minDt'])) { $model->minDt = $map['minDt']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/CategoryStatisticsResponse.php000064400000002753146412132660020165 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CategoryStatisticsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CategoryStatisticsResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/CategoryStatisticsResponseBody.php000064400000005334146412132660021001 0ustar00 'categoryStatisticsRecords', 'categoryTrend' => 'categoryTrend', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->categoryStatisticsRecords) { $res['categoryStatisticsRecords'] = []; if (null !== $this->categoryStatisticsRecords && \is_array($this->categoryStatisticsRecords)) { $n = 0; foreach ($this->categoryStatisticsRecords as $item) { $res['categoryStatisticsRecords'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->categoryTrend) { $res['categoryTrend'] = []; if (null !== $this->categoryTrend && \is_array($this->categoryTrend)) { $n = 0; foreach ($this->categoryTrend as $item) { $res['categoryTrend'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CategoryStatisticsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['categoryStatisticsRecords'])) { if (!empty($map['categoryStatisticsRecords'])) { $model->categoryStatisticsRecords = []; $n = 0; foreach ($map['categoryStatisticsRecords'] as $item) { $model->categoryStatisticsRecords[$n++] = null !== $item ? categoryStatisticsRecords::fromMap($item) : $item; } } } if (isset($map['categoryTrend'])) { if (!empty($map['categoryTrend'])) { $model->categoryTrend = []; $n = 0; foreach ($map['categoryTrend'] as $item) { $model->categoryTrend[$n++] = null !== $item ? categoryTrend::fromMap($item) : $item; } } } return $model; } } src/service_group_1_0/Models/CategoryStatisticsResponseBody/categoryStatisticsRecords.php000064400000002724146412132660026213 0ustar00 'count', 'lastCount' => 'lastCount', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->lastCount) { $res['lastCount'] = $this->lastCount; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return categoryStatisticsRecords */ public static function fromMap($map = []) { $model = new self(); if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['lastCount'])) { $model->lastCount = $map['lastCount']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/service_group_1_0/Models/CategoryStatisticsResponseBody/categoryTrend.php000064400000002602146412132660023606 0ustar00 'count', 'dt' => 'dt', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->dt) { $res['dt'] = $this->dt; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return categoryTrend */ public static function fromMap($map = []) { $model = new self(); if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['dt'])) { $model->dt = $map['dt']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/service_group_1_0/Models/CloseConversationHeaders.php000064400000002347146412132660017551 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CloseConversationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/CloseConversationRequest.php000064400000004716146412132660017630 0ustar00 'conversationId', 'openTeamId' => 'openTeamId', 'serverTips' => 'serverTips', 'serviceToken' => 'serviceToken', 'targetChannel' => 'targetChannel', 'visitorToken' => 'visitorToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->serverTips) { $res['serverTips'] = $this->serverTips; } if (null !== $this->serviceToken) { $res['serviceToken'] = $this->serviceToken; } if (null !== $this->targetChannel) { $res['targetChannel'] = $this->targetChannel; } if (null !== $this->visitorToken) { $res['visitorToken'] = $this->visitorToken; } return $res; } /** * @param array $map * * @return CloseConversationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['serverTips'])) { $model->serverTips = $map['serverTips']; } if (isset($map['serviceToken'])) { $model->serviceToken = $map['serviceToken']; } if (isset($map['targetChannel'])) { $model->targetChannel = $map['targetChannel']; } if (isset($map['visitorToken'])) { $model->visitorToken = $map['visitorToken']; } return $model; } } src/service_group_1_0/Models/CloseConversationResponse.php000064400000002747146412132660020000 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CloseConversationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CloseConversationResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/CloseConversationResponseBody.php000064400000003361146412132660020607 0ustar00 'dingOpenErrcode', 'errorMsg' => 'errorMsg', 'result' => 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingOpenErrcode) { $res['dingOpenErrcode'] = $this->dingOpenErrcode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CloseConversationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingOpenErrcode'])) { $model->dingOpenErrcode = $map['dingOpenErrcode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/service_group_1_0/Models/CloseHumanSessionHeaders.php000064400000002347146412132660017513 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CloseHumanSessionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/CloseHumanSessionRequest.php000064400000002346146412132660017567 0ustar00 'openConversationId', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return CloseHumanSessionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/CloseHumanSessionResponse.php000064400000002747146412132660017742 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CloseHumanSessionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CloseHumanSessionResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/CloseHumanSessionResponseBody.php000064400000001542146412132660020550 0ustar00 'sessionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sessionId) { $res['sessionId'] = $this->sessionId; } return $res; } /** * @param array $map * * @return CloseHumanSessionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sessionId'])) { $model->sessionId = $map['sessionId']; } return $model; } } src/service_group_1_0/Models/ConversationCreatedNotifyHeaders.php000064400000002367146412132660021246 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ConversationCreatedNotifyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/ConversationCreatedNotifyRequest.php000064400000007456146412132660021327 0ustar00 'alipayUserId', 'conversationId' => 'conversationId', 'nickName' => 'nickName', 'openTeamId' => 'openTeamId', 'serverName' => 'serverName', 'serverTips' => 'serverTips', 'serviceToken' => 'serviceToken', 'timeoutRemindTips' => 'timeoutRemindTips', 'userId' => 'userId', 'visitorToken' => 'visitorToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alipayUserId) { $res['alipayUserId'] = $this->alipayUserId; } if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->serverName) { $res['serverName'] = $this->serverName; } if (null !== $this->serverTips) { $res['serverTips'] = $this->serverTips; } if (null !== $this->serviceToken) { $res['serviceToken'] = $this->serviceToken; } if (null !== $this->timeoutRemindTips) { $res['timeoutRemindTips'] = $this->timeoutRemindTips; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->visitorToken) { $res['visitorToken'] = $this->visitorToken; } return $res; } /** * @param array $map * * @return ConversationCreatedNotifyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alipayUserId'])) { $model->alipayUserId = $map['alipayUserId']; } if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['serverName'])) { $model->serverName = $map['serverName']; } if (isset($map['serverTips'])) { $model->serverTips = $map['serverTips']; } if (isset($map['serviceToken'])) { $model->serviceToken = $map['serviceToken']; } if (isset($map['timeoutRemindTips'])) { $model->timeoutRemindTips = $map['timeoutRemindTips']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['visitorToken'])) { $model->visitorToken = $map['visitorToken']; } return $model; } } src/service_group_1_0/Models/ConversationCreatedNotifyResponse.php000064400000003007146412132660021461 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ConversationCreatedNotifyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ConversationCreatedNotifyResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/ConversationCreatedNotifyResponseBody.php000064400000003471146412132660022304 0ustar00 'dingOpenErrcode', 'errorMsg' => 'errorMsg', 'result' => 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingOpenErrcode) { $res['dingOpenErrcode'] = $this->dingOpenErrcode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ConversationCreatedNotifyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingOpenErrcode'])) { $model->dingOpenErrcode = $map['dingOpenErrcode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/service_group_1_0/Models/ConversationTransferBeginNotifyHeaders.php000064400000002403146412132660022417 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ConversationTransferBeginNotifyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/ConversationTransferBeginNotifyRequest.php000064400000005052146412132660022477 0ustar00 'conversationId', 'memo' => 'memo', 'openTeamId' => 'openTeamId', 'serviceToken' => 'serviceToken', 'sourceSkillGroupId' => 'sourceSkillGroupId', 'targetSkillGroupId' => 'targetSkillGroupId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->memo) { $res['memo'] = $this->memo; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->serviceToken) { $res['serviceToken'] = $this->serviceToken; } if (null !== $this->sourceSkillGroupId) { $res['sourceSkillGroupId'] = $this->sourceSkillGroupId; } if (null !== $this->targetSkillGroupId) { $res['targetSkillGroupId'] = $this->targetSkillGroupId; } return $res; } /** * @param array $map * * @return ConversationTransferBeginNotifyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['memo'])) { $model->memo = $map['memo']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['serviceToken'])) { $model->serviceToken = $map['serviceToken']; } if (isset($map['sourceSkillGroupId'])) { $model->sourceSkillGroupId = $map['sourceSkillGroupId']; } if (isset($map['targetSkillGroupId'])) { $model->targetSkillGroupId = $map['targetSkillGroupId']; } return $model; } } src/service_group_1_0/Models/ConversationTransferBeginNotifyResponse.php000064400000003037146412132660022646 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ConversationTransferBeginNotifyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ConversationTransferBeginNotifyResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/ConversationTransferBeginNotifyResponseBody.php000064400000003415146412132660023464 0ustar00 'dingOpenErrcode', 'errorMsg' => 'errorMsg', 'result' => 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingOpenErrcode) { $res['dingOpenErrcode'] = $this->dingOpenErrcode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ConversationTransferBeginNotifyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingOpenErrcode'])) { $model->dingOpenErrcode = $map['dingOpenErrcode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/service_group_1_0/Models/ConversationTransferCompleteNotifyHeaders.php000064400000002411146412132660023142 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ConversationTransferCompleteNotifyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/ConversationTransferCompleteNotifyRequest.php000064400000005356146412132660023232 0ustar00 'alipayUserId', 'conversationId' => 'conversationId', 'nickName' => 'nickName', 'openTeamId' => 'openTeamId', 'serviceToken' => 'serviceToken', 'userId' => 'userId', 'visitorToken' => 'visitorToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alipayUserId) { $res['alipayUserId'] = $this->alipayUserId; } if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->serviceToken) { $res['serviceToken'] = $this->serviceToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->visitorToken) { $res['visitorToken'] = $this->visitorToken; } return $res; } /** * @param array $map * * @return ConversationTransferCompleteNotifyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alipayUserId'])) { $model->alipayUserId = $map['alipayUserId']; } if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['serviceToken'])) { $model->serviceToken = $map['serviceToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['visitorToken'])) { $model->visitorToken = $map['visitorToken']; } return $model; } } src/service_group_1_0/Models/ConversationTransferCompleteNotifyResponse.php000064400000003053146412132660023370 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ConversationTransferCompleteNotifyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ConversationTransferCompleteNotifyResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/ConversationTransferCompleteNotifyResponseBody.php000064400000003423146412132660024207 0ustar00 'dingOpenErrcode', 'errorMsg' => 'errorMsg', 'result' => 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingOpenErrcode) { $res['dingOpenErrcode'] = $this->dingOpenErrcode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ConversationTransferCompleteNotifyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingOpenErrcode'])) { $model->dingOpenErrcode = $map['dingOpenErrcode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/service_group_1_0/Models/CreateGroupConversationHeaders.php000064400000002363146412132660020722 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateGroupConversationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/CreateGroupConversationRequest.php000064400000007223146412132660020777 0ustar00 'corpId', 'dingGroupId' => 'dingGroupId', 'dingSuiteKey' => 'dingSuiteKey', 'dingTokenGrantType' => 'dingTokenGrantType', 'dingUserId' => 'dingUserId', 'dingUserName' => 'dingUserName', 'extValues' => 'extValues', 'openTeamId' => 'openTeamId', 'serverGroupId' => 'serverGroupId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->dingGroupId) { $res['dingGroupId'] = $this->dingGroupId; } if (null !== $this->dingSuiteKey) { $res['dingSuiteKey'] = $this->dingSuiteKey; } if (null !== $this->dingTokenGrantType) { $res['dingTokenGrantType'] = $this->dingTokenGrantType; } if (null !== $this->dingUserId) { $res['dingUserId'] = $this->dingUserId; } if (null !== $this->dingUserName) { $res['dingUserName'] = $this->dingUserName; } if (null !== $this->extValues) { $res['extValues'] = $this->extValues; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->serverGroupId) { $res['serverGroupId'] = $this->serverGroupId; } return $res; } /** * @param array $map * * @return CreateGroupConversationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['dingGroupId'])) { $model->dingGroupId = $map['dingGroupId']; } if (isset($map['dingSuiteKey'])) { $model->dingSuiteKey = $map['dingSuiteKey']; } if (isset($map['dingTokenGrantType'])) { $model->dingTokenGrantType = $map['dingTokenGrantType']; } if (isset($map['dingUserId'])) { $model->dingUserId = $map['dingUserId']; } if (isset($map['dingUserName'])) { $model->dingUserName = $map['dingUserName']; } if (isset($map['extValues'])) { $model->extValues = $map['extValues']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['serverGroupId'])) { $model->serverGroupId = $map['serverGroupId']; } return $model; } } src/service_group_1_0/Models/CreateGroupConversationResponse.php000064400000002777146412132660021156 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateGroupConversationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateGroupConversationResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/CreateGroupConversationResponseBody.php000064400000003566146412132660021771 0ustar00 'dingOpenErrcode', 'errorMsg' => 'errorMsg', 'result' => 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingOpenErrcode) { $res['dingOpenErrcode'] = $this->dingOpenErrcode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateGroupConversationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingOpenErrcode'])) { $model->dingOpenErrcode = $map['dingOpenErrcode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/service_group_1_0/Models/CreateGroupHeaders.php000064400000002333146412132660016324 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/service_group_1_0/Models/CreateGroupRequest.php000064400000006064146412132660016406 0ustar00 'groupBizId', 'groupName' => 'groupName', 'groupTagNames' => 'groupTagNames', 'memberStaffIds' => 'memberStaffIds', 'openGroupSetId' => 'openGroupSetId', 'openTeamId' => 'openTeamId', 'ownerStaffId' => 'ownerStaffId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupBizId) { $res['groupBizId'] = $this->groupBizId; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->groupTagNames) { $res['groupTagNames'] = $this->groupTagNames; } if (null !== $this->memberStaffIds) { $res['memberStaffIds'] = $this->memberStaffIds; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->ownerStaffId) { $res['ownerStaffId'] = $this->ownerStaffId; } return $res; } /** * @param array $map * * @return CreateGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupBizId'])) { $model->groupBizId = $map['groupBizId']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['groupTagNames'])) { if (!empty($map['groupTagNames'])) { $model->groupTagNames = $map['groupTagNames']; } } if (isset($map['memberStaffIds'])) { if (!empty($map['memberStaffIds'])) { $model->memberStaffIds = $map['memberStaffIds']; } } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['ownerStaffId'])) { $model->ownerStaffId = $map['ownerStaffId']; } return $model; } } src/service_group_1_0/Models/CreateGroupResponse.php000064400000002717146412132660016555 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/service_group_1_0/Models/CreateGroupResponseBody.php000064400000002453146412132660017370 0ustar00 'groupUrl', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupUrl) { $res['groupUrl'] = $this->groupUrl; } 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['groupUrl'])) { $model->groupUrl = $map['groupUrl']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/service_group_1_0/Models/CreateGroupSetHeaders.php000064400000002341146412132660016777 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/service_group_1_0/Models/CreateGroupSetRequest.php000064400000003011146412132660017047 0ustar00 'groupSetName', 'groupTemplateId' => 'groupTemplateId', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupSetName) { $res['groupSetName'] = $this->groupSetName; } if (null !== $this->groupTemplateId) { $res['groupTemplateId'] = $this->groupTemplateId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return CreateGroupSetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupSetName'])) { $model->groupSetName = $map['groupSetName']; } if (isset($map['groupTemplateId'])) { $model->groupTemplateId = $map['groupTemplateId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/CreateGroupSetResponse.php000064400000002733146412132660017227 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/service_group_1_0/Models/CreateGroupSetResponseBody.php000064400000001504146412132660020040 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CreateGroupSetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/service_group_1_0/Models/CreateInstanceHeaders.php000064400000002341146412132660016773 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/CreateInstanceRequest.php000064400000005716146412132660017061 0ustar00 'channel', 'externalBizId' => 'externalBizId', 'formCode' => 'formCode', 'formDataList' => 'formDataList', 'openTeamId' => 'openTeamId', 'operatorUnionId' => 'operatorUnionId', 'ownerUnionId' => 'ownerUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->channel) { $res['channel'] = $this->channel; } if (null !== $this->externalBizId) { $res['externalBizId'] = $this->externalBizId; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->formDataList) { $res['formDataList'] = $this->formDataList; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->operatorUnionId) { $res['operatorUnionId'] = $this->operatorUnionId; } if (null !== $this->ownerUnionId) { $res['ownerUnionId'] = $this->ownerUnionId; } return $res; } /** * @param array $map * * @return CreateInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['channel'])) { $model->channel = $map['channel']; } if (isset($map['externalBizId'])) { $model->externalBizId = $map['externalBizId']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['formDataList'])) { $model->formDataList = $map['formDataList']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['operatorUnionId'])) { $model->operatorUnionId = $map['operatorUnionId']; } if (isset($map['ownerUnionId'])) { $model->ownerUnionId = $map['ownerUnionId']; } return $model; } } src/service_group_1_0/Models/CreateInstanceResponse.php000064400000002733146412132660017223 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateInstanceResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/CreateInstanceResponseBody.php000064400000001717146412132660020042 0ustar00 'openDataInstanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openDataInstanceId) { $res['openDataInstanceId'] = $this->openDataInstanceId; } return $res; } /** * @param array $map * * @return CreateInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openDataInstanceId'])) { $model->openDataInstanceId = $map['openDataInstanceId']; } return $model; } } src/service_group_1_0/Models/CreateTeamHeaders.php000064400000002331146412132660016114 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateTeamHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/CreateTeamRequest.php000064400000002310146412132660016166 0ustar00 'creatorDingUnionId', 'teamName' => 'teamName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorDingUnionId) { $res['creatorDingUnionId'] = $this->creatorDingUnionId; } if (null !== $this->teamName) { $res['teamName'] = $this->teamName; } return $res; } /** * @param array $map * * @return CreateTeamRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorDingUnionId'])) { $model->creatorDingUnionId = $map['creatorDingUnionId']; } if (isset($map['teamName'])) { $model->teamName = $map['teamName']; } return $model; } } src/service_group_1_0/Models/CreateTeamResponse.php000064400000002713146412132660016343 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTeamResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateTeamResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/CreateTeamResponseBody.php000064400000001474146412132660017164 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CreateTeamResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/service_group_1_0/Models/CreateTicketHeaders.php000064400000002335146412132660016455 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/service_group_1_0/Models/CreateTicketRequest.php000064400000007750146412132660016540 0ustar00 'creatorUnionId', 'customFields' => 'customFields', 'notify' => 'notify', 'openTeamId' => 'openTeamId', 'openTemplateBizId' => 'openTemplateBizId', 'processorUnionIds' => 'processorUnionIds', 'scene' => 'scene', 'sceneContext' => 'sceneContext', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->customFields) { $res['customFields'] = $this->customFields; } if (null !== $this->notify) { $res['notify'] = null !== $this->notify ? $this->notify->toMap() : null; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->openTemplateBizId) { $res['openTemplateBizId'] = $this->openTemplateBizId; } if (null !== $this->processorUnionIds) { $res['processorUnionIds'] = $this->processorUnionIds; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->sceneContext) { $res['sceneContext'] = null !== $this->sceneContext ? $this->sceneContext->toMap() : null; } 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['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['customFields'])) { $model->customFields = $map['customFields']; } if (isset($map['notify'])) { $model->notify = notify::fromMap($map['notify']); } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['openTemplateBizId'])) { $model->openTemplateBizId = $map['openTemplateBizId']; } if (isset($map['processorUnionIds'])) { if (!empty($map['processorUnionIds'])) { $model->processorUnionIds = $map['processorUnionIds']; } } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['sceneContext'])) { $model->sceneContext = sceneContext::fromMap($map['sceneContext']); } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/service_group_1_0/Models/CreateTicketRequest/notify.php000064400000004002146412132660020033 0ustar00 'groupNoticeReceiverUnionIds', 'noticeAllGroupMember' => 'noticeAllGroupMember', 'workNoticeReceiverUnionIds' => 'workNoticeReceiverUnionIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupNoticeReceiverUnionIds) { $res['groupNoticeReceiverUnionIds'] = $this->groupNoticeReceiverUnionIds; } if (null !== $this->noticeAllGroupMember) { $res['noticeAllGroupMember'] = $this->noticeAllGroupMember; } if (null !== $this->workNoticeReceiverUnionIds) { $res['workNoticeReceiverUnionIds'] = $this->workNoticeReceiverUnionIds; } return $res; } /** * @param array $map * * @return notify */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupNoticeReceiverUnionIds'])) { if (!empty($map['groupNoticeReceiverUnionIds'])) { $model->groupNoticeReceiverUnionIds = $map['groupNoticeReceiverUnionIds']; } } if (isset($map['noticeAllGroupMember'])) { $model->noticeAllGroupMember = $map['noticeAllGroupMember']; } if (isset($map['workNoticeReceiverUnionIds'])) { if (!empty($map['workNoticeReceiverUnionIds'])) { $model->workNoticeReceiverUnionIds = $map['workNoticeReceiverUnionIds']; } } return $model; } } src/service_group_1_0/Models/CreateTicketRequest/sceneContext.php000064400000005231146412132660021172 0ustar00 'groupMsgs', 'openConversationId' => 'openConversationId', 'relevantorUnionIds' => 'relevantorUnionIds', 'topicId' => 'topicId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupMsgs) { $res['groupMsgs'] = []; if (null !== $this->groupMsgs && \is_array($this->groupMsgs)) { $n = 0; foreach ($this->groupMsgs as $item) { $res['groupMsgs'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->relevantorUnionIds) { $res['relevantorUnionIds'] = $this->relevantorUnionIds; } if (null !== $this->topicId) { $res['topicId'] = $this->topicId; } return $res; } /** * @param array $map * * @return sceneContext */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupMsgs'])) { if (!empty($map['groupMsgs'])) { $model->groupMsgs = []; $n = 0; foreach ($map['groupMsgs'] as $item) { $model->groupMsgs[$n++] = null !== $item ? groupMsgs::fromMap($item) : $item; } } } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['relevantorUnionIds'])) { if (!empty($map['relevantorUnionIds'])) { $model->relevantorUnionIds = $map['relevantorUnionIds']; } } if (isset($map['topicId'])) { $model->topicId = $map['topicId']; } return $model; } } src/service_group_1_0/Models/CreateTicketRequest/sceneContext/groupMsgs.php000064400000002274146412132660023164 0ustar00 'anchor', 'openMsgId' => 'openMsgId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->anchor) { $res['anchor'] = $this->anchor; } if (null !== $this->openMsgId) { $res['openMsgId'] = $this->openMsgId; } return $res; } /** * @param array $map * * @return groupMsgs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['anchor'])) { $model->anchor = $map['anchor']; } if (isset($map['openMsgId'])) { $model->openMsgId = $map['openMsgId']; } return $model; } } src/service_group_1_0/Models/CreateTicketResponse.php000064400000002723146412132660016701 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/service_group_1_0/Models/CreateTicketResponseBody.php000064400000001566146412132660017523 0ustar00 'openTicketId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openTicketId) { $res['openTicketId'] = $this->openTicketId; } return $res; } /** * @param array $map * * @return CreateTicketResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openTicketId'])) { $model->openTicketId = $map['openTicketId']; } return $model; } } src/service_group_1_0/Models/CustomerSendMsgTaskHeaders.php000064400000002353146412132660020013 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CustomerSendMsgTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/CustomerSendMsgTaskRequest.php000064400000005267146412132660020077 0ustar00 'messageContent', 'openTeamId' => 'openTeamId', 'queryCustomer' => 'queryCustomer', 'sendConfig' => 'sendConfig', 'taskName' => 'taskName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messageContent) { $res['messageContent'] = null !== $this->messageContent ? $this->messageContent->toMap() : null; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->queryCustomer) { $res['queryCustomer'] = null !== $this->queryCustomer ? $this->queryCustomer->toMap() : null; } if (null !== $this->sendConfig) { $res['sendConfig'] = null !== $this->sendConfig ? $this->sendConfig->toMap() : null; } if (null !== $this->taskName) { $res['taskName'] = $this->taskName; } return $res; } /** * @param array $map * * @return CustomerSendMsgTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messageContent'])) { $model->messageContent = messageContent::fromMap($map['messageContent']); } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['queryCustomer'])) { $model->queryCustomer = queryCustomer::fromMap($map['queryCustomer']); } if (isset($map['sendConfig'])) { $model->sendConfig = sendConfig::fromMap($map['sendConfig']); } if (isset($map['taskName'])) { $model->taskName = $map['taskName']; } return $model; } } src/service_group_1_0/Models/CustomerSendMsgTaskRequest/messageContent.php000064400000004523146412132660023050 0ustar00 'btns', 'content' => 'content', 'messageType' => 'messageType', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->btns) { $res['btns'] = []; if (null !== $this->btns && \is_array($this->btns)) { $n = 0; foreach ($this->btns as $item) { $res['btns'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->messageType) { $res['messageType'] = $this->messageType; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return messageContent */ public static function fromMap($map = []) { $model = new self(); if (isset($map['btns'])) { if (!empty($map['btns'])) { $model->btns = []; $n = 0; foreach ($map['btns'] as $item) { $model->btns[$n++] = null !== $item ? btns::fromMap($item) : $item; } } } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['messageType'])) { $model->messageType = $map['messageType']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/service_group_1_0/Models/CustomerSendMsgTaskRequest/messageContent/btns.php000064400000002260146412132660024012 0ustar00 '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 btns */ 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/service_group_1_0/Models/CustomerSendMsgTaskRequest/queryCustomer.php000064400000004276146412132660022765 0ustar00 'openContactIds', 'queryType' => 'queryType', 'searchContactConditions' => 'searchContactConditions', 'searchCustomerConditions' => 'searchCustomerConditions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openContactIds) { $res['openContactIds'] = $this->openContactIds; } if (null !== $this->queryType) { $res['queryType'] = $this->queryType; } if (null !== $this->searchContactConditions) { $res['searchContactConditions'] = $this->searchContactConditions; } if (null !== $this->searchCustomerConditions) { $res['searchCustomerConditions'] = $this->searchCustomerConditions; } return $res; } /** * @param array $map * * @return queryCustomer */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openContactIds'])) { if (!empty($map['openContactIds'])) { $model->openContactIds = $map['openContactIds']; } } if (isset($map['queryType'])) { $model->queryType = $map['queryType']; } if (isset($map['searchContactConditions'])) { $model->searchContactConditions = $map['searchContactConditions']; } if (isset($map['searchCustomerConditions'])) { $model->searchCustomerConditions = $map['searchCustomerConditions']; } return $model; } } src/service_group_1_0/Models/CustomerSendMsgTaskRequest/sendConfig.php000064400000005035146412132660022147 0ustar00 'needUrlTrack', 'sendTime' => 'sendTime', 'sendType' => 'sendType', 'urlTrackConfig' => 'urlTrackConfig', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->needUrlTrack) { $res['needUrlTrack'] = $this->needUrlTrack; } if (null !== $this->sendTime) { $res['sendTime'] = $this->sendTime; } if (null !== $this->sendType) { $res['sendType'] = $this->sendType; } if (null !== $this->urlTrackConfig) { $res['urlTrackConfig'] = []; if (null !== $this->urlTrackConfig && \is_array($this->urlTrackConfig)) { $n = 0; foreach ($this->urlTrackConfig as $item) { $res['urlTrackConfig'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return sendConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['needUrlTrack'])) { $model->needUrlTrack = $map['needUrlTrack']; } if (isset($map['sendTime'])) { $model->sendTime = $map['sendTime']; } if (isset($map['sendType'])) { $model->sendType = $map['sendType']; } if (isset($map['urlTrackConfig'])) { if (!empty($map['urlTrackConfig'])) { $model->urlTrackConfig = []; $n = 0; foreach ($map['urlTrackConfig'] as $item) { $model->urlTrackConfig[$n++] = null !== $item ? urlTrackConfig::fromMap($item) : $item; } } } return $model; } } src/service_group_1_0/Models/CustomerSendMsgTaskRequest/sendConfig/urlTrackConfig.php000064400000002753146412132660025070 0ustar00 'title', 'trackId' => 'trackId', 'trackUrl' => 'trackUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->trackId) { $res['trackId'] = $this->trackId; } if (null !== $this->trackUrl) { $res['trackUrl'] = $this->trackUrl; } return $res; } /** * @param array $map * * @return urlTrackConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['trackId'])) { $model->trackId = $map['trackId']; } if (isset($map['trackUrl'])) { $model->trackUrl = $map['trackUrl']; } return $model; } } src/service_group_1_0/Models/CustomerSendMsgTaskResponse.php000064400000002757146412132660020246 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CustomerSendMsgTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CustomerSendMsgTaskResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/CustomerSendMsgTaskResponseBody.php000064400000001674146412132660021061 0ustar00 'openBatchTaskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openBatchTaskId) { $res['openBatchTaskId'] = $this->openBatchTaskId; } return $res; } /** * @param array $map * * @return CustomerSendMsgTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openBatchTaskId'])) { $model->openBatchTaskId = $map['openBatchTaskId']; } return $model; } } src/service_group_1_0/Models/DeleteGroupMembersFromGroupHeaders.php000064400000002373146412132660021503 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteGroupMembersFromGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/DeleteGroupMembersFromGroupRequest.php000064400000004711146412132660021556 0ustar00 'deleteGroupType', 'memberUnionId' => 'memberUnionId', 'openConversationId' => 'openConversationId', 'openGroupSetId' => 'openGroupSetId', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deleteGroupType) { $res['deleteGroupType'] = $this->deleteGroupType; } if (null !== $this->memberUnionId) { $res['memberUnionId'] = $this->memberUnionId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return DeleteGroupMembersFromGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deleteGroupType'])) { $model->deleteGroupType = $map['deleteGroupType']; } if (isset($map['memberUnionId'])) { $model->memberUnionId = $map['memberUnionId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/DeleteGroupMembersFromGroupResponse.php000064400000003017146412132660021722 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteGroupMembersFromGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteGroupMembersFromGroupResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/DeleteGroupMembersFromGroupResponseBody.php000064400000001534146412132660022542 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteGroupMembersFromGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/service_group_1_0/Models/DeleteInstanceHeaders.php000064400000002341146412132660016772 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/DeleteInstanceRequest.php000064400000003753146412132660017057 0ustar00 'formCode', 'openDataInstanceId' => 'openDataInstanceId', 'openTeamId' => 'openTeamId', 'operatorUnionId' => 'operatorUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->openDataInstanceId) { $res['openDataInstanceId'] = $this->openDataInstanceId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->operatorUnionId) { $res['operatorUnionId'] = $this->operatorUnionId; } return $res; } /** * @param array $map * * @return DeleteInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['openDataInstanceId'])) { $model->openDataInstanceId = $map['openDataInstanceId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['operatorUnionId'])) { $model->operatorUnionId = $map['operatorUnionId']; } return $model; } } src/service_group_1_0/Models/DeleteInstanceResponse.php000064400000002733146412132660017222 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteInstanceResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/DeleteInstanceResponseBody.php000064400000001660146412132660020036 0ustar00 'openDataInstanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openDataInstanceId) { $res['openDataInstanceId'] = $this->openDataInstanceId; } return $res; } /** * @param array $map * * @return DeleteInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openDataInstanceId'])) { $model->openDataInstanceId = $map['openDataInstanceId']; } return $model; } } src/service_group_1_0/Models/DeleteKnowledgeHeaders.php000064400000002343146412132660017147 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/service_group_1_0/Models/DeleteKnowledgeRequest.php000064400000003630146412132660017224 0ustar00 'libraryKey', 'openTeamId' => 'openTeamId', 'source' => 'source', 'sourcePrimaryKey' => 'sourcePrimaryKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->libraryKey) { $res['libraryKey'] = $this->libraryKey; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->sourcePrimaryKey) { $res['sourcePrimaryKey'] = $this->sourcePrimaryKey; } return $res; } /** * @param array $map * * @return DeleteKnowledgeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['libraryKey'])) { $model->libraryKey = $map['libraryKey']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['sourcePrimaryKey'])) { $model->sourcePrimaryKey = $map['sourcePrimaryKey']; } return $model; } } src/service_group_1_0/Models/DeleteKnowledgeResponse.php000064400000002737146412132660017401 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/service_group_1_0/Models/DeleteKnowledgeResponseBody.php000064400000001515146412132660020210 0ustar00 '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/service_group_1_0/Models/EmotionStatisticsHeaders.php000064400000002347146412132660017576 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EmotionStatisticsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/EmotionStatisticsRequest.php000064400000005672146412132660017657 0ustar00 'maxDt', 'maxEmotion' => 'maxEmotion', 'minDt' => 'minDt', 'minEmotion' => 'minEmotion', 'openConversationIds' => 'openConversationIds', 'openGroupSetId' => 'openGroupSetId', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxDt) { $res['maxDt'] = $this->maxDt; } if (null !== $this->maxEmotion) { $res['maxEmotion'] = $this->maxEmotion; } if (null !== $this->minDt) { $res['minDt'] = $this->minDt; } if (null !== $this->minEmotion) { $res['minEmotion'] = $this->minEmotion; } if (null !== $this->openConversationIds) { $res['openConversationIds'] = $this->openConversationIds; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return EmotionStatisticsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxDt'])) { $model->maxDt = $map['maxDt']; } if (isset($map['maxEmotion'])) { $model->maxEmotion = $map['maxEmotion']; } if (isset($map['minDt'])) { $model->minDt = $map['minDt']; } if (isset($map['minEmotion'])) { $model->minEmotion = $map['minEmotion']; } if (isset($map['openConversationIds'])) { $model->openConversationIds = $map['openConversationIds']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/EmotionStatisticsResponse.php000064400000002747146412132660020025 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EmotionStatisticsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EmotionStatisticsResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/EmotionStatisticsResponseBody.php000064400000003336146412132660020636 0ustar00 'emotionStatisticsRecords', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->emotionStatisticsRecords) { $res['emotionStatisticsRecords'] = []; if (null !== $this->emotionStatisticsRecords && \is_array($this->emotionStatisticsRecords)) { $n = 0; foreach ($this->emotionStatisticsRecords as $item) { $res['emotionStatisticsRecords'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return EmotionStatisticsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['emotionStatisticsRecords'])) { if (!empty($map['emotionStatisticsRecords'])) { $model->emotionStatisticsRecords = []; $n = 0; foreach ($map['emotionStatisticsRecords'] as $item) { $model->emotionStatisticsRecords[$n++] = null !== $item ? emotionStatisticsRecords::fromMap($item) : $item; } } } return $model; } } src/service_group_1_0/Models/EmotionStatisticsResponseBody/emotionStatisticsRecords.php000064400000002745146412132660025710 0ustar00 'count', 'dt' => 'dt', 'emotionScore' => 'emotionScore', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->dt) { $res['dt'] = $this->dt; } if (null !== $this->emotionScore) { $res['emotionScore'] = $this->emotionScore; } return $res; } /** * @param array $map * * @return emotionStatisticsRecords */ public static function fromMap($map = []) { $model = new self(); if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['dt'])) { $model->dt = $map['dt']; } if (isset($map['emotionScore'])) { $model->emotionScore = $map['emotionScore']; } return $model; } } src/service_group_1_0/Models/FinishTicketHeaders.php000064400000002335146412132660016472 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return FinishTicketHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/FinishTicketRequest.php000064400000005011146412132660016541 0ustar00 'notify', 'openTeamId' => 'openTeamId', 'openTicketId' => 'openTicketId', 'processorUnionId' => 'processorUnionId', 'ticketMemo' => 'ticketMemo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->notify) { $res['notify'] = null !== $this->notify ? $this->notify->toMap() : null; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->openTicketId) { $res['openTicketId'] = $this->openTicketId; } if (null !== $this->processorUnionId) { $res['processorUnionId'] = $this->processorUnionId; } if (null !== $this->ticketMemo) { $res['ticketMemo'] = null !== $this->ticketMemo ? $this->ticketMemo->toMap() : null; } return $res; } /** * @param array $map * * @return FinishTicketRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['notify'])) { $model->notify = notify::fromMap($map['notify']); } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['openTicketId'])) { $model->openTicketId = $map['openTicketId']; } if (isset($map['processorUnionId'])) { $model->processorUnionId = $map['processorUnionId']; } if (isset($map['ticketMemo'])) { $model->ticketMemo = ticketMemo::fromMap($map['ticketMemo']); } return $model; } } src/service_group_1_0/Models/FinishTicketRequest/notify.php000064400000004002146412132660020050 0ustar00 'groupNoticeReceiverUnionIds', 'noticeAllGroupMember' => 'noticeAllGroupMember', 'workNoticeReceiverUnionIds' => 'workNoticeReceiverUnionIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupNoticeReceiverUnionIds) { $res['groupNoticeReceiverUnionIds'] = $this->groupNoticeReceiverUnionIds; } if (null !== $this->noticeAllGroupMember) { $res['noticeAllGroupMember'] = $this->noticeAllGroupMember; } if (null !== $this->workNoticeReceiverUnionIds) { $res['workNoticeReceiverUnionIds'] = $this->workNoticeReceiverUnionIds; } return $res; } /** * @param array $map * * @return notify */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupNoticeReceiverUnionIds'])) { if (!empty($map['groupNoticeReceiverUnionIds'])) { $model->groupNoticeReceiverUnionIds = $map['groupNoticeReceiverUnionIds']; } } if (isset($map['noticeAllGroupMember'])) { $model->noticeAllGroupMember = $map['noticeAllGroupMember']; } if (isset($map['workNoticeReceiverUnionIds'])) { if (!empty($map['workNoticeReceiverUnionIds'])) { $model->workNoticeReceiverUnionIds = $map['workNoticeReceiverUnionIds']; } } return $model; } } src/service_group_1_0/Models/FinishTicketRequest/ticketMemo.php000064400000003404146412132660020646 0ustar00 'attachments', 'memo' => 'memo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->memo) { $res['memo'] = $this->memo; } return $res; } /** * @param array $map * * @return ticketMemo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['memo'])) { $model->memo = $map['memo']; } return $model; } } src/service_group_1_0/Models/FinishTicketRequest/ticketMemo/attachments.php000064400000002327146412132660023164 0ustar00 'fileName', 'key' => 'key', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->key) { $res['key'] = $this->key; } return $res; } /** * @param array $map * * @return attachments */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['key'])) { $model->key = $map['key']; } return $model; } } src/service_group_1_0/Models/FinishTicketResponse.php000064400000002165146412132660016716 0ustar00 '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 FinishTicketResponse */ 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/service_group_1_0/Models/GetAuthTokenHeaders.php000064400000002335146412132660016450 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAuthTokenHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/GetAuthTokenRequest.php000064400000004036146412132660016525 0ustar00 'channel', 'effectiveTime' => 'effectiveTime', 'openTeamId' => 'openTeamId', 'serverId' => 'serverId', 'serverName' => 'serverName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->channel) { $res['channel'] = $this->channel; } if (null !== $this->effectiveTime) { $res['effectiveTime'] = $this->effectiveTime; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->serverId) { $res['serverId'] = $this->serverId; } if (null !== $this->serverName) { $res['serverName'] = $this->serverName; } return $res; } /** * @param array $map * * @return GetAuthTokenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['channel'])) { $model->channel = $map['channel']; } if (isset($map['effectiveTime'])) { $model->effectiveTime = $map['effectiveTime']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['serverId'])) { $model->serverId = $map['serverId']; } if (isset($map['serverName'])) { $model->serverName = $map['serverName']; } return $model; } } src/service_group_1_0/Models/GetAuthTokenResponse.php000064400000002723146412132660016674 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAuthTokenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAuthTokenResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/GetAuthTokenResponseBody.php000064400000003574146412132660017517 0ustar00 'dingOpenErrcode', 'errorMsg' => 'errorMsg', 'result' => 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingOpenErrcode) { $res['dingOpenErrcode'] = $this->dingOpenErrcode; } 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 GetAuthTokenResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingOpenErrcode'])) { $model->dingOpenErrcode = $map['dingOpenErrcode']; } 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/service_group_1_0/Models/GetAuthTokenResponseBody/result.php000064400000004025146412132660021025 0ustar00 'authToken', 'channel' => 'channel', 'effectiveTime' => 'effectiveTime', 'serverId' => 'serverId', 'serverName' => 'serverName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authToken) { $res['authToken'] = $this->authToken; } if (null !== $this->channel) { $res['channel'] = $this->channel; } if (null !== $this->effectiveTime) { $res['effectiveTime'] = $this->effectiveTime; } if (null !== $this->serverId) { $res['serverId'] = $this->serverId; } if (null !== $this->serverName) { $res['serverName'] = $this->serverName; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authToken'])) { $model->authToken = $map['authToken']; } if (isset($map['channel'])) { $model->channel = $map['channel']; } if (isset($map['effectiveTime'])) { $model->effectiveTime = $map['effectiveTime']; } if (isset($map['serverId'])) { $model->serverId = $map['serverId']; } if (isset($map['serverName'])) { $model->serverName = $map['serverName']; } return $model; } } src/service_group_1_0/Models/GetInstancesByIdsHeaders.php000064400000002347146412132660017433 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetInstancesByIdsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/GetInstancesByIdsRequest.php000064400000003315146412132660017504 0ustar00 'formCode', 'openDataInstanceIdList' => 'openDataInstanceIdList', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->openDataInstanceIdList) { $res['openDataInstanceIdList'] = $this->openDataInstanceIdList; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return GetInstancesByIdsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['openDataInstanceIdList'])) { if (!empty($map['openDataInstanceIdList'])) { $model->openDataInstanceIdList = $map['openDataInstanceIdList']; } } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/GetInstancesByIdsResponse.php000064400000002747146412132660017662 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetInstancesByIdsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetInstancesByIdsResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/GetInstancesByIdsResponseBody.php000064400000003512146412132660020467 0ustar00 'customFormInstanceResponseList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFormInstanceResponseList) { $res['customFormInstanceResponseList'] = []; if (null !== $this->customFormInstanceResponseList && \is_array($this->customFormInstanceResponseList)) { $n = 0; foreach ($this->customFormInstanceResponseList as $item) { $res['customFormInstanceResponseList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetInstancesByIdsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFormInstanceResponseList'])) { if (!empty($map['customFormInstanceResponseList'])) { $model->customFormInstanceResponseList = []; $n = 0; foreach ($map['customFormInstanceResponseList'] as $item) { $model->customFormInstanceResponseList[$n++] = null !== $item ? customFormInstanceResponseList::fromMap($item) : $item; } } } return $model; } } src/service_group_1_0/Models/GetInstancesByIdsResponseBody/customFormInstanceResponseList.php000064400000006716146412132660026676 0ustar00 'creatorUnionId', 'fields' => 'fields', 'formCode' => 'formCode', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'modifiedUnionId' => 'modifiedUnionId', 'openDataInstanceId' => 'openDataInstanceId', 'openTeamId' => 'openTeamId', 'ownerUnionId' => 'ownerUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->fields) { $res['fields'] = $this->fields; } 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->modifiedUnionId) { $res['modifiedUnionId'] = $this->modifiedUnionId; } if (null !== $this->openDataInstanceId) { $res['openDataInstanceId'] = $this->openDataInstanceId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->ownerUnionId) { $res['ownerUnionId'] = $this->ownerUnionId; } return $res; } /** * @param array $map * * @return customFormInstanceResponseList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['fields'])) { $model->fields = $map['fields']; } 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['modifiedUnionId'])) { $model->modifiedUnionId = $map['modifiedUnionId']; } if (isset($map['openDataInstanceId'])) { $model->openDataInstanceId = $map['openDataInstanceId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['ownerUnionId'])) { $model->ownerUnionId = $map['ownerUnionId']; } return $model; } } src/service_group_1_0/Models/GetNegativeWordCloudHeaders.php000064400000002355146412132660020135 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetNegativeWordCloudHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/GetNegativeWordCloudRequest.php000064400000001611146412132660020204 0ustar00 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return GetNegativeWordCloudRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/GetNegativeWordCloudResponse.php000064400000002763146412132660020363 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetNegativeWordCloudResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetNegativeWordCloudResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/GetNegativeWordCloudResponseBody.php000064400000002621146412132660021172 0ustar00 'words', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->words) { $res['words'] = []; if (null !== $this->words && \is_array($this->words)) { $n = 0; foreach ($this->words as $item) { $res['words'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetNegativeWordCloudResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['words'])) { if (!empty($map['words'])) { $model->words = []; $n = 0; foreach ($map['words'] as $item) { $model->words[$n++] = null !== $item ? words::fromMap($item) : $item; } } } return $model; } } src/service_group_1_0/Models/GetNegativeWordCloudResponseBody/words.php000064400000002144146412132660022330 0ustar00 'count', 'word' => 'word', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->word) { $res['word'] = $this->word; } return $res; } /** * @param array $map * * @return words */ public static function fromMap($map = []) { $model = new self(); if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['word'])) { $model->word = $map['word']; } return $model; } } src/service_group_1_0/Models/GetOssTempUrlHeaders.php000064400000002337146412132660016625 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOssTempUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/GetOssTempUrlRequest.php000064400000003242146412132660016676 0ustar00 'fetchMode', 'fileName' => 'fileName', 'key' => 'key', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fetchMode) { $res['fetchMode'] = $this->fetchMode; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return GetOssTempUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fetchMode'])) { $model->fetchMode = $map['fetchMode']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/GetOssTempUrlResponse.php000064400000002727146412132660017053 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOssTempUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOssTempUrlResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/GetOssTempUrlResponseBody.php000064400000001447146412132660017667 0ustar00 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return GetOssTempUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/service_group_1_0/Models/GetStoragePolicyHeaders.php000064400000002345146412132660017333 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetStoragePolicyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/GetStoragePolicyRequest.php000064400000003437146412132660017413 0ustar00 'bizType', 'fileName' => 'fileName', 'fileSize' => 'fileSize', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return GetStoragePolicyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/GetStoragePolicyResponse.php000064400000002743146412132660017560 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetStoragePolicyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetStoragePolicyResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/GetStoragePolicyResponseBody.php000064400000003721146412132660020373 0ustar00 'accessKeyId', 'endpoint' => 'endpoint', 'key' => 'key', 'policy' => 'policy', 'signature' => 'signature', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKeyId) { $res['accessKeyId'] = $this->accessKeyId; } if (null !== $this->endpoint) { $res['endpoint'] = $this->endpoint; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->policy) { $res['policy'] = $this->policy; } if (null !== $this->signature) { $res['signature'] = $this->signature; } return $res; } /** * @param array $map * * @return GetStoragePolicyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKeyId'])) { $model->accessKeyId = $map['accessKeyId']; } if (isset($map['endpoint'])) { $model->endpoint = $map['endpoint']; } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['policy'])) { $model->policy = $map['policy']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } return $model; } } src/service_group_1_0/Models/GetTicketHeaders.php000064400000002327146412132660015772 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTicketHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/GetTicketRequest.php000064400000002232146412132660016042 0ustar00 'openTeamId', 'openTicketId' => 'openTicketId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->openTicketId) { $res['openTicketId'] = $this->openTicketId; } return $res; } /** * @param array $map * * @return GetTicketRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['openTicketId'])) { $model->openTicketId = $map['openTicketId']; } return $model; } } src/service_group_1_0/Models/GetTicketResponse.php000064400000002707146412132660016217 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTicketResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTicketResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/GetTicketResponseBody.php000064400000012726146412132660017037 0ustar00 'createTime', 'creator' => 'creator', 'customFields' => 'customFields', 'openConversationId' => 'openConversationId', 'openTicketId' => 'openTicketId', 'processor' => 'processor', 'scene' => 'scene', 'sceneContext' => 'sceneContext', 'stage' => 'stage', 'takers' => 'takers', 'template' => 'template', 'title' => 'title', 'updateTime' => 'updateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = null !== $this->creator ? $this->creator->toMap() : null; } if (null !== $this->customFields) { $res['customFields'] = $this->customFields; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openTicketId) { $res['openTicketId'] = $this->openTicketId; } if (null !== $this->processor) { $res['processor'] = null !== $this->processor ? $this->processor->toMap() : null; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->sceneContext) { $res['sceneContext'] = $this->sceneContext; } if (null !== $this->stage) { $res['stage'] = $this->stage; } if (null !== $this->takers) { $res['takers'] = []; if (null !== $this->takers && \is_array($this->takers)) { $n = 0; foreach ($this->takers as $item) { $res['takers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->template) { $res['template'] = null !== $this->template ? $this->template->toMap() : null; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } return $res; } /** * @param array $map * * @return GetTicketResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = creator::fromMap($map['creator']); } if (isset($map['customFields'])) { $model->customFields = $map['customFields']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openTicketId'])) { $model->openTicketId = $map['openTicketId']; } if (isset($map['processor'])) { $model->processor = processor::fromMap($map['processor']); } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['sceneContext'])) { $model->sceneContext = $map['sceneContext']; } if (isset($map['stage'])) { $model->stage = $map['stage']; } if (isset($map['takers'])) { if (!empty($map['takers'])) { $model->takers = []; $n = 0; foreach ($map['takers'] as $item) { $model->takers[$n++] = null !== $item ? takers::fromMap($item) : $item; } } } if (isset($map['template'])) { $model->template = template::fromMap($map['template']); } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } return $model; } } src/service_group_1_0/Models/GetTicketResponseBody/creator.php000064400000002136146412132660020470 0ustar00 'nickName', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return creator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/service_group_1_0/Models/GetTicketResponseBody/processor.php000064400000002142146412132660021045 0ustar00 'nickName', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return processor */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/service_group_1_0/Models/GetTicketResponseBody/takers.php000064400000002134146412132660020320 0ustar00 'nickName', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return takers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/service_group_1_0/Models/GetTicketResponseBody/template.php000064400000003073146412132660020645 0ustar00 'openTemplateBizId', 'openTemplateId' => 'openTemplateId', 'templateName' => 'templateName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openTemplateBizId) { $res['openTemplateBizId'] = $this->openTemplateBizId; } if (null !== $this->openTemplateId) { $res['openTemplateId'] = $this->openTemplateId; } if (null !== $this->templateName) { $res['templateName'] = $this->templateName; } return $res; } /** * @param array $map * * @return template */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openTemplateBizId'])) { $model->openTemplateBizId = $map['openTemplateBizId']; } if (isset($map['openTemplateId'])) { $model->openTemplateId = $map['openTemplateId']; } if (isset($map['templateName'])) { $model->templateName = $map['templateName']; } return $model; } } src/service_group_1_0/Models/GetWordCloudHeaders.php000064400000002335146412132660016450 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetWordCloudHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/GetWordCloudRequest.php000064400000001571146412132660016526 0ustar00 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return GetWordCloudRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/GetWordCloudResponse.php000064400000002723146412132660016674 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetWordCloudResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetWordCloudResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/GetWordCloudResponseBody.php000064400000002571146412132660017513 0ustar00 'words', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->words) { $res['words'] = []; if (null !== $this->words && \is_array($this->words)) { $n = 0; foreach ($this->words as $item) { $res['words'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetWordCloudResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['words'])) { if (!empty($map['words'])) { $model->words = []; $n = 0; foreach ($map['words'] as $item) { $model->words[$n++] = null !== $item ? words::fromMap($item) : $item; } } } return $model; } } src/service_group_1_0/Models/GetWordCloudResponseBody/words.php000064400000002134146412132660020644 0ustar00 'count', 'word' => 'word', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->word) { $res['word'] = $this->word; } return $res; } /** * @param array $map * * @return words */ public static function fromMap($map = []) { $model = new self(); if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['word'])) { $model->word = $map['word']; } return $model; } } src/service_group_1_0/Models/GroupStatisticsHeaders.php000064400000002343146412132660017254 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GroupStatisticsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/GroupStatisticsRequest.php000064400000002723146412132660017333 0ustar00 'maxDt', 'minDt' => 'minDt', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxDt) { $res['maxDt'] = $this->maxDt; } if (null !== $this->minDt) { $res['minDt'] = $this->minDt; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return GroupStatisticsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxDt'])) { $model->maxDt = $map['maxDt']; } if (isset($map['minDt'])) { $model->minDt = $map['minDt']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/GroupStatisticsResponse.php000064400000002737146412132660017506 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GroupStatisticsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GroupStatisticsResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/GroupStatisticsResponseBody.php000064400000005052146412132660020315 0ustar00 'groupCount', 'groupTrend' => 'groupTrend', 'increaseGroupCount' => 'increaseGroupCount', 'increaseRate' => 'increaseRate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupCount) { $res['groupCount'] = $this->groupCount; } if (null !== $this->groupTrend) { $res['groupTrend'] = []; if (null !== $this->groupTrend && \is_array($this->groupTrend)) { $n = 0; foreach ($this->groupTrend as $item) { $res['groupTrend'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->increaseGroupCount) { $res['increaseGroupCount'] = $this->increaseGroupCount; } if (null !== $this->increaseRate) { $res['increaseRate'] = $this->increaseRate; } return $res; } /** * @param array $map * * @return GroupStatisticsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupCount'])) { $model->groupCount = $map['groupCount']; } if (isset($map['groupTrend'])) { if (!empty($map['groupTrend'])) { $model->groupTrend = []; $n = 0; foreach ($map['groupTrend'] as $item) { $model->groupTrend[$n++] = null !== $item ? groupTrend::fromMap($item) : $item; } } } if (isset($map['increaseGroupCount'])) { $model->increaseGroupCount = $map['increaseGroupCount']; } if (isset($map['increaseRate'])) { $model->increaseRate = $map['increaseRate']; } return $model; } } src/service_group_1_0/Models/GroupStatisticsResponseBody/groupTrend.php000064400000002133146412132660022443 0ustar00 'count', 'dt' => 'dt', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->dt) { $res['dt'] = $this->dt; } return $res; } /** * @param array $map * * @return groupTrend */ public static function fromMap($map = []) { $model = new self(); if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['dt'])) { $model->dt = $map['dt']; } return $model; } } src/service_group_1_0/Models/IntentionCategoryStatisticsHeaders.php000064400000002373146412132660021630 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IntentionCategoryStatisticsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/IntentionCategoryStatisticsRequest.php000064400000002753146412132660021707 0ustar00 'maxDt', 'minDt' => 'minDt', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxDt) { $res['maxDt'] = $this->maxDt; } if (null !== $this->minDt) { $res['minDt'] = $this->minDt; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return IntentionCategoryStatisticsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxDt'])) { $model->maxDt = $map['maxDt']; } if (isset($map['minDt'])) { $model->minDt = $map['minDt']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/IntentionCategoryStatisticsResponse.php000064400000003017146412132660022047 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IntentionCategoryStatisticsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IntentionCategoryStatisticsResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/IntentionCategoryStatisticsResponseBody.php000064400000003374146412132660022673 0ustar00 'intentionCategoryRecords', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->intentionCategoryRecords) { $res['intentionCategoryRecords'] = []; if (null !== $this->intentionCategoryRecords && \is_array($this->intentionCategoryRecords)) { $n = 0; foreach ($this->intentionCategoryRecords as $item) { $res['intentionCategoryRecords'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return IntentionCategoryStatisticsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['intentionCategoryRecords'])) { if (!empty($map['intentionCategoryRecords'])) { $model->intentionCategoryRecords = []; $n = 0; foreach ($map['intentionCategoryRecords'] as $item) { $model->intentionCategoryRecords[$n++] = null !== $item ? intentionCategoryRecords::fromMap($item) : $item; } } } return $model; } } src/service_group_1_0/Models/IntentionCategoryStatisticsResponseBody/intentionCategoryRecords.php000064400000005224146412132660027716 0ustar00 'askCount', 'categoryName' => 'categoryName', 'dissatisfiedCount' => 'dissatisfiedCount', 'errorCount' => 'errorCount', 'praiseCount' => 'praiseCount', 'suggestCount' => 'suggestCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->askCount) { $res['askCount'] = $this->askCount; } if (null !== $this->categoryName) { $res['categoryName'] = $this->categoryName; } if (null !== $this->dissatisfiedCount) { $res['dissatisfiedCount'] = $this->dissatisfiedCount; } if (null !== $this->errorCount) { $res['errorCount'] = $this->errorCount; } if (null !== $this->praiseCount) { $res['praiseCount'] = $this->praiseCount; } if (null !== $this->suggestCount) { $res['suggestCount'] = $this->suggestCount; } return $res; } /** * @param array $map * * @return intentionCategoryRecords */ public static function fromMap($map = []) { $model = new self(); if (isset($map['askCount'])) { $model->askCount = $map['askCount']; } if (isset($map['categoryName'])) { $model->categoryName = $map['categoryName']; } if (isset($map['dissatisfiedCount'])) { $model->dissatisfiedCount = $map['dissatisfiedCount']; } if (isset($map['errorCount'])) { $model->errorCount = $map['errorCount']; } if (isset($map['praiseCount'])) { $model->praiseCount = $map['praiseCount']; } if (isset($map['suggestCount'])) { $model->suggestCount = $map['suggestCount']; } return $model; } } src/service_group_1_0/Models/IntentionStatisticsHeaders.php000064400000002353146412132660020130 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IntentionStatisticsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/IntentionStatisticsRequest.php000064400000002733146412132660020207 0ustar00 'maxDt', 'minDt' => 'minDt', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxDt) { $res['maxDt'] = $this->maxDt; } if (null !== $this->minDt) { $res['minDt'] = $this->minDt; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return IntentionStatisticsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxDt'])) { $model->maxDt = $map['maxDt']; } if (isset($map['minDt'])) { $model->minDt = $map['minDt']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/IntentionStatisticsResponse.php000064400000002757146412132660020363 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IntentionStatisticsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IntentionStatisticsResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/IntentionStatisticsResponseBody.php000064400000005404146412132660021171 0ustar00 'intentionStatisticsRecords', 'intentionTrend' => 'intentionTrend', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->intentionStatisticsRecords) { $res['intentionStatisticsRecords'] = []; if (null !== $this->intentionStatisticsRecords && \is_array($this->intentionStatisticsRecords)) { $n = 0; foreach ($this->intentionStatisticsRecords as $item) { $res['intentionStatisticsRecords'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->intentionTrend) { $res['intentionTrend'] = []; if (null !== $this->intentionTrend && \is_array($this->intentionTrend)) { $n = 0; foreach ($this->intentionTrend as $item) { $res['intentionTrend'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return IntentionStatisticsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['intentionStatisticsRecords'])) { if (!empty($map['intentionStatisticsRecords'])) { $model->intentionStatisticsRecords = []; $n = 0; foreach ($map['intentionStatisticsRecords'] as $item) { $model->intentionStatisticsRecords[$n++] = null !== $item ? intentionStatisticsRecords::fromMap($item) : $item; } } } if (isset($map['intentionTrend'])) { if (!empty($map['intentionTrend'])) { $model->intentionTrend = []; $n = 0; foreach ($map['intentionTrend'] as $item) { $model->intentionTrend[$n++] = null !== $item ? intentionTrend::fromMap($item) : $item; } } } return $model; } } src/service_group_1_0/Models/IntentionStatisticsResponseBody/intentionStatisticsRecords.php000064400000003005146412132660026570 0ustar00 'count', 'intention' => 'intention', 'lastCount' => 'lastCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->intention) { $res['intention'] = $this->intention; } if (null !== $this->lastCount) { $res['lastCount'] = $this->lastCount; } return $res; } /** * @param array $map * * @return intentionStatisticsRecords */ public static function fromMap($map = []) { $model = new self(); if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['intention'])) { $model->intention = $map['intention']; } if (isset($map['lastCount'])) { $model->lastCount = $map['lastCount']; } return $model; } } src/service_group_1_0/Models/IntentionStatisticsResponseBody/intentionTrend.php000064400000002677146412132660024206 0ustar00 'count', 'dt' => 'dt', 'intention' => 'intention', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->dt) { $res['dt'] = $this->dt; } if (null !== $this->intention) { $res['intention'] = $this->intention; } return $res; } /** * @param array $map * * @return intentionTrend */ public static function fromMap($map = []) { $model = new self(); if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['dt'])) { $model->dt = $map['dt']; } if (isset($map['intention'])) { $model->intention = $map['intention']; } return $model; } } src/service_group_1_0/Models/ListTicketOperateRecordHeaders.php000064400000002363146412132660020645 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListTicketOperateRecordHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/ListTicketOperateRecordRequest.php000064400000002266146412132660020724 0ustar00 'openTeamId', 'openTicketId' => 'openTicketId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->openTicketId) { $res['openTicketId'] = $this->openTicketId; } return $res; } /** * @param array $map * * @return ListTicketOperateRecordRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['openTicketId'])) { $model->openTicketId = $map['openTicketId']; } return $model; } } src/service_group_1_0/Models/ListTicketOperateRecordResponse.php000064400000002777146412132660021101 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListTicketOperateRecordResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListTicketOperateRecordResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/ListTicketOperateRecordResponseBody.php000064400000002676146412132660021715 0ustar00 'records', ]; public function validate() { } public function toMap() { $res = []; 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 ListTicketOperateRecordResponseBody */ public static function fromMap($map = []) { $model = new self(); 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/service_group_1_0/Models/ListTicketOperateRecordResponseBody/records.php000064400000006224146412132660023347 0ustar00 'openTicketId', 'operateData' => 'operateData', 'operateTime' => 'operateTime', 'operation' => 'operation', 'operationDisplayName' => 'operationDisplayName', 'operator' => 'operator', 'ticketMemo' => 'ticketMemo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openTicketId) { $res['openTicketId'] = $this->openTicketId; } if (null !== $this->operateData) { $res['operateData'] = $this->operateData; } if (null !== $this->operateTime) { $res['operateTime'] = $this->operateTime; } if (null !== $this->operation) { $res['operation'] = $this->operation; } if (null !== $this->operationDisplayName) { $res['operationDisplayName'] = $this->operationDisplayName; } if (null !== $this->operator) { $res['operator'] = null !== $this->operator ? $this->operator->toMap() : null; } if (null !== $this->ticketMemo) { $res['ticketMemo'] = null !== $this->ticketMemo ? $this->ticketMemo->toMap() : null; } return $res; } /** * @param array $map * * @return records */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openTicketId'])) { $model->openTicketId = $map['openTicketId']; } if (isset($map['operateData'])) { $model->operateData = $map['operateData']; } if (isset($map['operateTime'])) { $model->operateTime = $map['operateTime']; } if (isset($map['operation'])) { $model->operation = $map['operation']; } if (isset($map['operationDisplayName'])) { $model->operationDisplayName = $map['operationDisplayName']; } if (isset($map['operator'])) { $model->operator = operator::fromMap($map['operator']); } if (isset($map['ticketMemo'])) { $model->ticketMemo = ticketMemo::fromMap($map['ticketMemo']); } return $model; } } src/service_group_1_0/Models/ListTicketOperateRecordResponseBody/records/operator.php000064400000002166146412132660025203 0ustar00 'nickName', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return operator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/service_group_1_0/Models/ListTicketOperateRecordResponseBody/records/ticketMemo.php000064400000003426146412132660025451 0ustar00 'attachments', 'memo' => 'memo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->memo) { $res['memo'] = $this->memo; } return $res; } /** * @param array $map * * @return ticketMemo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['memo'])) { $model->memo = $map['memo']; } return $model; } } src/service_group_1_0/Models/ListTicketOperateRecordResponseBody/records/ticketMemo/attachments.php000064400000002147146412132660027763 0ustar00 'fileName', 'key' => 'key', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->key) { $res['key'] = $this->key; } return $res; } /** * @param array $map * * @return attachments */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['key'])) { $model->key = $map['key']; } return $model; } } src/service_group_1_0/Models/ListUserTeamsHeaders.php000064400000002337146412132660016654 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListUserTeamsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/ListUserTeamsResponse.php000064400000002727146412132660017102 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListUserTeamsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListUserTeamsResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/ListUserTeamsResponseBody.php000064400000002574146412132660017720 0ustar00 'teams', ]; public function validate() { } public function toMap() { $res = []; 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; } } } return $res; } /** * @param array $map * * @return ListUserTeamsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['teams'])) { if (!empty($map['teams'])) { $model->teams = []; $n = 0; foreach ($map['teams'] as $item) { $model->teams[$n++] = null !== $item ? teams::fromMap($item) : $item; } } } return $model; } } src/service_group_1_0/Models/ListUserTeamsResponseBody/teams.php000064400000002302146412132660021016 0ustar00 'openTeamId', 'teamName' => 'teamName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->teamName) { $res['teamName'] = $this->teamName; } return $res; } /** * @param array $map * * @return teams */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['teamName'])) { $model->teamName = $map['teamName']; } return $model; } } src/service_group_1_0/Models/QueryActiveUsersHeaders.php000064400000002345146412132660017372 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryActiveUsersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/QueryActiveUsersRequest.php000064400000003106146412132660017443 0ustar00 'openConversationId', 'openTeamId' => 'openTeamId', 'topN' => 'topN', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->topN) { $res['topN'] = $this->topN; } return $res; } /** * @param array $map * * @return QueryActiveUsersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['topN'])) { $model->topN = $map['topN']; } return $model; } } src/service_group_1_0/Models/QueryActiveUsersResponse.php000064400000002743146412132660017617 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryActiveUsersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryActiveUsersResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/QueryActiveUsersResponseBody.php000064400000003071146412132660020430 0ustar00 'activeUserInfos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activeUserInfos) { $res['activeUserInfos'] = []; if (null !== $this->activeUserInfos && \is_array($this->activeUserInfos)) { $n = 0; foreach ($this->activeUserInfos as $item) { $res['activeUserInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryActiveUsersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activeUserInfos'])) { if (!empty($map['activeUserInfos'])) { $model->activeUserInfos = []; $n = 0; foreach ($map['activeUserInfos'] as $item) { $model->activeUserInfos[$n++] = null !== $item ? activeUserInfos::fromMap($item) : $item; } } } return $model; } } src/service_group_1_0/Models/QueryActiveUsersResponseBody/activeUserInfos.php000064400000005357146412132660023552 0ustar00 'actionIndexL14d', 'actionIndexL30d' => 'actionIndexL30d', 'actionIndexL7d' => 'actionIndexL7d', 'activeScore' => 'activeScore', 'nickName' => 'nickName', 'ranking' => 'ranking', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionIndexL14d) { $res['actionIndexL14d'] = $this->actionIndexL14d; } if (null !== $this->actionIndexL30d) { $res['actionIndexL30d'] = $this->actionIndexL30d; } if (null !== $this->actionIndexL7d) { $res['actionIndexL7d'] = $this->actionIndexL7d; } if (null !== $this->activeScore) { $res['activeScore'] = $this->activeScore; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->ranking) { $res['ranking'] = $this->ranking; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return activeUserInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionIndexL14d'])) { $model->actionIndexL14d = $map['actionIndexL14d']; } if (isset($map['actionIndexL30d'])) { $model->actionIndexL30d = $map['actionIndexL30d']; } if (isset($map['actionIndexL7d'])) { $model->actionIndexL7d = $map['actionIndexL7d']; } if (isset($map['activeScore'])) { $model->activeScore = $map['activeScore']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['ranking'])) { $model->ranking = $map['ranking']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/service_group_1_0/Models/QueryCrmGroupContactHeaders.php000064400000002355146412132660020210 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCrmGroupContactHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/QueryCrmGroupContactRequest.php000064400000004406146412132660020264 0ustar00 'minResult', 'nextToken' => 'nextToken', 'openConversationId' => 'openConversationId', 'openTeamId' => 'openTeamId', 'searchFields' => 'searchFields', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->minResult) { $res['minResult'] = $this->minResult; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->searchFields) { $res['searchFields'] = $this->searchFields; } return $res; } /** * @param array $map * * @return QueryCrmGroupContactRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['minResult'])) { $model->minResult = $map['minResult']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['searchFields'])) { $model->searchFields = $map['searchFields']; } return $model; } } src/service_group_1_0/Models/QueryCrmGroupContactResponse.php000064400000002763146412132660020436 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCrmGroupContactResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCrmGroupContactResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/QueryCrmGroupContactResponseBody.php000064400000004254146412132660021251 0ustar00 'nextToken', 'openConversationId' => 'openConversationId', 'records' => 'records', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } 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 QueryCrmGroupContactResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } 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/service_group_1_0/Models/QueryCrmGroupContactResponseBody/records.php000064400000003656146412132660022717 0ustar00 'contactData', 'memberUnionId' => 'memberUnionId', 'nickName' => 'nickName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contactData) { $res['contactData'] = $this->contactData; } if (null !== $this->memberUnionId) { $res['memberUnionId'] = $this->memberUnionId; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } 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['contactData'])) { $model->contactData = $map['contactData']; } if (isset($map['memberUnionId'])) { $model->memberUnionId = $map['memberUnionId']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/service_group_1_0/Models/QueryCustomerCardHeaders.php000064400000002347146412132660017532 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCustomerCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/QueryCustomerCardRequest.php000064400000002226146412132660017603 0ustar00 'jsonParams', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jsonParams) { $res['jsonParams'] = $this->jsonParams; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return QueryCustomerCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['jsonParams'])) { $model->jsonParams = $map['jsonParams']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/QueryCustomerCardResponse.php000064400000002747146412132660017761 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCustomerCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCustomerCardResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/QueryCustomerCardResponseBody.php000064400000003361146412132660020570 0ustar00 'dingOpenErrcode', 'errorMsg' => 'errorMsg', 'result' => 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingOpenErrcode) { $res['dingOpenErrcode'] = $this->dingOpenErrcode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return QueryCustomerCardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingOpenErrcode'])) { $model->dingOpenErrcode = $map['dingOpenErrcode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/service_group_1_0/Models/QueryCustomerTaskUserDetailHeaders.php000064400000002373146412132660021544 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCustomerTaskUserDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/QueryCustomerTaskUserDetailRequest.php000064400000004541146412132660021620 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'openBatchTaskId' => 'openBatchTaskId', 'openTeamId' => 'openTeamId', 'receiverUnionIds' => 'receiverUnionIds', ]; 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->openBatchTaskId) { $res['openBatchTaskId'] = $this->openBatchTaskId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->receiverUnionIds) { $res['receiverUnionIds'] = $this->receiverUnionIds; } return $res; } /** * @param array $map * * @return QueryCustomerTaskUserDetailRequest */ 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['openBatchTaskId'])) { $model->openBatchTaskId = $map['openBatchTaskId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['receiverUnionIds'])) { if (!empty($map['receiverUnionIds'])) { $model->receiverUnionIds = $map['receiverUnionIds']; } } return $model; } } src/service_group_1_0/Models/QueryCustomerTaskUserDetailResponse.php000064400000003017146412132660021763 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCustomerTaskUserDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCustomerTaskUserDetailResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/QueryCustomerTaskUserDetailResponseBody.php000064400000004525146412132660022606 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'records' => 'records', 'totalCount' => 'totalCount', ]; 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->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; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryCustomerTaskUserDetailResponseBody */ 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['records'])) { if (!empty($map['records'])) { $model->records = []; $n = 0; foreach ($map['records'] as $item) { $model->records[$n++] = null !== $item ? records::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/service_group_1_0/Models/QueryCustomerTaskUserDetailResponseBody/records.php000064400000012264146412132660024246 0ustar00 'customerNames', 'errorCode' => 'errorCode', 'errorDetail' => 'errorDetail', 'eventTrackResponses' => 'eventTrackResponses', 'openBatchTaskId' => 'openBatchTaskId', 'readStatus' => 'readStatus', 'readTime' => 'readTime', 'receiverName' => 'receiverName', 'receiverUnionId' => 'receiverUnionId', 'sendTime' => 'sendTime', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customerNames) { $res['customerNames'] = $this->customerNames; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorDetail) { $res['errorDetail'] = $this->errorDetail; } if (null !== $this->eventTrackResponses) { $res['eventTrackResponses'] = []; if (null !== $this->eventTrackResponses && \is_array($this->eventTrackResponses)) { $n = 0; foreach ($this->eventTrackResponses as $item) { $res['eventTrackResponses'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->openBatchTaskId) { $res['openBatchTaskId'] = $this->openBatchTaskId; } if (null !== $this->readStatus) { $res['readStatus'] = $this->readStatus; } if (null !== $this->readTime) { $res['readTime'] = $this->readTime; } if (null !== $this->receiverName) { $res['receiverName'] = $this->receiverName; } if (null !== $this->receiverUnionId) { $res['receiverUnionId'] = $this->receiverUnionId; } if (null !== $this->sendTime) { $res['sendTime'] = $this->sendTime; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return records */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customerNames'])) { $model->customerNames = $map['customerNames']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorDetail'])) { $model->errorDetail = $map['errorDetail']; } if (isset($map['eventTrackResponses'])) { if (!empty($map['eventTrackResponses'])) { $model->eventTrackResponses = []; $n = 0; foreach ($map['eventTrackResponses'] as $item) { $model->eventTrackResponses[$n++] = null !== $item ? eventTrackResponses::fromMap($item) : $item; } } } if (isset($map['openBatchTaskId'])) { $model->openBatchTaskId = $map['openBatchTaskId']; } if (isset($map['readStatus'])) { $model->readStatus = $map['readStatus']; } if (isset($map['readTime'])) { $model->readTime = $map['readTime']; } if (isset($map['receiverName'])) { $model->receiverName = $map['receiverName']; } if (isset($map['receiverUnionId'])) { $model->receiverUnionId = $map['receiverUnionId']; } if (isset($map['sendTime'])) { $model->sendTime = $map['sendTime']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/service_group_1_0/Models/QueryCustomerTaskUserDetailResponseBody/records/eventTrackResponses.php000064400000003566146412132660030263 0ustar00 'clickTime', 'eventTrackId' => 'eventTrackId', 'onClick' => 'onClick', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->clickTime) { $res['clickTime'] = $this->clickTime; } if (null !== $this->eventTrackId) { $res['eventTrackId'] = $this->eventTrackId; } if (null !== $this->onClick) { $res['onClick'] = $this->onClick; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return eventTrackResponses */ public static function fromMap($map = []) { $model = new self(); if (isset($map['clickTime'])) { $model->clickTime = $map['clickTime']; } if (isset($map['eventTrackId'])) { $model->eventTrackId = $map['eventTrackId']; } if (isset($map['onClick'])) { $model->onClick = $map['onClick']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/service_group_1_0/Models/QueryGroupHeaders.php000064400000002331146412132660016224 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/QueryGroupMemberHeaders.php000064400000002345146412132660017361 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGroupMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/QueryGroupMemberRequest.php000064400000003160146412132660017432 0ustar00 'openConversationId', 'openTeamId' => 'openTeamId', 'targetCorpId' => 'targetCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } return $res; } /** * @param array $map * * @return QueryGroupMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } return $model; } } src/service_group_1_0/Models/QueryGroupMemberResponse.php000064400000002743146412132660017606 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGroupMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGroupMemberResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/QueryGroupMemberResponseBody.php000064400000002365146412132660020424 0ustar00 '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 QueryGroupMemberResponseBody */ 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/service_group_1_0/Models/QueryGroupMemberResponseBody/result.php000064400000003656146412132660021746 0ustar00 'groupMemberList', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupMemberList) { $res['groupMemberList'] = []; if (null !== $this->groupMemberList && \is_array($this->groupMemberList)) { $n = 0; foreach ($this->groupMemberList as $item) { $res['groupMemberList'][$n++] = null !== $item ? $item->toMap() : $item; } } } 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['groupMemberList'])) { if (!empty($map['groupMemberList'])) { $model->groupMemberList = []; $n = 0; foreach ($map['groupMemberList'] as $item) { $model->groupMemberList[$n++] = null !== $item ? groupMemberList::fromMap($item) : $item; } } } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/service_group_1_0/Models/QueryGroupMemberResponseBody/result/groupMemberList.php000064400000004406146412132660025060 0ustar00 'avatarMediaId', 'isUser' => 'isUser', 'nickName' => 'nickName', 'owner' => 'owner', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarMediaId) { $res['avatarMediaId'] = $this->avatarMediaId; } if (null !== $this->isUser) { $res['isUser'] = $this->isUser; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->owner) { $res['owner'] = $this->owner; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return groupMemberList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarMediaId'])) { $model->avatarMediaId = $map['avatarMediaId']; } if (isset($map['isUser'])) { $model->isUser = $map['isUser']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['owner'])) { $model->owner = $map['owner']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/service_group_1_0/Models/QueryGroupRequest.php000064400000003120146412132660016276 0ustar00 'bizId', 'openConversationId' => 'openConversationId', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return QueryGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/QueryGroupResponse.php000064400000002713146412132660016453 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGroupResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/QueryGroupResponseBody.php000064400000006465146412132660017301 0ustar00 'bizId', 'groupName' => 'groupName', 'groupUrl' => 'groupUrl', 'openConversationId' => 'openConversationId', 'openGroupSetId' => 'openGroupSetId', 'openTeamId' => 'openTeamId', 'robotCode' => 'robotCode', 'robotName' => 'robotName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->groupUrl) { $res['groupUrl'] = $this->groupUrl; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->robotName) { $res['robotName'] = $this->robotName; } return $res; } /** * @param array $map * * @return QueryGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['groupUrl'])) { $model->groupUrl = $map['groupUrl']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['robotName'])) { $model->robotName = $map['robotName']; } return $model; } } src/service_group_1_0/Models/QueryGroupSetHeaders.php000064400000002337146412132660016706 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGroupSetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/QueryGroupSetRequest.php000064400000001534146412132660016761 0ustar00 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return QueryGroupSetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/QueryGroupSetResponse.php000064400000002727146412132660017134 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGroupSetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGroupSetResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/QueryGroupSetResponseBody.php000064400000002640146412132660017744 0ustar00 'records', ]; public function validate() { } public function toMap() { $res = []; 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 QueryGroupSetResponseBody */ public static function fromMap($map = []) { $model = new self(); 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/service_group_1_0/Models/QueryGroupSetResponseBody/records.php000064400000004150146412132660021403 0ustar00 'gmtCreate', 'gmtModified' => 'gmtModified', 'groupSetName' => 'groupSetName', 'openGroupSetId' => 'openGroupSetId', '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->groupSetName) { $res['groupSetName'] = $this->groupSetName; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return records */ 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['groupSetName'])) { $model->groupSetName = $map['groupSetName']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/service_group_1_0/Models/QueryInstancesByMultiConditionsHeaders.php000064400000002403146412132660022417 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryInstancesByMultiConditionsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/QueryInstancesByMultiConditionsRequest.php000064400000006370146412132660022503 0ustar00 'formCode', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'openTeamId' => 'openTeamId', 'searchFields' => 'searchFields', 'sortFields' => 'sortFields', ]; 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->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->searchFields) { $res['searchFields'] = $this->searchFields; } if (null !== $this->sortFields) { $res['sortFields'] = []; if (null !== $this->sortFields && \is_array($this->sortFields)) { $n = 0; foreach ($this->sortFields as $item) { $res['sortFields'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryInstancesByMultiConditionsRequest */ 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['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['searchFields'])) { $model->searchFields = $map['searchFields']; } if (isset($map['sortFields'])) { if (!empty($map['sortFields'])) { $model->sortFields = []; $n = 0; foreach ($map['sortFields'] as $item) { $model->sortFields[$n++] = null !== $item ? sortFields::fromMap($item) : $item; } } } return $model; } } src/service_group_1_0/Models/QueryInstancesByMultiConditionsRequest/sortFields.php000064400000002307146412132660024615 0ustar00 'fieldCode', 'sortBy' => 'sortBy', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldCode) { $res['fieldCode'] = $this->fieldCode; } if (null !== $this->sortBy) { $res['sortBy'] = $this->sortBy; } return $res; } /** * @param array $map * * @return sortFields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldCode'])) { $model->fieldCode = $map['fieldCode']; } if (isset($map['sortBy'])) { $model->sortBy = $map['sortBy']; } return $model; } } src/service_group_1_0/Models/QueryInstancesByMultiConditionsResponse.php000064400000003037146412132660022646 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryInstancesByMultiConditionsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryInstancesByMultiConditionsResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/QueryInstancesByMultiConditionsResponseBody.php000064400000004541146412132660023465 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'records' => 'records', 'totalCount' => 'totalCount', ]; 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->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; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryInstancesByMultiConditionsResponseBody */ 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['records'])) { if (!empty($map['records'])) { $model->records = []; $n = 0; foreach ($map['records'] as $item) { $model->records[$n++] = null !== $item ? records::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/service_group_1_0/Models/QueryInstancesByMultiConditionsResponseBody/records.php000064400000006656146412132660025137 0ustar00 'creatorUnionId', 'fields' => 'fields', 'formCode' => 'formCode', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'modifiedUnionId' => 'modifiedUnionId', 'openDataInstanceId' => 'openDataInstanceId', 'openTeamId' => 'openTeamId', 'ownerUnionId' => 'ownerUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->fields) { $res['fields'] = $this->fields; } 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->modifiedUnionId) { $res['modifiedUnionId'] = $this->modifiedUnionId; } if (null !== $this->openDataInstanceId) { $res['openDataInstanceId'] = $this->openDataInstanceId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->ownerUnionId) { $res['ownerUnionId'] = $this->ownerUnionId; } return $res; } /** * @param array $map * * @return records */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['fields'])) { $model->fields = $map['fields']; } 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['modifiedUnionId'])) { $model->modifiedUnionId = $map['modifiedUnionId']; } if (isset($map['openDataInstanceId'])) { $model->openDataInstanceId = $map['openDataInstanceId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['ownerUnionId'])) { $model->ownerUnionId = $map['ownerUnionId']; } return $model; } } src/service_group_1_0/Models/QuerySendMsgTaskStatisticsDetailHeaders.php000064400000002405146412132660022513 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QuerySendMsgTaskStatisticsDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/QuerySendMsgTaskStatisticsDetailRequest.php000064400000004536146412132660022577 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'openBatchTaskId' => 'openBatchTaskId', 'openConversationId' => 'openConversationId', 'openTeamId' => 'openTeamId', ]; 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->openBatchTaskId) { $res['openBatchTaskId'] = $this->openBatchTaskId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return QuerySendMsgTaskStatisticsDetailRequest */ 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['openBatchTaskId'])) { $model->openBatchTaskId = $map['openBatchTaskId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/QuerySendMsgTaskStatisticsDetailResponse.php000064400000003043146412132660022735 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QuerySendMsgTaskStatisticsDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QuerySendMsgTaskStatisticsDetailResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/QuerySendMsgTaskStatisticsDetailResponseBody.php000064400000004544146412132660023562 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'records' => 'records', 'totalCount' => 'totalCount', ]; 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->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; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QuerySendMsgTaskStatisticsDetailResponseBody */ 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['records'])) { if (!empty($map['records'])) { $model->records = []; $n = 0; foreach ($map['records'] as $item) { $model->records[$n++] = null !== $item ? records::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/service_group_1_0/Models/QuerySendMsgTaskStatisticsDetailResponseBody/records.php000064400000005076146412132660025224 0ustar00 'openBatchTaskId', 'openConversationId' => 'openConversationId', 'readStatus' => 'readStatus', 'readTimeStr' => 'readTimeStr', 'receiverName' => 'receiverName', 'receiverUnionId' => 'receiverUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openBatchTaskId) { $res['openBatchTaskId'] = $this->openBatchTaskId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->readStatus) { $res['readStatus'] = $this->readStatus; } if (null !== $this->readTimeStr) { $res['readTimeStr'] = $this->readTimeStr; } if (null !== $this->receiverName) { $res['receiverName'] = $this->receiverName; } if (null !== $this->receiverUnionId) { $res['receiverUnionId'] = $this->receiverUnionId; } return $res; } /** * @param array $map * * @return records */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openBatchTaskId'])) { $model->openBatchTaskId = $map['openBatchTaskId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['readStatus'])) { $model->readStatus = $map['readStatus']; } if (isset($map['readTimeStr'])) { $model->readTimeStr = $map['readTimeStr']; } if (isset($map['receiverName'])) { $model->receiverName = $map['receiverName']; } if (isset($map['receiverUnionId'])) { $model->receiverUnionId = $map['receiverUnionId']; } return $model; } } src/service_group_1_0/Models/QuerySendMsgTaskStatisticsHeaders.php000064400000002371146412132660021372 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QuerySendMsgTaskStatisticsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/QuerySendMsgTaskStatisticsRequest.php000064400000003655146412132660021455 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'openBatchTaskId' => 'openBatchTaskId', 'openTeamId' => 'openTeamId', ]; 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->openBatchTaskId) { $res['openBatchTaskId'] = $this->openBatchTaskId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return QuerySendMsgTaskStatisticsRequest */ 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['openBatchTaskId'])) { $model->openBatchTaskId = $map['openBatchTaskId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/QuerySendMsgTaskStatisticsResponse.php000064400000003013146412132660021607 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QuerySendMsgTaskStatisticsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QuerySendMsgTaskStatisticsResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/QuerySendMsgTaskStatisticsResponseBody.php000064400000004522146412132660022433 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'records' => 'records', 'totalCount' => 'totalCount', ]; 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->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; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QuerySendMsgTaskStatisticsResponseBody */ 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['records'])) { if (!empty($map['records'])) { $model->records = []; $n = 0; foreach ($map['records'] as $item) { $model->records[$n++] = null !== $item ? records::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/service_group_1_0/Models/QuerySendMsgTaskStatisticsResponseBody/records.php000064400000005044146412132660024074 0ustar00 'errorDetail', 'group' => 'group', 'groupUserReadStatistics' => 'groupUserReadStatistics', 'openMsgId' => 'openMsgId', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorDetail) { $res['errorDetail'] = $this->errorDetail; } if (null !== $this->group) { $res['group'] = null !== $this->group ? $this->group->toMap() : null; } if (null !== $this->groupUserReadStatistics) { $res['groupUserReadStatistics'] = null !== $this->groupUserReadStatistics ? $this->groupUserReadStatistics->toMap() : null; } if (null !== $this->openMsgId) { $res['openMsgId'] = $this->openMsgId; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return records */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorDetail'])) { $model->errorDetail = $map['errorDetail']; } if (isset($map['group'])) { $model->group = group::fromMap($map['group']); } if (isset($map['groupUserReadStatistics'])) { $model->groupUserReadStatistics = groupUserReadStatistics::fromMap($map['groupUserReadStatistics']); } if (isset($map['openMsgId'])) { $model->openMsgId = $map['openMsgId']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/service_group_1_0/Models/QuerySendMsgTaskStatisticsResponseBody/records/group.php000064400000004727146412132660025237 0ustar00 'bizId', 'groupName' => 'groupName', 'groupSetName' => 'groupSetName', 'openConversationId' => 'openConversationId', 'openGroupSetId' => 'openGroupSetId', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->groupSetName) { $res['groupSetName'] = $this->groupSetName; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return group */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['groupSetName'])) { $model->groupSetName = $map['groupSetName']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } service_group_1_0/Models/QuerySendMsgTaskStatisticsResponseBody/records/groupUserReadStatistics.php000064400000004410146412132660030653 0ustar00src 'openBatchTaskId', 'openConversationId' => 'openConversationId', 'readUserInc' => 'readUserInc', 'sendUserInc' => 'sendUserInc', 'unReadUserInc' => 'unReadUserInc', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openBatchTaskId) { $res['openBatchTaskId'] = $this->openBatchTaskId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->readUserInc) { $res['readUserInc'] = $this->readUserInc; } if (null !== $this->sendUserInc) { $res['sendUserInc'] = $this->sendUserInc; } if (null !== $this->unReadUserInc) { $res['unReadUserInc'] = $this->unReadUserInc; } return $res; } /** * @param array $map * * @return groupUserReadStatistics */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openBatchTaskId'])) { $model->openBatchTaskId = $map['openBatchTaskId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['readUserInc'])) { $model->readUserInc = $map['readUserInc']; } if (isset($map['sendUserInc'])) { $model->sendUserInc = $map['sendUserInc']; } if (isset($map['unReadUserInc'])) { $model->unReadUserInc = $map['unReadUserInc']; } return $model; } } src/service_group_1_0/Models/QueryServiceGroupMessageReadStatusHeaders.php000064400000002411146412132660023051 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryServiceGroupMessageReadStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/QueryServiceGroupMessageReadStatusRequest.php000064400000004536146412132660023140 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'openConversationId' => 'openConversationId', 'openMsgTaskId' => 'openMsgTaskId', 'openTeamId' => 'openTeamId', ]; 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->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openMsgTaskId) { $res['openMsgTaskId'] = $this->openMsgTaskId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return QueryServiceGroupMessageReadStatusRequest */ 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['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openMsgTaskId'])) { $model->openMsgTaskId = $map['openMsgTaskId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/QueryServiceGroupMessageReadStatusResponse.php000064400000003053146412132660023277 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryServiceGroupMessageReadStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryServiceGroupMessageReadStatusResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/QueryServiceGroupMessageReadStatusResponseBody.php000064400000004552146412132660024122 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'records' => 'records', 'totalCount' => 'totalCount', ]; 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->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; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryServiceGroupMessageReadStatusResponseBody */ 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['records'])) { if (!empty($map['records'])) { $model->records = []; $n = 0; foreach ($map['records'] as $item) { $model->records[$n++] = null !== $item ? records::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/service_group_1_0/Models/QueryServiceGroupMessageReadStatusResponseBody/records.php000064400000006157146412132660025566 0ustar00 'readStatus', 'readTimeStr' => 'readTimeStr', 'receiverDingTalkId' => 'receiverDingTalkId', 'receiverName' => 'receiverName', 'receiverUnionId' => 'receiverUnionId', 'receiverUserId' => 'receiverUserId', 'sendTimeStr' => 'sendTimeStr', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readStatus) { $res['readStatus'] = $this->readStatus; } if (null !== $this->readTimeStr) { $res['readTimeStr'] = $this->readTimeStr; } if (null !== $this->receiverDingTalkId) { $res['receiverDingTalkId'] = $this->receiverDingTalkId; } if (null !== $this->receiverName) { $res['receiverName'] = $this->receiverName; } if (null !== $this->receiverUnionId) { $res['receiverUnionId'] = $this->receiverUnionId; } if (null !== $this->receiverUserId) { $res['receiverUserId'] = $this->receiverUserId; } if (null !== $this->sendTimeStr) { $res['sendTimeStr'] = $this->sendTimeStr; } return $res; } /** * @param array $map * * @return records */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readStatus'])) { $model->readStatus = $map['readStatus']; } if (isset($map['readTimeStr'])) { $model->readTimeStr = $map['readTimeStr']; } if (isset($map['receiverDingTalkId'])) { $model->receiverDingTalkId = $map['receiverDingTalkId']; } if (isset($map['receiverName'])) { $model->receiverName = $map['receiverName']; } if (isset($map['receiverUnionId'])) { $model->receiverUnionId = $map['receiverUnionId']; } if (isset($map['receiverUserId'])) { $model->receiverUserId = $map['receiverUserId']; } if (isset($map['sendTimeStr'])) { $model->sendTimeStr = $map['sendTimeStr']; } return $model; } } src/service_group_1_0/Models/QueueNotifyHeaders.php000064400000002333146412132660016361 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueueNotifyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/QueueNotifyRequest.php000064400000005712146412132660016442 0ustar00 'estimateWaitMin', 'openTeamId' => 'openTeamId', 'queuePlace' => 'queuePlace', 'serviceToken' => 'serviceToken', 'targetChannel' => 'targetChannel', 'tips' => 'tips', 'visitorToken' => 'visitorToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->estimateWaitMin) { $res['estimateWaitMin'] = $this->estimateWaitMin; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->queuePlace) { $res['queuePlace'] = $this->queuePlace; } if (null !== $this->serviceToken) { $res['serviceToken'] = $this->serviceToken; } if (null !== $this->targetChannel) { $res['targetChannel'] = $this->targetChannel; } if (null !== $this->tips) { $res['tips'] = $this->tips; } if (null !== $this->visitorToken) { $res['visitorToken'] = $this->visitorToken; } return $res; } /** * @param array $map * * @return QueueNotifyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['estimateWaitMin'])) { $model->estimateWaitMin = $map['estimateWaitMin']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['queuePlace'])) { $model->queuePlace = $map['queuePlace']; } if (isset($map['serviceToken'])) { $model->serviceToken = $map['serviceToken']; } if (isset($map['targetChannel'])) { $model->targetChannel = $map['targetChannel']; } if (isset($map['tips'])) { $model->tips = $map['tips']; } if (isset($map['visitorToken'])) { $model->visitorToken = $map['visitorToken']; } return $model; } } src/service_group_1_0/Models/QueueNotifyResponse.php000064400000002717146412132660016612 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueueNotifyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueueNotifyResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/QueueNotifyResponseBody.php000064400000003435146412132660017426 0ustar00 'dingOpenErrcode', 'errorMsg' => 'errorMsg', 'result' => 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingOpenErrcode) { $res['dingOpenErrcode'] = $this->dingOpenErrcode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return QueueNotifyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingOpenErrcode'])) { $model->dingOpenErrcode = $map['dingOpenErrcode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/service_group_1_0/Models/RemoveContactFromOrgHeaders.php000064400000002355146412132660020155 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveContactFromOrgHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/RemoveContactFromOrgRequest.php000064400000002375146412132660020234 0ustar00 'contactUnionId', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contactUnionId) { $res['contactUnionId'] = $this->contactUnionId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return RemoveContactFromOrgRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contactUnionId'])) { $model->contactUnionId = $map['contactUnionId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/RemoveContactFromOrgResponse.php000064400000002763146412132660020403 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RemoveContactFromOrgResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RemoveContactFromOrgResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/RemoveContactFromOrgResponseBody.php000064400000001516146412132660021214 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return RemoveContactFromOrgResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/service_group_1_0/Models/ReportCustomerDetailHeaders.php000064400000002355146412132660020230 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReportCustomerDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/ReportCustomerDetailRequest.php000064400000006302146412132660020301 0ustar00 'hasLogin', 'hasOpenConv' => 'hasOpenConv', 'maxDt' => 'maxDt', 'minDt' => 'minDt', 'openConversationId' => 'openConversationId', 'openTeamId' => 'openTeamId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasLogin) { $res['hasLogin'] = $this->hasLogin; } if (null !== $this->hasOpenConv) { $res['hasOpenConv'] = $this->hasOpenConv; } if (null !== $this->maxDt) { $res['maxDt'] = $this->maxDt; } if (null !== $this->minDt) { $res['minDt'] = $this->minDt; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return ReportCustomerDetailRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasLogin'])) { $model->hasLogin = $map['hasLogin']; } if (isset($map['hasOpenConv'])) { $model->hasOpenConv = $map['hasOpenConv']; } if (isset($map['maxDt'])) { $model->maxDt = $map['maxDt']; } if (isset($map['minDt'])) { $model->minDt = $map['minDt']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/service_group_1_0/Models/ReportCustomerDetailResponse.php000064400000002763146412132660020456 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReportCustomerDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReportCustomerDetailResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/ReportCustomerDetailResponseBody.php000064400000004617146412132660021274 0ustar00 'currentPage', 'pageSize' => 'pageSize', 'records' => 'records', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->currentPage) { $res['currentPage'] = $this->currentPage; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } 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; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return ReportCustomerDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } 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; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/service_group_1_0/Models/ReportCustomerDetailResponseBody/records.php000064400000006164146412132660022734 0ustar00 'atRobotCnt', 'customerName' => 'customerName', 'groupName' => 'groupName', 'hasLogin' => 'hasLogin', 'hasOpenConv' => 'hasOpenConv', 'sendMsgCnt' => 'sendMsgCnt', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atRobotCnt) { $res['atRobotCnt'] = $this->atRobotCnt; } if (null !== $this->customerName) { $res['customerName'] = $this->customerName; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->hasLogin) { $res['hasLogin'] = $this->hasLogin; } if (null !== $this->hasOpenConv) { $res['hasOpenConv'] = $this->hasOpenConv; } if (null !== $this->sendMsgCnt) { $res['sendMsgCnt'] = $this->sendMsgCnt; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } 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['atRobotCnt'])) { $model->atRobotCnt = $map['atRobotCnt']; } if (isset($map['customerName'])) { $model->customerName = $map['customerName']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['hasLogin'])) { $model->hasLogin = $map['hasLogin']; } if (isset($map['hasOpenConv'])) { $model->hasOpenConv = $map['hasOpenConv']; } if (isset($map['sendMsgCnt'])) { $model->sendMsgCnt = $map['sendMsgCnt']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/service_group_1_0/Models/ReportCustomerStatisticsHeaders.php000064400000002365146412132660021161 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReportCustomerStatisticsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/ReportCustomerStatisticsRequest.php000064400000007423146412132660021236 0ustar00 'groupOwnerUserIds', 'groupTags' => 'groupTags', 'maxDt' => 'maxDt', 'minDt' => 'minDt', 'openConversationIds' => 'openConversationIds', 'openGroupSetId' => 'openGroupSetId', 'openTeamId' => 'openTeamId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupOwnerUserIds) { $res['groupOwnerUserIds'] = $this->groupOwnerUserIds; } if (null !== $this->groupTags) { $res['groupTags'] = $this->groupTags; } if (null !== $this->maxDt) { $res['maxDt'] = $this->maxDt; } if (null !== $this->minDt) { $res['minDt'] = $this->minDt; } if (null !== $this->openConversationIds) { $res['openConversationIds'] = $this->openConversationIds; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return ReportCustomerStatisticsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupOwnerUserIds'])) { if (!empty($map['groupOwnerUserIds'])) { $model->groupOwnerUserIds = $map['groupOwnerUserIds']; } } if (isset($map['groupTags'])) { if (!empty($map['groupTags'])) { $model->groupTags = $map['groupTags']; } } if (isset($map['maxDt'])) { $model->maxDt = $map['maxDt']; } if (isset($map['minDt'])) { $model->minDt = $map['minDt']; } if (isset($map['openConversationIds'])) { if (!empty($map['openConversationIds'])) { $model->openConversationIds = $map['openConversationIds']; } } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/service_group_1_0/Models/ReportCustomerStatisticsResponse.php000064400000003003146412132660021372 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReportCustomerStatisticsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReportCustomerStatisticsResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/ReportCustomerStatisticsResponseBody.php000064400000004633146412132660022222 0ustar00 'currentPage', 'pageSize' => 'pageSize', 'records' => 'records', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->currentPage) { $res['currentPage'] = $this->currentPage; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } 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; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return ReportCustomerStatisticsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } 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; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/service_group_1_0/Models/ReportCustomerStatisticsResponseBody/records.php000064400000010425146412132660023657 0ustar00 'atRobotCnt', 'bizId' => 'bizId', 'customerCnt' => 'customerCnt', 'groupName' => 'groupName', 'groupSetName' => 'groupSetName', 'loginCnt' => 'loginCnt', 'openConvCnt' => 'openConvCnt', 'openConversationId' => 'openConversationId', 'openGroupSetId' => 'openGroupSetId', 'sendMsgCnt' => 'sendMsgCnt', 'senderCnt' => 'senderCnt', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atRobotCnt) { $res['atRobotCnt'] = $this->atRobotCnt; } if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->customerCnt) { $res['customerCnt'] = $this->customerCnt; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->groupSetName) { $res['groupSetName'] = $this->groupSetName; } if (null !== $this->loginCnt) { $res['loginCnt'] = $this->loginCnt; } if (null !== $this->openConvCnt) { $res['openConvCnt'] = $this->openConvCnt; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->sendMsgCnt) { $res['sendMsgCnt'] = $this->sendMsgCnt; } if (null !== $this->senderCnt) { $res['senderCnt'] = $this->senderCnt; } return $res; } /** * @param array $map * * @return records */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atRobotCnt'])) { $model->atRobotCnt = $map['atRobotCnt']; } if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['customerCnt'])) { $model->customerCnt = $map['customerCnt']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['groupSetName'])) { $model->groupSetName = $map['groupSetName']; } if (isset($map['loginCnt'])) { $model->loginCnt = $map['loginCnt']; } if (isset($map['openConvCnt'])) { $model->openConvCnt = $map['openConvCnt']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['sendMsgCnt'])) { $model->sendMsgCnt = $map['sendMsgCnt']; } if (isset($map['senderCnt'])) { $model->senderCnt = $map['senderCnt']; } return $model; } } src/service_group_1_0/Models/ResubmitTicketHeaders.php000064400000002341146412132660017041 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ResubmitTicketHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/ResubmitTicketRequest.php000064400000011470146412132660017121 0ustar00 'creatorUnionId', 'customFields' => 'customFields', 'notify' => 'notify', 'openTeamId' => 'openTeamId', 'openTemplateBizId' => 'openTemplateBizId', 'openTicketId' => 'openTicketId', 'processorUnionIds' => 'processorUnionIds', 'scene' => 'scene', 'sceneContext' => 'sceneContext', 'ticketMemo' => 'ticketMemo', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->customFields) { $res['customFields'] = $this->customFields; } if (null !== $this->notify) { $res['notify'] = null !== $this->notify ? $this->notify->toMap() : null; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->openTemplateBizId) { $res['openTemplateBizId'] = $this->openTemplateBizId; } if (null !== $this->openTicketId) { $res['openTicketId'] = $this->openTicketId; } if (null !== $this->processorUnionIds) { $res['processorUnionIds'] = $this->processorUnionIds; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->sceneContext) { $res['sceneContext'] = null !== $this->sceneContext ? $this->sceneContext->toMap() : null; } if (null !== $this->ticketMemo) { $res['ticketMemo'] = null !== $this->ticketMemo ? $this->ticketMemo->toMap() : null; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return ResubmitTicketRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['customFields'])) { $model->customFields = $map['customFields']; } if (isset($map['notify'])) { $model->notify = notify::fromMap($map['notify']); } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['openTemplateBizId'])) { $model->openTemplateBizId = $map['openTemplateBizId']; } if (isset($map['openTicketId'])) { $model->openTicketId = $map['openTicketId']; } if (isset($map['processorUnionIds'])) { if (!empty($map['processorUnionIds'])) { $model->processorUnionIds = $map['processorUnionIds']; } } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['sceneContext'])) { $model->sceneContext = sceneContext::fromMap($map['sceneContext']); } if (isset($map['ticketMemo'])) { $model->ticketMemo = ticketMemo::fromMap($map['ticketMemo']); } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/service_group_1_0/Models/ResubmitTicketRequest/notify.php000064400000004004146412132660020424 0ustar00 'groupNoticeReceiverUnionIds', 'noticeAllGroupMember' => 'noticeAllGroupMember', 'workNoticeReceiverUnionIds' => 'workNoticeReceiverUnionIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupNoticeReceiverUnionIds) { $res['groupNoticeReceiverUnionIds'] = $this->groupNoticeReceiverUnionIds; } if (null !== $this->noticeAllGroupMember) { $res['noticeAllGroupMember'] = $this->noticeAllGroupMember; } if (null !== $this->workNoticeReceiverUnionIds) { $res['workNoticeReceiverUnionIds'] = $this->workNoticeReceiverUnionIds; } return $res; } /** * @param array $map * * @return notify */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupNoticeReceiverUnionIds'])) { if (!empty($map['groupNoticeReceiverUnionIds'])) { $model->groupNoticeReceiverUnionIds = $map['groupNoticeReceiverUnionIds']; } } if (isset($map['noticeAllGroupMember'])) { $model->noticeAllGroupMember = $map['noticeAllGroupMember']; } if (isset($map['workNoticeReceiverUnionIds'])) { if (!empty($map['workNoticeReceiverUnionIds'])) { $model->workNoticeReceiverUnionIds = $map['workNoticeReceiverUnionIds']; } } return $model; } } src/service_group_1_0/Models/ResubmitTicketRequest/sceneContext.php000064400000004503146412132660021562 0ustar00 'groupMsgs', 'openConversationId' => 'openConversationId', 'relevantorUnionIds' => 'relevantorUnionIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupMsgs) { $res['groupMsgs'] = []; if (null !== $this->groupMsgs && \is_array($this->groupMsgs)) { $n = 0; foreach ($this->groupMsgs as $item) { $res['groupMsgs'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->relevantorUnionIds) { $res['relevantorUnionIds'] = $this->relevantorUnionIds; } return $res; } /** * @param array $map * * @return sceneContext */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupMsgs'])) { if (!empty($map['groupMsgs'])) { $model->groupMsgs = []; $n = 0; foreach ($map['groupMsgs'] as $item) { $model->groupMsgs[$n++] = null !== $item ? groupMsgs::fromMap($item) : $item; } } } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['relevantorUnionIds'])) { if (!empty($map['relevantorUnionIds'])) { $model->relevantorUnionIds = $map['relevantorUnionIds']; } } return $model; } } src/service_group_1_0/Models/ResubmitTicketRequest/sceneContext/groupMsgs.php000064400000002673146412132660023556 0ustar00 'anchor', 'openMsgId' => 'openMsgId', 'topicId' => 'topicId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->anchor) { $res['anchor'] = $this->anchor; } if (null !== $this->openMsgId) { $res['openMsgId'] = $this->openMsgId; } if (null !== $this->topicId) { $res['topicId'] = $this->topicId; } return $res; } /** * @param array $map * * @return groupMsgs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['anchor'])) { $model->anchor = $map['anchor']; } if (isset($map['openMsgId'])) { $model->openMsgId = $map['openMsgId']; } if (isset($map['topicId'])) { $model->topicId = $map['topicId']; } return $model; } } src/service_group_1_0/Models/ResubmitTicketRequest/ticketMemo.php000064400000003410146412132660021215 0ustar00 'attachments', 'memo' => 'memo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->memo) { $res['memo'] = $this->memo; } return $res; } /** * @param array $map * * @return ticketMemo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['memo'])) { $model->memo = $map['memo']; } return $model; } } src/service_group_1_0/Models/ResubmitTicketRequest/ticketMemo/attachments.php000064400000002331146412132660023531 0ustar00 'fileName', 'key' => 'key', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->key) { $res['key'] = $this->key; } return $res; } /** * @param array $map * * @return attachments */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['key'])) { $model->key = $map['key']; } return $model; } } src/service_group_1_0/Models/ResubmitTicketResponse.php000064400000002171146412132660017265 0ustar00 '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 ResubmitTicketResponse */ 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/service_group_1_0/Models/RetractTicketHeaders.php000064400000002337146412132660016660 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RetractTicketHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/RetractTicketRequest.php000064400000004716146412132660016740 0ustar00 'notify', 'openTeamId' => 'openTeamId', 'openTicketId' => 'openTicketId', 'operatorUnionId' => 'operatorUnionId', 'ticketMemo' => 'ticketMemo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->notify) { $res['notify'] = null !== $this->notify ? $this->notify->toMap() : null; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->openTicketId) { $res['openTicketId'] = $this->openTicketId; } if (null !== $this->operatorUnionId) { $res['operatorUnionId'] = $this->operatorUnionId; } if (null !== $this->ticketMemo) { $res['ticketMemo'] = null !== $this->ticketMemo ? $this->ticketMemo->toMap() : null; } return $res; } /** * @param array $map * * @return RetractTicketRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['notify'])) { $model->notify = notify::fromMap($map['notify']); } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['openTicketId'])) { $model->openTicketId = $map['openTicketId']; } if (isset($map['operatorUnionId'])) { $model->operatorUnionId = $map['operatorUnionId']; } if (isset($map['ticketMemo'])) { $model->ticketMemo = ticketMemo::fromMap($map['ticketMemo']); } return $model; } } src/service_group_1_0/Models/RetractTicketRequest/notify.php000064400000004003146412132660020235 0ustar00 'groupNoticeReceiverUnionIds', 'noticeAllGroupMember' => 'noticeAllGroupMember', 'workNoticeReceiverUnionIds' => 'workNoticeReceiverUnionIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupNoticeReceiverUnionIds) { $res['groupNoticeReceiverUnionIds'] = $this->groupNoticeReceiverUnionIds; } if (null !== $this->noticeAllGroupMember) { $res['noticeAllGroupMember'] = $this->noticeAllGroupMember; } if (null !== $this->workNoticeReceiverUnionIds) { $res['workNoticeReceiverUnionIds'] = $this->workNoticeReceiverUnionIds; } return $res; } /** * @param array $map * * @return notify */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupNoticeReceiverUnionIds'])) { if (!empty($map['groupNoticeReceiverUnionIds'])) { $model->groupNoticeReceiverUnionIds = $map['groupNoticeReceiverUnionIds']; } } if (isset($map['noticeAllGroupMember'])) { $model->noticeAllGroupMember = $map['noticeAllGroupMember']; } if (isset($map['workNoticeReceiverUnionIds'])) { if (!empty($map['workNoticeReceiverUnionIds'])) { $model->workNoticeReceiverUnionIds = $map['workNoticeReceiverUnionIds']; } } return $model; } } src/service_group_1_0/Models/RetractTicketRequest/ticketMemo.php000064400000003406146412132660021034 0ustar00 'attachments', 'memo' => 'memo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->memo) { $res['memo'] = $this->memo; } return $res; } /** * @param array $map * * @return ticketMemo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['memo'])) { $model->memo = $map['memo']; } return $model; } } src/service_group_1_0/Models/RetractTicketRequest/ticketMemo/attachments.php000064400000002120146412132660023337 0ustar00 'fileName', 'key' => 'key', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->key) { $res['key'] = $this->key; } return $res; } /** * @param array $map * * @return attachments */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['key'])) { $model->key = $map['key']; } return $model; } } src/service_group_1_0/Models/RetractTicketResponse.php000064400000002167146412132660017104 0ustar00 '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 RetractTicketResponse */ 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/service_group_1_0/Models/RobotMessageRecallHeaders.php000064400000002351146412132660017621 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RobotMessageRecallHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/RobotMessageRecallRequest.php000064400000003216146412132660017677 0ustar00 'openConversationId', 'openMsgId' => 'openMsgId', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openMsgId) { $res['openMsgId'] = $this->openMsgId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return RobotMessageRecallRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openMsgId'])) { $model->openMsgId = $map['openMsgId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/RobotMessageRecallResponse.php000064400000002753146412132660020052 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RobotMessageRecallResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RobotMessageRecallResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/RobotMessageRecallResponseBody.php000064400000001514146412132660020662 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return RobotMessageRecallResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/service_group_1_0/Models/SaveFormInstanceHeaders.php000064400000002345146412132660017316 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveFormInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/SaveFormInstanceRequest.php000064400000003703146412132660017372 0ustar00 'formDataList', 'openTeamId' => 'openTeamId', 'operatorUnionId' => 'operatorUnionId', 'ownerUnionId' => 'ownerUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formDataList) { $res['formDataList'] = $this->formDataList; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->operatorUnionId) { $res['operatorUnionId'] = $this->operatorUnionId; } if (null !== $this->ownerUnionId) { $res['ownerUnionId'] = $this->ownerUnionId; } return $res; } /** * @param array $map * * @return SaveFormInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formDataList'])) { $model->formDataList = $map['formDataList']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['operatorUnionId'])) { $model->operatorUnionId = $map['operatorUnionId']; } if (isset($map['ownerUnionId'])) { $model->ownerUnionId = $map['ownerUnionId']; } return $model; } } src/service_group_1_0/Models/SaveFormInstanceResponse.php000064400000002743146412132660017543 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveFormInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveFormInstanceResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/SaveFormInstanceResponseBody.php000064400000002430146412132660020352 0ustar00 'openContactId', 'openCustomerId' => 'openCustomerId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openContactId) { $res['openContactId'] = $this->openContactId; } if (null !== $this->openCustomerId) { $res['openCustomerId'] = $this->openCustomerId; } return $res; } /** * @param array $map * * @return SaveFormInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openContactId'])) { $model->openContactId = $map['openContactId']; } if (isset($map['openCustomerId'])) { $model->openCustomerId = $map['openCustomerId']; } return $model; } } src/service_group_1_0/Models/SearchGroupHeaders.php000064400000002333146412132660016326 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/SearchGroupRequest.php000064400000006021146412132660016401 0ustar00 'groupName', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'openConversationId' => 'openConversationId', 'openGroupSetId' => 'openGroupSetId', 'openTeamId' => 'openTeamId', 'searchType' => 'searchType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->searchType) { $res['searchType'] = $this->searchType; } return $res; } /** * @param array $map * * @return SearchGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['searchType'])) { $model->searchType = $map['searchType']; } return $model; } } src/service_group_1_0/Models/SearchGroupResponse.php000064400000002717146412132660016557 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchGroupResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/SearchGroupResponseBody.php000064400000004445146412132660017375 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'records' => 'records', 'totalCount' => 'totalCount', ]; 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->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; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return SearchGroupResponseBody */ 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['records'])) { if (!empty($map['records'])) { $model->records = []; $n = 0; foreach ($map['records'] as $item) { $model->records[$n++] = null !== $item ? records::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/service_group_1_0/Models/SearchGroupResponseBody/records.php000064400000004505146412132660021033 0ustar00 'groupName', 'groupUrl' => 'groupUrl', 'openConversationId' => 'openConversationId', 'openGroupSetId' => 'openGroupSetId', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->groupUrl) { $res['groupUrl'] = $this->groupUrl; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return records */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['groupUrl'])) { $model->groupUrl = $map['groupUrl']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/SendMsgByTaskHeaders.php000064400000002337146412132660016566 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendMsgByTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/SendMsgByTaskRequest.php000064400000005065146412132660016644 0ustar00 'messageContent', 'openTeamId' => 'openTeamId', 'queryGroup' => 'queryGroup', 'sendConfig' => 'sendConfig', 'taskName' => 'taskName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messageContent) { $res['messageContent'] = null !== $this->messageContent ? $this->messageContent->toMap() : null; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->queryGroup) { $res['queryGroup'] = null !== $this->queryGroup ? $this->queryGroup->toMap() : null; } if (null !== $this->sendConfig) { $res['sendConfig'] = null !== $this->sendConfig ? $this->sendConfig->toMap() : null; } if (null !== $this->taskName) { $res['taskName'] = $this->taskName; } return $res; } /** * @param array $map * * @return SendMsgByTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messageContent'])) { $model->messageContent = messageContent::fromMap($map['messageContent']); } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['queryGroup'])) { $model->queryGroup = queryGroup::fromMap($map['queryGroup']); } if (isset($map['sendConfig'])) { $model->sendConfig = sendConfig::fromMap($map['sendConfig']); } if (isset($map['taskName'])) { $model->taskName = $map['taskName']; } return $model; } } src/service_group_1_0/Models/SendMsgByTaskRequest/messageContent.php000064400000010044146412132660021614 0ustar00 'atActiveMemberNum', 'atActiveUser' => 'atActiveUser', 'atAll' => 'atAll', 'btns' => 'btns', 'content' => 'content', 'images' => 'images', 'messageType' => 'messageType', 'remind' => 'remind', 'title' => 'title', 'top' => 'top', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atActiveMemberNum) { $res['atActiveMemberNum'] = $this->atActiveMemberNum; } if (null !== $this->atActiveUser) { $res['atActiveUser'] = $this->atActiveUser; } if (null !== $this->atAll) { $res['atAll'] = $this->atAll; } if (null !== $this->btns) { $res['btns'] = []; if (null !== $this->btns && \is_array($this->btns)) { $n = 0; foreach ($this->btns as $item) { $res['btns'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->images) { $res['images'] = $this->images; } if (null !== $this->messageType) { $res['messageType'] = $this->messageType; } if (null !== $this->remind) { $res['remind'] = $this->remind; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->top) { $res['top'] = $this->top; } return $res; } /** * @param array $map * * @return messageContent */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atActiveMemberNum'])) { $model->atActiveMemberNum = $map['atActiveMemberNum']; } if (isset($map['atActiveUser'])) { $model->atActiveUser = $map['atActiveUser']; } if (isset($map['atAll'])) { $model->atAll = $map['atAll']; } if (isset($map['btns'])) { if (!empty($map['btns'])) { $model->btns = []; $n = 0; foreach ($map['btns'] as $item) { $model->btns[$n++] = null !== $item ? btns::fromMap($item) : $item; } } } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['images'])) { if (!empty($map['images'])) { $model->images = $map['images']; } } if (isset($map['messageType'])) { $model->messageType = $map['messageType']; } if (isset($map['remind'])) { $model->remind = $map['remind']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['top'])) { $model->top = $map['top']; } return $model; } } src/service_group_1_0/Models/SendMsgByTaskRequest/messageContent/btns.php000064400000002140146412132660022560 0ustar00 '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 btns */ 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/service_group_1_0/Models/SendMsgByTaskRequest/queryGroup.php000064400000006343146412132660021026 0ustar00 'groupTagNames', 'lastActiveDateFilterType' => 'lastActiveDateFilterType', 'lastActiveTimeEnd' => 'lastActiveTimeEnd', 'lastActiveTimeStart' => 'lastActiveTimeStart', 'openConversationIds' => 'openConversationIds', 'openGroupSetId' => 'openGroupSetId', 'queryType' => 'queryType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupTagNames) { $res['groupTagNames'] = $this->groupTagNames; } if (null !== $this->lastActiveDateFilterType) { $res['lastActiveDateFilterType'] = $this->lastActiveDateFilterType; } if (null !== $this->lastActiveTimeEnd) { $res['lastActiveTimeEnd'] = $this->lastActiveTimeEnd; } if (null !== $this->lastActiveTimeStart) { $res['lastActiveTimeStart'] = $this->lastActiveTimeStart; } if (null !== $this->openConversationIds) { $res['openConversationIds'] = $this->openConversationIds; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->queryType) { $res['queryType'] = $this->queryType; } return $res; } /** * @param array $map * * @return queryGroup */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupTagNames'])) { if (!empty($map['groupTagNames'])) { $model->groupTagNames = $map['groupTagNames']; } } if (isset($map['lastActiveDateFilterType'])) { $model->lastActiveDateFilterType = $map['lastActiveDateFilterType']; } if (isset($map['lastActiveTimeEnd'])) { $model->lastActiveTimeEnd = $map['lastActiveTimeEnd']; } if (isset($map['lastActiveTimeStart'])) { $model->lastActiveTimeStart = $map['lastActiveTimeStart']; } if (isset($map['openConversationIds'])) { if (!empty($map['openConversationIds'])) { $model->openConversationIds = $map['openConversationIds']; } } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['queryType'])) { $model->queryType = $map['queryType']; } return $model; } } src/service_group_1_0/Models/SendMsgByTaskRequest/sendConfig.php000064400000004653146412132660020725 0ustar00 'needUrlTrack', 'sendTime' => 'sendTime', 'sendType' => 'sendType', 'urlTrackConfig' => 'urlTrackConfig', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->needUrlTrack) { $res['needUrlTrack'] = $this->needUrlTrack; } if (null !== $this->sendTime) { $res['sendTime'] = $this->sendTime; } if (null !== $this->sendType) { $res['sendType'] = $this->sendType; } if (null !== $this->urlTrackConfig) { $res['urlTrackConfig'] = []; if (null !== $this->urlTrackConfig && \is_array($this->urlTrackConfig)) { $n = 0; foreach ($this->urlTrackConfig as $item) { $res['urlTrackConfig'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return sendConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['needUrlTrack'])) { $model->needUrlTrack = $map['needUrlTrack']; } if (isset($map['sendTime'])) { $model->sendTime = $map['sendTime']; } if (isset($map['sendType'])) { $model->sendType = $map['sendType']; } if (isset($map['urlTrackConfig'])) { if (!empty($map['urlTrackConfig'])) { $model->urlTrackConfig = []; $n = 0; foreach ($map['urlTrackConfig'] as $item) { $model->urlTrackConfig[$n++] = null !== $item ? urlTrackConfig::fromMap($item) : $item; } } } return $model; } } src/service_group_1_0/Models/SendMsgByTaskRequest/sendConfig/urlTrackConfig.php000064400000002576146412132660023644 0ustar00 'title', 'trackId' => 'trackId', 'trackUrl' => 'trackUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->trackId) { $res['trackId'] = $this->trackId; } if (null !== $this->trackUrl) { $res['trackUrl'] = $this->trackUrl; } return $res; } /** * @param array $map * * @return urlTrackConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['trackId'])) { $model->trackId = $map['trackId']; } if (isset($map['trackUrl'])) { $model->trackUrl = $map['trackUrl']; } return $model; } } src/service_group_1_0/Models/SendMsgByTaskResponse.php000064400000002727146412132660017014 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendMsgByTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendMsgByTaskResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/SendMsgByTaskResponseBody.php000064400000001623146412132660017624 0ustar00 'openBatchTaskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openBatchTaskId) { $res['openBatchTaskId'] = $this->openBatchTaskId; } return $res; } /** * @param array $map * * @return SendMsgByTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openBatchTaskId'])) { $model->openBatchTaskId = $map['openBatchTaskId']; } return $model; } } src/service_group_1_0/Models/SendMsgByTaskSupportInviteJoinOrgHeaders.php000064400000002407146412132660022630 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendMsgByTaskSupportInviteJoinOrgHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/SendMsgByTaskSupportInviteJoinOrgRequest.php000064400000005626146412132660022713 0ustar00 'messageContent', 'mobilePhones' => 'mobilePhones', 'needUrlTrack' => 'needUrlTrack', 'openTeamId' => 'openTeamId', 'sendChannel' => 'sendChannel', 'taskName' => 'taskName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messageContent) { $res['messageContent'] = null !== $this->messageContent ? $this->messageContent->toMap() : null; } if (null !== $this->mobilePhones) { $res['mobilePhones'] = $this->mobilePhones; } if (null !== $this->needUrlTrack) { $res['needUrlTrack'] = $this->needUrlTrack; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->sendChannel) { $res['sendChannel'] = $this->sendChannel; } if (null !== $this->taskName) { $res['taskName'] = $this->taskName; } return $res; } /** * @param array $map * * @return SendMsgByTaskSupportInviteJoinOrgRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messageContent'])) { $model->messageContent = messageContent::fromMap($map['messageContent']); } if (isset($map['mobilePhones'])) { if (!empty($map['mobilePhones'])) { $model->mobilePhones = $map['mobilePhones']; } } if (isset($map['needUrlTrack'])) { $model->needUrlTrack = $map['needUrlTrack']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['sendChannel'])) { $model->sendChannel = $map['sendChannel']; } if (isset($map['taskName'])) { $model->taskName = $map['taskName']; } return $model; } } src/service_group_1_0/Models/SendMsgByTaskSupportInviteJoinOrgRequest/messageContent.php000064400000004566146412132660025674 0ustar00 'btns', 'content' => 'content', 'messageType' => 'messageType', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->btns) { $res['btns'] = []; if (null !== $this->btns && \is_array($this->btns)) { $n = 0; foreach ($this->btns as $item) { $res['btns'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->messageType) { $res['messageType'] = $this->messageType; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return messageContent */ public static function fromMap($map = []) { $model = new self(); if (isset($map['btns'])) { if (!empty($map['btns'])) { $model->btns = []; $n = 0; foreach ($map['btns'] as $item) { $model->btns[$n++] = null !== $item ? btns::fromMap($item) : $item; } } } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['messageType'])) { $model->messageType = $map['messageType']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/service_group_1_0/Models/SendMsgByTaskSupportInviteJoinOrgRequest/messageContent/btns.php000064400000002304146412132660026626 0ustar00 '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 btns */ 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/service_group_1_0/Models/SendMsgByTaskSupportInviteJoinOrgResponse.php000064400000003047146412132660023054 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendMsgByTaskSupportInviteJoinOrgResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendMsgByTaskSupportInviteJoinOrgResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/SendMsgByTaskSupportInviteJoinOrgResponseBody.php000064400000001673146412132660023675 0ustar00 'openBatchTaskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openBatchTaskId) { $res['openBatchTaskId'] = $this->openBatchTaskId; } return $res; } /** * @param array $map * * @return SendMsgByTaskSupportInviteJoinOrgResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openBatchTaskId'])) { $model->openBatchTaskId = $map['openBatchTaskId']; } return $model; } } src/service_group_1_0/Models/SendServiceGroupMessageHeaders.php000064400000002363146412132660020643 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendServiceGroupMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/SendServiceGroupMessageRequest.php000064400000014557146412132660020730 0ustar00 'atDingtalkIds', 'atMobiles' => 'atMobiles', 'atUnionIds' => 'atUnionIds', 'btnOrientation' => 'btnOrientation', 'btns' => 'btns', 'content' => 'content', 'hasContentLinks' => 'hasContentLinks', 'isAtAll' => 'isAtAll', 'messageType' => 'messageType', 'receiverDingtalkIds' => 'receiverDingtalkIds', 'receiverMobiles' => 'receiverMobiles', 'receiverUnionIds' => 'receiverUnionIds', 'targetOpenConversationId' => 'targetOpenConversationId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atDingtalkIds) { $res['atDingtalkIds'] = $this->atDingtalkIds; } if (null !== $this->atMobiles) { $res['atMobiles'] = $this->atMobiles; } if (null !== $this->atUnionIds) { $res['atUnionIds'] = $this->atUnionIds; } if (null !== $this->btnOrientation) { $res['btnOrientation'] = $this->btnOrientation; } if (null !== $this->btns) { $res['btns'] = []; if (null !== $this->btns && \is_array($this->btns)) { $n = 0; foreach ($this->btns as $item) { $res['btns'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->hasContentLinks) { $res['hasContentLinks'] = $this->hasContentLinks; } if (null !== $this->isAtAll) { $res['isAtAll'] = $this->isAtAll; } if (null !== $this->messageType) { $res['messageType'] = $this->messageType; } if (null !== $this->receiverDingtalkIds) { $res['receiverDingtalkIds'] = $this->receiverDingtalkIds; } if (null !== $this->receiverMobiles) { $res['receiverMobiles'] = $this->receiverMobiles; } if (null !== $this->receiverUnionIds) { $res['receiverUnionIds'] = $this->receiverUnionIds; } if (null !== $this->targetOpenConversationId) { $res['targetOpenConversationId'] = $this->targetOpenConversationId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return SendServiceGroupMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atDingtalkIds'])) { if (!empty($map['atDingtalkIds'])) { $model->atDingtalkIds = $map['atDingtalkIds']; } } if (isset($map['atMobiles'])) { if (!empty($map['atMobiles'])) { $model->atMobiles = $map['atMobiles']; } } if (isset($map['atUnionIds'])) { if (!empty($map['atUnionIds'])) { $model->atUnionIds = $map['atUnionIds']; } } if (isset($map['btnOrientation'])) { $model->btnOrientation = $map['btnOrientation']; } if (isset($map['btns'])) { if (!empty($map['btns'])) { $model->btns = []; $n = 0; foreach ($map['btns'] as $item) { $model->btns[$n++] = null !== $item ? btns::fromMap($item) : $item; } } } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['hasContentLinks'])) { $model->hasContentLinks = $map['hasContentLinks']; } if (isset($map['isAtAll'])) { $model->isAtAll = $map['isAtAll']; } if (isset($map['messageType'])) { $model->messageType = $map['messageType']; } if (isset($map['receiverDingtalkIds'])) { if (!empty($map['receiverDingtalkIds'])) { $model->receiverDingtalkIds = $map['receiverDingtalkIds']; } } if (isset($map['receiverMobiles'])) { if (!empty($map['receiverMobiles'])) { $model->receiverMobiles = $map['receiverMobiles']; } } if (isset($map['receiverUnionIds'])) { if (!empty($map['receiverUnionIds'])) { $model->receiverUnionIds = $map['receiverUnionIds']; } } if (isset($map['targetOpenConversationId'])) { $model->targetOpenConversationId = $map['targetOpenConversationId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/service_group_1_0/Models/SendServiceGroupMessageRequest/btns.php000064400000002256146412132660021667 0ustar00 '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 btns */ 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/service_group_1_0/Models/SendServiceGroupMessageResponse.php000064400000002777146412132660021077 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendServiceGroupMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendServiceGroupMessageResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/SendServiceGroupMessageResponseBody.php000064400000001670146412132660021704 0ustar00 'openMsgTaskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openMsgTaskId) { $res['openMsgTaskId'] = $this->openMsgTaskId; } return $res; } /** * @param array $map * * @return SendServiceGroupMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openMsgTaskId'])) { $model->openMsgTaskId = $map['openMsgTaskId']; } return $model; } } src/service_group_1_0/Models/SetRobotConfigHeaders.php000064400000002341146412132660016772 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SetRobotConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/SetRobotConfigRequest.php000064400000005452146412132660017055 0ustar00 'dingIsvOrgId', 'dingOrgId' => 'dingOrgId', 'dingSuiteKey' => 'dingSuiteKey', 'dingTokenGrantType' => 'dingTokenGrantType', 'openGroupSetId' => 'openGroupSetId', 'openTeamId' => 'openTeamId', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingIsvOrgId) { $res['dingIsvOrgId'] = $this->dingIsvOrgId; } if (null !== $this->dingOrgId) { $res['dingOrgId'] = $this->dingOrgId; } if (null !== $this->dingSuiteKey) { $res['dingSuiteKey'] = $this->dingSuiteKey; } if (null !== $this->dingTokenGrantType) { $res['dingTokenGrantType'] = $this->dingTokenGrantType; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return SetRobotConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingIsvOrgId'])) { $model->dingIsvOrgId = $map['dingIsvOrgId']; } if (isset($map['dingOrgId'])) { $model->dingOrgId = $map['dingOrgId']; } if (isset($map['dingSuiteKey'])) { $model->dingSuiteKey = $map['dingSuiteKey']; } if (isset($map['dingTokenGrantType'])) { $model->dingTokenGrantType = $map['dingTokenGrantType']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/service_group_1_0/Models/SetRobotConfigResponse.php000064400000002733146412132660017222 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SetRobotConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SetRobotConfigResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/SetRobotConfigResponseBody.php000064400000001731146412132660020035 0ustar00 '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 SetRobotConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/service_group_1_0/Models/SetRobotConfigResponseBody/result.php000064400000002217146412132660021353 0ustar00 'configKey', 'configValue' => 'configValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->configKey) { $res['configKey'] = $this->configKey; } if (null !== $this->configValue) { $res['configValue'] = $this->configValue; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['configKey'])) { $model->configKey = $map['configKey']; } if (isset($map['configValue'])) { $model->configValue = $map['configValue']; } return $model; } } src/service_group_1_0/Models/TakeTicketHeaders.php000064400000002331146412132660016132 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return TakeTicketHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/TakeTicketRequest.php000064400000003135146412132660016212 0ustar00 'openTeamId', 'openTicketId' => 'openTicketId', 'takerUnionId' => 'takerUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->openTicketId) { $res['openTicketId'] = $this->openTicketId; } if (null !== $this->takerUnionId) { $res['takerUnionId'] = $this->takerUnionId; } return $res; } /** * @param array $map * * @return TakeTicketRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['openTicketId'])) { $model->openTicketId = $map['openTicketId']; } if (isset($map['takerUnionId'])) { $model->takerUnionId = $map['takerUnionId']; } return $model; } } src/service_group_1_0/Models/TakeTicketResponse.php000064400000002161146412132660016356 0ustar00 '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 TakeTicketResponse */ 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/service_group_1_0/Models/TopicStatisticsHeaders.php000064400000002343146412132660017236 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return TopicStatisticsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/TopicStatisticsRequest.php000064400000004405146412132660017314 0ustar00 'maxDt', 'minDt' => 'minDt', 'openConversationIds' => 'openConversationIds', 'openTeamId' => 'openTeamId', 'searchContent' => 'searchContent', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxDt) { $res['maxDt'] = $this->maxDt; } if (null !== $this->minDt) { $res['minDt'] = $this->minDt; } if (null !== $this->openConversationIds) { $res['openConversationIds'] = $this->openConversationIds; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->searchContent) { $res['searchContent'] = $this->searchContent; } return $res; } /** * @param array $map * * @return TopicStatisticsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxDt'])) { $model->maxDt = $map['maxDt']; } if (isset($map['minDt'])) { $model->minDt = $map['minDt']; } if (isset($map['openConversationIds'])) { $model->openConversationIds = $map['openConversationIds']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['searchContent'])) { $model->searchContent = $map['searchContent']; } return $model; } } src/service_group_1_0/Models/TopicStatisticsResponse.php000064400000002737146412132660017470 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return TopicStatisticsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = TopicStatisticsResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/TopicStatisticsResponseBody.php000064400000003264146412132660020302 0ustar00 'topicStatisticsRecords', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->topicStatisticsRecords) { $res['topicStatisticsRecords'] = []; if (null !== $this->topicStatisticsRecords && \is_array($this->topicStatisticsRecords)) { $n = 0; foreach ($this->topicStatisticsRecords as $item) { $res['topicStatisticsRecords'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return TopicStatisticsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['topicStatisticsRecords'])) { if (!empty($map['topicStatisticsRecords'])) { $model->topicStatisticsRecords = []; $n = 0; foreach ($map['topicStatisticsRecords'] as $item) { $model->topicStatisticsRecords[$n++] = null !== $item ? topicStatisticsRecords::fromMap($item) : $item; } } } return $model; } } src/service_group_1_0/Models/TopicStatisticsResponseBody/topicStatisticsRecords.php000064400000003522146412132660025012 0ustar00 'dt', 'msgCount' => 'msgCount', 'participantsNum' => 'participantsNum', 'topicNum' => 'topicNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dt) { $res['dt'] = $this->dt; } if (null !== $this->msgCount) { $res['msgCount'] = $this->msgCount; } if (null !== $this->participantsNum) { $res['participantsNum'] = $this->participantsNum; } if (null !== $this->topicNum) { $res['topicNum'] = $this->topicNum; } return $res; } /** * @param array $map * * @return topicStatisticsRecords */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dt'])) { $model->dt = $map['dt']; } if (isset($map['msgCount'])) { $model->msgCount = $map['msgCount']; } if (isset($map['participantsNum'])) { $model->participantsNum = $map['participantsNum']; } if (isset($map['topicNum'])) { $model->topicNum = $map['topicNum']; } return $model; } } src/service_group_1_0/Models/TransferTicketHeaders.php000064400000002341146412132660017033 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return TransferTicketHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/TransferTicketRequest.php000064400000005721146412132660017115 0ustar00 'notify', 'openTeamId' => 'openTeamId', 'openTicketId' => 'openTicketId', 'processorUnionId' => 'processorUnionId', 'processorUnionIds' => 'processorUnionIds', 'ticketMemo' => 'ticketMemo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->notify) { $res['notify'] = null !== $this->notify ? $this->notify->toMap() : null; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->openTicketId) { $res['openTicketId'] = $this->openTicketId; } if (null !== $this->processorUnionId) { $res['processorUnionId'] = $this->processorUnionId; } if (null !== $this->processorUnionIds) { $res['processorUnionIds'] = $this->processorUnionIds; } if (null !== $this->ticketMemo) { $res['ticketMemo'] = null !== $this->ticketMemo ? $this->ticketMemo->toMap() : null; } return $res; } /** * @param array $map * * @return TransferTicketRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['notify'])) { $model->notify = notify::fromMap($map['notify']); } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['openTicketId'])) { $model->openTicketId = $map['openTicketId']; } if (isset($map['processorUnionId'])) { $model->processorUnionId = $map['processorUnionId']; } if (isset($map['processorUnionIds'])) { if (!empty($map['processorUnionIds'])) { $model->processorUnionIds = $map['processorUnionIds']; } } if (isset($map['ticketMemo'])) { $model->ticketMemo = ticketMemo::fromMap($map['ticketMemo']); } return $model; } } src/service_group_1_0/Models/TransferTicketRequest/notify.php000064400000004004146412132660020416 0ustar00 'groupNoticeReceiverUnionIds', 'noticeAllGroupMember' => 'noticeAllGroupMember', 'workNoticeReceiverUnionIds' => 'workNoticeReceiverUnionIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupNoticeReceiverUnionIds) { $res['groupNoticeReceiverUnionIds'] = $this->groupNoticeReceiverUnionIds; } if (null !== $this->noticeAllGroupMember) { $res['noticeAllGroupMember'] = $this->noticeAllGroupMember; } if (null !== $this->workNoticeReceiverUnionIds) { $res['workNoticeReceiverUnionIds'] = $this->workNoticeReceiverUnionIds; } return $res; } /** * @param array $map * * @return notify */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupNoticeReceiverUnionIds'])) { if (!empty($map['groupNoticeReceiverUnionIds'])) { $model->groupNoticeReceiverUnionIds = $map['groupNoticeReceiverUnionIds']; } } if (isset($map['noticeAllGroupMember'])) { $model->noticeAllGroupMember = $map['noticeAllGroupMember']; } if (isset($map['workNoticeReceiverUnionIds'])) { if (!empty($map['workNoticeReceiverUnionIds'])) { $model->workNoticeReceiverUnionIds = $map['workNoticeReceiverUnionIds']; } } return $model; } } src/service_group_1_0/Models/TransferTicketRequest/ticketMemo.php000064400000003410146412132660021207 0ustar00 'attachments', 'memo' => 'memo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->memo) { $res['memo'] = $this->memo; } return $res; } /** * @param array $map * * @return ticketMemo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['memo'])) { $model->memo = $map['memo']; } return $model; } } src/service_group_1_0/Models/TransferTicketRequest/ticketMemo/attachments.php000064400000002331146412132660023523 0ustar00 'fileName', 'key' => 'key', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->key) { $res['key'] = $this->key; } return $res; } /** * @param array $map * * @return attachments */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['key'])) { $model->key = $map['key']; } return $model; } } src/service_group_1_0/Models/TransferTicketResponse.php000064400000002171146412132660017257 0ustar00 '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 TransferTicketResponse */ 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/service_group_1_0/Models/UpdateGroupSetHeaders.php000064400000002341146412132660017016 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/service_group_1_0/Models/UpdateGroupSetRequest.php000064400000003271146412132660017076 0ustar00 'openConversationId', 'openGroupSetId' => 'openGroupSetId', 'openTeamId' => 'openTeamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } return $res; } /** * @param array $map * * @return UpdateGroupSetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } return $model; } } src/service_group_1_0/Models/UpdateGroupSetResponse.php000064400000002733146412132660017246 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } 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 = UpdateGroupSetResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/UpdateGroupSetResponseBody.php000064400000001513146412132660020057 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateGroupSetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/service_group_1_0/Models/UpdateGroupTagHeaders.php000064400000002341146412132660016776 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateGroupTagHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/UpdateGroupTagRequest.php000064400000003240146412132660017052 0ustar00 'openConversationIds', 'tagNames' => 'tagNames', 'updateType' => 'updateType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationIds) { $res['openConversationIds'] = $this->openConversationIds; } if (null !== $this->tagNames) { $res['tagNames'] = $this->tagNames; } if (null !== $this->updateType) { $res['updateType'] = $this->updateType; } return $res; } /** * @param array $map * * @return UpdateGroupTagRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationIds'])) { if (!empty($map['openConversationIds'])) { $model->openConversationIds = $map['openConversationIds']; } } if (isset($map['tagNames'])) { if (!empty($map['tagNames'])) { $model->tagNames = $map['tagNames']; } } if (isset($map['updateType'])) { $model->updateType = $map['updateType']; } return $model; } } src/service_group_1_0/Models/UpdateGroupTagResponse.php000064400000002171146412132660017222 0ustar00 '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 UpdateGroupTagResponse */ 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/service_group_1_0/Models/UpdateInstanceHeaders.php000064400000002341146412132660017012 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/UpdateInstanceRequest.php000064400000006064146412132660017075 0ustar00 'externalBizId', 'formCode' => 'formCode', 'formDataList' => 'formDataList', 'openDataInstanceId' => 'openDataInstanceId', 'openTeamId' => 'openTeamId', 'operatorUnionId' => 'operatorUnionId', 'ownerUnionId' => 'ownerUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->externalBizId) { $res['externalBizId'] = $this->externalBizId; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->formDataList) { $res['formDataList'] = $this->formDataList; } if (null !== $this->openDataInstanceId) { $res['openDataInstanceId'] = $this->openDataInstanceId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->operatorUnionId) { $res['operatorUnionId'] = $this->operatorUnionId; } if (null !== $this->ownerUnionId) { $res['ownerUnionId'] = $this->ownerUnionId; } return $res; } /** * @param array $map * * @return UpdateInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['externalBizId'])) { $model->externalBizId = $map['externalBizId']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['formDataList'])) { $model->formDataList = $map['formDataList']; } if (isset($map['openDataInstanceId'])) { $model->openDataInstanceId = $map['openDataInstanceId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['operatorUnionId'])) { $model->operatorUnionId = $map['operatorUnionId']; } if (isset($map['ownerUnionId'])) { $model->ownerUnionId = $map['ownerUnionId']; } return $model; } } src/service_group_1_0/Models/UpdateInstanceResponse.php000064400000002733146412132660017242 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateInstanceResponseBody::fromMap($map['body']); } return $model; } } src/service_group_1_0/Models/UpdateInstanceResponseBody.php000064400000001660146412132660020056 0ustar00 'openDataInstanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openDataInstanceId) { $res['openDataInstanceId'] = $this->openDataInstanceId; } return $res; } /** * @param array $map * * @return UpdateInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openDataInstanceId'])) { $model->openDataInstanceId = $map['openDataInstanceId']; } return $model; } } src/service_group_1_0/Models/UpdateTicketHeaders.php000064400000002335146412132660016474 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTicketHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/UpdateTicketRequest.php000064400000005003146412132660016544 0ustar00 'customFields', 'openTeamId' => 'openTeamId', 'openTicketId' => 'openTicketId', 'processorUnionId' => 'processorUnionId', 'ticketMemo' => 'ticketMemo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customFields) { $res['customFields'] = $this->customFields; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->openTicketId) { $res['openTicketId'] = $this->openTicketId; } if (null !== $this->processorUnionId) { $res['processorUnionId'] = $this->processorUnionId; } if (null !== $this->ticketMemo) { $res['ticketMemo'] = null !== $this->ticketMemo ? $this->ticketMemo->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTicketRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customFields'])) { $model->customFields = $map['customFields']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['openTicketId'])) { $model->openTicketId = $map['openTicketId']; } if (isset($map['processorUnionId'])) { $model->processorUnionId = $map['processorUnionId']; } if (isset($map['ticketMemo'])) { $model->ticketMemo = ticketMemo::fromMap($map['ticketMemo']); } return $model; } } src/service_group_1_0/Models/UpdateTicketRequest/ticketMemo.php000064400000003404146412132660020650 0ustar00 'attachments', 'memo' => 'memo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->memo) { $res['memo'] = $this->memo; } return $res; } /** * @param array $map * * @return ticketMemo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['memo'])) { $model->memo = $map['memo']; } return $model; } } src/service_group_1_0/Models/UpdateTicketRequest/ticketMemo/attachments.php000064400000002327146412132660023166 0ustar00 'fileName', 'key' => 'key', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->key) { $res['key'] = $this->key; } return $res; } /** * @param array $map * * @return attachments */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['key'])) { $model->key = $map['key']; } return $model; } } src/service_group_1_0/Models/UpdateTicketResponse.php000064400000002165146412132660016720 0ustar00 '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 UpdateTicketResponse */ 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/service_group_1_0/Models/UpgradeCloudGroupHeaders.php000064400000002347146412132660017504 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpgradeCloudGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/UpgradeCloudGroupRequest.php000064400000004551146412132660017560 0ustar00 'ccsInstanceId', 'openConversationId' => 'openConversationId', 'openGroupSetId' => 'openGroupSetId', 'openTeamId' => 'openTeamId', 'templateId' => 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ccsInstanceId) { $res['ccsInstanceId'] = $this->ccsInstanceId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return UpgradeCloudGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ccsInstanceId'])) { $model->ccsInstanceId = $map['ccsInstanceId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/service_group_1_0/Models/UpgradeCloudGroupResponse.php000064400000002177146412132660017730 0ustar00 '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 UpgradeCloudGroupResponse */ 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/service_group_1_0/Models/UpgradeNormalGroupHeaders.php000064400000002351146412132660017661 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpgradeNormalGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/UpgradeNormalGroupRequest.php000064400000003574146412132660017746 0ustar00 'openConversationId', 'openGroupSetId' => 'openGroupSetId', 'openTeamId' => 'openTeamId', 'templateId' => 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return UpgradeNormalGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/service_group_1_0/Models/UpgradeNormalGroupResponse.php000064400000002201146412132660020076 0ustar00 '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 UpgradeNormalGroupResponse */ 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/service_group_1_0/Models/UrgeTicketHeaders.php000064400000002331146412132660016150 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UrgeTicketHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/service_group_1_0/Models/UrgeTicketRequest.php000064400000004122146412132660016225 0ustar00 'openTeamId', 'openTicketId' => 'openTicketId', 'operatorUnionId' => 'operatorUnionId', 'ticketMemo' => 'ticketMemo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openTeamId) { $res['openTeamId'] = $this->openTeamId; } if (null !== $this->openTicketId) { $res['openTicketId'] = $this->openTicketId; } if (null !== $this->operatorUnionId) { $res['operatorUnionId'] = $this->operatorUnionId; } if (null !== $this->ticketMemo) { $res['ticketMemo'] = null !== $this->ticketMemo ? $this->ticketMemo->toMap() : null; } return $res; } /** * @param array $map * * @return UrgeTicketRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openTeamId'])) { $model->openTeamId = $map['openTeamId']; } if (isset($map['openTicketId'])) { $model->openTicketId = $map['openTicketId']; } if (isset($map['operatorUnionId'])) { $model->operatorUnionId = $map['operatorUnionId']; } if (isset($map['ticketMemo'])) { $model->ticketMemo = ticketMemo::fromMap($map['ticketMemo']); } return $model; } } src/service_group_1_0/Models/UrgeTicketRequest/ticketMemo.php000064400000003400146412132660020324 0ustar00 'attachments', 'memo' => 'memo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->memo) { $res['memo'] = $this->memo; } return $res; } /** * @param array $map * * @return ticketMemo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['memo'])) { $model->memo = $map['memo']; } return $model; } } src/service_group_1_0/Models/UrgeTicketRequest/ticketMemo/attachments.php000064400000002325146412132660022644 0ustar00 'fileName', 'key' => 'key', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->key) { $res['key'] = $this->key; } return $res; } /** * @param array $map * * @return attachments */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['key'])) { $model->key = $map['key']; } return $model; } } src/service_group_1_0/Models/UrgeTicketResponse.php000064400000002161146412132660016374 0ustar00 '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 UrgeTicketResponse */ 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/smart_device_1_0/Dingtalk.php000064400000043272146412132660012722 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $deviceId * @param string $conferenceId * @param AddDeviceVideoConferenceMembersRequest $request * @param AddDeviceVideoConferenceMembersHeaders $headers * @param RuntimeOptions $runtime * * @return AddDeviceVideoConferenceMembersResponse */ public function addDeviceVideoConferenceMembersWithOptions($deviceId, $conferenceId, $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' => 'AddDeviceVideoConferenceMembers', 'version' => 'smartDevice_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/smartDevice/devices/' . $deviceId . '/videoConferences/' . $conferenceId . '/members', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'none', ]); return AddDeviceVideoConferenceMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $deviceId * @param string $conferenceId * @param AddDeviceVideoConferenceMembersRequest $request * * @return AddDeviceVideoConferenceMembersResponse */ public function addDeviceVideoConferenceMembers($deviceId, $conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddDeviceVideoConferenceMembersHeaders([]); return $this->addDeviceVideoConferenceMembersWithOptions($deviceId, $conferenceId, $request, $headers, $runtime); } /** * @param string $deviceId * @param CreateDeviceVideoConferenceRequest $request * @param CreateDeviceVideoConferenceHeaders $headers * @param RuntimeOptions $runtime * * @return CreateDeviceVideoConferenceResponse */ public function createDeviceVideoConferenceWithOptions($deviceId, $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' => 'CreateDeviceVideoConference', 'version' => 'smartDevice_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/smartDevice/devices/' . $deviceId . '/videoConferences', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateDeviceVideoConferenceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $deviceId * @param CreateDeviceVideoConferenceRequest $request * * @return CreateDeviceVideoConferenceResponse */ public function createDeviceVideoConference($deviceId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateDeviceVideoConferenceHeaders([]); return $this->createDeviceVideoConferenceWithOptions($deviceId, $request, $headers, $runtime); } /** * @param ExtractFacialFeatureRequest $request * @param ExtractFacialFeatureHeaders $headers * @param RuntimeOptions $runtime * * @return ExtractFacialFeatureResponse */ public function extractFacialFeatureWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->mediaId)) { $body['mediaId'] = $request->mediaId; } 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' => 'ExtractFacialFeature', 'version' => 'smartDevice_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/smartDevice/faceRecognitions/features/extract', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ExtractFacialFeatureResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ExtractFacialFeatureRequest $request * * @return ExtractFacialFeatureResponse */ public function extractFacialFeature($request) { $runtime = new RuntimeOptions([]); $headers = new ExtractFacialFeatureHeaders([]); return $this->extractFacialFeatureWithOptions($request, $headers, $runtime); } /** * @param string $deviceId * @param string $conferenceId * @param KickDeviceVideoConferenceMembersRequest $request * @param KickDeviceVideoConferenceMembersHeaders $headers * @param RuntimeOptions $runtime * * @return KickDeviceVideoConferenceMembersResponse */ public function kickDeviceVideoConferenceMembersWithOptions($deviceId, $conferenceId, $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' => 'KickDeviceVideoConferenceMembers', 'version' => 'smartDevice_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/smartDevice/devices/' . $deviceId . '/videoConferences/' . $conferenceId . '/members/batchDelete', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'none', ]); return KickDeviceVideoConferenceMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $deviceId * @param string $conferenceId * @param KickDeviceVideoConferenceMembersRequest $request * * @return KickDeviceVideoConferenceMembersResponse */ public function kickDeviceVideoConferenceMembers($deviceId, $conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new KickDeviceVideoConferenceMembersHeaders([]); return $this->kickDeviceVideoConferenceMembersWithOptions($deviceId, $conferenceId, $request, $headers, $runtime); } /** * @param MachineManagerUpdateRequest $request * @param MachineManagerUpdateHeaders $headers * @param RuntimeOptions $runtime * * @return MachineManagerUpdateResponse */ public function machineManagerUpdateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->atmManagerRightMap)) { $body['atmManagerRightMap'] = $request->atmManagerRightMap; } if (!Utils::isUnset($request->deviceId)) { $body['deviceId'] = $request->deviceId; } if (!Utils::isUnset($request->scopeDeptIds)) { $body['scopeDeptIds'] = $request->scopeDeptIds; } 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' => 'MachineManagerUpdate', 'version' => 'smartDevice_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/smartDevice/atmachines/managers', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return MachineManagerUpdateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param MachineManagerUpdateRequest $request * * @return MachineManagerUpdateResponse */ public function machineManagerUpdate($request) { $runtime = new RuntimeOptions([]); $headers = new MachineManagerUpdateHeaders([]); return $this->machineManagerUpdateWithOptions($request, $headers, $runtime); } /** * @param MachineUsersUpdateRequest $request * @param MachineUsersUpdateHeaders $headers * @param RuntimeOptions $runtime * * @return MachineUsersUpdateResponse */ public function machineUsersUpdateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->addDeptIds)) { $body['addDeptIds'] = $request->addDeptIds; } if (!Utils::isUnset($request->addUserIds)) { $body['addUserIds'] = $request->addUserIds; } if (!Utils::isUnset($request->delDeptIds)) { $body['delDeptIds'] = $request->delDeptIds; } if (!Utils::isUnset($request->delUserIds)) { $body['delUserIds'] = $request->delUserIds; } if (!Utils::isUnset($request->devIds)) { $body['devIds'] = $request->devIds; } 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' => 'MachineUsersUpdate', 'version' => 'smartDevice_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/smartDevice/atmachines/users', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return MachineUsersUpdateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param MachineUsersUpdateRequest $request * * @return MachineUsersUpdateResponse */ public function machineUsersUpdate($request) { $runtime = new RuntimeOptions([]); $headers = new MachineUsersUpdateHeaders([]); return $this->machineUsersUpdateWithOptions($request, $headers, $runtime); } /** * @param string $deviceId * @param string $bookId * @param QueryDeviceVideoConferenceBookHeaders $headers * @param RuntimeOptions $runtime * * @return QueryDeviceVideoConferenceBookResponse */ public function queryDeviceVideoConferenceBookWithOptions($deviceId, $bookId, $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' => 'QueryDeviceVideoConferenceBook', 'version' => 'smartDevice_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/smartDevice/devices/' . $deviceId . '/books/' . $bookId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryDeviceVideoConferenceBookResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $deviceId * @param string $bookId * * @return QueryDeviceVideoConferenceBookResponse */ public function queryDeviceVideoConferenceBook($deviceId, $bookId) { $runtime = new RuntimeOptions([]); $headers = new QueryDeviceVideoConferenceBookHeaders([]); return $this->queryDeviceVideoConferenceBookWithOptions($deviceId, $bookId, $headers, $runtime); } } src/smart_device_1_0/Models/AddDeviceVideoConferenceMembersHeaders.php000064400000002402146412132660021774 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddDeviceVideoConferenceMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/smart_device_1_0/Models/AddDeviceVideoConferenceMembersRequest.php000064400000001643146412132660022057 0ustar00 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return AddDeviceVideoConferenceMembersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/smart_device_1_0/Models/AddDeviceVideoConferenceMembersResponse.php000064400000002232146412132660022220 0ustar00 '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 AddDeviceVideoConferenceMembersResponse */ 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/smart_device_1_0/Models/CreateDeviceVideoConferenceHeaders.php000064400000002372146412132660021202 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateDeviceVideoConferenceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/smart_device_1_0/Models/CreateDeviceVideoConferenceRequest.php000064400000001633146412132660021256 0ustar00 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return CreateDeviceVideoConferenceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/smart_device_1_0/Models/CreateDeviceVideoConferenceResponse.php000064400000003016146412132660021421 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateDeviceVideoConferenceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateDeviceVideoConferenceResponseBody::fromMap($map['body']); } return $model; } } src/smart_device_1_0/Models/CreateDeviceVideoConferenceResponseBody.php000064400000002227146412132660022242 0ustar00 'code', 'conferenceId' => 'conferenceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } return $res; } /** * @param array $map * * @return CreateDeviceVideoConferenceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } return $model; } } src/smart_device_1_0/Models/ExtractFacialFeatureHeaders.php000064400000002354146412132660017726 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ExtractFacialFeatureHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/smart_device_1_0/Models/ExtractFacialFeatureRequest.php000064400000002135146412132660020000 0ustar00 'mediaId', 'userid' => 'userid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->userid) { $res['userid'] = $this->userid; } return $res; } /** * @param array $map * * @return ExtractFacialFeatureRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['userid'])) { $model->userid = $map['userid']; } return $model; } } src/smart_device_1_0/Models/ExtractFacialFeatureResponse.php000064400000002762146412132660020154 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ExtractFacialFeatureResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ExtractFacialFeatureResponseBody::fromMap($map['body']); } return $model; } } src/smart_device_1_0/Models/ExtractFacialFeatureResponseBody.php000064400000001515146412132660020765 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ExtractFacialFeatureResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/smart_device_1_0/Models/KickDeviceVideoConferenceMembersHeaders.php000064400000002404146412132660022167 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return KickDeviceVideoConferenceMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/smart_device_1_0/Models/KickDeviceVideoConferenceMembersRequest.php000064400000001645146412132660022252 0ustar00 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return KickDeviceVideoConferenceMembersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/smart_device_1_0/Models/KickDeviceVideoConferenceMembersResponse.php000064400000002234146412132660022413 0ustar00 '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 KickDeviceVideoConferenceMembersResponse */ 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/smart_device_1_0/Models/MachineManagerUpdateHeaders.php000064400000002354146412132660017702 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MachineManagerUpdateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/smart_device_1_0/Models/MachineManagerUpdateRequest.php000064400000004201146412132660017750 0ustar00 'atmManagerRightMap', 'deviceId' => 'deviceId', 'scopeDeptIds' => 'scopeDeptIds', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atmManagerRightMap) { $res['atmManagerRightMap'] = null !== $this->atmManagerRightMap ? $this->atmManagerRightMap->toMap() : null; } if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } if (null !== $this->scopeDeptIds) { $res['scopeDeptIds'] = $this->scopeDeptIds; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return MachineManagerUpdateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atmManagerRightMap'])) { $model->atmManagerRightMap = atmManagerRightMap::fromMap($map['atmManagerRightMap']); } if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } if (isset($map['scopeDeptIds'])) { if (!empty($map['scopeDeptIds'])) { $model->scopeDeptIds = $map['scopeDeptIds']; } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/smart_device_1_0/Models/MachineManagerUpdateRequest/atmManagerRightMap.php000064400000005611146412132660023466 0ustar00 'attendancePersonManage', 'bluetoothPunchManage' => 'bluetoothPunchManage', 'deviceReset' => 'deviceReset', 'deviceSettings' => 'deviceSettings', 'facePunchManage' => 'facePunchManage', 'fingerPunchManage' => 'fingerPunchManage', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendancePersonManage) { $res['attendancePersonManage'] = $this->attendancePersonManage; } if (null !== $this->bluetoothPunchManage) { $res['bluetoothPunchManage'] = $this->bluetoothPunchManage; } if (null !== $this->deviceReset) { $res['deviceReset'] = $this->deviceReset; } if (null !== $this->deviceSettings) { $res['deviceSettings'] = $this->deviceSettings; } if (null !== $this->facePunchManage) { $res['facePunchManage'] = $this->facePunchManage; } if (null !== $this->fingerPunchManage) { $res['fingerPunchManage'] = $this->fingerPunchManage; } return $res; } /** * @param array $map * * @return atmManagerRightMap */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendancePersonManage'])) { $model->attendancePersonManage = $map['attendancePersonManage']; } if (isset($map['bluetoothPunchManage'])) { $model->bluetoothPunchManage = $map['bluetoothPunchManage']; } if (isset($map['deviceReset'])) { $model->deviceReset = $map['deviceReset']; } if (isset($map['deviceSettings'])) { $model->deviceSettings = $map['deviceSettings']; } if (isset($map['facePunchManage'])) { $model->facePunchManage = $map['facePunchManage']; } if (isset($map['fingerPunchManage'])) { $model->fingerPunchManage = $map['fingerPunchManage']; } return $model; } } src/smart_device_1_0/Models/MachineManagerUpdateResponse.php000064400000002204146412132660020117 0ustar00 '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 MachineManagerUpdateResponse */ 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/smart_device_1_0/Models/MachineUsersUpdateHeaders.php000064400000002350146412132660017425 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MachineUsersUpdateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/smart_device_1_0/Models/MachineUsersUpdateRequest.php000064400000005265146412132660017512 0ustar00 'addDeptIds', 'addUserIds' => 'addUserIds', 'delDeptIds' => 'delDeptIds', 'delUserIds' => 'delUserIds', 'devIds' => 'devIds', 'deviceIds' => 'deviceIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->addDeptIds) { $res['addDeptIds'] = $this->addDeptIds; } if (null !== $this->addUserIds) { $res['addUserIds'] = $this->addUserIds; } if (null !== $this->delDeptIds) { $res['delDeptIds'] = $this->delDeptIds; } if (null !== $this->delUserIds) { $res['delUserIds'] = $this->delUserIds; } if (null !== $this->devIds) { $res['devIds'] = $this->devIds; } if (null !== $this->deviceIds) { $res['deviceIds'] = $this->deviceIds; } return $res; } /** * @param array $map * * @return MachineUsersUpdateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['addDeptIds'])) { if (!empty($map['addDeptIds'])) { $model->addDeptIds = $map['addDeptIds']; } } if (isset($map['addUserIds'])) { if (!empty($map['addUserIds'])) { $model->addUserIds = $map['addUserIds']; } } if (isset($map['delDeptIds'])) { if (!empty($map['delDeptIds'])) { $model->delDeptIds = $map['delDeptIds']; } } if (isset($map['delUserIds'])) { if (!empty($map['delUserIds'])) { $model->delUserIds = $map['delUserIds']; } } if (isset($map['devIds'])) { if (!empty($map['devIds'])) { $model->devIds = $map['devIds']; } } if (isset($map['deviceIds'])) { if (!empty($map['deviceIds'])) { $model->deviceIds = $map['deviceIds']; } } return $model; } } src/smart_device_1_0/Models/MachineUsersUpdateResponse.php000064400000002200146412132660017642 0ustar00 '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 MachineUsersUpdateResponse */ 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/smart_device_1_0/Models/QueryDeviceVideoConferenceBookHeaders.php000064400000002400146412132660021707 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDeviceVideoConferenceBookHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/smart_device_1_0/Models/QueryDeviceVideoConferenceBookResponse.php000064400000003032146412132660022134 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDeviceVideoConferenceBookResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDeviceVideoConferenceBookResponseBody::fromMap($map['body']); } return $model; } } src/smart_device_1_0/Models/QueryDeviceVideoConferenceBookResponseBody.php000064400000002235146412132660022756 0ustar00 'code', 'conferenceId' => 'conferenceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } return $res; } /** * @param array $map * * @return QueryDeviceVideoConferenceBookResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } return $model; } } src/sns_storage_1_0/Dingtalk.php000064400000060755146412132660012611 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $spaceId * @param GetDentriesRequest $request * @param GetDentriesHeaders $headers * @param RuntimeOptions $runtime * * @return GetDentriesResponse */ public function getDentriesWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->dentryIds)) { $body['dentryIds'] = $request->dentryIds; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'GetDentries', 'version' => 'snsStorage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/snsStorage/spaces/' . $spaceId . '/dentries/batchQuery', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDentriesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param GetDentriesRequest $request * * @return GetDentriesResponse */ public function getDentries($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetDentriesHeaders([]); return $this->getDentriesWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param GetDentryRequest $request * @param GetDentryHeaders $headers * @param RuntimeOptions $runtime * * @return GetDentryResponse */ public function getDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'GetDentry', 'version' => 'snsStorage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/snsStorage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDentryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param GetDentryRequest $request * * @return GetDentryResponse */ public function getDentry($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetDentryHeaders([]); return $this->getDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $spaceId * @param GetDentryThumbnailsRequest $request * @param GetDentryThumbnailsHeaders $headers * @param RuntimeOptions $runtime * * @return GetDentryThumbnailsResponse */ public function getDentryThumbnailsWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->dentryIds)) { $body['dentryIds'] = $request->dentryIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'GetDentryThumbnails', 'version' => 'snsStorage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/snsStorage/spaces/' . $spaceId . '/thumbnails/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDentryThumbnailsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param GetDentryThumbnailsRequest $request * * @return GetDentryThumbnailsResponse */ public function getDentryThumbnails($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetDentryThumbnailsHeaders([]); return $this->getDentryThumbnailsWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param GetFileDownloadInfoRequest $request * @param GetFileDownloadInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetFileDownloadInfoResponse */ public function getFileDownloadInfoWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'GetFileDownloadInfo', 'version' => 'snsStorage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/snsStorage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/downloadInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFileDownloadInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param GetFileDownloadInfoRequest $request * * @return GetFileDownloadInfoResponse */ public function getFileDownloadInfo($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetFileDownloadInfoHeaders([]); return $this->getFileDownloadInfoWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param GetSpaceRequest $request * @param GetSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return 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' => 'snsStorage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/snsStorage/conversations/spaces/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSpaceRequest $request * * @return GetSpaceResponse */ public function getSpace($request) { $runtime = new RuntimeOptions([]); $headers = new GetSpaceHeaders([]); return $this->getSpaceWithOptions($request, $headers, $runtime); } /** * @param string $spaceId * @param ListAllDentriesRequest $request * @param ListAllDentriesHeaders $headers * @param RuntimeOptions $runtime * * @return ListAllDentriesResponse */ public function listAllDentriesWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'ListAllDentries', 'version' => 'snsStorage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/snsStorage/spaces/' . $spaceId . '/dentries/listAll', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListAllDentriesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param ListAllDentriesRequest $request * * @return ListAllDentriesResponse */ public function listAllDentries($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListAllDentriesHeaders([]); return $this->listAllDentriesWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param ListDentriesRequest $request * @param ListDentriesHeaders $headers * @param RuntimeOptions $runtime * * @return ListDentriesResponse */ public function listDentriesWithOptions($spaceId, $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; } if (!Utils::isUnset($request->orderBy)) { $query['orderBy'] = $request->orderBy; } if (!Utils::isUnset($request->parentId)) { $query['parentId'] = $request->parentId; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } if (!Utils::isUnset($request->withThumbnail)) { $query['withThumbnail'] = $request->withThumbnail; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListDentries', 'version' => 'snsStorage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/snsStorage/spaces/' . $spaceId . '/dentries', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListDentriesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param ListDentriesRequest $request * * @return ListDentriesResponse */ public function listDentries($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListDentriesHeaders([]); return $this->listDentriesWithOptions($spaceId, $request, $headers, $runtime); } /** * @param ListExpiredRequest $request * @param ListExpiredHeaders $headers * @param RuntimeOptions $runtime * * @return ListExpiredResponse */ public function listExpiredWithOptions($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; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'ListExpired', 'version' => 'snsStorage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/snsStorage/conversations/expiredFileLists/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListExpiredResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListExpiredRequest $request * * @return ListExpiredResponse */ public function listExpired($request) { $runtime = new RuntimeOptions([]); $headers = new ListExpiredHeaders([]); return $this->listExpiredWithOptions($request, $headers, $runtime); } /** * @param SubscribeEventRequest $request * @param SubscribeEventHeaders $headers * @param RuntimeOptions $runtime * * @return SubscribeEventResponse */ public function subscribeEventWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->scope)) { $body['scope'] = $request->scope; } if (!Utils::isUnset($request->scopeId)) { $body['scopeId'] = $request->scopeId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'SubscribeEvent', 'version' => 'snsStorage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/snsStorage/events/subscribe', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SubscribeEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SubscribeEventRequest $request * * @return SubscribeEventResponse */ public function subscribeEvent($request) { $runtime = new RuntimeOptions([]); $headers = new SubscribeEventHeaders([]); return $this->subscribeEventWithOptions($request, $headers, $runtime); } /** * @param UnsubscribeEventRequest $request * @param UnsubscribeEventHeaders $headers * @param RuntimeOptions $runtime * * @return UnsubscribeEventResponse */ public function unsubscribeEventWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->scope)) { $body['scope'] = $request->scope; } if (!Utils::isUnset($request->scopeId)) { $body['scopeId'] = $request->scopeId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UnsubscribeEvent', 'version' => 'snsStorage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/snsStorage/events/unsubscribe', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UnsubscribeEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UnsubscribeEventRequest $request * * @return UnsubscribeEventResponse */ public function unsubscribeEvent($request) { $runtime = new RuntimeOptions([]); $headers = new UnsubscribeEventHeaders([]); return $this->unsubscribeEventWithOptions($request, $headers, $runtime); } } src/sns_storage_1_0/Models/DentriesAppPropertiesValue.php000064400000002734146412132660017560 0ustar00 'name', 'value' => 'value', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return DentriesAppPropertiesValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/sns_storage_1_0/Models/DentryAppPropertiesValue.php000064400000002730146412132660017244 0ustar00 'name', 'value' => 'value', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return DentryAppPropertiesValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/sns_storage_1_0/Models/GetDentriesHeaders.php000064400000002331146412132660015772 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDentriesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/sns_storage_1_0/Models/GetDentriesRequest.php000064400000003143146412132660016051 0ustar00 'dentryIds', 'option' => 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryIds) { $res['dentryIds'] = $this->dentryIds; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetDentriesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryIds'])) { if (!empty($map['dentryIds'])) { $model->dentryIds = $map['dentryIds']; } } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/sns_storage_1_0/Models/GetDentriesRequest/option.php000064400000002013146412132660017354 0ustar00 'appIdsForAppProperties', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appIdsForAppProperties) { $res['appIdsForAppProperties'] = $this->appIdsForAppProperties; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appIdsForAppProperties'])) { if (!empty($map['appIdsForAppProperties'])) { $model->appIdsForAppProperties = $map['appIdsForAppProperties']; } } return $model; } } src/sns_storage_1_0/Models/GetDentriesResponse.php000064400000002715146412132660016223 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDentriesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDentriesResponseBody::fromMap($map['body']); } return $model; } } src/sns_storage_1_0/Models/GetDentriesResponseBody.php000064400000002736146412132660017044 0ustar00 'resultItems', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->resultItems) { $res['resultItems'] = []; if (null !== $this->resultItems && \is_array($this->resultItems)) { $n = 0; foreach ($this->resultItems as $item) { $res['resultItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetDentriesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['resultItems'])) { if (!empty($map['resultItems'])) { $model->resultItems = []; $n = 0; foreach ($map['resultItems'] as $item) { $model->resultItems[$n++] = null !== $item ? resultItems::fromMap($item) : $item; } } } return $model; } } src/sns_storage_1_0/Models/GetDentriesResponseBody/resultItems.php000064400000004332146412132660021356 0ustar00 'dentry', 'dentryId' => 'dentryId', 'errorCode' => 'errorCode', 'spaceId' => 'spaceId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentry) { $res['dentry'] = null !== $this->dentry ? $this->dentry->toMap() : null; } if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return resultItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentry'])) { $model->dentry = dentry::fromMap($map['dentry']); } if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/sns_storage_1_0/Models/GetDentriesResponseBody/resultItems/dentry.php000064400000016422146412132660022666 0ustar00 'appProperties', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'partitionType' => 'partitionType', 'path' => 'path', 'properties' => 'properties', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'storageDriver' => 'storageDriver', 'thumbnail' => 'thumbnail', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = $this->appProperties; } 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->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->properties) { $res['properties'] = null !== $this->properties ? $this->properties->toMap() : null; } 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->storageDriver) { $res['storageDriver'] = $this->storageDriver; } if (null !== $this->thumbnail) { $res['thumbnail'] = null !== $this->thumbnail ? $this->thumbnail->toMap() : null; } 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 dentry */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { $model->appProperties = $map['appProperties']; } 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['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['properties'])) { $model->properties = properties::fromMap($map['properties']); } 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['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } if (isset($map['thumbnail'])) { $model->thumbnail = thumbnail::fromMap($map['thumbnail']); } 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/sns_storage_1_0/Models/GetDentriesResponseBody/resultItems/dentry/properties.php000064400000001571146412132660025061 0ustar00 'readOnly', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } return $model; } } src/sns_storage_1_0/Models/GetDentriesResponseBody/resultItems/dentry/thumbnail.php000064400000002620146412132660024644 0ustar00 'height', 'url' => 'url', 'width' => 'width', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->height) { $res['height'] = $this->height; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->width) { $res['width'] = $this->width; } return $res; } /** * @param array $map * * @return thumbnail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['height'])) { $model->height = $map['height']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['width'])) { $model->width = $map['width']; } return $model; } } src/sns_storage_1_0/Models/GetDentryHeaders.php000064400000002325146412132660015465 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDentryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/sns_storage_1_0/Models/GetDentryRequest.php000064400000002357146412132660015547 0ustar00 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetDentryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/sns_storage_1_0/Models/GetDentryRequest/option.php000064400000002571146412132660017055 0ustar00 'appIdsForAppProperties', 'withThumbnail' => 'withThumbnail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appIdsForAppProperties) { $res['appIdsForAppProperties'] = $this->appIdsForAppProperties; } if (null !== $this->withThumbnail) { $res['withThumbnail'] = $this->withThumbnail; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appIdsForAppProperties'])) { if (!empty($map['appIdsForAppProperties'])) { $model->appIdsForAppProperties = $map['appIdsForAppProperties']; } } if (isset($map['withThumbnail'])) { $model->withThumbnail = $map['withThumbnail']; } return $model; } } src/sns_storage_1_0/Models/GetDentryResponse.php000064400000002705146412132660015712 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDentryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDentryResponseBody::fromMap($map['body']); } return $model; } } src/sns_storage_1_0/Models/GetDentryResponseBody.php000064400000001706146412132660016530 0ustar00 'dentry', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentry) { $res['dentry'] = null !== $this->dentry ? $this->dentry->toMap() : null; } return $res; } /** * @param array $map * * @return GetDentryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentry'])) { $model->dentry = dentry::fromMap($map['dentry']); } return $model; } } src/sns_storage_1_0/Models/GetDentryResponseBody/dentry.php000064400000016322146412132660020035 0ustar00 'appProperties', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'partitionType' => 'partitionType', 'path' => 'path', 'properties' => 'properties', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'storageDriver' => 'storageDriver', 'thumbnail' => 'thumbnail', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = $this->appProperties; } 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->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->properties) { $res['properties'] = null !== $this->properties ? $this->properties->toMap() : null; } 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->storageDriver) { $res['storageDriver'] = $this->storageDriver; } if (null !== $this->thumbnail) { $res['thumbnail'] = null !== $this->thumbnail ? $this->thumbnail->toMap() : null; } 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 dentry */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { $model->appProperties = $map['appProperties']; } 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['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['properties'])) { $model->properties = properties::fromMap($map['properties']); } 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['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } if (isset($map['thumbnail'])) { $model->thumbnail = thumbnail::fromMap($map['thumbnail']); } 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/sns_storage_1_0/Models/GetDentryResponseBody/dentry/properties.php000064400000001553146412132660022231 0ustar00 'readOnly', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } return $model; } } src/sns_storage_1_0/Models/GetDentryResponseBody/dentry/thumbnail.php000064400000002602146412132660022014 0ustar00 'height', 'url' => 'url', 'width' => 'width', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->height) { $res['height'] = $this->height; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->width) { $res['width'] = $this->width; } return $res; } /** * @param array $map * * @return thumbnail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['height'])) { $model->height = $map['height']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['width'])) { $model->width = $map['width']; } return $model; } } src/sns_storage_1_0/Models/GetDentryThumbnailsHeaders.php000064400000002351146412132660017513 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDentryThumbnailsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/sns_storage_1_0/Models/GetDentryThumbnailsRequest.php000064400000002327146412132660017573 0ustar00 'dentryIds', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryIds) { $res['dentryIds'] = $this->dentryIds; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetDentryThumbnailsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryIds'])) { if (!empty($map['dentryIds'])) { $model->dentryIds = $map['dentryIds']; } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/sns_storage_1_0/Models/GetDentryThumbnailsResponse.php000064400000002755146412132660017746 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDentryThumbnailsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDentryThumbnailsResponseBody::fromMap($map['body']); } return $model; } } src/sns_storage_1_0/Models/GetDentryThumbnailsResponseBody.php000064400000002766146412132660020566 0ustar00 'resultItems', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->resultItems) { $res['resultItems'] = []; if (null !== $this->resultItems && \is_array($this->resultItems)) { $n = 0; foreach ($this->resultItems as $item) { $res['resultItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetDentryThumbnailsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['resultItems'])) { if (!empty($map['resultItems'])) { $model->resultItems = []; $n = 0; foreach ($map['resultItems'] as $item) { $model->resultItems[$n++] = null !== $item ? resultItems::fromMap($item) : $item; } } } return $model; } } src/sns_storage_1_0/Models/GetDentryThumbnailsResponseBody/resultItems.php000064400000004416146412132660023100 0ustar00 'dentryId', 'errorCode' => 'errorCode', 'spaceId' => 'spaceId', 'success' => 'success', 'thumbnail' => 'thumbnail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->thumbnail) { $res['thumbnail'] = null !== $this->thumbnail ? $this->thumbnail->toMap() : null; } return $res; } /** * @param array $map * * @return resultItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['thumbnail'])) { $model->thumbnail = thumbnail::fromMap($map['thumbnail']); } return $model; } } src/sns_storage_1_0/Models/GetDentryThumbnailsResponseBody/resultItems/thumbnail.php000064400000002621146412132660025057 0ustar00 'height', 'url' => 'url', 'width' => 'width', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->height) { $res['height'] = $this->height; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->width) { $res['width'] = $this->width; } return $res; } /** * @param array $map * * @return thumbnail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['height'])) { $model->height = $map['height']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['width'])) { $model->width = $map['width']; } return $model; } } src/sns_storage_1_0/Models/GetFileDownloadInfoHeaders.php000064400000002351146412132660017402 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFileDownloadInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/sns_storage_1_0/Models/GetFileDownloadInfoRequest.php000064400000002415146412132660017460 0ustar00 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetFileDownloadInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/sns_storage_1_0/Models/GetFileDownloadInfoRequest/option.php000064400000002313146412132660020765 0ustar00 'preferIntranet', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->preferIntranet) { $res['preferIntranet'] = $this->preferIntranet; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['preferIntranet'])) { $model->preferIntranet = $map['preferIntranet']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/sns_storage_1_0/Models/GetFileDownloadInfoResponse.php000064400000002755146412132660017635 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFileDownloadInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFileDownloadInfoResponseBody::fromMap($map['body']); } return $model; } } src/sns_storage_1_0/Models/GetFileDownloadInfoResponseBody.php000064400000002740146412132660020445 0ustar00 'headerSignatureInfo', 'protocol' => 'protocol', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headerSignatureInfo) { $res['headerSignatureInfo'] = null !== $this->headerSignatureInfo ? $this->headerSignatureInfo->toMap() : null; } if (null !== $this->protocol) { $res['protocol'] = $this->protocol; } return $res; } /** * @param array $map * * @return GetFileDownloadInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headerSignatureInfo'])) { $model->headerSignatureInfo = headerSignatureInfo::fromMap($map['headerSignatureInfo']); } if (isset($map['protocol'])) { $model->protocol = $map['protocol']; } return $model; } } src/sns_storage_1_0/Models/GetFileDownloadInfoResponseBody/headerSignatureInfo.php000064400000004637146412132660024402 0ustar00 'expirationSeconds', 'headers' => 'headers', 'internalResourceUrls' => 'internalResourceUrls', 'region' => 'region', 'resourceUrls' => 'resourceUrls', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expirationSeconds) { $res['expirationSeconds'] = $this->expirationSeconds; } if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->internalResourceUrls) { $res['internalResourceUrls'] = $this->internalResourceUrls; } if (null !== $this->region) { $res['region'] = $this->region; } if (null !== $this->resourceUrls) { $res['resourceUrls'] = $this->resourceUrls; } return $res; } /** * @param array $map * * @return headerSignatureInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expirationSeconds'])) { $model->expirationSeconds = $map['expirationSeconds']; } if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['internalResourceUrls'])) { if (!empty($map['internalResourceUrls'])) { $model->internalResourceUrls = $map['internalResourceUrls']; } } if (isset($map['region'])) { $model->region = $map['region']; } if (isset($map['resourceUrls'])) { if (!empty($map['resourceUrls'])) { $model->resourceUrls = $map['resourceUrls']; } } return $model; } } src/sns_storage_1_0/Models/GetSpaceHeaders.php000064400000002323146412132660015251 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/sns_storage_1_0/Models/GetSpaceRequest.php000064400000002406146412132660015330 0ustar00 '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/sns_storage_1_0/Models/GetSpaceResponse.php000064400000002701146412132660015474 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/sns_storage_1_0/Models/GetSpaceResponseBody.php000064400000001666146412132660016323 0ustar00 '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/sns_storage_1_0/Models/GetSpaceResponseBody/space.php000064400000003476146412132660017417 0ustar00 '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/sns_storage_1_0/Models/ListAllDentriesHeaders.php000064400000002341146412132660016620 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAllDentriesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/sns_storage_1_0/Models/ListAllDentriesRequest.php000064400000002401146412132660016672 0ustar00 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ListAllDentriesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/sns_storage_1_0/Models/ListAllDentriesRequest/option.php000064400000003516146412132660020212 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'order' => 'order', 'withThumbnail' => 'withThumbnail', ]; 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; } if (null !== $this->withThumbnail) { $res['withThumbnail'] = $this->withThumbnail; } return $res; } /** * @param array $map * * @return option */ 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']; } if (isset($map['withThumbnail'])) { $model->withThumbnail = $map['withThumbnail']; } return $model; } } src/sns_storage_1_0/Models/ListAllDentriesResponse.php000064400000002735146412132660017052 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAllDentriesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAllDentriesResponseBody::fromMap($map['body']); } return $model; } } src/sns_storage_1_0/Models/ListAllDentriesResponseBody.php000064400000003400146412132660017656 0ustar00 'dentries', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentries) { $res['dentries'] = []; if (null !== $this->dentries && \is_array($this->dentries)) { $n = 0; foreach ($this->dentries as $item) { $res['dentries'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListAllDentriesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentries'])) { if (!empty($map['dentries'])) { $model->dentries = []; $n = 0; foreach ($map['dentries'] as $item) { $model->dentries[$n++] = null !== $item ? dentries::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/sns_storage_1_0/Models/ListAllDentriesResponseBody/dentries.php000064400000016360146412132660021504 0ustar00 'appProperties', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'partitionType' => 'partitionType', 'path' => 'path', 'properties' => 'properties', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'storageDriver' => 'storageDriver', 'thumbnail' => 'thumbnail', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = $this->appProperties; } 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->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->properties) { $res['properties'] = null !== $this->properties ? $this->properties->toMap() : null; } 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->storageDriver) { $res['storageDriver'] = $this->storageDriver; } if (null !== $this->thumbnail) { $res['thumbnail'] = null !== $this->thumbnail ? $this->thumbnail->toMap() : null; } 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 dentries */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { $model->appProperties = $map['appProperties']; } 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['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['properties'])) { $model->properties = properties::fromMap($map['properties']); } 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['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } if (isset($map['thumbnail'])) { $model->thumbnail = thumbnail::fromMap($map['thumbnail']); } 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/sns_storage_1_0/Models/ListAllDentriesResponseBody/dentries/properties.php000064400000001563146412132660023677 0ustar00 'readOnly', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } return $model; } } src/sns_storage_1_0/Models/ListAllDentriesResponseBody/dentries/thumbnail.php000064400000002612146412132660023462 0ustar00 'height', 'url' => 'url', 'width' => 'width', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->height) { $res['height'] = $this->height; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->width) { $res['width'] = $this->width; } return $res; } /** * @param array $map * * @return thumbnail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['height'])) { $model->height = $map['height']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['width'])) { $model->width = $map['width']; } return $model; } } src/sns_storage_1_0/Models/ListDentriesHeaders.php000064400000002333146412132660016170 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListDentriesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/sns_storage_1_0/Models/ListDentriesRequest.php000064400000005435146412132660016253 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'order' => 'order', 'orderBy' => 'orderBy', 'parentId' => 'parentId', 'unionId' => 'unionId', 'withThumbnail' => 'withThumbnail', ]; 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; } if (null !== $this->orderBy) { $res['orderBy'] = $this->orderBy; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->withThumbnail) { $res['withThumbnail'] = $this->withThumbnail; } return $res; } /** * @param array $map * * @return ListDentriesRequest */ 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']; } if (isset($map['orderBy'])) { $model->orderBy = $map['orderBy']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['withThumbnail'])) { $model->withThumbnail = $map['withThumbnail']; } return $model; } } src/sns_storage_1_0/Models/ListDentriesResponse.php000064400000002721146412132660016414 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListDentriesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListDentriesResponseBody::fromMap($map['body']); } return $model; } } src/sns_storage_1_0/Models/ListDentriesResponseBody.php000064400000003367146412132660017241 0ustar00 'dentries', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentries) { $res['dentries'] = []; if (null !== $this->dentries && \is_array($this->dentries)) { $n = 0; foreach ($this->dentries as $item) { $res['dentries'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListDentriesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentries'])) { if (!empty($map['dentries'])) { $model->dentries = []; $n = 0; foreach ($map['dentries'] as $item) { $model->dentries[$n++] = null !== $item ? dentries::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/sns_storage_1_0/Models/ListDentriesResponseBody/dentries.php000064400000016347146412132660021060 0ustar00 'appProperties', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'partitionType' => 'partitionType', 'path' => 'path', 'properties' => 'properties', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'storageDriver' => 'storageDriver', 'thumbnail' => 'thumbnail', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = $this->appProperties; } 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->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->properties) { $res['properties'] = null !== $this->properties ? $this->properties->toMap() : null; } 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->storageDriver) { $res['storageDriver'] = $this->storageDriver; } if (null !== $this->thumbnail) { $res['thumbnail'] = null !== $this->thumbnail ? $this->thumbnail->toMap() : null; } 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 dentries */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { $model->appProperties = $map['appProperties']; } 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['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['properties'])) { $model->properties = properties::fromMap($map['properties']); } 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['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } if (isset($map['thumbnail'])) { $model->thumbnail = thumbnail::fromMap($map['thumbnail']); } 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/sns_storage_1_0/Models/ListDentriesResponseBody/dentries/properties.php000064400000001560146412132660023243 0ustar00 'readOnly', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } return $model; } } src/sns_storage_1_0/Models/ListDentriesResponseBody/dentries/thumbnail.php000064400000002607146412132660023035 0ustar00 'height', 'url' => 'url', 'width' => 'width', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->height) { $res['height'] = $this->height; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->width) { $res['width'] = $this->width; } return $res; } /** * @param array $map * * @return thumbnail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['height'])) { $model->height = $map['height']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['width'])) { $model->width = $map['width']; } return $model; } } src/sns_storage_1_0/Models/ListExpiredHeaders.php000064400000002331146412132660016011 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListExpiredHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/sns_storage_1_0/Models/ListExpiredRequest.php000064400000003261146412132660016071 0ustar00 'openConversationId', 'option' => 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ListExpiredRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/sns_storage_1_0/Models/ListExpiredRequest/option.php000064400000002264146412132660017403 0ustar00 '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 option */ 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/sns_storage_1_0/Models/ListExpiredResponse.php000064400000002715146412132660016242 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListExpiredResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListExpiredResponseBody::fromMap($map['body']); } return $model; } } src/sns_storage_1_0/Models/ListExpiredResponseBody.php000064400000003301146412132660017050 0ustar00 'files', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->files) { $res['files'] = []; if (null !== $this->files && \is_array($this->files)) { $n = 0; foreach ($this->files as $item) { $res['files'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListExpiredResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['files'])) { if (!empty($map['files'])) { $model->files = []; $n = 0; foreach ($map['files'] as $item) { $model->files[$n++] = null !== $item ? files::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/sns_storage_1_0/Models/ListExpiredResponseBody/files.php000064400000013034146412132660020156 0ustar00 '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 files */ 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/sns_storage_1_0/Models/ResultItemsDentryAppPropertiesValue.php000064400000002756146412132660021455 0ustar00 'name', 'value' => 'value', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return ResultItemsDentryAppPropertiesValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/sns_storage_1_0/Models/SubscribeEventHeaders.php000064400000002337146412132660016506 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SubscribeEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/sns_storage_1_0/Models/SubscribeEventRequest.php000064400000002674146412132660016567 0ustar00 'scope', 'scopeId' => 'scopeId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scope) { $res['scope'] = $this->scope; } if (null !== $this->scopeId) { $res['scopeId'] = $this->scopeId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return SubscribeEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scope'])) { $model->scope = $map['scope']; } if (isset($map['scopeId'])) { $model->scopeId = $map['scopeId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/sns_storage_1_0/Models/SubscribeEventResponse.php000064400000002731146412132660016727 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SubscribeEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SubscribeEventResponseBody::fromMap($map['body']); } return $model; } } src/sns_storage_1_0/Models/SubscribeEventResponseBody.php000064400000001545146412132660017547 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SubscribeEventResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/sns_storage_1_0/Models/UnsubscribeEventHeaders.php000064400000002343146412132660017046 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UnsubscribeEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/sns_storage_1_0/Models/UnsubscribeEventRequest.php000064400000002700146412132660017120 0ustar00 'scope', 'scopeId' => 'scopeId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scope) { $res['scope'] = $this->scope; } if (null !== $this->scopeId) { $res['scopeId'] = $this->scopeId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return UnsubscribeEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scope'])) { $model->scope = $map['scope']; } if (isset($map['scopeId'])) { $model->scopeId = $map['scopeId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/sns_storage_1_0/Models/UnsubscribeEventResponse.php000064400000002741146412132660017273 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UnsubscribeEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UnsubscribeEventResponseBody::fromMap($map['body']); } return $model; } } src/sns_storage_1_0/Models/UnsubscribeEventResponseBody.php000064400000001551146412132660020107 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UnsubscribeEventResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_1_0/Dingtalk.php000064400000320662146412132660011722 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $spaceId * @param string $parentId * @param AddFolderRequest $request * @param AddFolderHeaders $headers * @param RuntimeOptions $runtime * * @return AddFolderResponse */ public function addFolderWithOptions($spaceId, $parentId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'AddFolder', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $parentId . '/folders', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddFolderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $parentId * @param AddFolderRequest $request * * @return AddFolderResponse */ public function addFolder($spaceId, $parentId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddFolderHeaders([]); return $this->addFolderWithOptions($spaceId, $parentId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param AddPermissionRequest $request * @param AddPermissionHeaders $headers * @param RuntimeOptions $runtime * * @return AddPermissionResponse */ public function addPermissionWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } if (!Utils::isUnset($request->roleId)) { $body['roleId'] = $request->roleId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'AddPermission', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/permissions', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddPermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param AddPermissionRequest $request * * @return AddPermissionResponse */ public function addPermission($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddPermissionHeaders([]); return $this->addPermissionWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param AddSpaceRequest $request * @param AddSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return AddSpaceResponse */ public function addSpaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'AddSpace', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddSpaceRequest $request * * @return AddSpaceResponse */ public function addSpace($request) { $runtime = new RuntimeOptions([]); $headers = new AddSpaceHeaders([]); return $this->addSpaceWithOptions($request, $headers, $runtime); } /** * @param string $recycleBinId * @param ClearRecycleBinRequest $request * @param ClearRecycleBinHeaders $headers * @param RuntimeOptions $runtime * * @return ClearRecycleBinResponse */ public function clearRecycleBinWithOptions($recycleBinId, $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' => 'ClearRecycleBin', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/recycleBins/' . $recycleBinId . '/clear', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ClearRecycleBinResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $recycleBinId * @param ClearRecycleBinRequest $request * * @return ClearRecycleBinResponse */ public function clearRecycleBin($recycleBinId, $request) { $runtime = new RuntimeOptions([]); $headers = new ClearRecycleBinHeaders([]); return $this->clearRecycleBinWithOptions($recycleBinId, $request, $headers, $runtime); } /** * @param string $spaceId * @param CommitFileRequest $request * @param CommitFileHeaders $headers * @param RuntimeOptions $runtime * * @return CommitFileResponse */ public function commitFileWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } if (!Utils::isUnset($request->parentId)) { $body['parentId'] = $request->parentId; } if (!Utils::isUnset($request->uploadKey)) { $body['uploadKey'] = $request->uploadKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CommitFile', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/files/commit', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CommitFileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param CommitFileRequest $request * * @return CommitFileResponse */ public function commitFile($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new CommitFileHeaders([]); return $this->commitFileWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param CopyDentriesRequest $request * @param CopyDentriesHeaders $headers * @param RuntimeOptions $runtime * * @return CopyDentriesResponse */ public function copyDentriesWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->dentryIds)) { $body['dentryIds'] = $request->dentryIds; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } if (!Utils::isUnset($request->targetFolderId)) { $body['targetFolderId'] = $request->targetFolderId; } if (!Utils::isUnset($request->targetSpaceId)) { $body['targetSpaceId'] = $request->targetSpaceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CopyDentries', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/batchCopy', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CopyDentriesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param CopyDentriesRequest $request * * @return CopyDentriesResponse */ public function copyDentries($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new CopyDentriesHeaders([]); return $this->copyDentriesWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param CopyDentryRequest $request * @param CopyDentryHeaders $headers * @param RuntimeOptions $runtime * * @return CopyDentryResponse */ public function copyDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } if (!Utils::isUnset($request->targetFolderId)) { $body['targetFolderId'] = $request->targetFolderId; } if (!Utils::isUnset($request->targetSpaceId)) { $body['targetSpaceId'] = $request->targetSpaceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CopyDentry', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/copy', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CopyDentryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param CopyDentryRequest $request * * @return CopyDentryResponse */ public function copyDentry($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new CopyDentryHeaders([]); return $this->copyDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $spaceId * @param DeleteDentriesRequest $request * @param DeleteDentriesHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteDentriesResponse */ public function deleteDentriesWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->dentryIds)) { $body['dentryIds'] = $request->dentryIds; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'DeleteDentries', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/batchRemove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteDentriesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param DeleteDentriesRequest $request * * @return DeleteDentriesResponse */ public function deleteDentries($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteDentriesHeaders([]); return $this->deleteDentriesWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param DeleteDentryRequest $request * @param DeleteDentryHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteDentryResponse */ public function deleteDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->toRecycleBin)) { $query['toRecycleBin'] = $request->toRecycleBin; } 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' => 'DeleteDentry', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteDentryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param DeleteDentryRequest $request * * @return DeleteDentryResponse */ public function deleteDentry($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteDentryHeaders([]); return $this->deleteDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param DeleteDentryAppPropertiesRequest $request * @param DeleteDentryAppPropertiesHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteDentryAppPropertiesResponse */ public function deleteDentryAppPropertiesWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->propertyNames)) { $body['propertyNames'] = $request->propertyNames; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'DeleteDentryAppProperties', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/appProperties/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteDentryAppPropertiesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param DeleteDentryAppPropertiesRequest $request * * @return DeleteDentryAppPropertiesResponse */ public function deleteDentryAppProperties($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteDentryAppPropertiesHeaders([]); return $this->deleteDentryAppPropertiesWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param DeletePermissionRequest $request * @param DeletePermissionHeaders $headers * @param RuntimeOptions $runtime * * @return DeletePermissionResponse */ public function deletePermissionWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->roleId)) { $body['roleId'] = $request->roleId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'DeletePermission', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/permissions/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeletePermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param DeletePermissionRequest $request * * @return DeletePermissionResponse */ public function deletePermission($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeletePermissionHeaders([]); return $this->deletePermissionWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $recycleBinId * @param string $recycleItemId * @param DeleteRecycleItemRequest $request * @param DeleteRecycleItemHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteRecycleItemResponse */ public function deleteRecycleItemWithOptions($recycleBinId, $recycleItemId, $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' => 'DeleteRecycleItem', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/recycleBins/' . $recycleBinId . '/recycleItems/' . $recycleItemId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteRecycleItemResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $recycleBinId * @param string $recycleItemId * @param DeleteRecycleItemRequest $request * * @return DeleteRecycleItemResponse */ public function deleteRecycleItem($recycleBinId, $recycleItemId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteRecycleItemHeaders([]); return $this->deleteRecycleItemWithOptions($recycleBinId, $recycleItemId, $request, $headers, $runtime); } /** * @param string $recycleBinId * @param DeleteRecycleItemsRequest $request * @param DeleteRecycleItemsHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteRecycleItemsResponse */ public function deleteRecycleItemsWithOptions($recycleBinId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->recycleItemIds)) { $body['recycleItemIds'] = $request->recycleItemIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'DeleteRecycleItems', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/recycleBins/' . $recycleBinId . '/recycleItems/batchRemove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteRecycleItemsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $recycleBinId * @param DeleteRecycleItemsRequest $request * * @return DeleteRecycleItemsResponse */ public function deleteRecycleItems($recycleBinId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteRecycleItemsHeaders([]); return $this->deleteRecycleItemsWithOptions($recycleBinId, $request, $headers, $runtime); } /** * @param GetCurrentAppRequest $request * @param GetCurrentAppHeaders $headers * @param RuntimeOptions $runtime * * @return GetCurrentAppResponse */ public function getCurrentAppWithOptions($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' => 'GetCurrentApp', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/currentApps/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCurrentAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetCurrentAppRequest $request * * @return GetCurrentAppResponse */ public function getCurrentApp($request) { $runtime = new RuntimeOptions([]); $headers = new GetCurrentAppHeaders([]); return $this->getCurrentAppWithOptions($request, $headers, $runtime); } /** * @param string $spaceId * @param GetDentriesRequest $request * @param GetDentriesHeaders $headers * @param RuntimeOptions $runtime * * @return GetDentriesResponse */ public function getDentriesWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->dentryIds)) { $body['dentryIds'] = $request->dentryIds; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'GetDentries', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDentriesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param GetDentriesRequest $request * * @return GetDentriesResponse */ public function getDentries($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetDentriesHeaders([]); return $this->getDentriesWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param GetDentryRequest $request * @param GetDentryHeaders $headers * @param RuntimeOptions $runtime * * @return GetDentryResponse */ public function getDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'GetDentry', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDentryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param GetDentryRequest $request * * @return GetDentryResponse */ public function getDentry($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetDentryHeaders([]); return $this->getDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param GetDentryOpenInfoRequest $request * @param GetDentryOpenInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetDentryOpenInfoResponse */ public function getDentryOpenInfoWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'GetDentryOpenInfo', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/openInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDentryOpenInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param GetDentryOpenInfoRequest $request * * @return GetDentryOpenInfoResponse */ public function getDentryOpenInfo($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetDentryOpenInfoHeaders([]); return $this->getDentryOpenInfoWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $spaceId * @param GetDentryThumbnailsRequest $request * @param GetDentryThumbnailsHeaders $headers * @param RuntimeOptions $runtime * * @return GetDentryThumbnailsResponse */ public function getDentryThumbnailsWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->dentryIds)) { $body['dentryIds'] = $request->dentryIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'GetDentryThumbnails', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/thumbnails/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDentryThumbnailsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param GetDentryThumbnailsRequest $request * * @return GetDentryThumbnailsResponse */ public function getDentryThumbnails($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetDentryThumbnailsHeaders([]); return $this->getDentryThumbnailsWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param GetFileDownloadInfoRequest $request * @param GetFileDownloadInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetFileDownloadInfoResponse */ public function getFileDownloadInfoWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'GetFileDownloadInfo', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/downloadInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFileDownloadInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param GetFileDownloadInfoRequest $request * * @return GetFileDownloadInfoResponse */ public function getFileDownloadInfo($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetFileDownloadInfoHeaders([]); return $this->getFileDownloadInfoWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $spaceId * @param GetFileUploadInfoRequest $request * @param GetFileUploadInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetFileUploadInfoResponse */ public function getFileUploadInfoWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->multipart)) { $body['multipart'] = $request->multipart; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } if (!Utils::isUnset($request->protocol)) { $body['protocol'] = $request->protocol; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'GetFileUploadInfo', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/files/uploadInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFileUploadInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param GetFileUploadInfoRequest $request * * @return GetFileUploadInfoResponse */ public function getFileUploadInfo($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetFileUploadInfoHeaders([]); return $this->getFileUploadInfoWithOptions($spaceId, $request, $headers, $runtime); } /** * @param GetMultipartFileUploadInfosRequest $request * @param GetMultipartFileUploadInfosHeaders $headers * @param RuntimeOptions $runtime * * @return GetMultipartFileUploadInfosResponse */ public function getMultipartFileUploadInfosWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } if (!Utils::isUnset($request->partNumbers)) { $body['partNumbers'] = $request->partNumbers; } if (!Utils::isUnset($request->uploadKey)) { $body['uploadKey'] = $request->uploadKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'GetMultipartFileUploadInfos', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/files/multiPartUploadInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetMultipartFileUploadInfosResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetMultipartFileUploadInfosRequest $request * * @return GetMultipartFileUploadInfosResponse */ public function getMultipartFileUploadInfos($request) { $runtime = new RuntimeOptions([]); $headers = new GetMultipartFileUploadInfosHeaders([]); return $this->getMultipartFileUploadInfosWithOptions($request, $headers, $runtime); } /** * @param string $corpId * @param GetOrgRequest $request * @param GetOrgHeaders $headers * @param RuntimeOptions $runtime * * @return GetOrgResponse */ public function getOrgWithOptions($corpId, $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' => 'GetOrg', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/orgs/' . $corpId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOrgResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $corpId * @param GetOrgRequest $request * * @return GetOrgResponse */ public function getOrg($corpId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetOrgHeaders([]); return $this->getOrgWithOptions($corpId, $request, $headers, $runtime); } /** * @param GetRecycleBinRequest $request * @param GetRecycleBinHeaders $headers * @param RuntimeOptions $runtime * * @return GetRecycleBinResponse */ public function getRecycleBinWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->recycleBinScope)) { $query['recycleBinScope'] = $request->recycleBinScope; } if (!Utils::isUnset($request->scopeId)) { $query['scopeId'] = $request->scopeId; } 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' => 'GetRecycleBin', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/recycleBins', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRecycleBinResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetRecycleBinRequest $request * * @return GetRecycleBinResponse */ public function getRecycleBin($request) { $runtime = new RuntimeOptions([]); $headers = new GetRecycleBinHeaders([]); return $this->getRecycleBinWithOptions($request, $headers, $runtime); } /** * @param string $recycleBinId * @param string $recycleItemId * @param GetRecycleItemRequest $request * @param GetRecycleItemHeaders $headers * @param RuntimeOptions $runtime * * @return GetRecycleItemResponse */ public function getRecycleItemWithOptions($recycleBinId, $recycleItemId, $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' => 'GetRecycleItem', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/recycleBins/' . $recycleBinId . '/recycleItems/' . $recycleItemId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRecycleItemResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $recycleBinId * @param string $recycleItemId * @param GetRecycleItemRequest $request * * @return GetRecycleItemResponse */ public function getRecycleItem($recycleBinId, $recycleItemId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetRecycleItemHeaders([]); return $this->getRecycleItemWithOptions($recycleBinId, $recycleItemId, $request, $headers, $runtime); } /** * @param string $spaceId * @param GetSpaceRequest $request * @param GetSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return GetSpaceResponse */ public function getSpaceWithOptions($spaceId, $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' => 'GetSpace', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param GetSpaceRequest $request * * @return GetSpaceResponse */ public function getSpace($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetSpaceHeaders([]); return $this->getSpaceWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $taskId * @param GetTaskRequest $request * @param GetTaskHeaders $headers * @param RuntimeOptions $runtime * * @return GetTaskResponse */ public function getTaskWithOptions($taskId, $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' => 'GetTask', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/tasks/' . $taskId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskId * @param GetTaskRequest $request * * @return GetTaskResponse */ public function getTask($taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetTaskHeaders([]); return $this->getTaskWithOptions($taskId, $request, $headers, $runtime); } /** * @param string $spaceId * @param InitMultipartFileUploadRequest $request * @param InitMultipartFileUploadHeaders $headers * @param RuntimeOptions $runtime * * @return InitMultipartFileUploadResponse */ public function initMultipartFileUploadWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'InitMultipartFileUpload', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/files/multiPartUploadInfos/init', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InitMultipartFileUploadResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param InitMultipartFileUploadRequest $request * * @return InitMultipartFileUploadResponse */ public function initMultipartFileUpload($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new InitMultipartFileUploadHeaders([]); return $this->initMultipartFileUploadWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param ListAllDentriesRequest $request * @param ListAllDentriesHeaders $headers * @param RuntimeOptions $runtime * * @return ListAllDentriesResponse */ public function listAllDentriesWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'ListAllDentries', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/listAll', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListAllDentriesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param ListAllDentriesRequest $request * * @return ListAllDentriesResponse */ public function listAllDentries($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListAllDentriesHeaders([]); return $this->listAllDentriesWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param ListDentriesRequest $request * @param ListDentriesHeaders $headers * @param RuntimeOptions $runtime * * @return ListDentriesResponse */ public function listDentriesWithOptions($spaceId, $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; } if (!Utils::isUnset($request->orderBy)) { $query['orderBy'] = $request->orderBy; } if (!Utils::isUnset($request->parentId)) { $query['parentId'] = $request->parentId; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } if (!Utils::isUnset($request->withThumbnail)) { $query['withThumbnail'] = $request->withThumbnail; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListDentries', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListDentriesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param ListDentriesRequest $request * * @return ListDentriesResponse */ public function listDentries($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListDentriesHeaders([]); return $this->listDentriesWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param ListDentryVersionsRequest $request * @param ListDentryVersionsHeaders $headers * @param RuntimeOptions $runtime * * @return ListDentryVersionsResponse */ public function listDentryVersionsWithOptions($spaceId, $dentryId, $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->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' => 'ListDentryVersions', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/versions', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListDentryVersionsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param ListDentryVersionsRequest $request * * @return ListDentryVersionsResponse */ public function listDentryVersions($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListDentryVersionsHeaders([]); return $this->listDentryVersionsWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param ListPermissionsRequest $request * @param ListPermissionsHeaders $headers * @param RuntimeOptions $runtime * * @return ListPermissionsResponse */ public function listPermissionsWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'ListPermissions', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/permissions/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListPermissionsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param ListPermissionsRequest $request * * @return ListPermissionsResponse */ public function listPermissions($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListPermissionsHeaders([]); return $this->listPermissionsWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $recycleBinId * @param ListRecycleItemsRequest $request * @param ListRecycleItemsHeaders $headers * @param RuntimeOptions $runtime * * @return ListRecycleItemsResponse */ public function listRecycleItemsWithOptions($recycleBinId, $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->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' => 'ListRecycleItems', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/recycleBins/' . $recycleBinId . '/recycleItems', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListRecycleItemsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $recycleBinId * @param ListRecycleItemsRequest $request * * @return ListRecycleItemsResponse */ public function listRecycleItems($recycleBinId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListRecycleItemsHeaders([]); return $this->listRecycleItemsWithOptions($recycleBinId, $request, $headers, $runtime); } /** * @param string $spaceId * @param MoveDentriesRequest $request * @param MoveDentriesHeaders $headers * @param RuntimeOptions $runtime * * @return MoveDentriesResponse */ public function moveDentriesWithOptions($spaceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->dentryIds)) { $body['dentryIds'] = $request->dentryIds; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } if (!Utils::isUnset($request->targetFolderId)) { $body['targetFolderId'] = $request->targetFolderId; } if (!Utils::isUnset($request->targetSpaceId)) { $body['targetSpaceId'] = $request->targetSpaceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'MoveDentries', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/batchMove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return MoveDentriesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param MoveDentriesRequest $request * * @return MoveDentriesResponse */ public function moveDentries($spaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new MoveDentriesHeaders([]); return $this->moveDentriesWithOptions($spaceId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param MoveDentryRequest $request * @param MoveDentryHeaders $headers * @param RuntimeOptions $runtime * * @return MoveDentryResponse */ public function moveDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } if (!Utils::isUnset($request->targetFolderId)) { $body['targetFolderId'] = $request->targetFolderId; } if (!Utils::isUnset($request->targetSpaceId)) { $body['targetSpaceId'] = $request->targetSpaceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'MoveDentry', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/move', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return MoveDentryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param MoveDentryRequest $request * * @return MoveDentryResponse */ public function moveDentry($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new MoveDentryHeaders([]); return $this->moveDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param RegisterOpenInfoRequest $request * @param RegisterOpenInfoHeaders $headers * @param RuntimeOptions $runtime * * @return RegisterOpenInfoResponse */ public function registerOpenInfoWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->openInfos)) { $body['openInfos'] = $request->openInfos; } if (!Utils::isUnset($request->provider)) { $body['provider'] = $request->provider; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'RegisterOpenInfo', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/openInfos/register', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RegisterOpenInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param RegisterOpenInfoRequest $request * * @return RegisterOpenInfoResponse */ public function registerOpenInfo($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new RegisterOpenInfoHeaders([]); return $this->registerOpenInfoWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param RenameDentryRequest $request * @param RenameDentryHeaders $headers * @param RuntimeOptions $runtime * * @return RenameDentryResponse */ public function renameDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->newName)) { $body['newName'] = $request->newName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'RenameDentry', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/rename', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RenameDentryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param RenameDentryRequest $request * * @return RenameDentryResponse */ public function renameDentry($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new RenameDentryHeaders([]); return $this->renameDentryWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $recycleBinId * @param string $recycleItemId * @param RestoreRecycleItemRequest $request * @param RestoreRecycleItemHeaders $headers * @param RuntimeOptions $runtime * * @return RestoreRecycleItemResponse */ public function restoreRecycleItemWithOptions($recycleBinId, $recycleItemId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'RestoreRecycleItem', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/recycleBins/' . $recycleBinId . '/recycleItems/' . $recycleItemId . '/restore', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RestoreRecycleItemResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $recycleBinId * @param string $recycleItemId * @param RestoreRecycleItemRequest $request * * @return RestoreRecycleItemResponse */ public function restoreRecycleItem($recycleBinId, $recycleItemId, $request) { $runtime = new RuntimeOptions([]); $headers = new RestoreRecycleItemHeaders([]); return $this->restoreRecycleItemWithOptions($recycleBinId, $recycleItemId, $request, $headers, $runtime); } /** * @param string $recycleBinId * @param RestoreRecycleItemsRequest $request * @param RestoreRecycleItemsHeaders $headers * @param RuntimeOptions $runtime * * @return RestoreRecycleItemsResponse */ public function restoreRecycleItemsWithOptions($recycleBinId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } if (!Utils::isUnset($request->recycleItemIds)) { $body['recycleItemIds'] = $request->recycleItemIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'RestoreRecycleItems', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/recycleBins/' . $recycleBinId . '/recycleItems/batchRestore', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RestoreRecycleItemsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $recycleBinId * @param RestoreRecycleItemsRequest $request * * @return RestoreRecycleItemsResponse */ public function restoreRecycleItems($recycleBinId, $request) { $runtime = new RuntimeOptions([]); $headers = new RestoreRecycleItemsHeaders([]); return $this->restoreRecycleItemsWithOptions($recycleBinId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param string $version * @param RevertDentryVersionRequest $request * @param RevertDentryVersionHeaders $headers * @param RuntimeOptions $runtime * * @return RevertDentryVersionResponse */ public function revertDentryVersionWithOptions($spaceId, $dentryId, $version, $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' => 'RevertDentryVersion', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/versions/' . $version . '/revert', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RevertDentryVersionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param string $version * @param RevertDentryVersionRequest $request * * @return RevertDentryVersionResponse */ public function revertDentryVersion($spaceId, $dentryId, $version, $request) { $runtime = new RuntimeOptions([]); $headers = new RevertDentryVersionHeaders([]); return $this->revertDentryVersionWithOptions($spaceId, $dentryId, $version, $request, $headers, $runtime); } /** * @param SubscribeEventRequest $request * @param SubscribeEventHeaders $headers * @param RuntimeOptions $runtime * * @return SubscribeEventResponse */ public function subscribeEventWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->scope)) { $body['scope'] = $request->scope; } if (!Utils::isUnset($request->scopeId)) { $body['scopeId'] = $request->scopeId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'SubscribeEvent', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/events/subscribe', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SubscribeEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SubscribeEventRequest $request * * @return SubscribeEventResponse */ public function subscribeEvent($request) { $runtime = new RuntimeOptions([]); $headers = new SubscribeEventHeaders([]); return $this->subscribeEventWithOptions($request, $headers, $runtime); } /** * @param UnsubscribeEventRequest $request * @param UnsubscribeEventHeaders $headers * @param RuntimeOptions $runtime * * @return UnsubscribeEventResponse */ public function unsubscribeEventWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->scope)) { $body['scope'] = $request->scope; } if (!Utils::isUnset($request->scopeId)) { $body['scopeId'] = $request->scopeId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UnsubscribeEvent', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/events/unsubscribe', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UnsubscribeEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UnsubscribeEventRequest $request * * @return UnsubscribeEventResponse */ public function unsubscribeEvent($request) { $runtime = new RuntimeOptions([]); $headers = new UnsubscribeEventHeaders([]); return $this->unsubscribeEventWithOptions($request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param UpdateDentryAppPropertiesRequest $request * @param UpdateDentryAppPropertiesHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateDentryAppPropertiesResponse */ public function updateDentryAppPropertiesWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->appProperties)) { $body['appProperties'] = $request->appProperties; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdateDentryAppProperties', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/appProperties', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateDentryAppPropertiesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param UpdateDentryAppPropertiesRequest $request * * @return UpdateDentryAppPropertiesResponse */ public function updateDentryAppProperties($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateDentryAppPropertiesHeaders([]); return $this->updateDentryAppPropertiesWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } /** * @param string $spaceId * @param string $dentryId * @param UpdatePermissionRequest $request * @param UpdatePermissionHeaders $headers * @param RuntimeOptions $runtime * * @return UpdatePermissionResponse */ public function updatePermissionWithOptions($spaceId, $dentryId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } if (!Utils::isUnset($request->roleId)) { $body['roleId'] = $request->roleId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdatePermission', 'version' => 'storage_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/storage/spaces/' . $spaceId . '/dentries/' . $dentryId . '/permissions', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdatePermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $spaceId * @param string $dentryId * @param UpdatePermissionRequest $request * * @return UpdatePermissionResponse */ public function updatePermission($spaceId, $dentryId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdatePermissionHeaders([]); return $this->updatePermissionWithOptions($spaceId, $dentryId, $request, $headers, $runtime); } } src/storage_1_0/Models/AddFolderHeaders.php000064400000002321146412132660014515 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddFolderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/AddFolderRequest.php000064400000003011146412132660014567 0ustar00 'name', 'option' => 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return AddFolderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/AddFolderRequest/option.php000064400000003567146412132660016117 0ustar00 'appProperties', 'conflictStrategy' => 'conflictStrategy', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = []; if (null !== $this->appProperties && \is_array($this->appProperties)) { $n = 0; foreach ($this->appProperties as $item) { $res['appProperties'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->conflictStrategy) { $res['conflictStrategy'] = $this->conflictStrategy; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { if (!empty($map['appProperties'])) { $model->appProperties = []; $n = 0; foreach ($map['appProperties'] as $item) { $model->appProperties[$n++] = null !== $item ? appProperties::fromMap($item) : $item; } } } if (isset($map['conflictStrategy'])) { $model->conflictStrategy = $map['conflictStrategy']; } return $model; } } src/storage_1_0/Models/AddFolderRequest/option/appProperties.php000064400000002726146412132660020750 0ustar00 'name', 'value' => 'value', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return appProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/storage_1_0/Models/AddFolderResponse.php000064400000002701146412132660014742 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddFolderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddFolderResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/AddFolderResponseBody.php000064400000001676146412132660015572 0ustar00 'dentry', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentry) { $res['dentry'] = null !== $this->dentry ? $this->dentry->toMap() : null; } return $res; } /** * @param array $map * * @return AddFolderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentry'])) { $model->dentry = dentry::fromMap($map['dentry']); } return $model; } } src/storage_1_0/Models/AddFolderResponseBody/dentry.php000064400000015370146412132660017073 0ustar00 'appProperties', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'partitionType' => 'partitionType', 'path' => 'path', 'properties' => 'properties', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'storageDriver' => 'storageDriver', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = $this->appProperties; } 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->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->properties) { $res['properties'] = null !== $this->properties ? $this->properties->toMap() : null; } 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->storageDriver) { $res['storageDriver'] = $this->storageDriver; } 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 dentry */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { $model->appProperties = $map['appProperties']; } 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['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['properties'])) { $model->properties = properties::fromMap($map['properties']); } 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['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } 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/storage_1_0/Models/AddFolderResponseBody/dentry/properties.php000064400000001547146412132660021270 0ustar00 'readOnly', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } return $model; } } src/storage_1_0/Models/AddPermissionHeaders.php000064400000002331146412132660015433 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddPermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/AddPermissionRequest.php000064400000004602146412132660015513 0ustar00 'members', 'option' => 'option', 'roleId' => 'roleId', 'unionId' => 'unionId', ]; 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; } } } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return AddPermissionRequest */ 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; } } } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/AddPermissionRequest/members.php000064400000002565146412132660017153 0ustar00 'corpId', 'id' => 'id', 'type' => 'type', ]; 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->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return members */ 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['type'])) { $model->type = $map['type']; } return $model; } } src/storage_1_0/Models/AddPermissionRequest/option.php000064400000001526146412132660017025 0ustar00 'duration', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } return $model; } } src/storage_1_0/Models/AddPermissionResponse.php000064400000002721146412132660015661 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddPermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddPermissionResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/AddPermissionResponseBody.php000064400000001537146412132660016503 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AddPermissionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_1_0/Models/AddSpaceHeaders.php000064400000002317146412132660014342 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/AddSpaceRequest.php000064400000002344146412132660014417 0ustar00 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return AddSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/AddSpaceRequest/option.php000064400000004733146412132660015733 0ustar00 'capabilities', 'name' => 'name', 'ownerType' => 'ownerType', 'quota' => 'quota', 'scene' => 'scene', 'sceneId' => 'sceneId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->capabilities) { $res['capabilities'] = null !== $this->capabilities ? $this->capabilities->toMap() : null; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->ownerType) { $res['ownerType'] = $this->ownerType; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->sceneId) { $res['sceneId'] = $this->sceneId; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['capabilities'])) { $model->capabilities = capabilities::fromMap($map['capabilities']); } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['ownerType'])) { $model->ownerType = $map['ownerType']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['sceneId'])) { $model->sceneId = $map['sceneId']; } return $model; } } src/storage_1_0/Models/AddSpaceRequest/option/capabilities.php000064400000003142146412132660020355 0ustar00 'canRecordRecentFile', 'canRename' => 'canRename', 'canSearch' => 'canSearch', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->canRecordRecentFile) { $res['canRecordRecentFile'] = $this->canRecordRecentFile; } if (null !== $this->canRename) { $res['canRename'] = $this->canRename; } if (null !== $this->canSearch) { $res['canSearch'] = $this->canSearch; } return $res; } /** * @param array $map * * @return capabilities */ public static function fromMap($map = []) { $model = new self(); if (isset($map['canRecordRecentFile'])) { $model->canRecordRecentFile = $map['canRecordRecentFile']; } if (isset($map['canRename'])) { $model->canRename = $map['canRename']; } if (isset($map['canSearch'])) { $model->canSearch = $map['canSearch']; } return $model; } } src/storage_1_0/Models/AddSpaceResponse.php000064400000002675146412132660014574 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddSpaceResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/AddSpaceResponseBody.php000064400000001656146412132660015410 0ustar00 '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 AddSpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['space'])) { $model->space = space::fromMap($map['space']); } return $model; } } src/storage_1_0/Models/AddSpaceResponseBody/space.php000064400000015071146412132660016477 0ustar00 'appId', 'capabilities' => 'capabilities', 'corpId' => 'corpId', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'ownerId' => 'ownerId', 'ownerType' => 'ownerType', 'partitions' => 'partitions', 'quota' => 'quota', 'scene' => 'scene', 'sceneId' => 'sceneId', 'status' => 'status', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->capabilities) { $res['capabilities'] = null !== $this->capabilities ? $this->capabilities->toMap() : null; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } 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->ownerId) { $res['ownerId'] = $this->ownerId; } if (null !== $this->ownerType) { $res['ownerType'] = $this->ownerType; } if (null !== $this->partitions) { $res['partitions'] = []; if (null !== $this->partitions && \is_array($this->partitions)) { $n = 0; foreach ($this->partitions as $item) { $res['partitions'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->sceneId) { $res['sceneId'] = $this->sceneId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return space */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['capabilities'])) { $model->capabilities = capabilities::fromMap($map['capabilities']); } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } 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['ownerId'])) { $model->ownerId = $map['ownerId']; } if (isset($map['ownerType'])) { $model->ownerType = $map['ownerType']; } if (isset($map['partitions'])) { if (!empty($map['partitions'])) { $model->partitions = []; $n = 0; foreach ($map['partitions'] as $item) { $model->partitions[$n++] = null !== $item ? partitions::fromMap($item) : $item; } } } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['sceneId'])) { $model->sceneId = $map['sceneId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/storage_1_0/Models/AddSpaceResponseBody/space/capabilities.php000064400000003146146412132660021130 0ustar00 'canRecordRecentFile', 'canRename' => 'canRename', 'canSearch' => 'canSearch', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->canRecordRecentFile) { $res['canRecordRecentFile'] = $this->canRecordRecentFile; } if (null !== $this->canRename) { $res['canRename'] = $this->canRename; } if (null !== $this->canSearch) { $res['canSearch'] = $this->canSearch; } return $res; } /** * @param array $map * * @return capabilities */ public static function fromMap($map = []) { $model = new self(); if (isset($map['canRecordRecentFile'])) { $model->canRecordRecentFile = $map['canRecordRecentFile']; } if (isset($map['canRename'])) { $model->canRename = $map['canRename']; } if (isset($map['canSearch'])) { $model->canSearch = $map['canSearch']; } return $model; } } src/storage_1_0/Models/AddSpaceResponseBody/space/partitions.php000064400000002507146412132660020673 0ustar00 'partitionType', 'quota' => 'quota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->quota) { $res['quota'] = null !== $this->quota ? $this->quota->toMap() : null; } return $res; } /** * @param array $map * * @return partitions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['quota'])) { $model->quota = quota::fromMap($map['quota']); } return $model; } } src/storage_1_0/Models/AddSpaceResponseBody/space/partitions/quota.php000064400000003255146412132660022025 0ustar00 'max', 'reserved' => 'reserved', 'type' => 'type', 'used' => 'used', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->max) { $res['max'] = $this->max; } if (null !== $this->reserved) { $res['reserved'] = $this->reserved; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->used) { $res['used'] = $this->used; } return $res; } /** * @param array $map * * @return quota */ public static function fromMap($map = []) { $model = new self(); if (isset($map['max'])) { $model->max = $map['max']; } if (isset($map['reserved'])) { $model->reserved = $map['reserved']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['used'])) { $model->used = $map['used']; } return $model; } } src/storage_1_0/Models/ClearRecycleBinHeaders.php000064400000002335146412132660015664 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ClearRecycleBinHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/ClearRecycleBinRequest.php000064400000001537146412132660015744 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ClearRecycleBinRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/ClearRecycleBinResponse.php000064400000002731146412132660016107 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ClearRecycleBinResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ClearRecycleBinResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/ClearRecycleBinResponseBody.php000064400000001543146412132660016725 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ClearRecycleBinResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_1_0/Models/CommitFileHeaders.php000064400000002323146412132660014723 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CommitFileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/CommitFileRequest.php000064400000004237146412132660015006 0ustar00 'name', 'option' => 'option', 'parentId' => 'parentId', 'uploadKey' => 'uploadKey', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->uploadKey) { $res['uploadKey'] = $this->uploadKey; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return CommitFileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['uploadKey'])) { $model->uploadKey = $map['uploadKey']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/CommitFileRequest/option.php000064400000004231146412132660016310 0ustar00 'appProperties', 'conflictStrategy' => 'conflictStrategy', 'size' => 'size', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = []; if (null !== $this->appProperties && \is_array($this->appProperties)) { $n = 0; foreach ($this->appProperties as $item) { $res['appProperties'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->conflictStrategy) { $res['conflictStrategy'] = $this->conflictStrategy; } if (null !== $this->size) { $res['size'] = $this->size; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { if (!empty($map['appProperties'])) { $model->appProperties = []; $n = 0; foreach ($map['appProperties'] as $item) { $model->appProperties[$n++] = null !== $item ? appProperties::fromMap($item) : $item; } } } if (isset($map['conflictStrategy'])) { $model->conflictStrategy = $map['conflictStrategy']; } if (isset($map['size'])) { $model->size = $map['size']; } return $model; } } src/storage_1_0/Models/CommitFileRequest/option/appProperties.php000064400000002727146412132660021155 0ustar00 'name', 'value' => 'value', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return appProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/storage_1_0/Models/CommitFileResponse.php000064400000002705146412132660015152 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CommitFileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CommitFileResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/CommitFileResponseBody.php000064400000001701146412132660015763 0ustar00 'dentry', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentry) { $res['dentry'] = null !== $this->dentry ? $this->dentry->toMap() : null; } return $res; } /** * @param array $map * * @return CommitFileResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentry'])) { $model->dentry = dentry::fromMap($map['dentry']); } return $model; } } src/storage_1_0/Models/CommitFileResponseBody/dentry.php000064400000015372146412132660017301 0ustar00 'appProperties', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'partitionType' => 'partitionType', 'path' => 'path', 'properties' => 'properties', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'storageDriver' => 'storageDriver', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = $this->appProperties; } 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->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->properties) { $res['properties'] = null !== $this->properties ? $this->properties->toMap() : null; } 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->storageDriver) { $res['storageDriver'] = $this->storageDriver; } 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 dentry */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { $model->appProperties = $map['appProperties']; } 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['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['properties'])) { $model->properties = properties::fromMap($map['properties']); } 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['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } 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/storage_1_0/Models/CommitFileResponseBody/dentry/properties.php000064400000001550146412132660021466 0ustar00 'readOnly', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } return $model; } } src/storage_1_0/Models/CopyDentriesHeaders.php000064400000002327146412132660015307 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CopyDentriesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/CopyDentriesRequest.php000064400000004540146412132660015363 0ustar00 'dentryIds', 'option' => 'option', 'targetFolderId' => 'targetFolderId', 'targetSpaceId' => 'targetSpaceId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryIds) { $res['dentryIds'] = $this->dentryIds; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->targetFolderId) { $res['targetFolderId'] = $this->targetFolderId; } if (null !== $this->targetSpaceId) { $res['targetSpaceId'] = $this->targetSpaceId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return CopyDentriesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryIds'])) { if (!empty($map['dentryIds'])) { $model->dentryIds = $map['dentryIds']; } } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['targetFolderId'])) { $model->targetFolderId = $map['targetFolderId']; } if (isset($map['targetSpaceId'])) { $model->targetSpaceId = $map['targetSpaceId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/CopyDentriesRequest/option.php000064400000001647146412132660016700 0ustar00 'conflictStrategy', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conflictStrategy) { $res['conflictStrategy'] = $this->conflictStrategy; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conflictStrategy'])) { $model->conflictStrategy = $map['conflictStrategy']; } return $model; } } src/storage_1_0/Models/CopyDentriesResponse.php000064400000002715146412132660015533 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CopyDentriesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CopyDentriesResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/CopyDentriesResponseBody.php000064400000002731146412132660016347 0ustar00 'resultItems', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->resultItems) { $res['resultItems'] = []; if (null !== $this->resultItems && \is_array($this->resultItems)) { $n = 0; foreach ($this->resultItems as $item) { $res['resultItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CopyDentriesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['resultItems'])) { if (!empty($map['resultItems'])) { $model->resultItems = []; $n = 0; foreach ($map['resultItems'] as $item) { $model->resultItems[$n++] = null !== $item ? resultItems::fromMap($item) : $item; } } } return $model; } } src/storage_1_0/Models/CopyDentriesResponseBody/resultItems.php000064400000006216146412132660020671 0ustar00 'async', 'dentryId' => 'dentryId', 'errorCode' => 'errorCode', 'spaceId' => 'spaceId', 'success' => 'success', 'targetDentryId' => 'targetDentryId', 'targetSpaceId' => 'targetSpaceId', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->async) { $res['async'] = $this->async; } if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->targetDentryId) { $res['targetDentryId'] = $this->targetDentryId; } if (null !== $this->targetSpaceId) { $res['targetSpaceId'] = $this->targetSpaceId; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return resultItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['async'])) { $model->async = $map['async']; } if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['targetDentryId'])) { $model->targetDentryId = $map['targetDentryId']; } if (isset($map['targetSpaceId'])) { $model->targetSpaceId = $map['targetSpaceId']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/storage_1_0/Models/CopyDentryHeaders.php000064400000002323146412132660014773 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CopyDentryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/CopyDentryRequest.php000064400000003753146412132660015060 0ustar00 'option', 'targetFolderId' => 'targetFolderId', 'targetSpaceId' => 'targetSpaceId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->targetFolderId) { $res['targetFolderId'] = $this->targetFolderId; } if (null !== $this->targetSpaceId) { $res['targetSpaceId'] = $this->targetSpaceId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return CopyDentryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['targetFolderId'])) { $model->targetFolderId = $map['targetFolderId']; } if (isset($map['targetSpaceId'])) { $model->targetSpaceId = $map['targetSpaceId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/CopyDentryRequest/option.php000064400000001645146412132660016366 0ustar00 'conflictStrategy', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conflictStrategy) { $res['conflictStrategy'] = $this->conflictStrategy; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conflictStrategy'])) { $model->conflictStrategy = $map['conflictStrategy']; } return $model; } } src/storage_1_0/Models/CopyDentryResponse.php000064400000002705146412132660015222 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CopyDentryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CopyDentryResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/CopyDentryResponseBody.php000064400000003016146412132660016034 0ustar00 'async', 'dentry' => 'dentry', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->async) { $res['async'] = $this->async; } if (null !== $this->dentry) { $res['dentry'] = null !== $this->dentry ? $this->dentry->toMap() : null; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return CopyDentryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['async'])) { $model->async = $map['async']; } if (isset($map['dentry'])) { $model->dentry = dentry::fromMap($map['dentry']); } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/storage_1_0/Models/CopyDentryResponseBody/dentry.php000064400000015372146412132660017351 0ustar00 'appProperties', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'partitionType' => 'partitionType', 'path' => 'path', 'properties' => 'properties', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'storageDriver' => 'storageDriver', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = $this->appProperties; } 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->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->properties) { $res['properties'] = null !== $this->properties ? $this->properties->toMap() : null; } 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->storageDriver) { $res['storageDriver'] = $this->storageDriver; } 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 dentry */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { $model->appProperties = $map['appProperties']; } 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['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['properties'])) { $model->properties = properties::fromMap($map['properties']); } 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['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } 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/storage_1_0/Models/CopyDentryResponseBody/dentry/properties.php000064400000001550146412132660021536 0ustar00 'readOnly', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } return $model; } } src/storage_1_0/Models/DeleteDentriesHeaders.php000064400000002333146412132660015574 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteDentriesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/DeleteDentriesRequest.php000064400000003144146412132660015652 0ustar00 'dentryIds', 'option' => 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryIds) { $res['dentryIds'] = $this->dentryIds; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return DeleteDentriesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryIds'])) { if (!empty($map['dentryIds'])) { $model->dentryIds = $map['dentryIds']; } } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/DeleteDentriesRequest/option.php000064400000001574146412132660017167 0ustar00 'toRecycleBin', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->toRecycleBin) { $res['toRecycleBin'] = $this->toRecycleBin; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['toRecycleBin'])) { $model->toRecycleBin = $map['toRecycleBin']; } return $model; } } src/storage_1_0/Models/DeleteDentriesResponse.php000064400000002725146412132660016024 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteDentriesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteDentriesResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/DeleteDentriesResponseBody.php000064400000002737146412132660016645 0ustar00 'resultItems', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->resultItems) { $res['resultItems'] = []; if (null !== $this->resultItems && \is_array($this->resultItems)) { $n = 0; foreach ($this->resultItems as $item) { $res['resultItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return DeleteDentriesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['resultItems'])) { if (!empty($map['resultItems'])) { $model->resultItems = []; $n = 0; foreach ($map['resultItems'] as $item) { $model->resultItems[$n++] = null !== $item ? resultItems::fromMap($item) : $item; } } } return $model; } } src/storage_1_0/Models/DeleteDentriesResponseBody/resultItems.php000064400000004577146412132660021171 0ustar00 'async', 'dentryId' => 'dentryId', 'errorCode' => 'errorCode', 'spaceId' => 'spaceId', 'success' => 'success', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->async) { $res['async'] = $this->async; } if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return resultItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['async'])) { $model->async = $map['async']; } if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/storage_1_0/Models/DeleteDentryAppPropertiesHeaders.php000064400000002361146412132660020003 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteDentryAppPropertiesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/DeleteDentryAppPropertiesRequest.php000064400000002413146412132660020056 0ustar00 'propertyNames', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->propertyNames) { $res['propertyNames'] = $this->propertyNames; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return DeleteDentryAppPropertiesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['propertyNames'])) { if (!empty($map['propertyNames'])) { $model->propertyNames = $map['propertyNames']; } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/DeleteDentryAppPropertiesResponse.php000064400000003001146412132660020216 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteDentryAppPropertiesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteDentryAppPropertiesResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/DeleteDentryAppPropertiesResponseBody.php000064400000001567146412132660021053 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteDentryAppPropertiesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_1_0/Models/DeleteDentryHeaders.php000064400000002327146412132660015267 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteDentryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/DeleteDentryRequest.php000064400000002274146412132660015345 0ustar00 'toRecycleBin', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->toRecycleBin) { $res['toRecycleBin'] = $this->toRecycleBin; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return DeleteDentryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['toRecycleBin'])) { $model->toRecycleBin = $map['toRecycleBin']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/DeleteDentryResponse.php000064400000002715146412132660015513 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteDentryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteDentryResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/DeleteDentryResponseBody.php000064400000002171146412132660016325 0ustar00 'async', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->async) { $res['async'] = $this->async; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return DeleteDentryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['async'])) { $model->async = $map['async']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/storage_1_0/Models/DeletePermissionHeaders.php000064400000002337146412132660016153 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeletePermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/DeletePermissionRequest.php000064400000003763146412132660016234 0ustar00 'members', 'roleId' => 'roleId', 'unionId' => 'unionId', ]; 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; } } } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return DeletePermissionRequest */ 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; } } } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/DeletePermissionRequest/members.php000064400000002570146412132660017661 0ustar00 'corpId', 'id' => 'id', 'type' => 'type', ]; 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->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return members */ 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['type'])) { $model->type = $map['type']; } return $model; } } src/storage_1_0/Models/DeletePermissionResponse.php000064400000002735146412132660016400 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeletePermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeletePermissionResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/DeletePermissionResponseBody.php000064400000001545146412132660017214 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeletePermissionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_1_0/Models/DeleteRecycleItemHeaders.php000064400000002341146412132660016223 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteRecycleItemHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/DeleteRecycleItemRequest.php000064400000001543146412132660016303 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return DeleteRecycleItemRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/DeleteRecycleItemResponse.php000064400000002741146412132660016452 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteRecycleItemResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteRecycleItemResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/DeleteRecycleItemResponseBody.php000064400000001547146412132660017273 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteRecycleItemResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_1_0/Models/DeleteRecycleItemsHeaders.php000064400000002343146412132660016410 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteRecycleItemsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/DeleteRecycleItemsRequest.php000064400000002410146412132660016460 0ustar00 'recycleItemIds', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->recycleItemIds) { $res['recycleItemIds'] = $this->recycleItemIds; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return DeleteRecycleItemsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['recycleItemIds'])) { if (!empty($map['recycleItemIds'])) { $model->recycleItemIds = $map['recycleItemIds']; } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/DeleteRecycleItemsResponse.php000064400000002745146412132660016641 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteRecycleItemsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteRecycleItemsResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/DeleteRecycleItemsResponseBody.php000064400000001551146412132660017451 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteRecycleItemsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_1_0/Models/DentriesAppPropertiesValue.php000064400000002730146412132660016671 0ustar00 'name', 'value' => 'value', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return DentriesAppPropertiesValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/storage_1_0/Models/DentryAppPropertiesValue.php000064400000002724146412132660016364 0ustar00 'name', 'value' => 'value', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return DentryAppPropertiesValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/storage_1_0/Models/GetCurrentAppHeaders.php000064400000002331146412132660015415 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCurrentAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/GetCurrentAppRequest.php000064400000001533146412132660015475 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetCurrentAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/GetCurrentAppResponse.php000064400000002721146412132660015643 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCurrentAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCurrentAppResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/GetCurrentAppResponseBody.php000064400000001643146412132660016463 0ustar00 'app', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->app) { $res['app'] = null !== $this->app ? $this->app->toMap() : null; } return $res; } /** * @param array $map * * @return GetCurrentAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['app'])) { $model->app = app::fromMap($map['app']); } return $model; } } src/storage_1_0/Models/GetCurrentAppResponseBody/app.php000064400000006017146412132660017243 0ustar00 'appId', 'corpId' => 'corpId', 'createTime' => 'createTime', 'modifiedTime' => 'modifiedTime', 'name' => 'name', 'partitions' => 'partitions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } 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->name) { $res['name'] = $this->name; } if (null !== $this->partitions) { $res['partitions'] = []; if (null !== $this->partitions && \is_array($this->partitions)) { $n = 0; foreach ($this->partitions as $item) { $res['partitions'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return app */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } 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['name'])) { $model->name = $map['name']; } if (isset($map['partitions'])) { if (!empty($map['partitions'])) { $model->partitions = []; $n = 0; foreach ($map['partitions'] as $item) { $model->partitions[$n++] = null !== $item ? partitions::fromMap($item) : $item; } } } return $model; } } src/storage_1_0/Models/GetCurrentAppResponseBody/app/partitions.php000064400000002515146412132660021436 0ustar00 'partitionType', 'quota' => 'quota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->quota) { $res['quota'] = null !== $this->quota ? $this->quota->toMap() : null; } return $res; } /** * @param array $map * * @return partitions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['quota'])) { $model->quota = quota::fromMap($map['quota']); } return $model; } } src/storage_1_0/Models/GetCurrentAppResponseBody/app/partitions/quota.php000064400000003260146412132660022565 0ustar00 'max', 'reserved' => 'reserved', 'type' => 'type', 'used' => 'used', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->max) { $res['max'] = $this->max; } if (null !== $this->reserved) { $res['reserved'] = $this->reserved; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->used) { $res['used'] = $this->used; } return $res; } /** * @param array $map * * @return quota */ public static function fromMap($map = []) { $model = new self(); if (isset($map['max'])) { $model->max = $map['max']; } if (isset($map['reserved'])) { $model->reserved = $map['reserved']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['used'])) { $model->used = $map['used']; } return $model; } } src/storage_1_0/Models/GetDentriesHeaders.php000064400000002325146412132660015112 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDentriesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/GetDentriesRequest.php000064400000003133146412132660015165 0ustar00 'dentryIds', 'option' => 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryIds) { $res['dentryIds'] = $this->dentryIds; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetDentriesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryIds'])) { if (!empty($map['dentryIds'])) { $model->dentryIds = $map['dentryIds']; } } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/GetDentriesRequest/option.php000064400000002567146412132660016507 0ustar00 'appIdsForAppProperties', 'withThumbnail' => 'withThumbnail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appIdsForAppProperties) { $res['appIdsForAppProperties'] = $this->appIdsForAppProperties; } if (null !== $this->withThumbnail) { $res['withThumbnail'] = $this->withThumbnail; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appIdsForAppProperties'])) { if (!empty($map['appIdsForAppProperties'])) { $model->appIdsForAppProperties = $map['appIdsForAppProperties']; } } if (isset($map['withThumbnail'])) { $model->withThumbnail = $map['withThumbnail']; } return $model; } } src/storage_1_0/Models/GetDentriesResponse.php000064400000002711146412132660015334 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDentriesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDentriesResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/GetDentriesResponseBody.php000064400000002726146412132660016160 0ustar00 'resultItems', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->resultItems) { $res['resultItems'] = []; if (null !== $this->resultItems && \is_array($this->resultItems)) { $n = 0; foreach ($this->resultItems as $item) { $res['resultItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetDentriesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['resultItems'])) { if (!empty($map['resultItems'])) { $model->resultItems = []; $n = 0; foreach ($map['resultItems'] as $item) { $model->resultItems[$n++] = null !== $item ? resultItems::fromMap($item) : $item; } } } return $model; } } src/storage_1_0/Models/GetDentriesResponseBody/resultItems.php000064400000004322146412132660020472 0ustar00 'dentry', 'dentryId' => 'dentryId', 'errorCode' => 'errorCode', 'spaceId' => 'spaceId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentry) { $res['dentry'] = null !== $this->dentry ? $this->dentry->toMap() : null; } if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return resultItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentry'])) { $model->dentry = dentry::fromMap($map['dentry']); } if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_1_0/Models/GetDentriesResponseBody/resultItems/dentry.php000064400000016402146412132660022001 0ustar00 'appProperties', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'partitionType' => 'partitionType', 'path' => 'path', 'properties' => 'properties', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'storageDriver' => 'storageDriver', 'thumbnail' => 'thumbnail', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = $this->appProperties; } 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->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->properties) { $res['properties'] = null !== $this->properties ? $this->properties->toMap() : null; } 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->storageDriver) { $res['storageDriver'] = $this->storageDriver; } if (null !== $this->thumbnail) { $res['thumbnail'] = null !== $this->thumbnail ? $this->thumbnail->toMap() : null; } 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 dentry */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { $model->appProperties = $map['appProperties']; } 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['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['properties'])) { $model->properties = properties::fromMap($map['properties']); } 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['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } if (isset($map['thumbnail'])) { $model->thumbnail = thumbnail::fromMap($map['thumbnail']); } 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/storage_1_0/Models/GetDentriesResponseBody/resultItems/dentry/properties.php000064400000001565146412132660024201 0ustar00 'readOnly', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } return $model; } } src/storage_1_0/Models/GetDentriesResponseBody/resultItems/dentry/thumbnail.php000064400000002614146412132660023764 0ustar00 'height', 'url' => 'url', 'width' => 'width', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->height) { $res['height'] = $this->height; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->width) { $res['width'] = $this->width; } return $res; } /** * @param array $map * * @return thumbnail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['height'])) { $model->height = $map['height']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['width'])) { $model->width = $map['width']; } return $model; } } src/storage_1_0/Models/GetDentryHeaders.php000064400000002321146412132660014576 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDentryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/GetDentryOpenInfoHeaders.php000064400000002341146412132660016236 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDentryOpenInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/GetDentryOpenInfoRequest.php000064400000002377146412132660016324 0ustar00 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetDentryOpenInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/GetDentryOpenInfoRequest/option.php000064400000003402146412132660017622 0ustar00 'checkLogin', 'type' => 'type', 'version' => 'version', 'waterMark' => 'waterMark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->checkLogin) { $res['checkLogin'] = $this->checkLogin; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->version) { $res['version'] = $this->version; } if (null !== $this->waterMark) { $res['waterMark'] = $this->waterMark; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['checkLogin'])) { $model->checkLogin = $map['checkLogin']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['version'])) { $model->version = $map['version']; } if (isset($map['waterMark'])) { $model->waterMark = $map['waterMark']; } return $model; } } src/storage_1_0/Models/GetDentryOpenInfoResponse.php000064400000002741146412132660016465 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDentryOpenInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDentryOpenInfoResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/GetDentryOpenInfoResponseBody.php000064400000002253146412132660017301 0ustar00 'hasWaterMark', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasWaterMark) { $res['hasWaterMark'] = $this->hasWaterMark; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return GetDentryOpenInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasWaterMark'])) { $model->hasWaterMark = $map['hasWaterMark']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/storage_1_0/Models/GetDentryRequest.php000064400000002347146412132660014663 0ustar00 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetDentryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/GetDentryRequest/option.php000064400000002565146412132660016175 0ustar00 'appIdsForAppProperties', 'withThumbnail' => 'withThumbnail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appIdsForAppProperties) { $res['appIdsForAppProperties'] = $this->appIdsForAppProperties; } if (null !== $this->withThumbnail) { $res['withThumbnail'] = $this->withThumbnail; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appIdsForAppProperties'])) { if (!empty($map['appIdsForAppProperties'])) { $model->appIdsForAppProperties = $map['appIdsForAppProperties']; } } if (isset($map['withThumbnail'])) { $model->withThumbnail = $map['withThumbnail']; } return $model; } } src/storage_1_0/Models/GetDentryResponse.php000064400000002701146412132660015023 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDentryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDentryResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/GetDentryResponseBody.php000064400000001676146412132660015653 0ustar00 'dentry', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentry) { $res['dentry'] = null !== $this->dentry ? $this->dentry->toMap() : null; } return $res; } /** * @param array $map * * @return GetDentryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentry'])) { $model->dentry = dentry::fromMap($map['dentry']); } return $model; } } src/storage_1_0/Models/GetDentryResponseBody/dentry.php000064400000016302146412132660017150 0ustar00 'appProperties', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'partitionType' => 'partitionType', 'path' => 'path', 'properties' => 'properties', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'storageDriver' => 'storageDriver', 'thumbnail' => 'thumbnail', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = $this->appProperties; } 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->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->properties) { $res['properties'] = null !== $this->properties ? $this->properties->toMap() : null; } 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->storageDriver) { $res['storageDriver'] = $this->storageDriver; } if (null !== $this->thumbnail) { $res['thumbnail'] = null !== $this->thumbnail ? $this->thumbnail->toMap() : null; } 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 dentry */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { $model->appProperties = $map['appProperties']; } 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['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['properties'])) { $model->properties = properties::fromMap($map['properties']); } 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['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } if (isset($map['thumbnail'])) { $model->thumbnail = thumbnail::fromMap($map['thumbnail']); } 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/storage_1_0/Models/GetDentryResponseBody/dentry/properties.php000064400000001547146412132660021351 0ustar00 'readOnly', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } return $model; } } src/storage_1_0/Models/GetDentryResponseBody/dentry/thumbnail.php000064400000002576146412132660021143 0ustar00 'height', 'url' => 'url', 'width' => 'width', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->height) { $res['height'] = $this->height; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->width) { $res['width'] = $this->width; } return $res; } /** * @param array $map * * @return thumbnail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['height'])) { $model->height = $map['height']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['width'])) { $model->width = $map['width']; } return $model; } } src/storage_1_0/Models/GetDentryThumbnailsHeaders.php000064400000002345146412132660016633 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDentryThumbnailsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/GetDentryThumbnailsRequest.php000064400000002323146412132660016704 0ustar00 'dentryIds', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryIds) { $res['dentryIds'] = $this->dentryIds; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetDentryThumbnailsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryIds'])) { if (!empty($map['dentryIds'])) { $model->dentryIds = $map['dentryIds']; } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/GetDentryThumbnailsResponse.php000064400000002751146412132660017057 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDentryThumbnailsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDentryThumbnailsResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/GetDentryThumbnailsResponseBody.php000064400000002756146412132660017702 0ustar00 'resultItems', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->resultItems) { $res['resultItems'] = []; if (null !== $this->resultItems && \is_array($this->resultItems)) { $n = 0; foreach ($this->resultItems as $item) { $res['resultItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetDentryThumbnailsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['resultItems'])) { if (!empty($map['resultItems'])) { $model->resultItems = []; $n = 0; foreach ($map['resultItems'] as $item) { $model->resultItems[$n++] = null !== $item ? resultItems::fromMap($item) : $item; } } } return $model; } } src/storage_1_0/Models/GetDentryThumbnailsResponseBody/resultItems.php000064400000004406146412132660022214 0ustar00 'dentryId', 'errorCode' => 'errorCode', 'spaceId' => 'spaceId', 'success' => 'success', 'thumbnail' => 'thumbnail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->thumbnail) { $res['thumbnail'] = null !== $this->thumbnail ? $this->thumbnail->toMap() : null; } return $res; } /** * @param array $map * * @return resultItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['thumbnail'])) { $model->thumbnail = thumbnail::fromMap($map['thumbnail']); } return $model; } } src/storage_1_0/Models/GetDentryThumbnailsResponseBody/resultItems/thumbnail.php000064400000002615146412132660024177 0ustar00 'height', 'url' => 'url', 'width' => 'width', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->height) { $res['height'] = $this->height; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->width) { $res['width'] = $this->width; } return $res; } /** * @param array $map * * @return thumbnail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['height'])) { $model->height = $map['height']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['width'])) { $model->width = $map['width']; } return $model; } } src/storage_1_0/Models/GetFileDownloadInfoHeaders.php000064400000002345146412132660016522 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFileDownloadInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/GetFileDownloadInfoRequest.php000064400000002405146412132660016574 0ustar00 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetFileDownloadInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/GetFileDownloadInfoRequest/option.php000064400000002307146412132660020105 0ustar00 'preferIntranet', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->preferIntranet) { $res['preferIntranet'] = $this->preferIntranet; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['preferIntranet'])) { $model->preferIntranet = $map['preferIntranet']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/storage_1_0/Models/GetFileDownloadInfoResponse.php000064400000002751146412132660016746 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFileDownloadInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFileDownloadInfoResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/GetFileDownloadInfoResponseBody.php000064400000002730146412132660017561 0ustar00 'headerSignatureInfo', 'protocol' => 'protocol', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headerSignatureInfo) { $res['headerSignatureInfo'] = null !== $this->headerSignatureInfo ? $this->headerSignatureInfo->toMap() : null; } if (null !== $this->protocol) { $res['protocol'] = $this->protocol; } return $res; } /** * @param array $map * * @return GetFileDownloadInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headerSignatureInfo'])) { $model->headerSignatureInfo = headerSignatureInfo::fromMap($map['headerSignatureInfo']); } if (isset($map['protocol'])) { $model->protocol = $map['protocol']; } return $model; } } src/storage_1_0/Models/GetFileDownloadInfoResponseBody/headerSignatureInfo.php000064400000004633146412132660023513 0ustar00 'expirationSeconds', 'headers' => 'headers', 'internalResourceUrls' => 'internalResourceUrls', 'region' => 'region', 'resourceUrls' => 'resourceUrls', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expirationSeconds) { $res['expirationSeconds'] = $this->expirationSeconds; } if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->internalResourceUrls) { $res['internalResourceUrls'] = $this->internalResourceUrls; } if (null !== $this->region) { $res['region'] = $this->region; } if (null !== $this->resourceUrls) { $res['resourceUrls'] = $this->resourceUrls; } return $res; } /** * @param array $map * * @return headerSignatureInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expirationSeconds'])) { $model->expirationSeconds = $map['expirationSeconds']; } if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['internalResourceUrls'])) { if (!empty($map['internalResourceUrls'])) { $model->internalResourceUrls = $map['internalResourceUrls']; } } if (isset($map['region'])) { $model->region = $map['region']; } if (isset($map['resourceUrls'])) { if (!empty($map['resourceUrls'])) { $model->resourceUrls = $map['resourceUrls']; } } return $model; } } src/storage_1_0/Models/GetFileUploadInfoHeaders.php000064400000002341146412132660016173 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/storage_1_0/Models/GetFileUploadInfoRequest.php000064400000003617146412132660016257 0ustar00 'multipart', 'option' => 'option', 'protocol' => 'protocol', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->multipart) { $res['multipart'] = $this->multipart; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->protocol) { $res['protocol'] = $this->protocol; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetFileUploadInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['multipart'])) { $model->multipart = $map['multipart']; } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['protocol'])) { $model->protocol = $map['protocol']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/GetFileUploadInfoRequest/option.php000064400000004146146412132660017565 0ustar00 'preCheckParam', 'preferIntranet' => 'preferIntranet', 'preferRegion' => 'preferRegion', 'storageDriver' => 'storageDriver', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->preCheckParam) { $res['preCheckParam'] = null !== $this->preCheckParam ? $this->preCheckParam->toMap() : null; } if (null !== $this->preferIntranet) { $res['preferIntranet'] = $this->preferIntranet; } if (null !== $this->preferRegion) { $res['preferRegion'] = $this->preferRegion; } if (null !== $this->storageDriver) { $res['storageDriver'] = $this->storageDriver; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['preCheckParam'])) { $model->preCheckParam = preCheckParam::fromMap($map['preCheckParam']); } if (isset($map['preferIntranet'])) { $model->preferIntranet = $map['preferIntranet']; } if (isset($map['preferRegion'])) { $model->preferRegion = $map['preferRegion']; } if (isset($map['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } return $model; } } src/storage_1_0/Models/GetFileUploadInfoRequest/option/preCheckParam.php000064400000003305146412132660022266 0ustar00 'md5', 'name' => 'name', 'parentId' => 'parentId', 'size' => 'size', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->md5) { $res['md5'] = $this->md5; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->size) { $res['size'] = $this->size; } return $res; } /** * @param array $map * * @return preCheckParam */ public static function fromMap($map = []) { $model = new self(); if (isset($map['md5'])) { $model->md5 = $map['md5']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['size'])) { $model->size = $map['size']; } return $model; } } src/storage_1_0/Models/GetFileUploadInfoResponse.php000064400000002741146412132660016422 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/storage_1_0/Models/GetFileUploadInfoResponseBody.php000064400000004232146412132660017235 0ustar00 'headerSignatureInfo', 'protocol' => 'protocol', 'storageDriver' => 'storageDriver', 'uploadKey' => 'uploadKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headerSignatureInfo) { $res['headerSignatureInfo'] = null !== $this->headerSignatureInfo ? $this->headerSignatureInfo->toMap() : null; } if (null !== $this->protocol) { $res['protocol'] = $this->protocol; } if (null !== $this->storageDriver) { $res['storageDriver'] = $this->storageDriver; } if (null !== $this->uploadKey) { $res['uploadKey'] = $this->uploadKey; } return $res; } /** * @param array $map * * @return GetFileUploadInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headerSignatureInfo'])) { $model->headerSignatureInfo = headerSignatureInfo::fromMap($map['headerSignatureInfo']); } if (isset($map['protocol'])) { $model->protocol = $map['protocol']; } if (isset($map['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } if (isset($map['uploadKey'])) { $model->uploadKey = $map['uploadKey']; } return $model; } } src/storage_1_0/Models/GetFileUploadInfoResponseBody/headerSignatureInfo.php000064400000004631146412132660023166 0ustar00 'expirationSeconds', 'headers' => 'headers', 'internalResourceUrls' => 'internalResourceUrls', 'region' => 'region', 'resourceUrls' => 'resourceUrls', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expirationSeconds) { $res['expirationSeconds'] = $this->expirationSeconds; } if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->internalResourceUrls) { $res['internalResourceUrls'] = $this->internalResourceUrls; } if (null !== $this->region) { $res['region'] = $this->region; } if (null !== $this->resourceUrls) { $res['resourceUrls'] = $this->resourceUrls; } return $res; } /** * @param array $map * * @return headerSignatureInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expirationSeconds'])) { $model->expirationSeconds = $map['expirationSeconds']; } if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['internalResourceUrls'])) { if (!empty($map['internalResourceUrls'])) { $model->internalResourceUrls = $map['internalResourceUrls']; } } if (isset($map['region'])) { $model->region = $map['region']; } if (isset($map['resourceUrls'])) { if (!empty($map['resourceUrls'])) { $model->resourceUrls = $map['resourceUrls']; } } return $model; } } src/storage_1_0/Models/GetMultipartFileUploadInfosHeaders.php000064400000002365146412132660020266 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMultipartFileUploadInfosHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/GetMultipartFileUploadInfosRequest.php000064400000003755146412132660020347 0ustar00 'option', 'partNumbers' => 'partNumbers', 'uploadKey' => 'uploadKey', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->partNumbers) { $res['partNumbers'] = $this->partNumbers; } if (null !== $this->uploadKey) { $res['uploadKey'] = $this->uploadKey; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetMultipartFileUploadInfosRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['partNumbers'])) { if (!empty($map['partNumbers'])) { $model->partNumbers = $map['partNumbers']; } } if (isset($map['uploadKey'])) { $model->uploadKey = $map['uploadKey']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/GetMultipartFileUploadInfosRequest/option.php000064400000001633146412132660021650 0ustar00 'preferIntranet', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->preferIntranet) { $res['preferIntranet'] = $this->preferIntranet; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['preferIntranet'])) { $model->preferIntranet = $map['preferIntranet']; } return $model; } } src/storage_1_0/Models/GetMultipartFileUploadInfosResponse.php000064400000003011146412132660020476 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMultipartFileUploadInfosResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMultipartFileUploadInfosResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/GetMultipartFileUploadInfosResponseBody.php000064400000003512146412132660021322 0ustar00 'multipartHeaderSignatureInfos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->multipartHeaderSignatureInfos) { $res['multipartHeaderSignatureInfos'] = []; if (null !== $this->multipartHeaderSignatureInfos && \is_array($this->multipartHeaderSignatureInfos)) { $n = 0; foreach ($this->multipartHeaderSignatureInfos as $item) { $res['multipartHeaderSignatureInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetMultipartFileUploadInfosResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['multipartHeaderSignatureInfos'])) { if (!empty($map['multipartHeaderSignatureInfos'])) { $model->multipartHeaderSignatureInfos = []; $n = 0; foreach ($map['multipartHeaderSignatureInfos'] as $item) { $model->multipartHeaderSignatureInfos[$n++] = null !== $item ? multipartHeaderSignatureInfos::fromMap($item) : $item; } } } return $model; } } src/storage_1_0/Models/GetMultipartFileUploadInfosResponseBody/multipartHeaderSignatureInfos.php000064400000003007146412132660027334 0ustar00 'headerSignatureInfo', 'partNumber' => 'partNumber', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headerSignatureInfo) { $res['headerSignatureInfo'] = null !== $this->headerSignatureInfo ? $this->headerSignatureInfo->toMap() : null; } if (null !== $this->partNumber) { $res['partNumber'] = $this->partNumber; } return $res; } /** * @param array $map * * @return multipartHeaderSignatureInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headerSignatureInfo'])) { $model->headerSignatureInfo = headerSignatureInfo::fromMap($map['headerSignatureInfo']); } if (isset($map['partNumber'])) { $model->partNumber = $map['partNumber']; } return $model; } } Models/GetMultipartFileUploadInfosResponseBody/multipartHeaderSignatureInfos/headerSignatureInfo.php000064400000004701146412132660033205 0ustar00src/storage_1_0 'expirationSeconds', 'headers' => 'headers', 'internalResourceUrls' => 'internalResourceUrls', 'region' => 'region', 'resourceUrls' => 'resourceUrls', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expirationSeconds) { $res['expirationSeconds'] = $this->expirationSeconds; } if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->internalResourceUrls) { $res['internalResourceUrls'] = $this->internalResourceUrls; } if (null !== $this->region) { $res['region'] = $this->region; } if (null !== $this->resourceUrls) { $res['resourceUrls'] = $this->resourceUrls; } return $res; } /** * @param array $map * * @return headerSignatureInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expirationSeconds'])) { $model->expirationSeconds = $map['expirationSeconds']; } if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['internalResourceUrls'])) { if (!empty($map['internalResourceUrls'])) { $model->internalResourceUrls = $map['internalResourceUrls']; } } if (isset($map['region'])) { $model->region = $map['region']; } if (isset($map['resourceUrls'])) { if (!empty($map['resourceUrls'])) { $model->resourceUrls = $map['resourceUrls']; } } return $model; } } src/storage_1_0/Models/GetOrgHeaders.php000064400000002313146412132660014061 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOrgHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/GetOrgRequest.php000064400000001515146412132660014141 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetOrgRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/GetOrgResponse.php000064400000002665146412132660014316 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOrgResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOrgResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/GetOrgResponseBody.php000064400000001616146412132660015127 0ustar00 'org', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->org) { $res['org'] = null !== $this->org ? $this->org->toMap() : null; } return $res; } /** * @param array $map * * @return GetOrgResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['org'])) { $model->org = org::fromMap($map['org']); } return $model; } } src/storage_1_0/Models/GetOrgResponseBody/org.php000064400000003337146412132660015720 0ustar00 'corpId', 'partitions' => 'partitions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->partitions) { $res['partitions'] = []; if (null !== $this->partitions && \is_array($this->partitions)) { $n = 0; foreach ($this->partitions as $item) { $res['partitions'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return org */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['partitions'])) { if (!empty($map['partitions'])) { $model->partitions = []; $n = 0; foreach ($map['partitions'] as $item) { $model->partitions[$n++] = null !== $item ? partitions::fromMap($item) : $item; } } } return $model; } } src/storage_1_0/Models/GetOrgResponseBody/org/partitions.php000064400000002477146412132660020120 0ustar00 'partitionType', 'quota' => 'quota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->quota) { $res['quota'] = null !== $this->quota ? $this->quota->toMap() : null; } return $res; } /** * @param array $map * * @return partitions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['quota'])) { $model->quota = quota::fromMap($map['quota']); } return $model; } } src/storage_1_0/Models/GetOrgResponseBody/org/partitions/quota.php000064400000003251146412132660021240 0ustar00 'max', 'reserved' => 'reserved', 'type' => 'type', 'used' => 'used', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->max) { $res['max'] = $this->max; } if (null !== $this->reserved) { $res['reserved'] = $this->reserved; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->used) { $res['used'] = $this->used; } return $res; } /** * @param array $map * * @return quota */ public static function fromMap($map = []) { $model = new self(); if (isset($map['max'])) { $model->max = $map['max']; } if (isset($map['reserved'])) { $model->reserved = $map['reserved']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['used'])) { $model->used = $map['used']; } return $model; } } src/storage_1_0/Models/GetRecycleBinHeaders.php000064400000002331146412132660015351 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRecycleBinHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/GetRecycleBinRequest.php000064400000003036146412132660015431 0ustar00 'recycleBinScope', 'scopeId' => 'scopeId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->recycleBinScope) { $res['recycleBinScope'] = $this->recycleBinScope; } if (null !== $this->scopeId) { $res['scopeId'] = $this->scopeId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetRecycleBinRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['recycleBinScope'])) { $model->recycleBinScope = $map['recycleBinScope']; } if (isset($map['scopeId'])) { $model->scopeId = $map['scopeId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/GetRecycleBinResponse.php000064400000002721146412132660015577 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRecycleBinResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRecycleBinResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/GetRecycleBinResponseBody.php000064400000001776146412132660016426 0ustar00 'recycleBin', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->recycleBin) { $res['recycleBin'] = null !== $this->recycleBin ? $this->recycleBin->toMap() : null; } return $res; } /** * @param array $map * * @return GetRecycleBinResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['recycleBin'])) { $model->recycleBin = recycleBin::fromMap($map['recycleBin']); } return $model; } } src/storage_1_0/Models/GetRecycleBinResponseBody/recycleBin.php000064400000002631146412132660020474 0ustar00 'id', 'scope' => 'scope', 'scopeId' => 'scopeId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->scope) { $res['scope'] = $this->scope; } if (null !== $this->scopeId) { $res['scopeId'] = $this->scopeId; } return $res; } /** * @param array $map * * @return recycleBin */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['scope'])) { $model->scope = $map['scope']; } if (isset($map['scopeId'])) { $model->scopeId = $map['scopeId']; } return $model; } } src/storage_1_0/Models/GetRecycleItemHeaders.php000064400000002333146412132660015541 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRecycleItemHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/GetRecycleItemRequest.php000064400000001535146412132660015621 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetRecycleItemRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/GetRecycleItemResponse.php000064400000002725146412132660015771 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRecycleItemResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRecycleItemResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/GetRecycleItemResponseBody.php000064400000001663146412132660016607 0ustar00 'item', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->item) { $res['item'] = null !== $this->item ? $this->item->toMap() : null; } return $res; } /** * @param array $map * * @return GetRecycleItemResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['item'])) { $model->item = item::fromMap($map['item']); } return $model; } } src/storage_1_0/Models/GetRecycleItemResponseBody/item.php000064400000006614146412132660017546 0ustar00 'dentryId', 'id' => 'id', 'operatorId' => 'operatorId', 'operatorTime' => 'operatorTime', 'originalName' => 'originalName', 'originalPath' => 'originalPath', 'size' => 'size', 'spaceId' => 'spaceId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->operatorTime) { $res['operatorTime'] = $this->operatorTime; } if (null !== $this->originalName) { $res['originalName'] = $this->originalName; } if (null !== $this->originalPath) { $res['originalPath'] = $this->originalPath; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return item */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['operatorTime'])) { $model->operatorTime = $map['operatorTime']; } if (isset($map['originalName'])) { $model->originalName = $map['originalName']; } if (isset($map['originalPath'])) { $model->originalPath = $map['originalPath']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/storage_1_0/Models/GetSpaceHeaders.php000064400000002317146412132660014371 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/storage_1_0/Models/GetSpaceRequest.php000064400000001521146412132660014442 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; 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['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/GetSpaceResponse.php000064400000002675146412132660014623 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/storage_1_0/Models/GetSpaceResponseBody.php000064400000001656146412132660015437 0ustar00 '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/storage_1_0/Models/GetSpaceResponseBody/space.php000064400000015071146412132660016526 0ustar00 'appId', 'capabilities' => 'capabilities', 'corpId' => 'corpId', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'ownerId' => 'ownerId', 'ownerType' => 'ownerType', 'partitions' => 'partitions', 'quota' => 'quota', 'scene' => 'scene', 'sceneId' => 'sceneId', 'status' => 'status', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->capabilities) { $res['capabilities'] = null !== $this->capabilities ? $this->capabilities->toMap() : null; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } 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->ownerId) { $res['ownerId'] = $this->ownerId; } if (null !== $this->ownerType) { $res['ownerType'] = $this->ownerType; } if (null !== $this->partitions) { $res['partitions'] = []; if (null !== $this->partitions && \is_array($this->partitions)) { $n = 0; foreach ($this->partitions as $item) { $res['partitions'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->sceneId) { $res['sceneId'] = $this->sceneId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return space */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['capabilities'])) { $model->capabilities = capabilities::fromMap($map['capabilities']); } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } 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['ownerId'])) { $model->ownerId = $map['ownerId']; } if (isset($map['ownerType'])) { $model->ownerType = $map['ownerType']; } if (isset($map['partitions'])) { if (!empty($map['partitions'])) { $model->partitions = []; $n = 0; foreach ($map['partitions'] as $item) { $model->partitions[$n++] = null !== $item ? partitions::fromMap($item) : $item; } } } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['sceneId'])) { $model->sceneId = $map['sceneId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/storage_1_0/Models/GetSpaceResponseBody/space/capabilities.php000064400000003146146412132660021157 0ustar00 'canRecordRecentFile', 'canRename' => 'canRename', 'canSearch' => 'canSearch', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->canRecordRecentFile) { $res['canRecordRecentFile'] = $this->canRecordRecentFile; } if (null !== $this->canRename) { $res['canRename'] = $this->canRename; } if (null !== $this->canSearch) { $res['canSearch'] = $this->canSearch; } return $res; } /** * @param array $map * * @return capabilities */ public static function fromMap($map = []) { $model = new self(); if (isset($map['canRecordRecentFile'])) { $model->canRecordRecentFile = $map['canRecordRecentFile']; } if (isset($map['canRename'])) { $model->canRename = $map['canRename']; } if (isset($map['canSearch'])) { $model->canSearch = $map['canSearch']; } return $model; } } src/storage_1_0/Models/GetSpaceResponseBody/space/partitions.php000064400000002507146412132660020722 0ustar00 'partitionType', 'quota' => 'quota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->quota) { $res['quota'] = null !== $this->quota ? $this->quota->toMap() : null; } return $res; } /** * @param array $map * * @return partitions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['quota'])) { $model->quota = quota::fromMap($map['quota']); } return $model; } } src/storage_1_0/Models/GetSpaceResponseBody/space/partitions/quota.php000064400000003255146412132660022054 0ustar00 'max', 'reserved' => 'reserved', 'type' => 'type', 'used' => 'used', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->max) { $res['max'] = $this->max; } if (null !== $this->reserved) { $res['reserved'] = $this->reserved; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->used) { $res['used'] = $this->used; } return $res; } /** * @param array $map * * @return quota */ public static function fromMap($map = []) { $model = new self(); if (isset($map['max'])) { $model->max = $map['max']; } if (isset($map['reserved'])) { $model->reserved = $map['reserved']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['used'])) { $model->used = $map['used']; } return $model; } } src/storage_1_0/Models/GetTaskHeaders.php000064400000002315146412132660014236 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/GetTaskRequest.php000064400000001517146412132660014316 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/GetTaskResponse.php000064400000002671146412132660014466 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTaskResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/GetTaskResponseBody.php000064400000001636146412132660015304 0ustar00 'task', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->task) { $res['task'] = null !== $this->task ? $this->task->toMap() : null; } return $res; } /** * @param array $map * * @return GetTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['task'])) { $model->task = task::fromMap($map['task']); } return $model; } } src/storage_1_0/Models/GetTaskResponseBody/task.php000064400000006114146412132660016242 0ustar00 'beginTime', 'endTime' => 'endTime', 'failCount' => 'failCount', 'failMessage' => 'failMessage', 'id' => 'id', 'status' => 'status', 'successCount' => 'successCount', 'totalCount' => 'totalCount', ]; 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->failCount) { $res['failCount'] = $this->failCount; } if (null !== $this->failMessage) { $res['failMessage'] = $this->failMessage; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->successCount) { $res['successCount'] = $this->successCount; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return task */ 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['failCount'])) { $model->failCount = $map['failCount']; } if (isset($map['failMessage'])) { $model->failMessage = $map['failMessage']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['successCount'])) { $model->successCount = $map['successCount']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/storage_1_0/Models/InitMultipartFileUploadHeaders.php000064400000002355146412132660017452 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InitMultipartFileUploadHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/InitMultipartFileUploadRequest.php000064400000002421146412132660017521 0ustar00 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return InitMultipartFileUploadRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/InitMultipartFileUploadRequest/option.php000064400000003377146412132660021044 0ustar00 'preCheckParam', 'preferRegion' => 'preferRegion', 'storageDriver' => 'storageDriver', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->preCheckParam) { $res['preCheckParam'] = null !== $this->preCheckParam ? $this->preCheckParam->toMap() : null; } if (null !== $this->preferRegion) { $res['preferRegion'] = $this->preferRegion; } if (null !== $this->storageDriver) { $res['storageDriver'] = $this->storageDriver; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['preCheckParam'])) { $model->preCheckParam = preCheckParam::fromMap($map['preCheckParam']); } if (isset($map['preferRegion'])) { $model->preferRegion = $map['preferRegion']; } if (isset($map['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } return $model; } } src/storage_1_0/Models/InitMultipartFileUploadRequest/option/preCheckParam.php000064400000003313146412132660023537 0ustar00 'md5', 'name' => 'name', 'parentId' => 'parentId', 'size' => 'size', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->md5) { $res['md5'] = $this->md5; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->size) { $res['size'] = $this->size; } return $res; } /** * @param array $map * * @return preCheckParam */ public static function fromMap($map = []) { $model = new self(); if (isset($map['md5'])) { $model->md5 = $map['md5']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['size'])) { $model->size = $map['size']; } return $model; } } src/storage_1_0/Models/InitMultipartFileUploadResponse.php000064400000002771146412132660017677 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InitMultipartFileUploadResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InitMultipartFileUploadResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/InitMultipartFileUploadResponseBody.php000064400000002376146412132660020516 0ustar00 'storageDriver', 'uploadKey' => 'uploadKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->storageDriver) { $res['storageDriver'] = $this->storageDriver; } if (null !== $this->uploadKey) { $res['uploadKey'] = $this->uploadKey; } return $res; } /** * @param array $map * * @return InitMultipartFileUploadResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } if (isset($map['uploadKey'])) { $model->uploadKey = $map['uploadKey']; } return $model; } } src/storage_1_0/Models/ListAllDentriesHeaders.php000064400000002335146412132660015740 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAllDentriesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/ListAllDentriesRequest.php000064400000002371146412132660016015 0ustar00 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ListAllDentriesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/ListAllDentriesRequest/option.php000064400000003512146412132660017323 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'order' => 'order', 'withThumbnail' => 'withThumbnail', ]; 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; } if (null !== $this->withThumbnail) { $res['withThumbnail'] = $this->withThumbnail; } return $res; } /** * @param array $map * * @return option */ 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']; } if (isset($map['withThumbnail'])) { $model->withThumbnail = $map['withThumbnail']; } return $model; } } src/storage_1_0/Models/ListAllDentriesResponse.php000064400000002731146412132660016163 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAllDentriesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAllDentriesResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/ListAllDentriesResponseBody.php000064400000003370146412132660017001 0ustar00 'dentries', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentries) { $res['dentries'] = []; if (null !== $this->dentries && \is_array($this->dentries)) { $n = 0; foreach ($this->dentries as $item) { $res['dentries'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListAllDentriesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentries'])) { if (!empty($map['dentries'])) { $model->dentries = []; $n = 0; foreach ($map['dentries'] as $item) { $model->dentries[$n++] = null !== $item ? dentries::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/storage_1_0/Models/ListAllDentriesResponseBody/dentries.php000064400000016340146412132660020617 0ustar00 'appProperties', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'partitionType' => 'partitionType', 'path' => 'path', 'properties' => 'properties', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'storageDriver' => 'storageDriver', 'thumbnail' => 'thumbnail', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = $this->appProperties; } 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->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->properties) { $res['properties'] = null !== $this->properties ? $this->properties->toMap() : null; } 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->storageDriver) { $res['storageDriver'] = $this->storageDriver; } if (null !== $this->thumbnail) { $res['thumbnail'] = null !== $this->thumbnail ? $this->thumbnail->toMap() : null; } 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 dentries */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { $model->appProperties = $map['appProperties']; } 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['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['properties'])) { $model->properties = properties::fromMap($map['properties']); } 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['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } if (isset($map['thumbnail'])) { $model->thumbnail = thumbnail::fromMap($map['thumbnail']); } 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/storage_1_0/Models/ListAllDentriesResponseBody/dentries/properties.php000064400000001557146412132660023017 0ustar00 'readOnly', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } return $model; } } src/storage_1_0/Models/ListAllDentriesResponseBody/dentries/thumbnail.php000064400000002606146412132660022602 0ustar00 'height', 'url' => 'url', 'width' => 'width', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->height) { $res['height'] = $this->height; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->width) { $res['width'] = $this->width; } return $res; } /** * @param array $map * * @return thumbnail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['height'])) { $model->height = $map['height']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['width'])) { $model->width = $map['width']; } return $model; } } src/storage_1_0/Models/ListDentriesHeaders.php000064400000002327146412132660015310 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListDentriesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/ListDentriesRequest.php000064400000005431146412132660015364 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'order' => 'order', 'orderBy' => 'orderBy', 'parentId' => 'parentId', 'unionId' => 'unionId', 'withThumbnail' => 'withThumbnail', ]; 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; } if (null !== $this->orderBy) { $res['orderBy'] = $this->orderBy; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->withThumbnail) { $res['withThumbnail'] = $this->withThumbnail; } return $res; } /** * @param array $map * * @return ListDentriesRequest */ 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']; } if (isset($map['orderBy'])) { $model->orderBy = $map['orderBy']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['withThumbnail'])) { $model->withThumbnail = $map['withThumbnail']; } return $model; } } src/storage_1_0/Models/ListDentriesResponse.php000064400000002715146412132660015534 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListDentriesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListDentriesResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/ListDentriesResponseBody.php000064400000003357146412132660016355 0ustar00 'dentries', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentries) { $res['dentries'] = []; if (null !== $this->dentries && \is_array($this->dentries)) { $n = 0; foreach ($this->dentries as $item) { $res['dentries'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListDentriesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentries'])) { if (!empty($map['dentries'])) { $model->dentries = []; $n = 0; foreach ($map['dentries'] as $item) { $model->dentries[$n++] = null !== $item ? dentries::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/storage_1_0/Models/ListDentriesResponseBody/dentries.php000064400000016327146412132660020173 0ustar00 'appProperties', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'partitionType' => 'partitionType', 'path' => 'path', 'properties' => 'properties', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'storageDriver' => 'storageDriver', 'thumbnail' => 'thumbnail', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = $this->appProperties; } 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->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->properties) { $res['properties'] = null !== $this->properties ? $this->properties->toMap() : null; } 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->storageDriver) { $res['storageDriver'] = $this->storageDriver; } if (null !== $this->thumbnail) { $res['thumbnail'] = null !== $this->thumbnail ? $this->thumbnail->toMap() : null; } 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 dentries */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { $model->appProperties = $map['appProperties']; } 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['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['properties'])) { $model->properties = properties::fromMap($map['properties']); } 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['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } if (isset($map['thumbnail'])) { $model->thumbnail = thumbnail::fromMap($map['thumbnail']); } 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/storage_1_0/Models/ListDentriesResponseBody/dentries/properties.php000064400000001554146412132660022363 0ustar00 'readOnly', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } return $model; } } src/storage_1_0/Models/ListDentriesResponseBody/dentries/thumbnail.php000064400000002603146412132660022146 0ustar00 'height', 'url' => 'url', 'width' => 'width', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->height) { $res['height'] = $this->height; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->width) { $res['width'] = $this->width; } return $res; } /** * @param array $map * * @return thumbnail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['height'])) { $model->height = $map['height']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['width'])) { $model->width = $map['width']; } return $model; } } src/storage_1_0/Models/ListDentryVersionsHeaders.php000064400000002343146412132660016527 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListDentryVersionsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/ListDentryVersionsRequest.php000064400000002775146412132660016615 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'unionId' => 'unionId', ]; 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->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ListDentryVersionsRequest */ 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['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/ListDentryVersionsResponse.php000064400000002745146412132660016760 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListDentryVersionsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListDentryVersionsResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/ListDentryVersionsResponseBody.php000064400000003401146412132660017564 0ustar00 'dentries', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentries) { $res['dentries'] = []; if (null !== $this->dentries && \is_array($this->dentries)) { $n = 0; foreach ($this->dentries as $item) { $res['dentries'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListDentryVersionsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentries'])) { if (!empty($map['dentries'])) { $model->dentries = []; $n = 0; foreach ($map['dentries'] as $item) { $model->dentries[$n++] = null !== $item ? dentries::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/storage_1_0/Models/ListDentryVersionsResponseBody/dentries.php000064400000015424146412132660021411 0ustar00 'appProperties', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'partitionType' => 'partitionType', 'path' => 'path', 'properties' => 'properties', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'storageDriver' => 'storageDriver', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = $this->appProperties; } 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->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->properties) { $res['properties'] = null !== $this->properties ? $this->properties->toMap() : null; } 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->storageDriver) { $res['storageDriver'] = $this->storageDriver; } 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 dentries */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { $model->appProperties = $map['appProperties']; } 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['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['properties'])) { $model->properties = properties::fromMap($map['properties']); } 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['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } 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/storage_1_0/Models/ListDentryVersionsResponseBody/dentries/properties.php000064400000001562146412132660023603 0ustar00 'readOnly', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } return $model; } } src/storage_1_0/Models/ListPermissionsHeaders.php000064400000002335146412132660016045 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListPermissionsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/ListPermissionsRequest.php000064400000002371146412132660016122 0ustar00 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ListPermissionsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/ListPermissionsRequest/option.php000064400000003114146412132660017426 0ustar00 'filterRoleIds', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->filterRoleIds) { $res['filterRoleIds'] = $this->filterRoleIds; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['filterRoleIds'])) { if (!empty($map['filterRoleIds'])) { $model->filterRoleIds = $map['filterRoleIds']; } } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/storage_1_0/Models/ListPermissionsResponse.php000064400000002731146412132660016270 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListPermissionsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListPermissionsResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/ListPermissionsResponseBody.php000064400000003457146412132660017114 0ustar00 'nextToken', 'permissions' => 'permissions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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 ListPermissionsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } 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/storage_1_0/Models/ListPermissionsResponseBody/permissions.php000064400000006533146412132660021465 0ustar00 'createTime', 'dentryId' => 'dentryId', 'duration' => 'duration', 'member' => 'member', 'modifiedTime' => 'modifiedTime', 'operatorId' => 'operatorId', 'role' => 'role', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->member) { $res['member'] = null !== $this->member ? $this->member->toMap() : null; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->role) { $res['role'] = null !== $this->role ? $this->role->toMap() : null; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return permissions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['member'])) { $model->member = member::fromMap($map['member']); } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['role'])) { $model->role = role::fromMap($map['role']); } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/storage_1_0/Models/ListPermissionsResponseBody/permissions/member.php000064400000002606146412132660022731 0ustar00 'corpId', 'id' => 'id', 'type' => 'type', ]; 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->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return member */ 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['type'])) { $model->type = $map['type']; } return $model; } } src/storage_1_0/Models/ListPermissionsResponseBody/permissions/role.php000064400000002122146412132660022414 0ustar00 '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 role */ 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/storage_1_0/Models/ListRecycleItemsHeaders.php000064400000002337146412132660016124 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListRecycleItemsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/ListRecycleItemsRequest.php000064400000002771146412132660016203 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'unionId' => 'unionId', ]; 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->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ListRecycleItemsRequest */ 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['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/ListRecycleItemsResponse.php000064400000002735146412132660016351 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListRecycleItemsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListRecycleItemsResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/ListRecycleItemsResponseBody.php000064400000003505146412132660017163 0ustar00 'nextToken', 'recycleItems' => 'recycleItems', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->recycleItems) { $res['recycleItems'] = []; if (null !== $this->recycleItems && \is_array($this->recycleItems)) { $n = 0; foreach ($this->recycleItems as $item) { $res['recycleItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListRecycleItemsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['recycleItems'])) { if (!empty($map['recycleItems'])) { $model->recycleItems = []; $n = 0; foreach ($map['recycleItems'] as $item) { $model->recycleItems[$n++] = null !== $item ? recycleItems::fromMap($item) : $item; } } } return $model; } } src/storage_1_0/Models/ListRecycleItemsResponseBody/recycleItems.php000064400000006636146412132660021623 0ustar00 'dentryId', 'id' => 'id', 'operatorId' => 'operatorId', 'operatorTime' => 'operatorTime', 'originalName' => 'originalName', 'originalPath' => 'originalPath', 'size' => 'size', 'spaceId' => 'spaceId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->operatorTime) { $res['operatorTime'] = $this->operatorTime; } if (null !== $this->originalName) { $res['originalName'] = $this->originalName; } if (null !== $this->originalPath) { $res['originalPath'] = $this->originalPath; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return recycleItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['operatorTime'])) { $model->operatorTime = $map['operatorTime']; } if (isset($map['originalName'])) { $model->originalName = $map['originalName']; } if (isset($map['originalPath'])) { $model->originalPath = $map['originalPath']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/storage_1_0/Models/MoveDentriesHeaders.php000064400000002327146412132660015303 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MoveDentriesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/MoveDentriesRequest.php000064400000004540146412132660015357 0ustar00 'dentryIds', 'option' => 'option', 'targetFolderId' => 'targetFolderId', 'targetSpaceId' => 'targetSpaceId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryIds) { $res['dentryIds'] = $this->dentryIds; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->targetFolderId) { $res['targetFolderId'] = $this->targetFolderId; } if (null !== $this->targetSpaceId) { $res['targetSpaceId'] = $this->targetSpaceId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return MoveDentriesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryIds'])) { if (!empty($map['dentryIds'])) { $model->dentryIds = $map['dentryIds']; } } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['targetFolderId'])) { $model->targetFolderId = $map['targetFolderId']; } if (isset($map['targetSpaceId'])) { $model->targetSpaceId = $map['targetSpaceId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/MoveDentriesRequest/option.php000064400000002507146412132660016670 0ustar00 'conflictStrategy', 'preservePermissions' => 'preservePermissions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conflictStrategy) { $res['conflictStrategy'] = $this->conflictStrategy; } if (null !== $this->preservePermissions) { $res['preservePermissions'] = $this->preservePermissions; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conflictStrategy'])) { $model->conflictStrategy = $map['conflictStrategy']; } if (isset($map['preservePermissions'])) { $model->preservePermissions = $map['preservePermissions']; } return $model; } } src/storage_1_0/Models/MoveDentriesResponse.php000064400000002715146412132660015527 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MoveDentriesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = MoveDentriesResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/MoveDentriesResponseBody.php000064400000002731146412132660016343 0ustar00 'resultItems', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->resultItems) { $res['resultItems'] = []; if (null !== $this->resultItems && \is_array($this->resultItems)) { $n = 0; foreach ($this->resultItems as $item) { $res['resultItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return MoveDentriesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['resultItems'])) { if (!empty($map['resultItems'])) { $model->resultItems = []; $n = 0; foreach ($map['resultItems'] as $item) { $model->resultItems[$n++] = null !== $item ? resultItems::fromMap($item) : $item; } } } return $model; } } src/storage_1_0/Models/MoveDentriesResponseBody/resultItems.php000064400000006216146412132660020665 0ustar00 'async', 'dentryId' => 'dentryId', 'errorCode' => 'errorCode', 'spaceId' => 'spaceId', 'success' => 'success', 'targetDentryId' => 'targetDentryId', 'targetSpaceId' => 'targetSpaceId', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->async) { $res['async'] = $this->async; } if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->targetDentryId) { $res['targetDentryId'] = $this->targetDentryId; } if (null !== $this->targetSpaceId) { $res['targetSpaceId'] = $this->targetSpaceId; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return resultItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['async'])) { $model->async = $map['async']; } if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['targetDentryId'])) { $model->targetDentryId = $map['targetDentryId']; } if (isset($map['targetSpaceId'])) { $model->targetSpaceId = $map['targetSpaceId']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/storage_1_0/Models/MoveDentryHeaders.php000064400000002323146412132660014767 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MoveDentryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/MoveDentryRequest.php000064400000003753146412132660015054 0ustar00 'option', 'targetFolderId' => 'targetFolderId', 'targetSpaceId' => 'targetSpaceId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->targetFolderId) { $res['targetFolderId'] = $this->targetFolderId; } if (null !== $this->targetSpaceId) { $res['targetSpaceId'] = $this->targetSpaceId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return MoveDentryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['targetFolderId'])) { $model->targetFolderId = $map['targetFolderId']; } if (isset($map['targetSpaceId'])) { $model->targetSpaceId = $map['targetSpaceId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/MoveDentryRequest/option.php000064400000002473146412132660016362 0ustar00 'conflictStrategy', 'presevePermissions' => 'presevePermissions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conflictStrategy) { $res['conflictStrategy'] = $this->conflictStrategy; } if (null !== $this->presevePermissions) { $res['presevePermissions'] = $this->presevePermissions; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conflictStrategy'])) { $model->conflictStrategy = $map['conflictStrategy']; } if (isset($map['presevePermissions'])) { $model->presevePermissions = $map['presevePermissions']; } return $model; } } src/storage_1_0/Models/MoveDentryResponse.php000064400000002705146412132660015216 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MoveDentryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = MoveDentryResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/MoveDentryResponseBody.php000064400000003016146412132660016030 0ustar00 'async', 'dentry' => 'dentry', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->async) { $res['async'] = $this->async; } if (null !== $this->dentry) { $res['dentry'] = null !== $this->dentry ? $this->dentry->toMap() : null; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return MoveDentryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['async'])) { $model->async = $map['async']; } if (isset($map['dentry'])) { $model->dentry = dentry::fromMap($map['dentry']); } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/storage_1_0/Models/MoveDentryResponseBody/dentry.php000064400000015372146412132660017345 0ustar00 'appProperties', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'partitionType' => 'partitionType', 'path' => 'path', 'properties' => 'properties', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'storageDriver' => 'storageDriver', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = $this->appProperties; } 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->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->properties) { $res['properties'] = null !== $this->properties ? $this->properties->toMap() : null; } 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->storageDriver) { $res['storageDriver'] = $this->storageDriver; } 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 dentry */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { $model->appProperties = $map['appProperties']; } 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['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['properties'])) { $model->properties = properties::fromMap($map['properties']); } 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['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } 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/storage_1_0/Models/MoveDentryResponseBody/dentry/properties.php000064400000001550146412132660021532 0ustar00 'readOnly', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } return $model; } } src/storage_1_0/Models/RegisterOpenInfoHeaders.php000064400000002337146412132660016122 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RegisterOpenInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/RegisterOpenInfoRequest.php000064400000004054146412132660016175 0ustar00 'openInfos', 'provider' => 'provider', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openInfos) { $res['openInfos'] = []; if (null !== $this->openInfos && \is_array($this->openInfos)) { $n = 0; foreach ($this->openInfos as $item) { $res['openInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->provider) { $res['provider'] = $this->provider; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return RegisterOpenInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openInfos'])) { if (!empty($map['openInfos'])) { $model->openInfos = []; $n = 0; foreach ($map['openInfos'] as $item) { $model->openInfos[$n++] = null !== $item ? openInfos::fromMap($item) : $item; } } } if (isset($map['provider'])) { $model->provider = $map['provider']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/RegisterOpenInfoRequest/openInfos.php000064400000002170146412132660020132 0ustar00 'openType', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openType) { $res['openType'] = $this->openType; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return openInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openType'])) { $model->openType = $map['openType']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/storage_1_0/Models/RegisterOpenInfoResponse.php000064400000002735146412132660016347 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RegisterOpenInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RegisterOpenInfoResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/RegisterOpenInfoResponseBody.php000064400000001545146412132660017163 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return RegisterOpenInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_1_0/Models/RenameDentryHeaders.php000064400000002327146412132660015274 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RenameDentryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/RenameDentryRequest.php000064400000002223146412132660015344 0ustar00 'newName', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->newName) { $res['newName'] = $this->newName; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return RenameDentryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['newName'])) { $model->newName = $map['newName']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/RenameDentryResponse.php000064400000002715146412132660015520 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RenameDentryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RenameDentryResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/RenameDentryResponseBody.php000064400000001707146412132660016336 0ustar00 'dentry', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentry) { $res['dentry'] = null !== $this->dentry ? $this->dentry->toMap() : null; } return $res; } /** * @param array $map * * @return RenameDentryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentry'])) { $model->dentry = dentry::fromMap($map['dentry']); } return $model; } } src/storage_1_0/Models/RenameDentryResponseBody/dentry.php000064400000015376146412132660017652 0ustar00 'appProperties', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'partitionType' => 'partitionType', 'path' => 'path', 'properties' => 'properties', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'storageDriver' => 'storageDriver', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = $this->appProperties; } 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->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->properties) { $res['properties'] = null !== $this->properties ? $this->properties->toMap() : null; } 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->storageDriver) { $res['storageDriver'] = $this->storageDriver; } 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 dentry */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { $model->appProperties = $map['appProperties']; } 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['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['properties'])) { $model->properties = properties::fromMap($map['properties']); } 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['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } 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/storage_1_0/Models/RenameDentryResponseBody/dentry/properties.php000064400000001552146412132660022035 0ustar00 'readOnly', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } return $model; } } src/storage_1_0/Models/RestoreRecycleItemHeaders.php000064400000002343146412132660016446 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RestoreRecycleItemHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/RestoreRecycleItemRequest.php000064400000002402146412132660016517 0ustar00 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return RestoreRecycleItemRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/RestoreRecycleItemRequest/option.php000064400000001655146412132660020040 0ustar00 'conflictStrategy', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conflictStrategy) { $res['conflictStrategy'] = $this->conflictStrategy; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conflictStrategy'])) { $model->conflictStrategy = $map['conflictStrategy']; } return $model; } } src/storage_1_0/Models/RestoreRecycleItemResponse.php000064400000002745146412132660016677 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RestoreRecycleItemResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RestoreRecycleItemResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/RestoreRecycleItemResponseBody.php000064400000003402146412132660017504 0ustar00 'async', 'dentryId' => 'dentryId', 'spaceId' => 'spaceId', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->async) { $res['async'] = $this->async; } if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return RestoreRecycleItemResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['async'])) { $model->async = $map['async']; } if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/storage_1_0/Models/RestoreRecycleItemsHeaders.php000064400000002345146412132660016633 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RestoreRecycleItemsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/RestoreRecycleItemsRequest.php000064400000003257146412132660016713 0ustar00 'option', 'recycleItemIds' => 'recycleItemIds', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->recycleItemIds) { $res['recycleItemIds'] = $this->recycleItemIds; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return RestoreRecycleItemsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['recycleItemIds'])) { if (!empty($map['recycleItemIds'])) { $model->recycleItemIds = $map['recycleItemIds']; } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/RestoreRecycleItemsRequest/option.php000064400000001656146412132660020224 0ustar00 'conflictStrategy', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conflictStrategy) { $res['conflictStrategy'] = $this->conflictStrategy; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conflictStrategy'])) { $model->conflictStrategy = $map['conflictStrategy']; } return $model; } } src/storage_1_0/Models/RestoreRecycleItemsResponse.php000064400000002751146412132660017057 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RestoreRecycleItemsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RestoreRecycleItemsResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/RestoreRecycleItemsResponseBody.php000064400000002756146412132660017702 0ustar00 'resultItems', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->resultItems) { $res['resultItems'] = []; if (null !== $this->resultItems && \is_array($this->resultItems)) { $n = 0; foreach ($this->resultItems as $item) { $res['resultItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return RestoreRecycleItemsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['resultItems'])) { if (!empty($map['resultItems'])) { $model->resultItems = []; $n = 0; foreach ($map['resultItems'] as $item) { $model->resultItems[$n++] = null !== $item ? resultItems::fromMap($item) : $item; } } } return $model; } } src/storage_1_0/Models/RestoreRecycleItemsResponseBody/resultItems.php000064400000006172146412132660022216 0ustar00 'async', 'dentryId' => 'dentryId', 'errorCode' => 'errorCode', 'recycleBinId' => 'recycleBinId', 'recycleItemId' => 'recycleItemId', 'spaceId' => 'spaceId', 'success' => 'success', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->async) { $res['async'] = $this->async; } if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->recycleBinId) { $res['recycleBinId'] = $this->recycleBinId; } if (null !== $this->recycleItemId) { $res['recycleItemId'] = $this->recycleItemId; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return resultItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['async'])) { $model->async = $map['async']; } if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['recycleBinId'])) { $model->recycleBinId = $map['recycleBinId']; } if (isset($map['recycleItemId'])) { $model->recycleItemId = $map['recycleItemId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/storage_1_0/Models/ResultItemsDentryAppPropertiesValue.php000064400000002752146412132660020566 0ustar00 'name', 'value' => 'value', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return ResultItemsDentryAppPropertiesValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/storage_1_0/Models/RevertDentryVersionHeaders.php000064400000002345146412132660016702 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RevertDentryVersionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/RevertDentryVersionRequest.php000064400000001547146412132660016762 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return RevertDentryVersionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/RevertDentryVersionResponse.php000064400000002751146412132660017126 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RevertDentryVersionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RevertDentryVersionResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/RevertDentryVersionResponseBody.php000064400000001553146412132660017743 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return RevertDentryVersionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_1_0/Models/SubscribeEventHeaders.php000064400000002333146412132660015617 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SubscribeEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/SubscribeEventRequest.php000064400000002670146412132660015700 0ustar00 'scope', 'scopeId' => 'scopeId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scope) { $res['scope'] = $this->scope; } if (null !== $this->scopeId) { $res['scopeId'] = $this->scopeId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return SubscribeEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scope'])) { $model->scope = $map['scope']; } if (isset($map['scopeId'])) { $model->scopeId = $map['scopeId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/SubscribeEventResponse.php000064400000002725146412132660016047 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SubscribeEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SubscribeEventResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/SubscribeEventResponseBody.php000064400000001541146412132660016660 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SubscribeEventResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_1_0/Models/UnsubscribeEventHeaders.php000064400000002337146412132660016166 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UnsubscribeEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/UnsubscribeEventRequest.php000064400000002674146412132660016247 0ustar00 'scope', 'scopeId' => 'scopeId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scope) { $res['scope'] = $this->scope; } if (null !== $this->scopeId) { $res['scopeId'] = $this->scopeId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return UnsubscribeEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scope'])) { $model->scope = $map['scope']; } if (isset($map['scopeId'])) { $model->scopeId = $map['scopeId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/UnsubscribeEventResponse.php000064400000002735146412132660016413 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UnsubscribeEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UnsubscribeEventResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/UnsubscribeEventResponseBody.php000064400000001545146412132660017227 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UnsubscribeEventResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_1_0/Models/UpdateDentryAppPropertiesHeaders.php000064400000002361146412132660020023 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateDentryAppPropertiesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/UpdateDentryAppPropertiesRequest.php000064400000003522146412132660020100 0ustar00 'appProperties', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = []; if (null !== $this->appProperties && \is_array($this->appProperties)) { $n = 0; foreach ($this->appProperties as $item) { $res['appProperties'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return UpdateDentryAppPropertiesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { if (!empty($map['appProperties'])) { $model->appProperties = []; $n = 0; foreach ($map['appProperties'] as $item) { $model->appProperties[$n++] = null !== $item ? appProperties::fromMap($item) : $item; } } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/UpdateDentryAppPropertiesRequest/appProperties.php000064400000002737146412132660022744 0ustar00 'name', 'value' => 'value', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return appProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/storage_1_0/Models/UpdateDentryAppPropertiesResponse.php000064400000003001146412132660020236 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateDentryAppPropertiesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateDentryAppPropertiesResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/UpdateDentryAppPropertiesResponseBody.php000064400000001567146412132660021073 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateDentryAppPropertiesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_1_0/Models/UpdatePermissionHeaders.php000064400000002337146412132660016173 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdatePermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_1_0/Models/UpdatePermissionRequest.php000064400000004616146412132660016252 0ustar00 'members', 'option' => 'option', 'roleId' => 'roleId', 'unionId' => 'unionId', ]; 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; } } } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return UpdatePermissionRequest */ 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; } } } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_1_0/Models/UpdatePermissionRequest/members.php000064400000002570146412132660017701 0ustar00 'corpId', 'id' => 'id', 'type' => 'type', ]; 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->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return members */ 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['type'])) { $model->type = $map['type']; } return $model; } } src/storage_1_0/Models/UpdatePermissionRequest/option.php000064400000001531146412132660017553 0ustar00 'duration', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } return $model; } } src/storage_1_0/Models/UpdatePermissionResponse.php000064400000002735146412132660016420 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdatePermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdatePermissionResponseBody::fromMap($map['body']); } return $model; } } src/storage_1_0/Models/UpdatePermissionResponseBody.php000064400000001545146412132660017234 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdatePermissionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_2_0/Dingtalk.php000064400000073142146412132660011721 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $dentryUuid * @param AddPermissionRequest $request * @param AddPermissionHeaders $headers * @param RuntimeOptions $runtime * * @return AddPermissionResponse */ public function addPermissionWithOptions($dentryUuid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } if (!Utils::isUnset($request->roleId)) { $body['roleId'] = $request->roleId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'AddPermission', 'version' => 'storage_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/storage/spaces/dentries/' . $dentryUuid . '/permissions', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddPermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dentryUuid * @param AddPermissionRequest $request * * @return AddPermissionResponse */ public function addPermission($dentryUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new AddPermissionHeaders([]); return $this->addPermissionWithOptions($dentryUuid, $request, $headers, $runtime); } /** * @param string $parentDentryUuid * @param CommitFileRequest $request * @param CommitFileHeaders $headers * @param RuntimeOptions $runtime * * @return CommitFileResponse */ public function commitFileWithOptions($parentDentryUuid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } if (!Utils::isUnset($request->uploadKey)) { $body['uploadKey'] = $request->uploadKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CommitFile', 'version' => 'storage_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/storage/spaces/files/' . $parentDentryUuid . '/commit', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CommitFileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $parentDentryUuid * @param CommitFileRequest $request * * @return CommitFileResponse */ public function commitFile($parentDentryUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new CommitFileHeaders([]); return $this->commitFileWithOptions($parentDentryUuid, $request, $headers, $runtime); } /** * @param string $dentryUuid * @param DeletePermissionRequest $request * @param DeletePermissionHeaders $headers * @param RuntimeOptions $runtime * * @return DeletePermissionResponse */ public function deletePermissionWithOptions($dentryUuid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->roleId)) { $body['roleId'] = $request->roleId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'DeletePermission', 'version' => 'storage_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/storage/spaces/dentries/' . $dentryUuid . '/permissions/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeletePermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dentryUuid * @param DeletePermissionRequest $request * * @return DeletePermissionResponse */ public function deletePermission($dentryUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new DeletePermissionHeaders([]); return $this->deletePermissionWithOptions($dentryUuid, $request, $headers, $runtime); } /** * @param string $parentDentryUuid * @param GetFileUploadInfoRequest $request * @param GetFileUploadInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetFileUploadInfoResponse */ public function getFileUploadInfoWithOptions($parentDentryUuid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } if (!Utils::isUnset($request->protocol)) { $body['protocol'] = $request->protocol; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'GetFileUploadInfo', 'version' => 'storage_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/storage/spaces/files/' . $parentDentryUuid . '/uploadInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFileUploadInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $parentDentryUuid * @param GetFileUploadInfoRequest $request * * @return GetFileUploadInfoResponse */ public function getFileUploadInfo($parentDentryUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new GetFileUploadInfoHeaders([]); return $this->getFileUploadInfoWithOptions($parentDentryUuid, $request, $headers, $runtime); } /** * @param string $dentryUuid * @param GetPermissionInheritanceRequest $request * @param GetPermissionInheritanceHeaders $headers * @param RuntimeOptions $runtime * * @return GetPermissionInheritanceResponse */ public function getPermissionInheritanceWithOptions($dentryUuid, $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' => 'GetPermissionInheritance', 'version' => 'storage_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/storage/spaces/dentries/' . $dentryUuid . '/permissions/inheritances', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetPermissionInheritanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dentryUuid * @param GetPermissionInheritanceRequest $request * * @return GetPermissionInheritanceResponse */ public function getPermissionInheritance($dentryUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new GetPermissionInheritanceHeaders([]); return $this->getPermissionInheritanceWithOptions($dentryUuid, $request, $headers, $runtime); } /** * @param string $dentryUuid * @param ListPermissionsRequest $request * @param ListPermissionsHeaders $headers * @param RuntimeOptions $runtime * * @return ListPermissionsResponse */ public function listPermissionsWithOptions($dentryUuid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'ListPermissions', 'version' => 'storage_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/storage/spaces/dentries/' . $dentryUuid . '/permissions/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListPermissionsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dentryUuid * @param ListPermissionsRequest $request * * @return ListPermissionsResponse */ public function listPermissions($dentryUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new ListPermissionsHeaders([]); return $this->listPermissionsWithOptions($dentryUuid, $request, $headers, $runtime); } /** * @param ManagerGetDefaultHandOverUserRequest $request * @param ManagerGetDefaultHandOverUserHeaders $headers * @param RuntimeOptions $runtime * * @return ManagerGetDefaultHandOverUserResponse */ public function managerGetDefaultHandOverUserWithOptions($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' => 'ManagerGetDefaultHandOverUser', 'version' => 'storage_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/storage/managementSettings/defaultHandOverUsers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ManagerGetDefaultHandOverUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ManagerGetDefaultHandOverUserRequest $request * * @return ManagerGetDefaultHandOverUserResponse */ public function managerGetDefaultHandOverUser($request) { $runtime = new RuntimeOptions([]); $headers = new ManagerGetDefaultHandOverUserHeaders([]); return $this->managerGetDefaultHandOverUserWithOptions($request, $headers, $runtime); } /** * @param ManagerSetDefaultHandOverUserRequest $request * @param ManagerSetDefaultHandOverUserHeaders $headers * @param RuntimeOptions $runtime * * @return ManagerSetDefaultHandOverUserResponse */ public function managerSetDefaultHandOverUserWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->defaultHandoverUserId)) { $body['defaultHandoverUserId'] = $request->defaultHandoverUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'ManagerSetDefaultHandOverUser', 'version' => 'storage_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/storage/managementSettings/defaultHandOverUsers/set', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ManagerSetDefaultHandOverUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ManagerSetDefaultHandOverUserRequest $request * * @return ManagerSetDefaultHandOverUserResponse */ public function managerSetDefaultHandOverUser($request) { $runtime = new RuntimeOptions([]); $headers = new ManagerSetDefaultHandOverUserHeaders([]); return $this->managerSetDefaultHandOverUserWithOptions($request, $headers, $runtime); } /** * @param SearchDentriesRequest $request * @param SearchDentriesHeaders $headers * @param RuntimeOptions $runtime * * @return SearchDentriesResponse */ public function searchDentriesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->keyword)) { $body['keyword'] = $request->keyword; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'SearchDentries', 'version' => 'storage_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/storage/dentries/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchDentriesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchDentriesRequest $request * * @return SearchDentriesResponse */ public function searchDentries($request) { $runtime = new RuntimeOptions([]); $headers = new SearchDentriesHeaders([]); return $this->searchDentriesWithOptions($request, $headers, $runtime); } /** * @param SearchWorkspacesRequest $request * @param SearchWorkspacesHeaders $headers * @param RuntimeOptions $runtime * * @return SearchWorkspacesResponse */ public function searchWorkspacesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->keyword)) { $body['keyword'] = $request->keyword; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'SearchWorkspaces', 'version' => 'storage_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/storage/workspaces/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchWorkspacesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchWorkspacesRequest $request * * @return SearchWorkspacesResponse */ public function searchWorkspaces($request) { $runtime = new RuntimeOptions([]); $headers = new SearchWorkspacesHeaders([]); return $this->searchWorkspacesWithOptions($request, $headers, $runtime); } /** * @param string $dentryUuid * @param SetPermissionInheritanceRequest $request * @param SetPermissionInheritanceHeaders $headers * @param RuntimeOptions $runtime * * @return SetPermissionInheritanceResponse */ public function setPermissionInheritanceWithOptions($dentryUuid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->inheritance)) { $body['inheritance'] = $request->inheritance; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'SetPermissionInheritance', 'version' => 'storage_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/storage/spaces/dentries/' . $dentryUuid . '/permissions/inheritances', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SetPermissionInheritanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dentryUuid * @param SetPermissionInheritanceRequest $request * * @return SetPermissionInheritanceResponse */ public function setPermissionInheritance($dentryUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new SetPermissionInheritanceHeaders([]); return $this->setPermissionInheritanceWithOptions($dentryUuid, $request, $headers, $runtime); } /** * @param string $dentryUuid * @param UpdatePermissionRequest $request * @param UpdatePermissionHeaders $headers * @param RuntimeOptions $runtime * * @return UpdatePermissionResponse */ public function updatePermissionWithOptions($dentryUuid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } if (!Utils::isUnset($request->roleId)) { $body['roleId'] = $request->roleId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdatePermission', 'version' => 'storage_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/storage/spaces/dentries/' . $dentryUuid . '/permissions', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdatePermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $dentryUuid * @param UpdatePermissionRequest $request * * @return UpdatePermissionResponse */ public function updatePermission($dentryUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdatePermissionHeaders([]); return $this->updatePermissionWithOptions($dentryUuid, $request, $headers, $runtime); } } src/storage_2_0/Models/AddPermissionHeaders.php000064400000002331146412132660015434 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddPermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_2_0/Models/AddPermissionRequest.php000064400000004602146412132660015514 0ustar00 'members', 'option' => 'option', 'roleId' => 'roleId', 'unionId' => 'unionId', ]; 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; } } } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return AddPermissionRequest */ 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; } } } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_2_0/Models/AddPermissionRequest/members.php000064400000002565146412132660017154 0ustar00 'corpId', 'id' => 'id', 'type' => 'type', ]; 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->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return members */ 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['type'])) { $model->type = $map['type']; } return $model; } } src/storage_2_0/Models/AddPermissionRequest/option.php000064400000001526146412132660017026 0ustar00 'duration', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } return $model; } } src/storage_2_0/Models/AddPermissionResponse.php000064400000002721146412132660015662 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddPermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddPermissionResponseBody::fromMap($map['body']); } return $model; } } src/storage_2_0/Models/AddPermissionResponseBody.php000064400000001537146412132660016504 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AddPermissionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_2_0/Models/CommitFileHeaders.php000064400000002323146412132660014724 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CommitFileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_2_0/Models/CommitFileRequest.php000064400000003535146412132660015007 0ustar00 'name', 'option' => 'option', 'uploadKey' => 'uploadKey', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->uploadKey) { $res['uploadKey'] = $this->uploadKey; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return CommitFileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['uploadKey'])) { $model->uploadKey = $map['uploadKey']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_2_0/Models/CommitFileRequest/option.php000064400000006263146412132660016320 0ustar00 'appProperties', 'conflictStrategy' => 'conflictStrategy', 'convertToOnlineDoc' => 'convertToOnlineDoc', 'convertToOnlineDocTargetDocumentType' => 'convertToOnlineDocTargetDocumentType', 'size' => 'size', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = []; if (null !== $this->appProperties && \is_array($this->appProperties)) { $n = 0; foreach ($this->appProperties as $item) { $res['appProperties'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->conflictStrategy) { $res['conflictStrategy'] = $this->conflictStrategy; } if (null !== $this->convertToOnlineDoc) { $res['convertToOnlineDoc'] = $this->convertToOnlineDoc; } if (null !== $this->convertToOnlineDocTargetDocumentType) { $res['convertToOnlineDocTargetDocumentType'] = $this->convertToOnlineDocTargetDocumentType; } if (null !== $this->size) { $res['size'] = $this->size; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { if (!empty($map['appProperties'])) { $model->appProperties = []; $n = 0; foreach ($map['appProperties'] as $item) { $model->appProperties[$n++] = null !== $item ? appProperties::fromMap($item) : $item; } } } if (isset($map['conflictStrategy'])) { $model->conflictStrategy = $map['conflictStrategy']; } if (isset($map['convertToOnlineDoc'])) { $model->convertToOnlineDoc = $map['convertToOnlineDoc']; } if (isset($map['convertToOnlineDocTargetDocumentType'])) { $model->convertToOnlineDocTargetDocumentType = $map['convertToOnlineDocTargetDocumentType']; } if (isset($map['size'])) { $model->size = $map['size']; } return $model; } } src/storage_2_0/Models/CommitFileRequest/option/appProperties.php000064400000002727146412132660021156 0ustar00 'name', 'value' => 'value', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return appProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/storage_2_0/Models/CommitFileResponse.php000064400000002705146412132660015153 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CommitFileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CommitFileResponseBody::fromMap($map['body']); } return $model; } } src/storage_2_0/Models/CommitFileResponseBody.php000064400000001701146412132660015764 0ustar00 'dentry', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentry) { $res['dentry'] = null !== $this->dentry ? $this->dentry->toMap() : null; } return $res; } /** * @param array $map * * @return CommitFileResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentry'])) { $model->dentry = dentry::fromMap($map['dentry']); } return $model; } } src/storage_2_0/Models/CommitFileResponseBody/dentry.php000064400000017012146412132660017273 0ustar00 'appProperties', 'category' => 'category', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'partitionType' => 'partitionType', 'path' => 'path', 'properties' => 'properties', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'storageDriver' => 'storageDriver', 'thumbnail' => 'thumbnail', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appProperties) { $res['appProperties'] = $this->appProperties; } if (null !== $this->category) { $res['category'] = $this->category; } 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->partitionType) { $res['partitionType'] = $this->partitionType; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->properties) { $res['properties'] = null !== $this->properties ? $this->properties->toMap() : null; } 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->storageDriver) { $res['storageDriver'] = $this->storageDriver; } if (null !== $this->thumbnail) { $res['thumbnail'] = null !== $this->thumbnail ? $this->thumbnail->toMap() : null; } 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 dentry */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appProperties'])) { $model->appProperties = $map['appProperties']; } if (isset($map['category'])) { $model->category = $map['category']; } 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['partitionType'])) { $model->partitionType = $map['partitionType']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['properties'])) { $model->properties = properties::fromMap($map['properties']); } 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['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } if (isset($map['thumbnail'])) { $model->thumbnail = thumbnail::fromMap($map['thumbnail']); } 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/storage_2_0/Models/CommitFileResponseBody/dentry/properties.php000064400000001550146412132660021467 0ustar00 'readOnly', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readOnly) { $res['readOnly'] = $this->readOnly; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readOnly'])) { $model->readOnly = $map['readOnly']; } return $model; } } src/storage_2_0/Models/CommitFileResponseBody/dentry/thumbnail.php000064400000002577146412132660021270 0ustar00 'height', 'url' => 'url', 'width' => 'width', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->height) { $res['height'] = $this->height; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->width) { $res['width'] = $this->width; } return $res; } /** * @param array $map * * @return thumbnail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['height'])) { $model->height = $map['height']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['width'])) { $model->width = $map['width']; } return $model; } } src/storage_2_0/Models/DeletePermissionHeaders.php000064400000002337146412132660016154 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeletePermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_2_0/Models/DeletePermissionRequest.php000064400000003763146412132660016235 0ustar00 'members', 'roleId' => 'roleId', 'unionId' => 'unionId', ]; 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; } } } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return DeletePermissionRequest */ 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; } } } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_2_0/Models/DeletePermissionRequest/members.php000064400000002570146412132660017662 0ustar00 'corpId', 'id' => 'id', 'type' => 'type', ]; 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->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return members */ 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['type'])) { $model->type = $map['type']; } return $model; } } src/storage_2_0/Models/DeletePermissionResponse.php000064400000002735146412132660016401 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeletePermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeletePermissionResponseBody::fromMap($map['body']); } return $model; } } src/storage_2_0/Models/DeletePermissionResponseBody.php000064400000001545146412132660017215 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeletePermissionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_2_0/Models/DentryAppPropertiesValue.php000064400000002724146412132660016365 0ustar00 'name', 'value' => 'value', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->visibility) { $res['visibility'] = $this->visibility; } return $res; } /** * @param array $map * * @return DentryAppPropertiesValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['visibility'])) { $model->visibility = $map['visibility']; } return $model; } } src/storage_2_0/Models/GetFileUploadInfoHeaders.php000064400000002341146412132660016174 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/storage_2_0/Models/GetFileUploadInfoRequest.php000064400000003111146412132660016245 0ustar00 'option', 'protocol' => 'protocol', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->protocol) { $res['protocol'] = $this->protocol; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetFileUploadInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['protocol'])) { $model->protocol = $map['protocol']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_2_0/Models/GetFileUploadInfoRequest/option.php000064400000004146146412132660017566 0ustar00 'preCheckParam', 'preferIntranet' => 'preferIntranet', 'preferRegion' => 'preferRegion', 'storageDriver' => 'storageDriver', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->preCheckParam) { $res['preCheckParam'] = null !== $this->preCheckParam ? $this->preCheckParam->toMap() : null; } if (null !== $this->preferIntranet) { $res['preferIntranet'] = $this->preferIntranet; } if (null !== $this->preferRegion) { $res['preferRegion'] = $this->preferRegion; } if (null !== $this->storageDriver) { $res['storageDriver'] = $this->storageDriver; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['preCheckParam'])) { $model->preCheckParam = preCheckParam::fromMap($map['preCheckParam']); } if (isset($map['preferIntranet'])) { $model->preferIntranet = $map['preferIntranet']; } if (isset($map['preferRegion'])) { $model->preferRegion = $map['preferRegion']; } if (isset($map['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } return $model; } } src/storage_2_0/Models/GetFileUploadInfoRequest/option/preCheckParam.php000064400000002151146412132660022265 0ustar00 'name', 'size' => 'size', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->size) { $res['size'] = $this->size; } return $res; } /** * @param array $map * * @return preCheckParam */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['size'])) { $model->size = $map['size']; } return $model; } } src/storage_2_0/Models/GetFileUploadInfoResponse.php000064400000002741146412132660016423 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/storage_2_0/Models/GetFileUploadInfoResponseBody.php000064400000004232146412132660017236 0ustar00 'headerSignatureInfo', 'protocol' => 'protocol', 'storageDriver' => 'storageDriver', 'uploadKey' => 'uploadKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headerSignatureInfo) { $res['headerSignatureInfo'] = null !== $this->headerSignatureInfo ? $this->headerSignatureInfo->toMap() : null; } if (null !== $this->protocol) { $res['protocol'] = $this->protocol; } if (null !== $this->storageDriver) { $res['storageDriver'] = $this->storageDriver; } if (null !== $this->uploadKey) { $res['uploadKey'] = $this->uploadKey; } return $res; } /** * @param array $map * * @return GetFileUploadInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headerSignatureInfo'])) { $model->headerSignatureInfo = headerSignatureInfo::fromMap($map['headerSignatureInfo']); } if (isset($map['protocol'])) { $model->protocol = $map['protocol']; } if (isset($map['storageDriver'])) { $model->storageDriver = $map['storageDriver']; } if (isset($map['uploadKey'])) { $model->uploadKey = $map['uploadKey']; } return $model; } } src/storage_2_0/Models/GetFileUploadInfoResponseBody/headerSignatureInfo.php000064400000004631146412132660023167 0ustar00 'expirationSeconds', 'headers' => 'headers', 'internalResourceUrls' => 'internalResourceUrls', 'region' => 'region', 'resourceUrls' => 'resourceUrls', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expirationSeconds) { $res['expirationSeconds'] = $this->expirationSeconds; } if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->internalResourceUrls) { $res['internalResourceUrls'] = $this->internalResourceUrls; } if (null !== $this->region) { $res['region'] = $this->region; } if (null !== $this->resourceUrls) { $res['resourceUrls'] = $this->resourceUrls; } return $res; } /** * @param array $map * * @return headerSignatureInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expirationSeconds'])) { $model->expirationSeconds = $map['expirationSeconds']; } if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['internalResourceUrls'])) { if (!empty($map['internalResourceUrls'])) { $model->internalResourceUrls = $map['internalResourceUrls']; } } if (isset($map['region'])) { $model->region = $map['region']; } if (isset($map['resourceUrls'])) { if (!empty($map['resourceUrls'])) { $model->resourceUrls = $map['resourceUrls']; } } return $model; } } src/storage_2_0/Models/GetPermissionInheritanceHeaders.php000064400000002357146412132660017645 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPermissionInheritanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_2_0/Models/GetPermissionInheritanceRequest.php000064400000001561146412132660017716 0ustar00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetPermissionInheritanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_2_0/Models/GetPermissionInheritanceResponse.php000064400000002775146412132660020074 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPermissionInheritanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPermissionInheritanceResponseBody::fromMap($map['body']); } return $model; } } src/storage_2_0/Models/GetPermissionInheritanceResponseBody.php000064400000001636146412132660020705 0ustar00 'inheritance', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->inheritance) { $res['inheritance'] = $this->inheritance; } return $res; } /** * @param array $map * * @return GetPermissionInheritanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['inheritance'])) { $model->inheritance = $map['inheritance']; } return $model; } } src/storage_2_0/Models/ListPermissionsHeaders.php000064400000002335146412132660016046 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListPermissionsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_2_0/Models/ListPermissionsRequest.php000064400000002371146412132660016123 0ustar00 'option', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ListPermissionsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_2_0/Models/ListPermissionsRequest/option.php000064400000003114146412132660017427 0ustar00 'filterRoleIds', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->filterRoleIds) { $res['filterRoleIds'] = $this->filterRoleIds; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['filterRoleIds'])) { if (!empty($map['filterRoleIds'])) { $model->filterRoleIds = $map['filterRoleIds']; } } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/storage_2_0/Models/ListPermissionsResponse.php000064400000002731146412132660016271 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListPermissionsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListPermissionsResponseBody::fromMap($map['body']); } return $model; } } src/storage_2_0/Models/ListPermissionsResponseBody.php000064400000003457146412132660017115 0ustar00 'nextToken', 'permissions' => 'permissions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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 ListPermissionsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } 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/storage_2_0/Models/ListPermissionsResponseBody/permissions.php000064400000003777146412132660021475 0ustar00 'dentryUuid', 'duration' => 'duration', 'member' => 'member', 'role' => 'role', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryUuid) { $res['dentryUuid'] = $this->dentryUuid; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->member) { $res['member'] = null !== $this->member ? $this->member->toMap() : null; } if (null !== $this->role) { $res['role'] = null !== $this->role ? $this->role->toMap() : null; } return $res; } /** * @param array $map * * @return permissions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryUuid'])) { $model->dentryUuid = $map['dentryUuid']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['member'])) { $model->member = member::fromMap($map['member']); } if (isset($map['role'])) { $model->role = role::fromMap($map['role']); } return $model; } } src/storage_2_0/Models/ListPermissionsResponseBody/permissions/member.php000064400000002606146412132660022732 0ustar00 'corpId', 'id' => 'id', 'type' => 'type', ]; 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->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return member */ 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['type'])) { $model->type = $map['type']; } return $model; } } src/storage_2_0/Models/ListPermissionsResponseBody/permissions/role.php000064400000002122146412132660022415 0ustar00 '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 role */ 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/storage_2_0/Models/ManagerGetDefaultHandOverUserHeaders.php000064400000002371146412132660020504 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ManagerGetDefaultHandOverUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_2_0/Models/ManagerGetDefaultHandOverUserRequest.php000064400000001626146412132660020563 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return ManagerGetDefaultHandOverUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/storage_2_0/Models/ManagerGetDefaultHandOverUserResponse.php000064400000003021146412132660020720 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ManagerGetDefaultHandOverUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ManagerGetDefaultHandOverUserResponseBody::fromMap($map['body']); } return $model; } } src/storage_2_0/Models/ManagerGetDefaultHandOverUserResponseBody.php000064400000002003146412132660021535 0ustar00 'defaultHandoverUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->defaultHandoverUserId) { $res['defaultHandoverUserId'] = $this->defaultHandoverUserId; } return $res; } /** * @param array $map * * @return ManagerGetDefaultHandOverUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['defaultHandoverUserId'])) { $model->defaultHandoverUserId = $map['defaultHandoverUserId']; } return $model; } } src/storage_2_0/Models/ManagerSetDefaultHandOverUserHeaders.php000064400000002371146412132660020520 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ManagerSetDefaultHandOverUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_2_0/Models/ManagerSetDefaultHandOverUserRequest.php000064400000002526146412132660020577 0ustar00 'defaultHandoverUserId', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->defaultHandoverUserId) { $res['defaultHandoverUserId'] = $this->defaultHandoverUserId; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return ManagerSetDefaultHandOverUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['defaultHandoverUserId'])) { $model->defaultHandoverUserId = $map['defaultHandoverUserId']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/storage_2_0/Models/ManagerSetDefaultHandOverUserResponse.php000064400000003021146412132660020734 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ManagerSetDefaultHandOverUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ManagerSetDefaultHandOverUserResponseBody::fromMap($map['body']); } return $model; } } src/storage_2_0/Models/ManagerSetDefaultHandOverUserResponseBody.php000064400000001577146412132660021570 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ManagerSetDefaultHandOverUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_2_0/Models/SearchDentriesHeaders.php000064400000002333146412132660015600 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchDentriesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_2_0/Models/SearchDentriesRequest.php000064400000003115146412132660015654 0ustar00 'keyword', 'option' => 'option', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->keyword) { $res['keyword'] = $this->keyword; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return SearchDentriesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['keyword'])) { $model->keyword = $map['keyword']; } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/storage_2_0/Models/SearchDentriesRequest/option.php000064400000006612146412132660017171 0ustar00 'createTimeRange', 'creatorIds' => 'creatorIds', 'dentryCategories' => 'dentryCategories', 'maxResults' => 'maxResults', 'modifierIds' => 'modifierIds', 'nextToken' => 'nextToken', 'visitTimeRange' => 'visitTimeRange', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTimeRange) { $res['createTimeRange'] = null !== $this->createTimeRange ? $this->createTimeRange->toMap() : null; } if (null !== $this->creatorIds) { $res['creatorIds'] = $this->creatorIds; } if (null !== $this->dentryCategories) { $res['dentryCategories'] = $this->dentryCategories; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->modifierIds) { $res['modifierIds'] = $this->modifierIds; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->visitTimeRange) { $res['visitTimeRange'] = null !== $this->visitTimeRange ? $this->visitTimeRange->toMap() : null; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTimeRange'])) { $model->createTimeRange = createTimeRange::fromMap($map['createTimeRange']); } if (isset($map['creatorIds'])) { if (!empty($map['creatorIds'])) { $model->creatorIds = $map['creatorIds']; } } if (isset($map['dentryCategories'])) { if (!empty($map['dentryCategories'])) { $model->dentryCategories = $map['dentryCategories']; } } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['modifierIds'])) { if (!empty($map['modifierIds'])) { $model->modifierIds = $map['modifierIds']; } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['visitTimeRange'])) { $model->visitTimeRange = visitTimeRange::fromMap($map['visitTimeRange']); } return $model; } } src/storage_2_0/Models/SearchDentriesRequest/option/createTimeRange.php000064400000002265146412132660022230 0ustar00 '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 createTimeRange */ 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/storage_2_0/Models/SearchDentriesRequest/option/visitTimeRange.php000064400000002263146412132660022121 0ustar00 '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 visitTimeRange */ 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/storage_2_0/Models/SearchDentriesResponse.php000064400000002725146412132660016030 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchDentriesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchDentriesResponseBody::fromMap($map['body']); } return $model; } } src/storage_2_0/Models/SearchDentriesResponseBody.php000064400000003302146412132660016636 0ustar00 'items', 'nextToken' => 'nextToken', ]; 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->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return SearchDentriesResponseBody */ 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['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/storage_2_0/Models/SearchDentriesResponseBody/items.php000064400000003777146412132660017777 0ustar00 'creator', 'dentryUuid' => 'dentryUuid', 'modifier' => 'modifier', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creator) { $res['creator'] = null !== $this->creator ? $this->creator->toMap() : null; } if (null !== $this->dentryUuid) { $res['dentryUuid'] = $this->dentryUuid; } if (null !== $this->modifier) { $res['modifier'] = null !== $this->modifier ? $this->modifier->toMap() : null; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return items */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creator'])) { $model->creator = creator::fromMap($map['creator']); } if (isset($map['dentryUuid'])) { $model->dentryUuid = $map['dentryUuid']; } if (isset($map['modifier'])) { $model->modifier = modifier::fromMap($map['modifier']); } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/storage_2_0/Models/SearchDentriesResponseBody/items/creator.php000064400000002170146412132660021420 0ustar00 '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 creator */ 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/storage_2_0/Models/SearchDentriesResponseBody/items/modifier.php000064400000002172146412132660021561 0ustar00 '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 modifier */ 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/storage_2_0/Models/SearchWorkspacesHeaders.php000064400000002337146412132660016150 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchWorkspacesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_2_0/Models/SearchWorkspacesRequest.php000064400000003123146412132660016217 0ustar00 'keyword', 'option' => 'option', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->keyword) { $res['keyword'] = $this->keyword; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return SearchWorkspacesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['keyword'])) { $model->keyword = $map['keyword']; } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/storage_2_0/Models/SearchWorkspacesRequest/option.php000064400000002265146412132660017535 0ustar00 '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 option */ 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/storage_2_0/Models/SearchWorkspacesResponse.php000064400000002735146412132660016375 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchWorkspacesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchWorkspacesResponseBody::fromMap($map['body']); } return $model; } } src/storage_2_0/Models/SearchWorkspacesResponseBody.php000064400000003310146412132660017201 0ustar00 'items', 'nextToken' => 'nextToken', ]; 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->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return SearchWorkspacesResponseBody */ 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['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/storage_2_0/Models/SearchWorkspacesResponseBody/items.php000064400000002713146412132660020330 0ustar00 'name', 'url' => 'url', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return items */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/storage_2_0/Models/SetPermissionInheritanceHeaders.php000064400000002357146412132660017661 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SetPermissionInheritanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_2_0/Models/SetPermissionInheritanceRequest.php000064400000002317146412132660017732 0ustar00 'inheritance', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->inheritance) { $res['inheritance'] = $this->inheritance; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return SetPermissionInheritanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['inheritance'])) { $model->inheritance = $map['inheritance']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_2_0/Models/SetPermissionInheritanceResponse.php000064400000002775146412132660020110 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SetPermissionInheritanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SetPermissionInheritanceResponseBody::fromMap($map['body']); } return $model; } } src/storage_2_0/Models/SetPermissionInheritanceResponseBody.php000064400000001565146412132660020722 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SetPermissionInheritanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/storage_2_0/Models/UpdatePermissionHeaders.php000064400000002337146412132660016174 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdatePermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/storage_2_0/Models/UpdatePermissionRequest.php000064400000004616146412132660016253 0ustar00 'members', 'option' => 'option', 'roleId' => 'roleId', 'unionId' => 'unionId', ]; 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; } } } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return UpdatePermissionRequest */ 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; } } } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/storage_2_0/Models/UpdatePermissionRequest/members.php000064400000002570146412132660017702 0ustar00 'corpId', 'id' => 'id', 'type' => 'type', ]; 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->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return members */ 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['type'])) { $model->type = $map['type']; } return $model; } } src/storage_2_0/Models/UpdatePermissionRequest/option.php000064400000001531146412132660017554 0ustar00 'duration', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } return $model; } } src/storage_2_0/Models/UpdatePermissionResponse.php000064400000002735146412132660016421 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdatePermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdatePermissionResponseBody::fromMap($map['body']); } return $model; } } src/storage_2_0/Models/UpdatePermissionResponseBody.php000064400000001545146412132660017235 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdatePermissionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/swform_1_0/Dingtalk.php000064400000017605146412132660011573 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $formInstanceId * @param GetFormInstanceRequest $request * @param GetFormInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return GetFormInstanceResponse */ public function getFormInstanceWithOptions($formInstanceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizType)) { $query['bizType'] = $request->bizType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetFormInstance', 'version' => 'swform_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/swform/instances/' . $formInstanceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFormInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $formInstanceId * @param GetFormInstanceRequest $request * * @return GetFormInstanceResponse */ public function getFormInstance($formInstanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetFormInstanceHeaders([]); return $this->getFormInstanceWithOptions($formInstanceId, $request, $headers, $runtime); } /** * @param string $formCode * @param ListFormInstancesRequest $request * @param ListFormInstancesHeaders $headers * @param RuntimeOptions $runtime * * @return ListFormInstancesResponse */ public function listFormInstancesWithOptions($formCode, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->actionDate)) { $query['actionDate'] = $request->actionDate; } if (!Utils::isUnset($request->bizType)) { $query['bizType'] = $request->bizType; } 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' => 'ListFormInstances', 'version' => 'swform_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/swform/forms/' . $formCode . '/instances', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListFormInstancesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $formCode * @param ListFormInstancesRequest $request * * @return ListFormInstancesResponse */ public function listFormInstances($formCode, $request) { $runtime = new RuntimeOptions([]); $headers = new ListFormInstancesHeaders([]); return $this->listFormInstancesWithOptions($formCode, $request, $headers, $runtime); } /** * @param ListFormSchemasByCreatorRequest $request * @param ListFormSchemasByCreatorHeaders $headers * @param RuntimeOptions $runtime * * @return ListFormSchemasByCreatorResponse */ public function listFormSchemasByCreatorWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizType)) { $query['bizType'] = $request->bizType; } if (!Utils::isUnset($request->creator)) { $query['creator'] = $request->creator; } 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' => 'ListFormSchemasByCreator', 'version' => 'swform_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/swform/users/forms', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListFormSchemasByCreatorResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListFormSchemasByCreatorRequest $request * * @return ListFormSchemasByCreatorResponse */ public function listFormSchemasByCreator($request) { $runtime = new RuntimeOptions([]); $headers = new ListFormSchemasByCreatorHeaders([]); return $this->listFormSchemasByCreatorWithOptions($request, $headers, $runtime); } } src/swform_1_0/Models/GetFormInstanceHeaders.php000064400000002334146412132660015576 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFormInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/swform_1_0/Models/GetFormInstanceRequest.php000064400000001524146412132660015653 0ustar00 'bizType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } return $res; } /** * @param array $map * * @return GetFormInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } return $model; } } src/swform_1_0/Models/GetFormInstanceResponse.php000064400000002730146412132660016021 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFormInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFormInstanceResponseBody::fromMap($map['body']); } return $model; } } src/swform_1_0/Models/GetFormInstanceResponseBody.php000064400000002400146412132660016631 0ustar00 '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 GetFormInstanceResponseBody */ 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/swform_1_0/Models/GetFormInstanceResponseBody/result.php000064400000005752146412132660020164 0ustar00 'createTime', 'creator' => 'creator', 'formCode' => 'formCode', 'forms' => 'forms', 'modifyTime' => 'modifyTime', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->forms) { $res['forms'] = []; if (null !== $this->forms && \is_array($this->forms)) { $n = 0; foreach ($this->forms as $item) { $res['forms'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } 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['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['forms'])) { if (!empty($map['forms'])) { $model->forms = []; $n = 0; foreach ($map['forms'] as $item) { $model->forms[$n++] = null !== $item ? forms::fromMap($item) : $item; } } } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/swform_1_0/Models/GetFormInstanceResponseBody/result/forms.php000064400000002643146412132660021306 0ustar00 '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 forms */ 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/swform_1_0/Models/ListFormInstancesHeaders.php000064400000002340146412132660016152 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListFormInstancesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/swform_1_0/Models/ListFormInstancesRequest.php000064400000003470146412132660016234 0ustar00 'actionDate', 'bizType' => 'bizType', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionDate) { $res['actionDate'] = $this->actionDate; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListFormInstancesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionDate'])) { $model->actionDate = $map['actionDate']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/swform_1_0/Models/ListFormInstancesResponse.php000064400000002740146412132660016401 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListFormInstancesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListFormInstancesResponseBody::fromMap($map['body']); } return $model; } } src/swform_1_0/Models/ListFormInstancesResponseBody.php000064400000002352146412132660017216 0ustar00 '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 ListFormInstancesResponseBody */ 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/swform_1_0/Models/ListFormInstancesResponseBody/result.php000064400000003732146412132660020537 0ustar00 '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 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['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/swform_1_0/Models/ListFormInstancesResponseBody/result/list_.php000064400000012473146412132660021653 0ustar00 'createTime', 'formCode' => 'formCode', 'formInstanceId' => 'formInstanceId', 'forms' => 'forms', 'modifyTime' => 'modifyTime', 'studentClassId' => 'studentClassId', 'studentClassName' => 'studentClassName', 'studentName' => 'studentName', 'studentUserId' => 'studentUserId', 'submitterUserId' => 'submitterUserId', 'submitterUserName' => 'submitterUserName', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } if (null !== $this->forms) { $res['forms'] = []; if (null !== $this->forms && \is_array($this->forms)) { $n = 0; foreach ($this->forms as $item) { $res['forms'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->studentClassId) { $res['studentClassId'] = $this->studentClassId; } if (null !== $this->studentClassName) { $res['studentClassName'] = $this->studentClassName; } if (null !== $this->studentName) { $res['studentName'] = $this->studentName; } if (null !== $this->studentUserId) { $res['studentUserId'] = $this->studentUserId; } if (null !== $this->submitterUserId) { $res['submitterUserId'] = $this->submitterUserId; } if (null !== $this->submitterUserName) { $res['submitterUserName'] = $this->submitterUserName; } 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['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } if (isset($map['forms'])) { if (!empty($map['forms'])) { $model->forms = []; $n = 0; foreach ($map['forms'] as $item) { $model->forms[$n++] = null !== $item ? forms::fromMap($item) : $item; } } } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['studentClassId'])) { $model->studentClassId = $map['studentClassId']; } if (isset($map['studentClassName'])) { $model->studentClassName = $map['studentClassName']; } if (isset($map['studentName'])) { $model->studentName = $map['studentName']; } if (isset($map['studentUserId'])) { $model->studentUserId = $map['studentUserId']; } if (isset($map['submitterUserId'])) { $model->submitterUserId = $map['submitterUserId']; } if (isset($map['submitterUserName'])) { $model->submitterUserName = $map['submitterUserName']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/swform_1_0/Models/ListFormInstancesResponseBody/result/list_/forms.php000064400000002653146412132660023000 0ustar00 '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 forms */ 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/swform_1_0/Models/ListFormSchemasByCreatorHeaders.php000064400000002356146412132660017430 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListFormSchemasByCreatorHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/swform_1_0/Models/ListFormSchemasByCreatorRequest.php000064400000003453146412132660017504 0ustar00 'bizType', 'creator' => 'creator', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListFormSchemasByCreatorRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/swform_1_0/Models/ListFormSchemasByCreatorResponse.php000064400000002774146412132660017657 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListFormSchemasByCreatorResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListFormSchemasByCreatorResponseBody::fromMap($map['body']); } return $model; } } src/swform_1_0/Models/ListFormSchemasByCreatorResponseBody.php000064400000002433146412132660020465 0ustar00 '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 ListFormSchemasByCreatorResponseBody */ 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/swform_1_0/Models/ListFormSchemasByCreatorResponseBody/result.php000064400000003750146412132660022006 0ustar00 '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 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['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/swform_1_0/Models/ListFormSchemasByCreatorResponseBody/result/list_.php000064400000004336146412132660023121 0ustar00 'creator', 'formCode' => 'formCode', 'memo' => 'memo', 'name' => 'name', 'setting' => 'setting', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->memo) { $res['memo'] = $this->memo; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->setting) { $res['setting'] = null !== $this->setting ? $this->setting->toMap() : null; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['memo'])) { $model->memo = $map['memo']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['setting'])) { $model->setting = setting::fromMap($map['setting']); } return $model; } } src/swform_1_0/Models/ListFormSchemasByCreatorResponseBody/result/list_/setting.php000064400000005373146412132660024600 0ustar00 'bizType', 'createTime' => 'createTime', 'endTime' => 'endTime', 'formType' => 'formType', 'loopDays' => 'loopDays', 'loopTime' => 'loopTime', 'stop' => 'stop', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->formType) { $res['formType'] = $this->formType; } if (null !== $this->loopDays) { $res['loopDays'] = $this->loopDays; } if (null !== $this->loopTime) { $res['loopTime'] = $this->loopTime; } if (null !== $this->stop) { $res['stop'] = $this->stop; } return $res; } /** * @param array $map * * @return setting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['formType'])) { $model->formType = $map['formType']; } if (isset($map['loopDays'])) { if (!empty($map['loopDays'])) { $model->loopDays = $map['loopDays']; } } if (isset($map['loopTime'])) { $model->loopTime = $map['loopTime']; } if (isset($map['stop'])) { $model->stop = $map['stop']; } return $model; } } src/todo_1_0/Dingtalk.php000064400000116770146412132660011226 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $unionId * @param CountTodoTasksRequest $request * @param CountTodoTasksHeaders $headers * @param RuntimeOptions $runtime * * @return CountTodoTasksResponse */ public function countTodoTasksWithOptions($unionId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->category)) { $body['category'] = $request->category; } if (!Utils::isUnset($request->fromDueTime)) { $body['fromDueTime'] = $request->fromDueTime; } if (!Utils::isUnset($request->isDone)) { $body['isDone'] = $request->isDone; } if (!Utils::isUnset($request->isRecycled)) { $body['isRecycled'] = $request->isRecycled; } if (!Utils::isUnset($request->roleTypes)) { $body['roleTypes'] = $request->roleTypes; } if (!Utils::isUnset($request->toDueTime)) { $body['toDueTime'] = $request->toDueTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CountTodoTasks', 'version' => 'todo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/todo/users/' . $unionId . '/tasks/count', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CountTodoTasksResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $unionId * @param CountTodoTasksRequest $request * * @return CountTodoTasksResponse */ public function countTodoTasks($unionId, $request) { $runtime = new RuntimeOptions([]); $headers = new CountTodoTasksHeaders([]); return $this->countTodoTasksWithOptions($unionId, $request, $headers, $runtime); } /** * @param CreatePersonalTodoTaskRequest $request * @param CreatePersonalTodoTaskHeaders $headers * @param RuntimeOptions $runtime * * @return CreatePersonalTodoTaskResponse */ public function createPersonalTodoTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->dueTime)) { $body['dueTime'] = $request->dueTime; } if (!Utils::isUnset($request->executorIds)) { $body['executorIds'] = $request->executorIds; } if (!Utils::isUnset($request->notifyConfigs)) { $body['notifyConfigs'] = $request->notifyConfigs; } if (!Utils::isUnset($request->participantIds)) { $body['participantIds'] = $request->participantIds; } if (!Utils::isUnset($request->subject)) { $body['subject'] = $request->subject; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreatePersonalTodoTask', 'version' => 'todo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/todo/users/me/personalTasks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreatePersonalTodoTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreatePersonalTodoTaskRequest $request * * @return CreatePersonalTodoTaskResponse */ public function createPersonalTodoTask($request) { $runtime = new RuntimeOptions([]); $headers = new CreatePersonalTodoTaskHeaders([]); return $this->createPersonalTodoTaskWithOptions($request, $headers, $runtime); } /** * @param string $unionId * @param CreateTodoTaskRequest $request * @param CreateTodoTaskHeaders $headers * @param RuntimeOptions $runtime * * @return CreateTodoTaskResponse */ public function createTodoTaskWithOptions($unionId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->actionList)) { $body['actionList'] = $request->actionList; } if (!Utils::isUnset($request->bizCategoryId)) { $body['bizCategoryId'] = $request->bizCategoryId; } if (!Utils::isUnset($request->contentFieldList)) { $body['contentFieldList'] = $request->contentFieldList; } if (!Utils::isUnset($request->creatorId)) { $body['creatorId'] = $request->creatorId; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->detailUrl)) { $body['detailUrl'] = $request->detailUrl; } if (!Utils::isUnset($request->dueTime)) { $body['dueTime'] = $request->dueTime; } if (!Utils::isUnset($request->executorIds)) { $body['executorIds'] = $request->executorIds; } if (!Utils::isUnset($request->isOnlyShowExecutor)) { $body['isOnlyShowExecutor'] = $request->isOnlyShowExecutor; } if (!Utils::isUnset($request->notifyConfigs)) { $body['notifyConfigs'] = $request->notifyConfigs; } if (!Utils::isUnset($request->participantIds)) { $body['participantIds'] = $request->participantIds; } if (!Utils::isUnset($request->priority)) { $body['priority'] = $request->priority; } if (!Utils::isUnset($request->sourceId)) { $body['sourceId'] = $request->sourceId; } if (!Utils::isUnset($request->subject)) { $body['subject'] = $request->subject; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CreateTodoTask', 'version' => 'todo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/todo/users/' . $unionId . '/tasks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateTodoTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $unionId * @param CreateTodoTaskRequest $request * * @return CreateTodoTaskResponse */ public function createTodoTask($unionId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateTodoTaskHeaders([]); return $this->createTodoTaskWithOptions($unionId, $request, $headers, $runtime); } /** * @param string $unionId * @param CreateTodoTypeConfigRequest $request * @param CreateTodoTypeConfigHeaders $headers * @param RuntimeOptions $runtime * * @return CreateTodoTypeConfigResponse */ public function createTodoTypeConfigWithOptions($unionId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->actionList)) { $body['actionList'] = $request->actionList; } if (!Utils::isUnset($request->cardType)) { $body['cardType'] = $request->cardType; } if (!Utils::isUnset($request->contentFieldList)) { $body['contentFieldList'] = $request->contentFieldList; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->pcDetailUrlOpenMode)) { $body['pcDetailUrlOpenMode'] = $request->pcDetailUrlOpenMode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'CreateTodoTypeConfig', 'version' => 'todo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/todo/users/' . $unionId . '/configs/types', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateTodoTypeConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $unionId * @param CreateTodoTypeConfigRequest $request * * @return CreateTodoTypeConfigResponse */ public function createTodoTypeConfig($unionId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateTodoTypeConfigHeaders([]); return $this->createTodoTypeConfigWithOptions($unionId, $request, $headers, $runtime); } /** * @param string $unionId * @param string $taskId * @param DeleteTodoTaskRequest $request * @param DeleteTodoTaskHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteTodoTaskResponse */ public function deleteTodoTaskWithOptions($unionId, $taskId, $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' => 'DeleteTodoTask', 'version' => 'todo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/todo/users/' . $unionId . '/tasks/' . $taskId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteTodoTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $unionId * @param string $taskId * @param DeleteTodoTaskRequest $request * * @return DeleteTodoTaskResponse */ public function deleteTodoTask($unionId, $taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteTodoTaskHeaders([]); return $this->deleteTodoTaskWithOptions($unionId, $taskId, $request, $headers, $runtime); } /** * @param string $unionId * @param string $taskId * @param GetTodoTaskHeaders $headers * @param RuntimeOptions $runtime * * @return GetTodoTaskResponse */ public function getTodoTaskWithOptions($unionId, $taskId, $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' => 'GetTodoTask', 'version' => 'todo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/todo/users/' . $unionId . '/tasks/' . $taskId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTodoTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $unionId * @param string $taskId * * @return GetTodoTaskResponse */ public function getTodoTask($unionId, $taskId) { $runtime = new RuntimeOptions([]); $headers = new GetTodoTaskHeaders([]); return $this->getTodoTaskWithOptions($unionId, $taskId, $headers, $runtime); } /** * @param string $unionId * @param string $sourceId * @param GetTodoTaskBySourceIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetTodoTaskBySourceIdResponse */ public function getTodoTaskBySourceIdWithOptions($unionId, $sourceId, $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' => 'GetTodoTaskBySourceId', 'version' => 'todo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/todo/users/' . $unionId . '/tasks/sources/' . $sourceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTodoTaskBySourceIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $unionId * @param string $sourceId * * @return GetTodoTaskBySourceIdResponse */ public function getTodoTaskBySourceId($unionId, $sourceId) { $runtime = new RuntimeOptions([]); $headers = new GetTodoTaskBySourceIdHeaders([]); return $this->getTodoTaskBySourceIdWithOptions($unionId, $sourceId, $headers, $runtime); } /** * @param string $taskId * @param string $unionId * @param GetTodoTaskDetailHeaders $headers * @param RuntimeOptions $runtime * * @return GetTodoTaskDetailResponse */ public function getTodoTaskDetailWithOptions($taskId, $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' => 'GetTodoTaskDetail', 'version' => 'todo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/todo/exclusive/users/' . $unionId . '/tasks/' . $taskId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTodoTaskDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskId * @param string $unionId * * @return GetTodoTaskDetailResponse */ public function getTodoTaskDetail($taskId, $unionId) { $runtime = new RuntimeOptions([]); $headers = new GetTodoTaskDetailHeaders([]); return $this->getTodoTaskDetailWithOptions($taskId, $unionId, $headers, $runtime); } /** * @param string $unionId * @param string $cardTypeId * @param GetTodoTypeConfigHeaders $headers * @param RuntimeOptions $runtime * * @return GetTodoTypeConfigResponse */ public function getTodoTypeConfigWithOptions($unionId, $cardTypeId, $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' => 'GetTodoTypeConfig', 'version' => 'todo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/todo/users/' . $unionId . '/configs/types/' . $cardTypeId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTodoTypeConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $unionId * @param string $cardTypeId * * @return GetTodoTypeConfigResponse */ public function getTodoTypeConfig($unionId, $cardTypeId) { $runtime = new RuntimeOptions([]); $headers = new GetTodoTypeConfigHeaders([]); return $this->getTodoTypeConfigWithOptions($unionId, $cardTypeId, $headers, $runtime); } /** * @param string $unionId * @param QueryOrgTodoByUserRequest $request * @param QueryOrgTodoByUserHeaders $headers * @param RuntimeOptions $runtime * * @return QueryOrgTodoByUserResponse */ public function queryOrgTodoByUserWithOptions($unionId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->fromDueTime)) { $body['fromDueTime'] = $request->fromDueTime; } if (!Utils::isUnset($request->isDone)) { $body['isDone'] = $request->isDone; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->orderBy)) { $body['orderBy'] = $request->orderBy; } if (!Utils::isUnset($request->orderDirection)) { $body['orderDirection'] = $request->orderDirection; } if (!Utils::isUnset($request->roleTypes)) { $body['roleTypes'] = $request->roleTypes; } if (!Utils::isUnset($request->subject)) { $body['subject'] = $request->subject; } if (!Utils::isUnset($request->toDueTime)) { $body['toDueTime'] = $request->toDueTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryOrgTodoByUser', 'version' => 'todo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/todo/users/' . $unionId . '/organizations/tasks/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryOrgTodoByUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $unionId * @param QueryOrgTodoByUserRequest $request * * @return QueryOrgTodoByUserResponse */ public function queryOrgTodoByUser($unionId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryOrgTodoByUserHeaders([]); return $this->queryOrgTodoByUserWithOptions($unionId, $request, $headers, $runtime); } /** * @param string $unionId * @param QueryOrgTodoTasksRequest $request * @param QueryOrgTodoTasksHeaders $headers * @param RuntimeOptions $runtime * * @return QueryOrgTodoTasksResponse */ public function queryOrgTodoTasksWithOptions($unionId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->isDone)) { $body['isDone'] = $request->isDone; } 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' => 'QueryOrgTodoTasks', 'version' => 'todo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/todo/users/' . $unionId . '/org/tasks/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryOrgTodoTasksResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $unionId * @param QueryOrgTodoTasksRequest $request * * @return QueryOrgTodoTasksResponse */ public function queryOrgTodoTasks($unionId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryOrgTodoTasksHeaders([]); return $this->queryOrgTodoTasksWithOptions($unionId, $request, $headers, $runtime); } /** * @param string $unionId * @param QueryTodoTasksRequest $request * @param QueryTodoTasksHeaders $headers * @param RuntimeOptions $runtime * * @return QueryTodoTasksResponse */ public function queryTodoTasksWithOptions($unionId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->category)) { $body['category'] = $request->category; } if (!Utils::isUnset($request->fromDueTime)) { $body['fromDueTime'] = $request->fromDueTime; } if (!Utils::isUnset($request->isDone)) { $body['isDone'] = $request->isDone; } if (!Utils::isUnset($request->isRecycled)) { $body['isRecycled'] = $request->isRecycled; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->orderBy)) { $body['orderBy'] = $request->orderBy; } if (!Utils::isUnset($request->orderDirection)) { $body['orderDirection'] = $request->orderDirection; } if (!Utils::isUnset($request->roleTypes)) { $body['roleTypes'] = $request->roleTypes; } if (!Utils::isUnset($request->toDueTime)) { $body['toDueTime'] = $request->toDueTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryTodoTasks', 'version' => 'todo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/todo/users/' . $unionId . '/tasks/list', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryTodoTasksResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $unionId * @param QueryTodoTasksRequest $request * * @return QueryTodoTasksResponse */ public function queryTodoTasks($unionId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryTodoTasksHeaders([]); return $this->queryTodoTasksWithOptions($unionId, $request, $headers, $runtime); } /** * @param string $unionId * @param string $taskId * @param UpdateTodoTaskRequest $request * @param UpdateTodoTaskHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateTodoTaskResponse */ public function updateTodoTaskWithOptions($unionId, $taskId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->done)) { $body['done'] = $request->done; } if (!Utils::isUnset($request->dueTime)) { $body['dueTime'] = $request->dueTime; } if (!Utils::isUnset($request->executorIds)) { $body['executorIds'] = $request->executorIds; } if (!Utils::isUnset($request->participantIds)) { $body['participantIds'] = $request->participantIds; } if (!Utils::isUnset($request->subject)) { $body['subject'] = $request->subject; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdateTodoTask', 'version' => 'todo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/todo/users/' . $unionId . '/tasks/' . $taskId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTodoTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $unionId * @param string $taskId * @param UpdateTodoTaskRequest $request * * @return UpdateTodoTaskResponse */ public function updateTodoTask($unionId, $taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTodoTaskHeaders([]); return $this->updateTodoTaskWithOptions($unionId, $taskId, $request, $headers, $runtime); } /** * @param string $unionId * @param string $taskId * @param UpdateTodoTaskExecutorStatusRequest $request * @param UpdateTodoTaskExecutorStatusHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateTodoTaskExecutorStatusResponse */ public function updateTodoTaskExecutorStatusWithOptions($unionId, $taskId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->executorStatusList)) { $body['executorStatusList'] = $request->executorStatusList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdateTodoTaskExecutorStatus', 'version' => 'todo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/todo/users/' . $unionId . '/tasks/' . $taskId . '/executorStatus', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTodoTaskExecutorStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $unionId * @param string $taskId * @param UpdateTodoTaskExecutorStatusRequest $request * * @return UpdateTodoTaskExecutorStatusResponse */ public function updateTodoTaskExecutorStatus($unionId, $taskId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTodoTaskExecutorStatusHeaders([]); return $this->updateTodoTaskExecutorStatusWithOptions($unionId, $taskId, $request, $headers, $runtime); } /** * @param string $unionId * @param string $cardTypeId * @param UpdateTodoTypeConfigRequest $request * @param UpdateTodoTypeConfigHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateTodoTypeConfigResponse */ public function updateTodoTypeConfigWithOptions($unionId, $cardTypeId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->actionList)) { $body['actionList'] = $request->actionList; } if (!Utils::isUnset($request->cardType)) { $body['cardType'] = $request->cardType; } if (!Utils::isUnset($request->contentFieldList)) { $body['contentFieldList'] = $request->contentFieldList; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->pcDetailUrlOpenMode)) { $body['pcDetailUrlOpenMode'] = $request->pcDetailUrlOpenMode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdateTodoTypeConfig', 'version' => 'todo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/todo/users/' . $unionId . '/configs/types/' . $cardTypeId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTodoTypeConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $unionId * @param string $cardTypeId * @param UpdateTodoTypeConfigRequest $request * * @return UpdateTodoTypeConfigResponse */ public function updateTodoTypeConfig($unionId, $cardTypeId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTodoTypeConfigHeaders([]); return $this->updateTodoTypeConfigWithOptions($unionId, $cardTypeId, $request, $headers, $runtime); } } src/todo_1_0/Models/CountTodoTasksHeaders.php000064400000002330146412132660015116 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CountTodoTasksHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/todo_1_0/Models/CountTodoTasksRequest.php000064400000004526146412132660015204 0ustar00 'category', 'fromDueTime' => 'fromDueTime', 'isDone' => 'isDone', 'isRecycled' => 'isRecycled', 'roleTypes' => 'roleTypes', 'toDueTime' => 'toDueTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->fromDueTime) { $res['fromDueTime'] = $this->fromDueTime; } if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->isRecycled) { $res['isRecycled'] = $this->isRecycled; } if (null !== $this->roleTypes) { $res['roleTypes'] = $this->roleTypes; } if (null !== $this->toDueTime) { $res['toDueTime'] = $this->toDueTime; } return $res; } /** * @param array $map * * @return CountTodoTasksRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['fromDueTime'])) { $model->fromDueTime = $map['fromDueTime']; } if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['isRecycled'])) { $model->isRecycled = $map['isRecycled']; } if (isset($map['roleTypes'])) { if (!empty($map['roleTypes'])) { $model->roleTypes = $map['roleTypes']; } } if (isset($map['toDueTime'])) { $model->toDueTime = $map['toDueTime']; } return $model; } } src/todo_1_0/Models/CountTodoTasksResponse.php000064400000002722146412132660015346 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CountTodoTasksResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CountTodoTasksResponseBody::fromMap($map['body']); } return $model; } } src/todo_1_0/Models/CountTodoTasksResponseBody.php000064400000001522146412132660016161 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CountTodoTasksResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/todo_1_0/Models/CreatePersonalTodoTaskHeaders.php000064400000002350146412132660016554 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreatePersonalTodoTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/todo_1_0/Models/CreatePersonalTodoTaskRequest.php000064400000005300146412132660016627 0ustar00 'description', 'dueTime' => 'dueTime', 'executorIds' => 'executorIds', 'notifyConfigs' => 'notifyConfigs', 'participantIds' => 'participantIds', 'subject' => 'subject', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->dueTime) { $res['dueTime'] = $this->dueTime; } if (null !== $this->executorIds) { $res['executorIds'] = $this->executorIds; } if (null !== $this->notifyConfigs) { $res['notifyConfigs'] = null !== $this->notifyConfigs ? $this->notifyConfigs->toMap() : null; } if (null !== $this->participantIds) { $res['participantIds'] = $this->participantIds; } if (null !== $this->subject) { $res['subject'] = $this->subject; } return $res; } /** * @param array $map * * @return CreatePersonalTodoTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['dueTime'])) { $model->dueTime = $map['dueTime']; } if (isset($map['executorIds'])) { if (!empty($map['executorIds'])) { $model->executorIds = $map['executorIds']; } } if (isset($map['notifyConfigs'])) { $model->notifyConfigs = notifyConfigs::fromMap($map['notifyConfigs']); } if (isset($map['participantIds'])) { if (!empty($map['participantIds'])) { $model->participantIds = $map['participantIds']; } } if (isset($map['subject'])) { $model->subject = $map['subject']; } return $model; } } src/todo_1_0/Models/CreatePersonalTodoTaskRequest/notifyConfigs.php000064400000001543146412132660021455 0ustar00 'dingNotify', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingNotify) { $res['dingNotify'] = $this->dingNotify; } return $res; } /** * @param array $map * * @return notifyConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingNotify'])) { $model->dingNotify = $map['dingNotify']; } return $model; } } src/todo_1_0/Models/CreatePersonalTodoTaskResponse.php000064400000002762146412132660017006 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreatePersonalTodoTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreatePersonalTodoTaskResponseBody::fromMap($map['body']); } return $model; } } src/todo_1_0/Models/CreatePersonalTodoTaskResponseBody.php000064400000002210146412132660017610 0ustar00 'createdTime', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createdTime) { $res['createdTime'] = $this->createdTime; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return CreatePersonalTodoTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createdTime'])) { $model->createdTime = $map['createdTime']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/todo_1_0/Models/CreateTodoTaskHeaders.php000064400000002330146412132660015046 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateTodoTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/todo_1_0/Models/CreateTodoTaskRequest.php000064400000015654146412132660015140 0ustar00 'actionList', 'bizCategoryId' => 'bizCategoryId', 'contentFieldList' => 'contentFieldList', 'creatorId' => 'creatorId', 'description' => 'description', 'detailUrl' => 'detailUrl', 'dueTime' => 'dueTime', 'executorIds' => 'executorIds', 'isOnlyShowExecutor' => 'isOnlyShowExecutor', 'notifyConfigs' => 'notifyConfigs', 'participantIds' => 'participantIds', 'priority' => 'priority', 'sourceId' => 'sourceId', 'subject' => 'subject', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionList) { $res['actionList'] = []; if (null !== $this->actionList && \is_array($this->actionList)) { $n = 0; foreach ($this->actionList as $item) { $res['actionList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->bizCategoryId) { $res['bizCategoryId'] = $this->bizCategoryId; } if (null !== $this->contentFieldList) { $res['contentFieldList'] = []; if (null !== $this->contentFieldList && \is_array($this->contentFieldList)) { $n = 0; foreach ($this->contentFieldList as $item) { $res['contentFieldList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->detailUrl) { $res['detailUrl'] = null !== $this->detailUrl ? $this->detailUrl->toMap() : null; } if (null !== $this->dueTime) { $res['dueTime'] = $this->dueTime; } if (null !== $this->executorIds) { $res['executorIds'] = $this->executorIds; } if (null !== $this->isOnlyShowExecutor) { $res['isOnlyShowExecutor'] = $this->isOnlyShowExecutor; } if (null !== $this->notifyConfigs) { $res['notifyConfigs'] = null !== $this->notifyConfigs ? $this->notifyConfigs->toMap() : null; } if (null !== $this->participantIds) { $res['participantIds'] = $this->participantIds; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->sourceId) { $res['sourceId'] = $this->sourceId; } if (null !== $this->subject) { $res['subject'] = $this->subject; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return CreateTodoTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionList'])) { if (!empty($map['actionList'])) { $model->actionList = []; $n = 0; foreach ($map['actionList'] as $item) { $model->actionList[$n++] = null !== $item ? actionList::fromMap($item) : $item; } } } if (isset($map['bizCategoryId'])) { $model->bizCategoryId = $map['bizCategoryId']; } if (isset($map['contentFieldList'])) { if (!empty($map['contentFieldList'])) { $model->contentFieldList = []; $n = 0; foreach ($map['contentFieldList'] as $item) { $model->contentFieldList[$n++] = null !== $item ? contentFieldList::fromMap($item) : $item; } } } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['detailUrl'])) { $model->detailUrl = detailUrl::fromMap($map['detailUrl']); } if (isset($map['dueTime'])) { $model->dueTime = $map['dueTime']; } if (isset($map['executorIds'])) { if (!empty($map['executorIds'])) { $model->executorIds = $map['executorIds']; } } if (isset($map['isOnlyShowExecutor'])) { $model->isOnlyShowExecutor = $map['isOnlyShowExecutor']; } if (isset($map['notifyConfigs'])) { $model->notifyConfigs = notifyConfigs::fromMap($map['notifyConfigs']); } if (isset($map['participantIds'])) { if (!empty($map['participantIds'])) { $model->participantIds = $map['participantIds']; } } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['sourceId'])) { $model->sourceId = $map['sourceId']; } if (isset($map['subject'])) { $model->subject = $map['subject']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/todo_1_0/Models/CreateTodoTaskRequest/actionList.php000064400000005234146412132660017242 0ustar00 'actionKey', 'actionType' => 'actionType', 'buttonStyleType' => 'buttonStyleType', 'param' => 'param', 'pcUrl' => 'pcUrl', 'title' => 'title', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionKey) { $res['actionKey'] = $this->actionKey; } if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->buttonStyleType) { $res['buttonStyleType'] = $this->buttonStyleType; } if (null !== $this->param) { $res['param'] = null !== $this->param ? $this->param->toMap() : null; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return actionList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionKey'])) { $model->actionKey = $map['actionKey']; } if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['buttonStyleType'])) { $model->buttonStyleType = $map['buttonStyleType']; } if (isset($map['param'])) { $model->param = param::fromMap($map['param']); } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/todo_1_0/Models/CreateTodoTaskRequest/actionList/param.php000064400000002061146412132660020335 0ustar00 'body', 'header' => 'header', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = $this->body; } if (null !== $this->header) { $res['header'] = $this->header; } return $res; } /** * @param array $map * * @return param */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { $model->body = $map['body']; } if (isset($map['header'])) { $model->header = $map['header']; } return $model; } } src/todo_1_0/Models/CreateTodoTaskRequest/contentFieldList.php000064400000002203146412132660020374 0ustar00 'fieldKey', 'fieldValue' => 'fieldValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldKey) { $res['fieldKey'] = $this->fieldKey; } if (null !== $this->fieldValue) { $res['fieldValue'] = $this->fieldValue; } return $res; } /** * @param array $map * * @return contentFieldList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldKey'])) { $model->fieldKey = $map['fieldKey']; } if (isset($map['fieldValue'])) { $model->fieldValue = $map['fieldValue']; } return $model; } } src/todo_1_0/Models/CreateTodoTaskRequest/detailUrl.php000064400000002065146412132660017055 0ustar00 'appUrl', 'pcUrl' => 'pcUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUrl) { $res['appUrl'] = $this->appUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } return $res; } /** * @param array $map * * @return detailUrl */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUrl'])) { $model->appUrl = $map['appUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } return $model; } } src/todo_1_0/Models/CreateTodoTaskRequest/notifyConfigs.php000064400000001533146412132660017750 0ustar00 'dingNotify', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingNotify) { $res['dingNotify'] = $this->dingNotify; } return $res; } /** * @param array $map * * @return notifyConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingNotify'])) { $model->dingNotify = $map['dingNotify']; } return $model; } } src/todo_1_0/Models/CreateTodoTaskResponse.php000064400000002722146412132660015276 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTodoTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateTodoTaskResponseBody::fromMap($map['body']); } return $model; } } src/todo_1_0/Models/CreateTodoTaskResponseBody.php000064400000020452146412132660016114 0ustar00 'bizTag', 'contentFieldList' => 'contentFieldList', 'createdTime' => 'createdTime', 'creatorId' => 'creatorId', 'description' => 'description', 'detailUrl' => 'detailUrl', 'done' => 'done', 'dueTime' => 'dueTime', 'executorIds' => 'executorIds', 'finishTime' => 'finishTime', 'id' => 'id', 'isOnlyShowExecutor' => 'isOnlyShowExecutor', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'notifyConfigs' => 'notifyConfigs', 'participantIds' => 'participantIds', 'priority' => 'priority', 'requestId' => 'requestId', 'source' => 'source', 'sourceId' => 'sourceId', 'startTime' => 'startTime', 'subject' => 'subject', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTag) { $res['bizTag'] = $this->bizTag; } if (null !== $this->contentFieldList) { $res['contentFieldList'] = []; if (null !== $this->contentFieldList && \is_array($this->contentFieldList)) { $n = 0; foreach ($this->contentFieldList as $item) { $res['contentFieldList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->createdTime) { $res['createdTime'] = $this->createdTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->detailUrl) { $res['detailUrl'] = null !== $this->detailUrl ? $this->detailUrl->toMap() : null; } if (null !== $this->done) { $res['done'] = $this->done; } if (null !== $this->dueTime) { $res['dueTime'] = $this->dueTime; } if (null !== $this->executorIds) { $res['executorIds'] = $this->executorIds; } if (null !== $this->finishTime) { $res['finishTime'] = $this->finishTime; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOnlyShowExecutor) { $res['isOnlyShowExecutor'] = $this->isOnlyShowExecutor; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->modifierId) { $res['modifierId'] = $this->modifierId; } if (null !== $this->notifyConfigs) { $res['notifyConfigs'] = null !== $this->notifyConfigs ? $this->notifyConfigs->toMap() : null; } if (null !== $this->participantIds) { $res['participantIds'] = $this->participantIds; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->sourceId) { $res['sourceId'] = $this->sourceId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->subject) { $res['subject'] = $this->subject; } return $res; } /** * @param array $map * * @return CreateTodoTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTag'])) { $model->bizTag = $map['bizTag']; } if (isset($map['contentFieldList'])) { if (!empty($map['contentFieldList'])) { $model->contentFieldList = []; $n = 0; foreach ($map['contentFieldList'] as $item) { $model->contentFieldList[$n++] = null !== $item ? contentFieldList::fromMap($item) : $item; } } } if (isset($map['createdTime'])) { $model->createdTime = $map['createdTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['detailUrl'])) { $model->detailUrl = detailUrl::fromMap($map['detailUrl']); } if (isset($map['done'])) { $model->done = $map['done']; } if (isset($map['dueTime'])) { $model->dueTime = $map['dueTime']; } if (isset($map['executorIds'])) { if (!empty($map['executorIds'])) { $model->executorIds = $map['executorIds']; } } if (isset($map['finishTime'])) { $model->finishTime = $map['finishTime']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOnlyShowExecutor'])) { $model->isOnlyShowExecutor = $map['isOnlyShowExecutor']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['modifierId'])) { $model->modifierId = $map['modifierId']; } if (isset($map['notifyConfigs'])) { $model->notifyConfigs = notifyConfigs::fromMap($map['notifyConfigs']); } if (isset($map['participantIds'])) { if (!empty($map['participantIds'])) { $model->participantIds = $map['participantIds']; } } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['sourceId'])) { $model->sourceId = $map['sourceId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['subject'])) { $model->subject = $map['subject']; } return $model; } } src/todo_1_0/Models/CreateTodoTaskResponseBody/contentFieldList.php000064400000002210146412132660021356 0ustar00 'fieldKey', 'fieldValue' => 'fieldValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldKey) { $res['fieldKey'] = $this->fieldKey; } if (null !== $this->fieldValue) { $res['fieldValue'] = $this->fieldValue; } return $res; } /** * @param array $map * * @return contentFieldList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldKey'])) { $model->fieldKey = $map['fieldKey']; } if (isset($map['fieldValue'])) { $model->fieldValue = $map['fieldValue']; } return $model; } } src/todo_1_0/Models/CreateTodoTaskResponseBody/detailUrl.php000064400000002072146412132660020037 0ustar00 'appUrl', 'pcUrl' => 'pcUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUrl) { $res['appUrl'] = $this->appUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } return $res; } /** * @param array $map * * @return detailUrl */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUrl'])) { $model->appUrl = $map['appUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } return $model; } } src/todo_1_0/Models/CreateTodoTaskResponseBody/notifyConfigs.php000064400000001540146412132660020732 0ustar00 'dingNotify', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingNotify) { $res['dingNotify'] = $this->dingNotify; } return $res; } /** * @param array $map * * @return notifyConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingNotify'])) { $model->dingNotify = $map['dingNotify']; } return $model; } } src/todo_1_0/Models/CreateTodoTypeConfigHeaders.php000064400000002344146412132660016220 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateTodoTypeConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/todo_1_0/Models/CreateTodoTypeConfigRequest.php000064400000010021146412132660016264 0ustar00 'actionList', 'cardType' => 'cardType', 'contentFieldList' => 'contentFieldList', 'description' => 'description', 'icon' => 'icon', 'pcDetailUrlOpenMode' => 'pcDetailUrlOpenMode', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionList) { $res['actionList'] = []; if (null !== $this->actionList && \is_array($this->actionList)) { $n = 0; foreach ($this->actionList as $item) { $res['actionList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->cardType) { $res['cardType'] = $this->cardType; } if (null !== $this->contentFieldList) { $res['contentFieldList'] = []; if (null !== $this->contentFieldList && \is_array($this->contentFieldList)) { $n = 0; foreach ($this->contentFieldList as $item) { $res['contentFieldList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->pcDetailUrlOpenMode) { $res['pcDetailUrlOpenMode'] = $this->pcDetailUrlOpenMode; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return CreateTodoTypeConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionList'])) { if (!empty($map['actionList'])) { $model->actionList = []; $n = 0; foreach ($map['actionList'] as $item) { $model->actionList[$n++] = null !== $item ? actionList::fromMap($item) : $item; } } } if (isset($map['cardType'])) { $model->cardType = $map['cardType']; } if (isset($map['contentFieldList'])) { if (!empty($map['contentFieldList'])) { $model->contentFieldList = []; $n = 0; foreach ($map['contentFieldList'] as $item) { $model->contentFieldList[$n++] = null !== $item ? contentFieldList::fromMap($item) : $item; } } } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['pcDetailUrlOpenMode'])) { $model->pcDetailUrlOpenMode = $map['pcDetailUrlOpenMode']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/todo_1_0/Models/CreateTodoTypeConfigRequest/actionList.php000064400000004017146412132660020405 0ustar00 'actionKey', 'actionType' => 'actionType', 'buttonStyleType' => 'buttonStyleType', 'nameI18n' => 'nameI18n', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionKey) { $res['actionKey'] = $this->actionKey; } if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->buttonStyleType) { $res['buttonStyleType'] = $this->buttonStyleType; } if (null !== $this->nameI18n) { $res['nameI18n'] = $this->nameI18n; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return actionList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionKey'])) { $model->actionKey = $map['actionKey']; } if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['buttonStyleType'])) { $model->buttonStyleType = $map['buttonStyleType']; } if (isset($map['nameI18n'])) { $model->nameI18n = $map['nameI18n']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/todo_1_0/Models/CreateTodoTypeConfigRequest/contentFieldList.php000064400000002641146412132660021547 0ustar00 'fieldKey', 'fieldType' => 'fieldType', 'nameI18n' => 'nameI18n', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldKey) { $res['fieldKey'] = $this->fieldKey; } if (null !== $this->fieldType) { $res['fieldType'] = $this->fieldType; } if (null !== $this->nameI18n) { $res['nameI18n'] = $this->nameI18n; } return $res; } /** * @param array $map * * @return contentFieldList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldKey'])) { $model->fieldKey = $map['fieldKey']; } if (isset($map['fieldType'])) { $model->fieldType = $map['fieldType']; } if (isset($map['nameI18n'])) { $model->nameI18n = $map['nameI18n']; } return $model; } } src/todo_1_0/Models/CreateTodoTypeConfigResponse.php000064400000002752146412132660016446 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTodoTypeConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateTodoTypeConfigResponseBody::fromMap($map['body']); } return $model; } } src/todo_1_0/Models/CreateTodoTypeConfigResponseBody.php000064400000013451146412132660017262 0ustar00 'actionList', 'bizTag' => 'bizTag', 'cardType' => 'cardType', 'contentFieldList' => 'contentFieldList', 'createdTime' => 'createdTime', 'creatorId' => 'creatorId', 'description' => 'description', 'icon' => 'icon', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'pcDetailUrlOpenMode' => 'pcDetailUrlOpenMode', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionList) { $res['actionList'] = []; if (null !== $this->actionList && \is_array($this->actionList)) { $n = 0; foreach ($this->actionList as $item) { $res['actionList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->bizTag) { $res['bizTag'] = $this->bizTag; } if (null !== $this->cardType) { $res['cardType'] = $this->cardType; } if (null !== $this->contentFieldList) { $res['contentFieldList'] = []; if (null !== $this->contentFieldList && \is_array($this->contentFieldList)) { $n = 0; foreach ($this->contentFieldList as $item) { $res['contentFieldList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->createdTime) { $res['createdTime'] = $this->createdTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } 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->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->modifierId) { $res['modifierId'] = $this->modifierId; } if (null !== $this->pcDetailUrlOpenMode) { $res['pcDetailUrlOpenMode'] = $this->pcDetailUrlOpenMode; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return CreateTodoTypeConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionList'])) { if (!empty($map['actionList'])) { $model->actionList = []; $n = 0; foreach ($map['actionList'] as $item) { $model->actionList[$n++] = null !== $item ? actionList::fromMap($item) : $item; } } } if (isset($map['bizTag'])) { $model->bizTag = $map['bizTag']; } if (isset($map['cardType'])) { $model->cardType = $map['cardType']; } if (isset($map['contentFieldList'])) { if (!empty($map['contentFieldList'])) { $model->contentFieldList = []; $n = 0; foreach ($map['contentFieldList'] as $item) { $model->contentFieldList[$n++] = null !== $item ? contentFieldList::fromMap($item) : $item; } } } if (isset($map['createdTime'])) { $model->createdTime = $map['createdTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } 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['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['modifierId'])) { $model->modifierId = $map['modifierId']; } if (isset($map['pcDetailUrlOpenMode'])) { $model->pcDetailUrlOpenMode = $map['pcDetailUrlOpenMode']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/todo_1_0/Models/CreateTodoTypeConfigResponseBody/actionList.php000064400000004024146412132660021367 0ustar00 'actionKey', 'actionType' => 'actionType', 'buttonStyleType' => 'buttonStyleType', 'nameI18n' => 'nameI18n', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionKey) { $res['actionKey'] = $this->actionKey; } if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->buttonStyleType) { $res['buttonStyleType'] = $this->buttonStyleType; } if (null !== $this->nameI18n) { $res['nameI18n'] = $this->nameI18n; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return actionList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionKey'])) { $model->actionKey = $map['actionKey']; } if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['buttonStyleType'])) { $model->buttonStyleType = $map['buttonStyleType']; } if (isset($map['nameI18n'])) { $model->nameI18n = $map['nameI18n']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/todo_1_0/Models/CreateTodoTypeConfigResponseBody/contentFieldList.php000064400000002646146412132660022540 0ustar00 'fieldKey', 'fieldType' => 'fieldType', 'nameI18n' => 'nameI18n', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldKey) { $res['fieldKey'] = $this->fieldKey; } if (null !== $this->fieldType) { $res['fieldType'] = $this->fieldType; } if (null !== $this->nameI18n) { $res['nameI18n'] = $this->nameI18n; } return $res; } /** * @param array $map * * @return contentFieldList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldKey'])) { $model->fieldKey = $map['fieldKey']; } if (isset($map['fieldType'])) { $model->fieldType = $map['fieldType']; } if (isset($map['nameI18n'])) { $model->nameI18n = $map['nameI18n']; } return $model; } } src/todo_1_0/Models/DeleteTodoTaskHeaders.php000064400000002330146412132660015045 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteTodoTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/todo_1_0/Models/DeleteTodoTaskRequest.php000064400000001525146412132660015127 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DeleteTodoTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/todo_1_0/Models/DeleteTodoTaskResponse.php000064400000002722146412132660015275 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteTodoTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteTodoTaskResponseBody::fromMap($map['body']); } return $model; } } src/todo_1_0/Models/DeleteTodoTaskResponseBody.php000064400000002145146412132660016112 0ustar00 '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 DeleteTodoTaskResponseBody */ 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/todo_1_0/Models/GetTodoTaskBySourceIdHeaders.php000064400000002346146412132660016322 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTodoTaskBySourceIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/todo_1_0/Models/GetTodoTaskBySourceIdResponse.php000064400000002756146412132660016552 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTodoTaskBySourceIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTodoTaskBySourceIdResponseBody::fromMap($map['body']); } return $model; } } src/todo_1_0/Models/GetTodoTaskBySourceIdResponseBody.php000064400000016641146412132660017366 0ustar00 'bizTag', 'createdTime' => 'createdTime', 'creatorId' => 'creatorId', 'description' => 'description', 'detailUrl' => 'detailUrl', 'done' => 'done', 'dueTime' => 'dueTime', 'executorIds' => 'executorIds', 'finishTime' => 'finishTime', 'id' => 'id', 'isOnlyShowExecutor' => 'isOnlyShowExecutor', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'participantIds' => 'participantIds', 'priority' => 'priority', 'requestId' => 'requestId', 'source' => 'source', 'sourceId' => 'sourceId', 'startTime' => 'startTime', 'subject' => 'subject', 'tenantId' => 'tenantId', 'tenantType' => 'tenantType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTag) { $res['bizTag'] = $this->bizTag; } if (null !== $this->createdTime) { $res['createdTime'] = $this->createdTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->detailUrl) { $res['detailUrl'] = null !== $this->detailUrl ? $this->detailUrl->toMap() : null; } if (null !== $this->done) { $res['done'] = $this->done; } if (null !== $this->dueTime) { $res['dueTime'] = $this->dueTime; } if (null !== $this->executorIds) { $res['executorIds'] = $this->executorIds; } if (null !== $this->finishTime) { $res['finishTime'] = $this->finishTime; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOnlyShowExecutor) { $res['isOnlyShowExecutor'] = $this->isOnlyShowExecutor; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->modifierId) { $res['modifierId'] = $this->modifierId; } if (null !== $this->participantIds) { $res['participantIds'] = $this->participantIds; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->sourceId) { $res['sourceId'] = $this->sourceId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->subject) { $res['subject'] = $this->subject; } if (null !== $this->tenantId) { $res['tenantId'] = $this->tenantId; } if (null !== $this->tenantType) { $res['tenantType'] = $this->tenantType; } return $res; } /** * @param array $map * * @return GetTodoTaskBySourceIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTag'])) { $model->bizTag = $map['bizTag']; } if (isset($map['createdTime'])) { $model->createdTime = $map['createdTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['detailUrl'])) { $model->detailUrl = detailUrl::fromMap($map['detailUrl']); } if (isset($map['done'])) { $model->done = $map['done']; } if (isset($map['dueTime'])) { $model->dueTime = $map['dueTime']; } if (isset($map['executorIds'])) { if (!empty($map['executorIds'])) { $model->executorIds = $map['executorIds']; } } if (isset($map['finishTime'])) { $model->finishTime = $map['finishTime']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOnlyShowExecutor'])) { $model->isOnlyShowExecutor = $map['isOnlyShowExecutor']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['modifierId'])) { $model->modifierId = $map['modifierId']; } if (isset($map['participantIds'])) { if (!empty($map['participantIds'])) { $model->participantIds = $map['participantIds']; } } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['sourceId'])) { $model->sourceId = $map['sourceId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['subject'])) { $model->subject = $map['subject']; } if (isset($map['tenantId'])) { $model->tenantId = $map['tenantId']; } if (isset($map['tenantType'])) { $model->tenantType = $map['tenantType']; } return $model; } } src/todo_1_0/Models/GetTodoTaskBySourceIdResponseBody/detailUrl.php000064400000002101146412132660021275 0ustar00 'appUrl', 'pcUrl' => 'pcUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUrl) { $res['appUrl'] = $this->appUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } return $res; } /** * @param array $map * * @return detailUrl */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUrl'])) { $model->appUrl = $map['appUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } return $model; } } src/todo_1_0/Models/GetTodoTaskDetailHeaders.php000064400000002336146412132660015513 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTodoTaskDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/todo_1_0/Models/GetTodoTaskDetailResponse.php000064400000002736146412132660015742 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTodoTaskDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTodoTaskDetailResponseBody::fromMap($map['body']); } return $model; } } src/todo_1_0/Models/GetTodoTaskDetailResponseBody.php000064400000023116146412132660016553 0ustar00 'bizTag', 'category' => 'category', 'createdTime' => 'createdTime', 'creatorId' => 'creatorId', 'description' => 'description', 'detailUrl' => 'detailUrl', 'done' => 'done', 'dueTime' => 'dueTime', 'executorIds' => 'executorIds', 'executorStatus' => 'executorStatus', 'finishTime' => 'finishTime', 'id' => 'id', 'isOnlyShowExecutor' => 'isOnlyShowExecutor', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'orgInfo' => 'orgInfo', 'participantIds' => 'participantIds', 'priority' => 'priority', 'requestId' => 'requestId', 'source' => 'source', 'sourceId' => 'sourceId', 'startTime' => 'startTime', 'subject' => 'subject', 'tenantId' => 'tenantId', 'tenantType' => 'tenantType', 'todoCardView' => 'todoCardView', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTag) { $res['bizTag'] = $this->bizTag; } if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->createdTime) { $res['createdTime'] = $this->createdTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->detailUrl) { $res['detailUrl'] = null !== $this->detailUrl ? $this->detailUrl->toMap() : null; } if (null !== $this->done) { $res['done'] = $this->done; } if (null !== $this->dueTime) { $res['dueTime'] = $this->dueTime; } if (null !== $this->executorIds) { $res['executorIds'] = $this->executorIds; } if (null !== $this->executorStatus) { $res['executorStatus'] = []; if (null !== $this->executorStatus && \is_array($this->executorStatus)) { $n = 0; foreach ($this->executorStatus as $item) { $res['executorStatus'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->finishTime) { $res['finishTime'] = $this->finishTime; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOnlyShowExecutor) { $res['isOnlyShowExecutor'] = $this->isOnlyShowExecutor; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->modifierId) { $res['modifierId'] = $this->modifierId; } if (null !== $this->orgInfo) { $res['orgInfo'] = null !== $this->orgInfo ? $this->orgInfo->toMap() : null; } if (null !== $this->participantIds) { $res['participantIds'] = $this->participantIds; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->sourceId) { $res['sourceId'] = $this->sourceId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->subject) { $res['subject'] = $this->subject; } if (null !== $this->tenantId) { $res['tenantId'] = $this->tenantId; } if (null !== $this->tenantType) { $res['tenantType'] = $this->tenantType; } if (null !== $this->todoCardView) { $res['todoCardView'] = null !== $this->todoCardView ? $this->todoCardView->toMap() : null; } return $res; } /** * @param array $map * * @return GetTodoTaskDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTag'])) { $model->bizTag = $map['bizTag']; } if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['createdTime'])) { $model->createdTime = $map['createdTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['detailUrl'])) { $model->detailUrl = detailUrl::fromMap($map['detailUrl']); } if (isset($map['done'])) { $model->done = $map['done']; } if (isset($map['dueTime'])) { $model->dueTime = $map['dueTime']; } if (isset($map['executorIds'])) { if (!empty($map['executorIds'])) { $model->executorIds = $map['executorIds']; } } if (isset($map['executorStatus'])) { if (!empty($map['executorStatus'])) { $model->executorStatus = []; $n = 0; foreach ($map['executorStatus'] as $item) { $model->executorStatus[$n++] = null !== $item ? executorStatus::fromMap($item) : $item; } } } if (isset($map['finishTime'])) { $model->finishTime = $map['finishTime']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOnlyShowExecutor'])) { $model->isOnlyShowExecutor = $map['isOnlyShowExecutor']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['modifierId'])) { $model->modifierId = $map['modifierId']; } if (isset($map['orgInfo'])) { $model->orgInfo = orgInfo::fromMap($map['orgInfo']); } if (isset($map['participantIds'])) { if (!empty($map['participantIds'])) { $model->participantIds = $map['participantIds']; } } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['sourceId'])) { $model->sourceId = $map['sourceId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['subject'])) { $model->subject = $map['subject']; } if (isset($map['tenantId'])) { $model->tenantId = $map['tenantId']; } if (isset($map['tenantType'])) { $model->tenantType = $map['tenantType']; } if (isset($map['todoCardView'])) { $model->todoCardView = todoCardView::fromMap($map['todoCardView']); } return $model; } } src/todo_1_0/Models/GetTodoTaskDetailResponseBody/detailUrl.php000064400000002075146412132660020501 0ustar00 'appUrl', 'pcUrl' => 'pcUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUrl) { $res['appUrl'] = $this->appUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } return $res; } /** * @param array $map * * @return detailUrl */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUrl'])) { $model->appUrl = $map['appUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } return $model; } } src/todo_1_0/Models/GetTodoTaskDetailResponseBody/executorStatus.php000064400000002115146412132660021611 0ustar00 'isDone', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return executorStatus */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/todo_1_0/Models/GetTodoTaskDetailResponseBody/orgInfo.php000064400000002061146412132660020152 0ustar00 'corpId', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return orgInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/todo_1_0/Models/GetTodoTaskDetailResponseBody/todoCardView.php000064400000007205146412132660021146 0ustar00 'actionType', 'cardType' => 'cardType', 'circleELType' => 'circleELType', 'contentType' => 'contentType', 'icon' => 'icon', 'todoCardContentList' => 'todoCardContentList', 'todoCardTitle' => 'todoCardTitle', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->cardType) { $res['cardType'] = $this->cardType; } if (null !== $this->circleELType) { $res['circleELType'] = $this->circleELType; } if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->todoCardContentList) { $res['todoCardContentList'] = []; if (null !== $this->todoCardContentList && \is_array($this->todoCardContentList)) { $n = 0; foreach ($this->todoCardContentList as $item) { $res['todoCardContentList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->todoCardTitle) { $res['todoCardTitle'] = $this->todoCardTitle; } return $res; } /** * @param array $map * * @return todoCardView */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['cardType'])) { $model->cardType = $map['cardType']; } if (isset($map['circleELType'])) { $model->circleELType = $map['circleELType']; } if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['todoCardContentList'])) { if (!empty($map['todoCardContentList'])) { $model->todoCardContentList = []; $n = 0; foreach ($map['todoCardContentList'] as $item) { $model->todoCardContentList[$n++] = null !== $item ? todoCardContentList::fromMap($item) : $item; } } } if (isset($map['todoCardTitle'])) { $model->todoCardTitle = $map['todoCardTitle']; } return $model; } } src/todo_1_0/Models/GetTodoTaskDetailResponseBody/todoCardView/todoCardContentList.php000064400000002114146412132660025066 0ustar00 '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 todoCardContentList */ 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/todo_1_0/Models/GetTodoTaskHeaders.php000064400000002322146412132660014363 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTodoTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/todo_1_0/Models/GetTodoTaskResponse.php000064400000002706146412132660014614 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTodoTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTodoTaskResponseBody::fromMap($map['body']); } return $model; } } src/todo_1_0/Models/GetTodoTaskResponseBody.php000064400000017275146412132660015441 0ustar00 'bizTag', 'cardTypeId' => 'cardTypeId', 'createdTime' => 'createdTime', 'creatorId' => 'creatorId', 'description' => 'description', 'detailUrl' => 'detailUrl', 'done' => 'done', 'dueTime' => 'dueTime', 'executorIds' => 'executorIds', 'finishTime' => 'finishTime', 'id' => 'id', 'isOnlyShowExecutor' => 'isOnlyShowExecutor', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'participantIds' => 'participantIds', 'priority' => 'priority', 'requestId' => 'requestId', 'source' => 'source', 'sourceId' => 'sourceId', 'startTime' => 'startTime', 'subject' => 'subject', 'tenantId' => 'tenantId', 'tenantType' => 'tenantType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTag) { $res['bizTag'] = $this->bizTag; } if (null !== $this->cardTypeId) { $res['cardTypeId'] = $this->cardTypeId; } if (null !== $this->createdTime) { $res['createdTime'] = $this->createdTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->detailUrl) { $res['detailUrl'] = null !== $this->detailUrl ? $this->detailUrl->toMap() : null; } if (null !== $this->done) { $res['done'] = $this->done; } if (null !== $this->dueTime) { $res['dueTime'] = $this->dueTime; } if (null !== $this->executorIds) { $res['executorIds'] = $this->executorIds; } if (null !== $this->finishTime) { $res['finishTime'] = $this->finishTime; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOnlyShowExecutor) { $res['isOnlyShowExecutor'] = $this->isOnlyShowExecutor; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->modifierId) { $res['modifierId'] = $this->modifierId; } if (null !== $this->participantIds) { $res['participantIds'] = $this->participantIds; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->sourceId) { $res['sourceId'] = $this->sourceId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->subject) { $res['subject'] = $this->subject; } if (null !== $this->tenantId) { $res['tenantId'] = $this->tenantId; } if (null !== $this->tenantType) { $res['tenantType'] = $this->tenantType; } return $res; } /** * @param array $map * * @return GetTodoTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTag'])) { $model->bizTag = $map['bizTag']; } if (isset($map['cardTypeId'])) { $model->cardTypeId = $map['cardTypeId']; } if (isset($map['createdTime'])) { $model->createdTime = $map['createdTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['detailUrl'])) { $model->detailUrl = detailUrl::fromMap($map['detailUrl']); } if (isset($map['done'])) { $model->done = $map['done']; } if (isset($map['dueTime'])) { $model->dueTime = $map['dueTime']; } if (isset($map['executorIds'])) { if (!empty($map['executorIds'])) { $model->executorIds = $map['executorIds']; } } if (isset($map['finishTime'])) { $model->finishTime = $map['finishTime']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOnlyShowExecutor'])) { $model->isOnlyShowExecutor = $map['isOnlyShowExecutor']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['modifierId'])) { $model->modifierId = $map['modifierId']; } if (isset($map['participantIds'])) { if (!empty($map['participantIds'])) { $model->participantIds = $map['participantIds']; } } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['sourceId'])) { $model->sourceId = $map['sourceId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['subject'])) { $model->subject = $map['subject']; } if (isset($map['tenantId'])) { $model->tenantId = $map['tenantId']; } if (isset($map['tenantType'])) { $model->tenantType = $map['tenantType']; } return $model; } } src/todo_1_0/Models/GetTodoTaskResponseBody/detailUrl.php000064400000002067146412132660017357 0ustar00 'appUrl', 'pcUrl' => 'pcUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUrl) { $res['appUrl'] = $this->appUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } return $res; } /** * @param array $map * * @return detailUrl */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUrl'])) { $model->appUrl = $map['appUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } return $model; } } src/todo_1_0/Models/GetTodoTypeConfigHeaders.php000064400000002336146412132660015535 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTodoTypeConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/todo_1_0/Models/GetTodoTypeConfigResponse.php000064400000002736146412132660015764 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTodoTypeConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTodoTypeConfigResponseBody::fromMap($map['body']); } return $model; } } src/todo_1_0/Models/GetTodoTypeConfigResponseBody.php000064400000013435146412132660016600 0ustar00 'actionList', 'bizTag' => 'bizTag', 'cardType' => 'cardType', 'contentFieldList' => 'contentFieldList', 'createdTime' => 'createdTime', 'creatorId' => 'creatorId', 'description' => 'description', 'icon' => 'icon', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'pcDetailUrlOpenMode' => 'pcDetailUrlOpenMode', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionList) { $res['actionList'] = []; if (null !== $this->actionList && \is_array($this->actionList)) { $n = 0; foreach ($this->actionList as $item) { $res['actionList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->bizTag) { $res['bizTag'] = $this->bizTag; } if (null !== $this->cardType) { $res['cardType'] = $this->cardType; } if (null !== $this->contentFieldList) { $res['contentFieldList'] = []; if (null !== $this->contentFieldList && \is_array($this->contentFieldList)) { $n = 0; foreach ($this->contentFieldList as $item) { $res['contentFieldList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->createdTime) { $res['createdTime'] = $this->createdTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } 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->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->modifierId) { $res['modifierId'] = $this->modifierId; } if (null !== $this->pcDetailUrlOpenMode) { $res['pcDetailUrlOpenMode'] = $this->pcDetailUrlOpenMode; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return GetTodoTypeConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionList'])) { if (!empty($map['actionList'])) { $model->actionList = []; $n = 0; foreach ($map['actionList'] as $item) { $model->actionList[$n++] = null !== $item ? actionList::fromMap($item) : $item; } } } if (isset($map['bizTag'])) { $model->bizTag = $map['bizTag']; } if (isset($map['cardType'])) { $model->cardType = $map['cardType']; } if (isset($map['contentFieldList'])) { if (!empty($map['contentFieldList'])) { $model->contentFieldList = []; $n = 0; foreach ($map['contentFieldList'] as $item) { $model->contentFieldList[$n++] = null !== $item ? contentFieldList::fromMap($item) : $item; } } } if (isset($map['createdTime'])) { $model->createdTime = $map['createdTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } 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['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['modifierId'])) { $model->modifierId = $map['modifierId']; } if (isset($map['pcDetailUrlOpenMode'])) { $model->pcDetailUrlOpenMode = $map['pcDetailUrlOpenMode']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/todo_1_0/Models/GetTodoTypeConfigResponseBody/actionList.php000064400000004021146412132660020700 0ustar00 'actionKey', 'actionType' => 'actionType', 'buttonStyleType' => 'buttonStyleType', 'nameI18n' => 'nameI18n', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionKey) { $res['actionKey'] = $this->actionKey; } if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->buttonStyleType) { $res['buttonStyleType'] = $this->buttonStyleType; } if (null !== $this->nameI18n) { $res['nameI18n'] = $this->nameI18n; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return actionList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionKey'])) { $model->actionKey = $map['actionKey']; } if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['buttonStyleType'])) { $model->buttonStyleType = $map['buttonStyleType']; } if (isset($map['nameI18n'])) { $model->nameI18n = $map['nameI18n']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/todo_1_0/Models/GetTodoTypeConfigResponseBody/contentFieldList.php000064400000002643146412132660022051 0ustar00 'fieldKey', 'fieldType' => 'fieldType', 'nameI18n' => 'nameI18n', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldKey) { $res['fieldKey'] = $this->fieldKey; } if (null !== $this->fieldType) { $res['fieldType'] = $this->fieldType; } if (null !== $this->nameI18n) { $res['nameI18n'] = $this->nameI18n; } return $res; } /** * @param array $map * * @return contentFieldList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldKey'])) { $model->fieldKey = $map['fieldKey']; } if (isset($map['fieldType'])) { $model->fieldType = $map['fieldType']; } if (isset($map['nameI18n'])) { $model->nameI18n = $map['nameI18n']; } return $model; } } src/todo_1_0/Models/QueryOrgTodoByUserHeaders.php000064400000002340146412132660015730 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryOrgTodoByUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/todo_1_0/Models/QueryOrgTodoByUserRequest.php000064400000006411146412132660016010 0ustar00 'fromDueTime', 'isDone' => 'isDone', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'orderBy' => 'orderBy', 'orderDirection' => 'orderDirection', 'roleTypes' => 'roleTypes', 'subject' => 'subject', 'toDueTime' => 'toDueTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fromDueTime) { $res['fromDueTime'] = $this->fromDueTime; } if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->orderBy) { $res['orderBy'] = $this->orderBy; } if (null !== $this->orderDirection) { $res['orderDirection'] = $this->orderDirection; } if (null !== $this->roleTypes) { $res['roleTypes'] = $this->roleTypes; } if (null !== $this->subject) { $res['subject'] = $this->subject; } if (null !== $this->toDueTime) { $res['toDueTime'] = $this->toDueTime; } return $res; } /** * @param array $map * * @return QueryOrgTodoByUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fromDueTime'])) { $model->fromDueTime = $map['fromDueTime']; } if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['orderBy'])) { $model->orderBy = $map['orderBy']; } if (isset($map['orderDirection'])) { $model->orderDirection = $map['orderDirection']; } if (isset($map['roleTypes'])) { if (!empty($map['roleTypes'])) { $model->roleTypes = $map['roleTypes']; } } if (isset($map['subject'])) { $model->subject = $map['subject']; } if (isset($map['toDueTime'])) { $model->toDueTime = $map['toDueTime']; } return $model; } } src/todo_1_0/Models/QueryOrgTodoByUserResponse.php000064400000002742146412132660016161 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOrgTodoByUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryOrgTodoByUserResponseBody::fromMap($map['body']); } return $model; } } src/todo_1_0/Models/QueryOrgTodoByUserResponseBody.php000064400000004033146412132660016772 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'todoCards' => 'todoCards', ]; 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->todoCards) { $res['todoCards'] = []; if (null !== $this->todoCards && \is_array($this->todoCards)) { $n = 0; foreach ($this->todoCards as $item) { $res['todoCards'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryOrgTodoByUserResponseBody */ 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['todoCards'])) { if (!empty($map['todoCards'])) { $model->todoCards = []; $n = 0; foreach ($map['todoCards'] as $item) { $model->todoCards[$n++] = null !== $item ? todoCards::fromMap($item) : $item; } } } return $model; } } src/todo_1_0/Models/QueryOrgTodoByUserResponseBody/todoCards.php000064400000010310146412132660020707 0ustar00 'bizTag', 'createdTime' => 'createdTime', 'creatorId' => 'creatorId', 'detailUrl' => 'detailUrl', 'dueTime' => 'dueTime', 'isDone' => 'isDone', 'modifiedTime' => 'modifiedTime', 'priority' => 'priority', 'sourceExt' => 'sourceExt', 'sourceId' => 'sourceId', 'subject' => 'subject', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTag) { $res['bizTag'] = $this->bizTag; } if (null !== $this->createdTime) { $res['createdTime'] = $this->createdTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->detailUrl) { $res['detailUrl'] = null !== $this->detailUrl ? $this->detailUrl->toMap() : null; } if (null !== $this->dueTime) { $res['dueTime'] = $this->dueTime; } if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->sourceExt) { $res['sourceExt'] = $this->sourceExt; } if (null !== $this->sourceId) { $res['sourceId'] = $this->sourceId; } if (null !== $this->subject) { $res['subject'] = $this->subject; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return todoCards */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTag'])) { $model->bizTag = $map['bizTag']; } if (isset($map['createdTime'])) { $model->createdTime = $map['createdTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['detailUrl'])) { $model->detailUrl = detailUrl::fromMap($map['detailUrl']); } if (isset($map['dueTime'])) { $model->dueTime = $map['dueTime']; } if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['sourceExt'])) { $model->sourceExt = $map['sourceExt']; } if (isset($map['sourceId'])) { $model->sourceId = $map['sourceId']; } if (isset($map['subject'])) { $model->subject = $map['subject']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/todo_1_0/Models/QueryOrgTodoByUserResponseBody/todoCards/detailUrl.php000064400000002110146412132660022633 0ustar00 'appUrl', 'pcUrl' => 'pcUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUrl) { $res['appUrl'] = $this->appUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } return $res; } /** * @param array $map * * @return detailUrl */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUrl'])) { $model->appUrl = $map['appUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } return $model; } } src/todo_1_0/Models/QueryOrgTodoTasksHeaders.php000064400000002336146412132660015611 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryOrgTodoTasksHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/todo_1_0/Models/QueryOrgTodoTasksRequest.php000064400000002141146412132660015660 0ustar00 'isDone', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return QueryOrgTodoTasksRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/todo_1_0/Models/QueryOrgTodoTasksResponse.php000064400000002736146412132660016040 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOrgTodoTasksResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryOrgTodoTasksResponseBody::fromMap($map['body']); } return $model; } } src/todo_1_0/Models/QueryOrgTodoTasksResponseBody.php000064400000003347146412132660016655 0ustar00 'nextToken', 'todoCards' => 'todoCards', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->todoCards) { $res['todoCards'] = []; if (null !== $this->todoCards && \is_array($this->todoCards)) { $n = 0; foreach ($this->todoCards as $item) { $res['todoCards'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryOrgTodoTasksResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['todoCards'])) { if (!empty($map['todoCards'])) { $model->todoCards = []; $n = 0; foreach ($map['todoCards'] as $item) { $model->todoCards[$n++] = null !== $item ? todoCards::fromMap($item) : $item; } } } return $model; } } src/todo_1_0/Models/QueryOrgTodoTasksResponseBody/todoCards.php000064400000007524146412132660020600 0ustar00 'bizTag', 'createdTime' => 'createdTime', 'creatorId' => 'creatorId', 'detailUrl' => 'detailUrl', 'dueTime' => 'dueTime', 'isDone' => 'isDone', 'modifiedTime' => 'modifiedTime', 'priority' => 'priority', 'sourceId' => 'sourceId', 'subject' => 'subject', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTag) { $res['bizTag'] = $this->bizTag; } if (null !== $this->createdTime) { $res['createdTime'] = $this->createdTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->detailUrl) { $res['detailUrl'] = null !== $this->detailUrl ? $this->detailUrl->toMap() : null; } if (null !== $this->dueTime) { $res['dueTime'] = $this->dueTime; } if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->sourceId) { $res['sourceId'] = $this->sourceId; } if (null !== $this->subject) { $res['subject'] = $this->subject; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return todoCards */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTag'])) { $model->bizTag = $map['bizTag']; } if (isset($map['createdTime'])) { $model->createdTime = $map['createdTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['detailUrl'])) { $model->detailUrl = detailUrl::fromMap($map['detailUrl']); } if (isset($map['dueTime'])) { $model->dueTime = $map['dueTime']; } if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['sourceId'])) { $model->sourceId = $map['sourceId']; } if (isset($map['subject'])) { $model->subject = $map['subject']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/todo_1_0/Models/QueryOrgTodoTasksResponseBody/todoCards/detailUrl.php000064400000002107146412132660022515 0ustar00 'appUrl', 'pcUrl' => 'pcUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUrl) { $res['appUrl'] = $this->appUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } return $res; } /** * @param array $map * * @return detailUrl */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUrl'])) { $model->appUrl = $map['appUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } return $model; } } src/todo_1_0/Models/QueryTodoTasksHeaders.php000064400000002330146412132660015133 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryTodoTasksHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/todo_1_0/Models/QueryTodoTasksRequest.php000064400000006412146412132660015215 0ustar00 'category', 'fromDueTime' => 'fromDueTime', 'isDone' => 'isDone', 'isRecycled' => 'isRecycled', 'nextToken' => 'nextToken', 'orderBy' => 'orderBy', 'orderDirection' => 'orderDirection', 'roleTypes' => 'roleTypes', 'toDueTime' => 'toDueTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->fromDueTime) { $res['fromDueTime'] = $this->fromDueTime; } if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->isRecycled) { $res['isRecycled'] = $this->isRecycled; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->orderBy) { $res['orderBy'] = $this->orderBy; } if (null !== $this->orderDirection) { $res['orderDirection'] = $this->orderDirection; } if (null !== $this->roleTypes) { $res['roleTypes'] = $this->roleTypes; } if (null !== $this->toDueTime) { $res['toDueTime'] = $this->toDueTime; } return $res; } /** * @param array $map * * @return QueryTodoTasksRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['fromDueTime'])) { $model->fromDueTime = $map['fromDueTime']; } if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['isRecycled'])) { $model->isRecycled = $map['isRecycled']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['orderBy'])) { $model->orderBy = $map['orderBy']; } if (isset($map['orderDirection'])) { $model->orderDirection = $map['orderDirection']; } if (isset($map['roleTypes'])) { if (!empty($map['roleTypes'])) { $model->roleTypes = $map['roleTypes']; } } if (isset($map['toDueTime'])) { $model->toDueTime = $map['toDueTime']; } return $model; } } src/todo_1_0/Models/QueryTodoTasksResponse.php000064400000002722146412132660015363 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryTodoTasksResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryTodoTasksResponseBody::fromMap($map['body']); } return $model; } } src/todo_1_0/Models/QueryTodoTasksResponseBody.php000064400000004017146412132660016200 0ustar00 'nextToken', 'todoCards' => 'todoCards', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->todoCards) { $res['todoCards'] = []; if (null !== $this->todoCards && \is_array($this->todoCards)) { $n = 0; foreach ($this->todoCards as $item) { $res['todoCards'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryTodoTasksResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['todoCards'])) { if (!empty($map['todoCards'])) { $model->todoCards = []; $n = 0; foreach ($map['todoCards'] as $item) { $model->todoCards[$n++] = null !== $item ? todoCards::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/todo_1_0/Models/QueryTodoTasksResponseBody/todoCards.php000064400000013570146412132660020126 0ustar00 'bizTag', 'category' => 'category', 'createdTime' => 'createdTime', 'creatorId' => 'creatorId', 'detailUrl' => 'detailUrl', 'dueTime' => 'dueTime', 'isDone' => 'isDone', 'modifiedTime' => 'modifiedTime', 'orgInfo' => 'orgInfo', 'originalSource' => 'originalSource', 'priority' => 'priority', 'sourceId' => 'sourceId', 'subject' => 'subject', 'taskId' => 'taskId', 'todoCardView' => 'todoCardView', 'todoStatus' => 'todoStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTag) { $res['bizTag'] = $this->bizTag; } if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->createdTime) { $res['createdTime'] = $this->createdTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->detailUrl) { $res['detailUrl'] = null !== $this->detailUrl ? $this->detailUrl->toMap() : null; } if (null !== $this->dueTime) { $res['dueTime'] = $this->dueTime; } if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->orgInfo) { $res['orgInfo'] = null !== $this->orgInfo ? $this->orgInfo->toMap() : null; } if (null !== $this->originalSource) { $res['originalSource'] = null !== $this->originalSource ? $this->originalSource->toMap() : null; } if (null !== $this->priority) { $res['priority'] = $this->priority; } if (null !== $this->sourceId) { $res['sourceId'] = $this->sourceId; } if (null !== $this->subject) { $res['subject'] = $this->subject; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->todoCardView) { $res['todoCardView'] = null !== $this->todoCardView ? $this->todoCardView->toMap() : null; } if (null !== $this->todoStatus) { $res['todoStatus'] = $this->todoStatus; } return $res; } /** * @param array $map * * @return todoCards */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTag'])) { $model->bizTag = $map['bizTag']; } if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['createdTime'])) { $model->createdTime = $map['createdTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['detailUrl'])) { $model->detailUrl = detailUrl::fromMap($map['detailUrl']); } if (isset($map['dueTime'])) { $model->dueTime = $map['dueTime']; } if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['orgInfo'])) { $model->orgInfo = orgInfo::fromMap($map['orgInfo']); } if (isset($map['originalSource'])) { $model->originalSource = originalSource::fromMap($map['originalSource']); } if (isset($map['priority'])) { $model->priority = $map['priority']; } if (isset($map['sourceId'])) { $model->sourceId = $map['sourceId']; } if (isset($map['subject'])) { $model->subject = $map['subject']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['todoCardView'])) { $model->todoCardView = todoCardView::fromMap($map['todoCardView']); } if (isset($map['todoStatus'])) { $model->todoStatus = $map['todoStatus']; } return $model; } } src/todo_1_0/Models/QueryTodoTasksResponseBody/todoCards/detailUrl.php000064400000002104146412132660022042 0ustar00 'appUrl', 'pcUrl' => 'pcUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUrl) { $res['appUrl'] = $this->appUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } return $res; } /** * @param array $map * * @return detailUrl */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUrl'])) { $model->appUrl = $map['appUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } return $model; } } src/todo_1_0/Models/QueryTodoTasksResponseBody/todoCards/orgInfo.php000064400000002070146412132660021522 0ustar00 'corpId', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return orgInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/todo_1_0/Models/QueryTodoTasksResponseBody/todoCards/originalSource.php000064400000001565146412132660023114 0ustar00 'sourceTitle', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sourceTitle) { $res['sourceTitle'] = $this->sourceTitle; } return $res; } /** * @param array $map * * @return originalSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sourceTitle'])) { $model->sourceTitle = $map['sourceTitle']; } return $model; } } src/todo_1_0/Models/QueryTodoTasksResponseBody/todoCards/todoCardView.php000064400000007223146412132660022516 0ustar00 'actionType', 'cardType' => 'cardType', 'circleELType' => 'circleELType', 'contentType' => 'contentType', 'icon' => 'icon', 'todoCardContentList' => 'todoCardContentList', 'todoCardTitle' => 'todoCardTitle', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->cardType) { $res['cardType'] = $this->cardType; } if (null !== $this->circleELType) { $res['circleELType'] = $this->circleELType; } if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->todoCardContentList) { $res['todoCardContentList'] = []; if (null !== $this->todoCardContentList && \is_array($this->todoCardContentList)) { $n = 0; foreach ($this->todoCardContentList as $item) { $res['todoCardContentList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->todoCardTitle) { $res['todoCardTitle'] = $this->todoCardTitle; } return $res; } /** * @param array $map * * @return todoCardView */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['cardType'])) { $model->cardType = $map['cardType']; } if (isset($map['circleELType'])) { $model->circleELType = $map['circleELType']; } if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['todoCardContentList'])) { if (!empty($map['todoCardContentList'])) { $model->todoCardContentList = []; $n = 0; foreach ($map['todoCardContentList'] as $item) { $model->todoCardContentList[$n++] = null !== $item ? todoCardContentList::fromMap($item) : $item; } } } if (isset($map['todoCardTitle'])) { $model->todoCardTitle = $map['todoCardTitle']; } return $model; } } src/todo_1_0/Models/QueryTodoTasksResponseBody/todoCards/todoCardView/todoCardContentList.php000064400000002123146412132660026436 0ustar00 '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 todoCardContentList */ 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/todo_1_0/Models/UpdateTodoTaskExecutorStatusHeaders.php000064400000002364146412132660020017 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTodoTaskExecutorStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/todo_1_0/Models/UpdateTodoTaskExecutorStatusRequest.php000064400000003654146412132660020077 0ustar00 'executorStatusList', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->executorStatusList) { $res['executorStatusList'] = []; if (null !== $this->executorStatusList && \is_array($this->executorStatusList)) { $n = 0; foreach ($this->executorStatusList as $item) { $res['executorStatusList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return UpdateTodoTaskExecutorStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['executorStatusList'])) { if (!empty($map['executorStatusList'])) { $model->executorStatusList = []; $n = 0; foreach ($map['executorStatusList'] as $item) { $model->executorStatusList[$n++] = null !== $item ? executorStatusList::fromMap($item) : $item; } } } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/todo_1_0/Models/UpdateTodoTaskExecutorStatusRequest/executorStatusList.php000064400000002073146412132660023767 0ustar00 'id', 'isDone' => 'isDone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isDone) { $res['isDone'] = $this->isDone; } return $res; } /** * @param array $map * * @return executorStatusList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isDone'])) { $model->isDone = $map['isDone']; } return $model; } } src/todo_1_0/Models/UpdateTodoTaskExecutorStatusResponse.php000064400000003012146412132660020231 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTodoTaskExecutorStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateTodoTaskExecutorStatusResponseBody::fromMap($map['body']); } return $model; } } src/todo_1_0/Models/UpdateTodoTaskExecutorStatusResponseBody.php000064400000001561146412132660021056 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateTodoTaskExecutorStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/todo_1_0/Models/UpdateTodoTaskHeaders.php000064400000002330146412132660015065 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTodoTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/todo_1_0/Models/UpdateTodoTaskRequest.php000064400000005361146412132660015151 0ustar00 'description', 'done' => 'done', 'dueTime' => 'dueTime', 'executorIds' => 'executorIds', 'participantIds' => 'participantIds', 'subject' => 'subject', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->done) { $res['done'] = $this->done; } if (null !== $this->dueTime) { $res['dueTime'] = $this->dueTime; } if (null !== $this->executorIds) { $res['executorIds'] = $this->executorIds; } if (null !== $this->participantIds) { $res['participantIds'] = $this->participantIds; } if (null !== $this->subject) { $res['subject'] = $this->subject; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return UpdateTodoTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['done'])) { $model->done = $map['done']; } if (isset($map['dueTime'])) { $model->dueTime = $map['dueTime']; } if (isset($map['executorIds'])) { if (!empty($map['executorIds'])) { $model->executorIds = $map['executorIds']; } } if (isset($map['participantIds'])) { if (!empty($map['participantIds'])) { $model->participantIds = $map['participantIds']; } } if (isset($map['subject'])) { $model->subject = $map['subject']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/todo_1_0/Models/UpdateTodoTaskResponse.php000064400000002722146412132660015315 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTodoTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateTodoTaskResponseBody::fromMap($map['body']); } return $model; } } src/todo_1_0/Models/UpdateTodoTaskResponseBody.php000064400000001525146412132660016133 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateTodoTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/todo_1_0/Models/UpdateTodoTypeConfigHeaders.php000064400000002344146412132660016237 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTodoTypeConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/todo_1_0/Models/UpdateTodoTypeConfigRequest.php000064400000010021146412132660016303 0ustar00 'actionList', 'cardType' => 'cardType', 'contentFieldList' => 'contentFieldList', 'description' => 'description', 'icon' => 'icon', 'pcDetailUrlOpenMode' => 'pcDetailUrlOpenMode', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionList) { $res['actionList'] = []; if (null !== $this->actionList && \is_array($this->actionList)) { $n = 0; foreach ($this->actionList as $item) { $res['actionList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->cardType) { $res['cardType'] = $this->cardType; } if (null !== $this->contentFieldList) { $res['contentFieldList'] = []; if (null !== $this->contentFieldList && \is_array($this->contentFieldList)) { $n = 0; foreach ($this->contentFieldList as $item) { $res['contentFieldList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->pcDetailUrlOpenMode) { $res['pcDetailUrlOpenMode'] = $this->pcDetailUrlOpenMode; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return UpdateTodoTypeConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionList'])) { if (!empty($map['actionList'])) { $model->actionList = []; $n = 0; foreach ($map['actionList'] as $item) { $model->actionList[$n++] = null !== $item ? actionList::fromMap($item) : $item; } } } if (isset($map['cardType'])) { $model->cardType = $map['cardType']; } if (isset($map['contentFieldList'])) { if (!empty($map['contentFieldList'])) { $model->contentFieldList = []; $n = 0; foreach ($map['contentFieldList'] as $item) { $model->contentFieldList[$n++] = null !== $item ? contentFieldList::fromMap($item) : $item; } } } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['pcDetailUrlOpenMode'])) { $model->pcDetailUrlOpenMode = $map['pcDetailUrlOpenMode']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/todo_1_0/Models/UpdateTodoTypeConfigRequest/actionList.php000064400000004017146412132660020424 0ustar00 'actionKey', 'actionType' => 'actionType', 'buttonStyleType' => 'buttonStyleType', 'nameI18n' => 'nameI18n', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionKey) { $res['actionKey'] = $this->actionKey; } if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->buttonStyleType) { $res['buttonStyleType'] = $this->buttonStyleType; } if (null !== $this->nameI18n) { $res['nameI18n'] = $this->nameI18n; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return actionList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionKey'])) { $model->actionKey = $map['actionKey']; } if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['buttonStyleType'])) { $model->buttonStyleType = $map['buttonStyleType']; } if (isset($map['nameI18n'])) { $model->nameI18n = $map['nameI18n']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/todo_1_0/Models/UpdateTodoTypeConfigRequest/contentFieldList.php000064400000002641146412132660021566 0ustar00 'fieldKey', 'fieldType' => 'fieldType', 'nameI18n' => 'nameI18n', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldKey) { $res['fieldKey'] = $this->fieldKey; } if (null !== $this->fieldType) { $res['fieldType'] = $this->fieldType; } if (null !== $this->nameI18n) { $res['nameI18n'] = $this->nameI18n; } return $res; } /** * @param array $map * * @return contentFieldList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldKey'])) { $model->fieldKey = $map['fieldKey']; } if (isset($map['fieldType'])) { $model->fieldType = $map['fieldType']; } if (isset($map['nameI18n'])) { $model->nameI18n = $map['nameI18n']; } return $model; } } src/todo_1_0/Models/UpdateTodoTypeConfigResponse.php000064400000002752146412132660016465 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTodoTypeConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateTodoTypeConfigResponseBody::fromMap($map['body']); } return $model; } } src/todo_1_0/Models/UpdateTodoTypeConfigResponseBody.php000064400000001541146412132660017276 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateTodoTypeConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/trade_1_0/Dingtalk.php000064400000017666146412132660011364 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CheckOpportunityResultRequest $request * @param CheckOpportunityResultHeaders $headers * @param RuntimeOptions $runtime * * @return CheckOpportunityResultResponse */ public function checkOpportunityResultWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->belongToPhoneNum)) { $query['belongToPhoneNum'] = $request->belongToPhoneNum; } if (!Utils::isUnset($request->contactPhoneNum)) { $query['contactPhoneNum'] = $request->contactPhoneNum; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } if (!Utils::isUnset($request->marketCode)) { $query['marketCode'] = $request->marketCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CheckOpportunityResult', 'version' => 'trade_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trade/opportunity/check', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CheckOpportunityResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CheckOpportunityResultRequest $request * * @return CheckOpportunityResultResponse */ public function checkOpportunityResult($request) { $runtime = new RuntimeOptions([]); $headers = new CheckOpportunityResultHeaders([]); return $this->checkOpportunityResultWithOptions($request, $headers, $runtime); } /** * @param CreateOpportunityRequest $request * @param CreateOpportunityHeaders $headers * @param RuntimeOptions $runtime * * @return CreateOpportunityResponse */ public function createOpportunityWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->belongToPhoneNum)) { $body['belongToPhoneNum'] = $request->belongToPhoneNum; } if (!Utils::isUnset($request->contactPhoneNum)) { $body['contactPhoneNum'] = $request->contactPhoneNum; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } if (!Utils::isUnset($request->marketCode)) { $body['marketCode'] = $request->marketCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateOpportunity', 'version' => 'trade_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trade/opportunities', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateOpportunityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateOpportunityRequest $request * * @return CreateOpportunityResponse */ public function createOpportunity($request) { $runtime = new RuntimeOptions([]); $headers = new CreateOpportunityHeaders([]); return $this->createOpportunityWithOptions($request, $headers, $runtime); } /** * @param QueryTradeOrderRequest $request * @param QueryTradeOrderHeaders $headers * @param RuntimeOptions $runtime * * @return QueryTradeOrderResponse */ public function queryTradeOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->orderId)) { $body['orderId'] = $request->orderId; } if (!Utils::isUnset($request->outerOrderId)) { $body['outerOrderId'] = $request->outerOrderId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryTradeOrder', 'version' => 'trade_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trade/orders/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryTradeOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryTradeOrderRequest $request * * @return QueryTradeOrderResponse */ public function queryTradeOrder($request) { $runtime = new RuntimeOptions([]); $headers = new QueryTradeOrderHeaders([]); return $this->queryTradeOrderWithOptions($request, $headers, $runtime); } } src/trade_1_0/Models/CheckOpportunityResultHeaders.php000064400000002351146412132660017040 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CheckOpportunityResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trade_1_0/Models/CheckOpportunityResultRequest.php000064400000004141146412132660017114 0ustar00 'belongToPhoneNum', 'contactPhoneNum' => 'contactPhoneNum', 'corpId' => 'corpId', 'deptId' => 'deptId', 'marketCode' => 'marketCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->belongToPhoneNum) { $res['belongToPhoneNum'] = $this->belongToPhoneNum; } if (null !== $this->contactPhoneNum) { $res['contactPhoneNum'] = $this->contactPhoneNum; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->marketCode) { $res['marketCode'] = $this->marketCode; } return $res; } /** * @param array $map * * @return CheckOpportunityResultRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['belongToPhoneNum'])) { $model->belongToPhoneNum = $map['belongToPhoneNum']; } if (isset($map['contactPhoneNum'])) { $model->contactPhoneNum = $map['contactPhoneNum']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['marketCode'])) { $model->marketCode = $map['marketCode']; } return $model; } } src/trade_1_0/Models/CheckOpportunityResultResponse.php000064400000002763146412132660017272 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CheckOpportunityResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CheckOpportunityResultResponseBody::fromMap($map['body']); } return $model; } } src/trade_1_0/Models/CheckOpportunityResultResponseBody.php000064400000001612146412132660020100 0ustar00 'bizSuccess', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizSuccess) { $res['bizSuccess'] = $this->bizSuccess; } return $res; } /** * @param array $map * * @return CheckOpportunityResultResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizSuccess'])) { $model->bizSuccess = $map['bizSuccess']; } return $model; } } src/trade_1_0/Models/CreateOpportunityHeaders.php000064400000002337146412132660016033 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateOpportunityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trade_1_0/Models/CreateOpportunityRequest.php000064400000004127146412132660016107 0ustar00 'belongToPhoneNum', 'contactPhoneNum' => 'contactPhoneNum', 'corpId' => 'corpId', 'deptId' => 'deptId', 'marketCode' => 'marketCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->belongToPhoneNum) { $res['belongToPhoneNum'] = $this->belongToPhoneNum; } if (null !== $this->contactPhoneNum) { $res['contactPhoneNum'] = $this->contactPhoneNum; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->marketCode) { $res['marketCode'] = $this->marketCode; } return $res; } /** * @param array $map * * @return CreateOpportunityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['belongToPhoneNum'])) { $model->belongToPhoneNum = $map['belongToPhoneNum']; } if (isset($map['contactPhoneNum'])) { $model->contactPhoneNum = $map['contactPhoneNum']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['marketCode'])) { $model->marketCode = $map['marketCode']; } return $model; } } src/trade_1_0/Models/CreateOpportunityResponse.php000064400000002167146412132660016257 0ustar00 '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 CreateOpportunityResponse */ 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/trade_1_0/Models/QueryTradeOrderHeaders.php000064400000002333146412132660015410 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryTradeOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trade_1_0/Models/QueryTradeOrderRequest.php000064400000002203146412132660015461 0ustar00 'orderId', 'outerOrderId' => 'outerOrderId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->outerOrderId) { $res['outerOrderId'] = $this->outerOrderId; } return $res; } /** * @param array $map * * @return QueryTradeOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['outerOrderId'])) { $model->outerOrderId = $map['outerOrderId']; } return $model; } } src/trade_1_0/Models/QueryTradeOrderResponse.php000064400000002727146412132660015642 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryTradeOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryTradeOrderResponseBody::fromMap($map['body']); } return $model; } } src/trade_1_0/Models/QueryTradeOrderResponseBody.php000064400000011766146412132660016463 0ustar00 'articleCode', 'articleItemCode' => 'articleItemCode', 'articleItemName' => 'articleItemName', 'articleName' => 'articleName', 'closeTime' => 'closeTime', 'createTime' => 'createTime', 'fee' => 'fee', 'isvCropId' => 'isvCropId', 'orderId' => 'orderId', 'outerOrderId' => 'outerOrderId', 'payFee' => 'payFee', 'payTime' => 'payTime', 'quantity' => 'quantity', 'refundTime' => 'refundTime', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->articleCode) { $res['articleCode'] = $this->articleCode; } if (null !== $this->articleItemCode) { $res['articleItemCode'] = $this->articleItemCode; } if (null !== $this->articleItemName) { $res['articleItemName'] = $this->articleItemName; } if (null !== $this->articleName) { $res['articleName'] = $this->articleName; } if (null !== $this->closeTime) { $res['closeTime'] = $this->closeTime; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->fee) { $res['fee'] = $this->fee; } if (null !== $this->isvCropId) { $res['isvCropId'] = $this->isvCropId; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->outerOrderId) { $res['outerOrderId'] = $this->outerOrderId; } if (null !== $this->payFee) { $res['payFee'] = $this->payFee; } if (null !== $this->payTime) { $res['payTime'] = $this->payTime; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->refundTime) { $res['refundTime'] = $this->refundTime; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return QueryTradeOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['articleCode'])) { $model->articleCode = $map['articleCode']; } if (isset($map['articleItemCode'])) { $model->articleItemCode = $map['articleItemCode']; } if (isset($map['articleItemName'])) { $model->articleItemName = $map['articleItemName']; } if (isset($map['articleName'])) { $model->articleName = $map['articleName']; } if (isset($map['closeTime'])) { $model->closeTime = $map['closeTime']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['fee'])) { $model->fee = $map['fee']; } if (isset($map['isvCropId'])) { $model->isvCropId = $map['isvCropId']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['outerOrderId'])) { $model->outerOrderId = $map['outerOrderId']; } if (isset($map['payFee'])) { $model->payFee = $map['payFee']; } if (isset($map['payTime'])) { $model->payTime = $map['payTime']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['refundTime'])) { $model->refundTime = $map['refundTime']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/trajectory_1_0/Dingtalk.php000064400000017527146412132660012447 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param QueryAppActiveUsersRequest $request * @param QueryAppActiveUsersHeaders $headers * @param RuntimeOptions $runtime * * @return QueryAppActiveUsersResponse */ public function queryAppActiveUsersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->needPositionInfo)) { $query['needPositionInfo'] = $request->needPositionInfo; } 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' => 'QueryAppActiveUsers', 'version' => 'trajectory_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trajectory/activeUsers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryAppActiveUsersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryAppActiveUsersRequest $request * * @return QueryAppActiveUsersResponse */ public function queryAppActiveUsers($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAppActiveUsersHeaders([]); return $this->queryAppActiveUsersWithOptions($request, $headers, $runtime); } /** * @param QueryCollectingTraceTaskRequest $request * @param QueryCollectingTraceTaskHeaders $headers * @param RuntimeOptions $runtime * * @return QueryCollectingTraceTaskResponse */ public function queryCollectingTraceTaskWithOptions($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' => 'QueryCollectingTraceTask', 'version' => 'trajectory_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trajectory/currentTasks/queryByUserIds', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryCollectingTraceTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryCollectingTraceTaskRequest $request * * @return QueryCollectingTraceTaskResponse */ public function queryCollectingTraceTask($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCollectingTraceTaskHeaders([]); return $this->queryCollectingTraceTaskWithOptions($request, $headers, $runtime); } /** * @param QueryPageTraceDataRequest $request * @param QueryPageTraceDataHeaders $headers * @param RuntimeOptions $runtime * * @return QueryPageTraceDataResponse */ public function queryPageTraceDataWithOptions($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->staffId)) { $query['staffId'] = $request->staffId; } if (!Utils::isUnset($request->startTime)) { $query['startTime'] = $request->startTime; } if (!Utils::isUnset($request->traceId)) { $query['traceId'] = $request->traceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryPageTraceData', 'version' => 'trajectory_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trajectory/data', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryPageTraceDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryPageTraceDataRequest $request * * @return QueryPageTraceDataResponse */ public function queryPageTraceData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryPageTraceDataHeaders([]); return $this->queryPageTraceDataWithOptions($request, $headers, $runtime); } } src/trajectory_1_0/Models/QueryAppActiveUsersHeaders.php000064400000002350146412132660017341 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAppActiveUsersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trajectory_1_0/Models/QueryAppActiveUsersRequest.php000064400000003113146412132660017414 0ustar00 'maxResults', 'needPositionInfo' => 'needPositionInfo', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->needPositionInfo) { $res['needPositionInfo'] = $this->needPositionInfo; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return QueryAppActiveUsersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['needPositionInfo'])) { $model->needPositionInfo = $map['needPositionInfo']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/trajectory_1_0/Models/QueryAppActiveUsersResponse.php000064400000002754146412132660017574 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAppActiveUsersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAppActiveUsersResponseBody::fromMap($map['body']); } return $model; } } src/trajectory_1_0/Models/QueryAppActiveUsersResponseBody.php000064400000004446146412132660020412 0ustar00 '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 QueryAppActiveUsersResponseBody */ 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/trajectory_1_0/Models/QueryAppActiveUsersResponseBody/list_.php000064400000004741146412132660021522 0ustar00 'appTraceId', 'latitude' => 'latitude', 'longitude' => 'longitude', 'reportTime' => 'reportTime', 'startTime' => 'startTime', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appTraceId) { $res['appTraceId'] = $this->appTraceId; } if (null !== $this->latitude) { $res['latitude'] = $this->latitude; } if (null !== $this->longitude) { $res['longitude'] = $this->longitude; } if (null !== $this->reportTime) { $res['reportTime'] = $this->reportTime; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } 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['appTraceId'])) { $model->appTraceId = $map['appTraceId']; } if (isset($map['latitude'])) { $model->latitude = $map['latitude']; } if (isset($map['longitude'])) { $model->longitude = $map['longitude']; } if (isset($map['reportTime'])) { $model->reportTime = $map['reportTime']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/trajectory_1_0/Models/QueryCollectingTraceTaskHeaders.php000064400000002362146412132660020333 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCollectingTraceTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trajectory_1_0/Models/QueryCollectingTraceTaskRequest.php000064400000001623146412132660020407 0ustar00 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return QueryCollectingTraceTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/trajectory_1_0/Models/QueryCollectingTraceTaskResponse.php000064400000003000146412132660020544 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCollectingTraceTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCollectingTraceTaskResponseBody::fromMap($map['body']); } return $model; } } src/trajectory_1_0/Models/QueryCollectingTraceTaskResponseBody.php000064400000002610146412132660021370 0ustar00 '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 QueryCollectingTraceTaskResponseBody */ 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/trajectory_1_0/Models/QueryCollectingTraceTaskResponseBody/list_.php000064400000005613146412132660022510 0ustar00 'appTraceId', 'geoCollectPeriod' => 'geoCollectPeriod', 'geoReportPeriod' => 'geoReportPeriod', 'geoReportStatus' => 'geoReportStatus', 'reportEndTime' => 'reportEndTime', 'reportStartTime' => 'reportStartTime', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appTraceId) { $res['appTraceId'] = $this->appTraceId; } if (null !== $this->geoCollectPeriod) { $res['geoCollectPeriod'] = $this->geoCollectPeriod; } if (null !== $this->geoReportPeriod) { $res['geoReportPeriod'] = $this->geoReportPeriod; } if (null !== $this->geoReportStatus) { $res['geoReportStatus'] = $this->geoReportStatus; } if (null !== $this->reportEndTime) { $res['reportEndTime'] = $this->reportEndTime; } if (null !== $this->reportStartTime) { $res['reportStartTime'] = $this->reportStartTime; } 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['appTraceId'])) { $model->appTraceId = $map['appTraceId']; } if (isset($map['geoCollectPeriod'])) { $model->geoCollectPeriod = $map['geoCollectPeriod']; } if (isset($map['geoReportPeriod'])) { $model->geoReportPeriod = $map['geoReportPeriod']; } if (isset($map['geoReportStatus'])) { $model->geoReportStatus = $map['geoReportStatus']; } if (isset($map['reportEndTime'])) { $model->reportEndTime = $map['reportEndTime']; } if (isset($map['reportStartTime'])) { $model->reportStartTime = $map['reportStartTime']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/trajectory_1_0/Models/QueryPageTraceDataHeaders.php000064400000002346146412132660017075 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryPageTraceDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trajectory_1_0/Models/QueryPageTraceDataRequest.php000064400000004455146412132660017155 0ustar00 'endTime', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'staffId' => 'staffId', 'startTime' => 'startTime', 'traceId' => 'traceId', ]; 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->staffId) { $res['staffId'] = $this->staffId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->traceId) { $res['traceId'] = $this->traceId; } return $res; } /** * @param array $map * * @return QueryPageTraceDataRequest */ 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['staffId'])) { $model->staffId = $map['staffId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['traceId'])) { $model->traceId = $map['traceId']; } return $model; } } src/trajectory_1_0/Models/QueryPageTraceDataResponse.php000064400000002750146412132660017317 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryPageTraceDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryPageTraceDataResponseBody::fromMap($map['body']); } return $model; } } src/trajectory_1_0/Models/QueryPageTraceDataResponseBody.php000064400000003757146412132660020145 0ustar00 '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 QueryPageTraceDataResponseBody */ 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/trajectory_1_0/Models/QueryPageTraceDataResponseBody/list_.php000064400000003163146412132660021246 0ustar00 'coordinates', 'gmtLocation' => 'gmtLocation', 'gmtUpload' => 'gmtUpload', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coordinates) { $res['coordinates'] = null !== $this->coordinates ? $this->coordinates->toMap() : null; } if (null !== $this->gmtLocation) { $res['gmtLocation'] = $this->gmtLocation; } if (null !== $this->gmtUpload) { $res['gmtUpload'] = $this->gmtUpload; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coordinates'])) { $model->coordinates = coordinates::fromMap($map['coordinates']); } if (isset($map['gmtLocation'])) { $model->gmtLocation = $map['gmtLocation']; } if (isset($map['gmtUpload'])) { $model->gmtUpload = $map['gmtUpload']; } return $model; } } src/trajectory_1_0/Models/QueryPageTraceDataResponseBody/list_/coordinates.php000064400000002202146412132660023551 0ustar00 'latitude', 'longitude' => 'longitude', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->latitude) { $res['latitude'] = $this->latitude; } if (null !== $this->longitude) { $res['longitude'] = $this->longitude; } return $res; } /** * @param array $map * * @return coordinates */ public static function fromMap($map = []) { $model = new self(); if (isset($map['latitude'])) { $model->latitude = $map['latitude']; } if (isset($map['longitude'])) { $model->longitude = $map['longitude']; } return $model; } } src/transcribe_1_0/Dingtalk.php000064400000017376146412132660012417 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $taskUuid * @param GetTranscribeBriefHeaders $headers * @param RuntimeOptions $runtime * * @return GetTranscribeBriefResponse */ public function getTranscribeBriefWithOptions($taskUuid, $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' => 'GetTranscribeBrief', 'version' => 'transcribe_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/transcribe/tasks/' . $taskUuid . '/briefInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTranscribeBriefResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskUuid * * @return GetTranscribeBriefResponse */ public function getTranscribeBrief($taskUuid) { $runtime = new RuntimeOptions([]); $headers = new GetTranscribeBriefHeaders([]); return $this->getTranscribeBriefWithOptions($taskUuid, $headers, $runtime); } /** * @param string $taskUuid * @param RemovePermissionRequest $request * @param RemovePermissionHeaders $headers * @param RuntimeOptions $runtime * * @return RemovePermissionResponse */ public function removePermissionWithOptions($taskUuid, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->taskCreator)) { $body['taskCreator'] = $request->taskCreator; } if (!Utils::isUnset($request->taskId)) { $body['taskId'] = $request->taskId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RemovePermission', 'version' => 'transcribe_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/transcribe/tasks/' . $taskUuid . '/permissions/remove', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RemovePermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskUuid * @param RemovePermissionRequest $request * * @return RemovePermissionResponse */ public function removePermission($taskUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new RemovePermissionHeaders([]); return $this->removePermissionWithOptions($taskUuid, $request, $headers, $runtime); } /** * @param string $taskUuid * @param UpdatePermissionForUsersRequest $request * @param UpdatePermissionForUsersHeaders $headers * @param RuntimeOptions $runtime * * @return UpdatePermissionForUsersResponse */ public function updatePermissionForUsersWithOptions($taskUuid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorUid)) { $query['operatorUid'] = $request->operatorUid; } $body = []; if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->taskCreator)) { $body['taskCreator'] = $request->taskCreator; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'UpdatePermissionForUsers', 'version' => 'transcribe_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/transcribe/tasks/' . $taskUuid . '/permissions', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdatePermissionForUsersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $taskUuid * @param UpdatePermissionForUsersRequest $request * * @return UpdatePermissionForUsersResponse */ public function updatePermissionForUsers($taskUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdatePermissionForUsersHeaders([]); return $this->updatePermissionForUsersWithOptions($taskUuid, $request, $headers, $runtime); } } src/transcribe_1_0/Models/GetTranscribeBriefHeaders.php000064400000002346146412132660017074 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTranscribeBriefHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/transcribe_1_0/Models/GetTranscribeBriefResponse.php000064400000002750146412132660017316 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTranscribeBriefResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTranscribeBriefResponseBody::fromMap($map['body']); } return $model; } } src/transcribe_1_0/Models/GetTranscribeBriefResponseBody.php000064400000003022146412132660020125 0ustar00 'data', 'statusCode' => 'statusCode', '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->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GetTranscribeBriefResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/transcribe_1_0/Models/GetTranscribeBriefResponseBody/data.php000064400000001472146412132660021045 0ustar00 'bizType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } return $model; } } src/transcribe_1_0/Models/RemovePermissionHeaders.php000064400000002342146412132660016672 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemovePermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/transcribe_1_0/Models/RemovePermissionRequest.php000064400000004370146412132660016752 0ustar00 'bizType', 'members' => 'members', 'taskCreator' => 'taskCreator', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } 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->taskCreator) { $res['taskCreator'] = $this->taskCreator; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return RemovePermissionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } 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['taskCreator'])) { $model->taskCreator = $map['taskCreator']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/transcribe_1_0/Models/RemovePermissionRequest/members.php000064400000002747146412132660020412 0ustar00 'memberId', 'memberType' => 'memberType', 'policyType' => 'policyType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->policyType) { $res['policyType'] = $this->policyType; } 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']; } if (isset($map['policyType'])) { $model->policyType = $map['policyType']; } return $model; } } src/transcribe_1_0/Models/RemovePermissionResponse.php000064400000002740146412132660017117 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RemovePermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RemovePermissionResponseBody::fromMap($map['body']); } return $model; } } src/transcribe_1_0/Models/RemovePermissionResponseBody.php000064400000003014146412132660017730 0ustar00 'data', 'statusCode' => 'statusCode', '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->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return RemovePermissionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/transcribe_1_0/Models/RemovePermissionResponseBody/data.php000064400000001654146412132660020651 0ustar00 'failNameList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failNameList) { $res['failNameList'] = $this->failNameList; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failNameList'])) { if (!empty($map['failNameList'])) { $model->failNameList = $map['failNameList']; } } return $model; } } src/transcribe_1_0/Models/UpdatePermissionForUsersHeaders.php000064400000002362146412132660020352 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdatePermissionForUsersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/transcribe_1_0/Models/UpdatePermissionForUsersRequest.php000064400000004562146412132660020433 0ustar00 'bizType', 'members' => 'members', 'taskCreator' => 'taskCreator', 'operatorUid' => 'operatorUid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } 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->taskCreator) { $res['taskCreator'] = $this->taskCreator; } if (null !== $this->operatorUid) { $res['operatorUid'] = $this->operatorUid; } return $res; } /** * @param array $map * * @return UpdatePermissionForUsersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } 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['taskCreator'])) { $model->taskCreator = $map['taskCreator']; } if (isset($map['operatorUid'])) { $model->operatorUid = $map['operatorUid']; } return $model; } } src/transcribe_1_0/Models/UpdatePermissionForUsersRequest/members.php000064400000002716146412132660022064 0ustar00 'memberId', 'memberType' => 'memberType', 'policyType' => 'policyType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->policyType) { $res['policyType'] = $this->policyType; } 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']; } if (isset($map['policyType'])) { $model->policyType = $map['policyType']; } return $model; } } src/transcribe_1_0/Models/UpdatePermissionForUsersResponse.php000064400000003000146412132660020563 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdatePermissionForUsersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdatePermissionForUsersResponseBody::fromMap($map['body']); } return $model; } } src/transcribe_1_0/Models/UpdatePermissionForUsersResponseBody.php000064400000001556146412132660021417 0ustar00 'isSuccess', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isSuccess) { $res['isSuccess'] = $this->isSuccess; } return $res; } /** * @param array $map * * @return UpdatePermissionForUsersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isSuccess'])) { $model->isSuccess = $map['isSuccess']; } return $model; } } src/trip_1_0/Dingtalk.php000064400000116666146412132660011243 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param GetTravelProcessDetailRequest $request * @param GetTravelProcessDetailHeaders $headers * @param RuntimeOptions $runtime * * @return GetTravelProcessDetailResponse */ public function getTravelProcessDetailWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->processCorpId)) { $query['processCorpId'] = $request->processCorpId; } if (!Utils::isUnset($request->processInstanceId)) { $query['processInstanceId'] = $request->processInstanceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetTravelProcessDetail', 'version' => 'trip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trip/processes/details', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTravelProcessDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetTravelProcessDetailRequest $request * * @return GetTravelProcessDetailResponse */ public function getTravelProcessDetail($request) { $runtime = new RuntimeOptions([]); $headers = new GetTravelProcessDetailHeaders([]); return $this->getTravelProcessDetailWithOptions($request, $headers, $runtime); } /** * @param PreCheckTemplateRequest $request * @param PreCheckTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return PreCheckTemplateResponse */ public function preCheckTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->customerCorpId)) { $body['customerCorpId'] = $request->customerCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PreCheckTemplate', 'version' => 'trip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trip/processes/templateUpgrades/preCheck', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PreCheckTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PreCheckTemplateRequest $request * * @return PreCheckTemplateResponse */ public function preCheckTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new PreCheckTemplateHeaders([]); return $this->preCheckTemplateWithOptions($request, $headers, $runtime); } /** * @param QueryTripProcessTemplatesRequest $request * @param QueryTripProcessTemplatesHeaders $headers * @param RuntimeOptions $runtime * * @return QueryTripProcessTemplatesResponse */ public function queryTripProcessTemplatesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->customerCorpId)) { $query['customerCorpId'] = $request->customerCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryTripProcessTemplates', 'version' => 'trip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trip/processes/templatesDetails', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryTripProcessTemplatesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryTripProcessTemplatesRequest $request * * @return QueryTripProcessTemplatesResponse */ public function queryTripProcessTemplates($request) { $runtime = new RuntimeOptions([]); $headers = new QueryTripProcessTemplatesHeaders([]); return $this->queryTripProcessTemplatesWithOptions($request, $headers, $runtime); } /** * @param SyncBusinessSignInfoRequest $request * @param SyncBusinessSignInfoHeaders $headers * @param RuntimeOptions $runtime * * @return SyncBusinessSignInfoResponse */ public function syncBusinessSignInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizTypeList)) { $body['bizTypeList'] = $request->bizTypeList; } if (!Utils::isUnset($request->gmtOrgPay)) { $body['gmtOrgPay'] = $request->gmtOrgPay; } if (!Utils::isUnset($request->gmtSign)) { $body['gmtSign'] = $request->gmtSign; } if (!Utils::isUnset($request->orgPayStatus)) { $body['orgPayStatus'] = $request->orgPayStatus; } if (!Utils::isUnset($request->signStatus)) { $body['signStatus'] = $request->signStatus; } if (!Utils::isUnset($request->targetCorpId)) { $body['targetCorpId'] = $request->targetCorpId; } if (!Utils::isUnset($request->tmcProductDetailList)) { $body['tmcProductDetailList'] = $request->tmcProductDetailList; } if (!Utils::isUnset($request->tmcProductList)) { $body['tmcProductList'] = $request->tmcProductList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SyncBusinessSignInfo', 'version' => 'trip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trip/businessSignInfos/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SyncBusinessSignInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SyncBusinessSignInfoRequest $request * * @return SyncBusinessSignInfoResponse */ public function syncBusinessSignInfo($request) { $runtime = new RuntimeOptions([]); $headers = new SyncBusinessSignInfoHeaders([]); return $this->syncBusinessSignInfoWithOptions($request, $headers, $runtime); } /** * @param SyncCostCenterRequest $request * @param SyncCostCenterHeaders $headers * @param RuntimeOptions $runtime * * @return SyncCostCenterResponse */ public function syncCostCenterWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->channelCorpId)) { $body['channelCorpId'] = $request->channelCorpId; } if (!Utils::isUnset($request->costCenterId)) { $body['costCenterId'] = $request->costCenterId; } if (!Utils::isUnset($request->deleteFlag)) { $body['deleteFlag'] = $request->deleteFlag; } if (!Utils::isUnset($request->extension)) { $body['extension'] = $request->extension; } if (!Utils::isUnset($request->gmtAction)) { $body['gmtAction'] = $request->gmtAction; } if (!Utils::isUnset($request->number)) { $body['number'] = $request->number; } if (!Utils::isUnset($request->scope)) { $body['scope'] = $request->scope; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } if (!Utils::isUnset($request->thirdPartId)) { $body['thirdPartId'] = $request->thirdPartId; } 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' => 'SyncCostCenter', 'version' => 'trip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trip/processes/costCenters/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SyncCostCenterResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SyncCostCenterRequest $request * * @return SyncCostCenterResponse */ public function syncCostCenter($request) { $runtime = new RuntimeOptions([]); $headers = new SyncCostCenterHeaders([]); return $this->syncCostCenterWithOptions($request, $headers, $runtime); } /** * @param SyncCostCenterEntityRequest $request * @param SyncCostCenterEntityHeaders $headers * @param RuntimeOptions $runtime * * @return SyncCostCenterEntityResponse */ public function syncCostCenterEntityWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->channelCorpId)) { $body['channelCorpId'] = $request->channelCorpId; } if (!Utils::isUnset($request->costCenterId)) { $body['costCenterId'] = $request->costCenterId; } if (!Utils::isUnset($request->delAll)) { $body['delAll'] = $request->delAll; } if (!Utils::isUnset($request->entityList)) { $body['entityList'] = $request->entityList; } 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' => 'SyncCostCenterEntity', 'version' => 'trip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trip/processes/costCenters/applicableScopes/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SyncCostCenterEntityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SyncCostCenterEntityRequest $request * * @return SyncCostCenterEntityResponse */ public function syncCostCenterEntity($request) { $runtime = new RuntimeOptions([]); $headers = new SyncCostCenterEntityHeaders([]); return $this->syncCostCenterEntityWithOptions($request, $headers, $runtime); } /** * @param SyncInvoiceRequest $request * @param SyncInvoiceHeaders $headers * @param RuntimeOptions $runtime * * @return SyncInvoiceResponse */ public function syncInvoiceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->address)) { $body['address'] = $request->address; } if (!Utils::isUnset($request->bankName)) { $body['bankName'] = $request->bankName; } if (!Utils::isUnset($request->bankNo)) { $body['bankNo'] = $request->bankNo; } if (!Utils::isUnset($request->channelCorpId)) { $body['channelCorpId'] = $request->channelCorpId; } if (!Utils::isUnset($request->deleteFlag)) { $body['deleteFlag'] = $request->deleteFlag; } if (!Utils::isUnset($request->gmtAction)) { $body['gmtAction'] = $request->gmtAction; } if (!Utils::isUnset($request->invoiceId)) { $body['invoiceId'] = $request->invoiceId; } if (!Utils::isUnset($request->projectIds)) { $body['projectIds'] = $request->projectIds; } if (!Utils::isUnset($request->scope)) { $body['scope'] = $request->scope; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } if (!Utils::isUnset($request->taxNo)) { $body['taxNo'] = $request->taxNo; } if (!Utils::isUnset($request->tel)) { $body['tel'] = $request->tel; } if (!Utils::isUnset($request->thirdPartId)) { $body['thirdPartId'] = $request->thirdPartId; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } if (!Utils::isUnset($request->unitType)) { $body['unitType'] = $request->unitType; } 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' => 'SyncInvoice', 'version' => 'trip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trip/processes/invoiceTitles/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SyncInvoiceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SyncInvoiceRequest $request * * @return SyncInvoiceResponse */ public function syncInvoice($request) { $runtime = new RuntimeOptions([]); $headers = new SyncInvoiceHeaders([]); return $this->syncInvoiceWithOptions($request, $headers, $runtime); } /** * @param SyncInvoiceEntityRequest $request * @param SyncInvoiceEntityHeaders $headers * @param RuntimeOptions $runtime * * @return SyncInvoiceEntityResponse */ public function syncInvoiceEntityWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->channelCorpId)) { $body['channelCorpId'] = $request->channelCorpId; } if (!Utils::isUnset($request->delAll)) { $body['delAll'] = $request->delAll; } if (!Utils::isUnset($request->entityList)) { $body['entityList'] = $request->entityList; } if (!Utils::isUnset($request->invoiceId)) { $body['invoiceId'] = $request->invoiceId; } 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' => 'SyncInvoiceEntity', 'version' => 'trip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trip/processes/invoiceTitles/applicableScopes/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SyncInvoiceEntityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SyncInvoiceEntityRequest $request * * @return SyncInvoiceEntityResponse */ public function syncInvoiceEntity($request) { $runtime = new RuntimeOptions([]); $headers = new SyncInvoiceEntityHeaders([]); return $this->syncInvoiceEntityWithOptions($request, $headers, $runtime); } /** * @param SyncProjectRequest $request * @param SyncProjectHeaders $headers * @param RuntimeOptions $runtime * * @return SyncProjectResponse */ public function syncProjectWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->channelCorpId)) { $body['channelCorpId'] = $request->channelCorpId; } if (!Utils::isUnset($request->code)) { $body['code'] = $request->code; } if (!Utils::isUnset($request->costCenterId)) { $body['costCenterId'] = $request->costCenterId; } if (!Utils::isUnset($request->deleteFlag)) { $body['deleteFlag'] = $request->deleteFlag; } if (!Utils::isUnset($request->extension)) { $body['extension'] = $request->extension; } if (!Utils::isUnset($request->gmtAction)) { $body['gmtAction'] = $request->gmtAction; } if (!Utils::isUnset($request->invoiceId)) { $body['invoiceId'] = $request->invoiceId; } if (!Utils::isUnset($request->managerIds)) { $body['managerIds'] = $request->managerIds; } if (!Utils::isUnset($request->projectId)) { $body['projectId'] = $request->projectId; } if (!Utils::isUnset($request->projectName)) { $body['projectName'] = $request->projectName; } if (!Utils::isUnset($request->scope)) { $body['scope'] = $request->scope; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } if (!Utils::isUnset($request->thirdPartId)) { $body['thirdPartId'] = $request->thirdPartId; } 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' => 'SyncProject', 'version' => 'trip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trip/processes/projects/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SyncProjectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SyncProjectRequest $request * * @return SyncProjectResponse */ public function syncProject($request) { $runtime = new RuntimeOptions([]); $headers = new SyncProjectHeaders([]); return $this->syncProjectWithOptions($request, $headers, $runtime); } /** * @param SyncProjectEntityRequest $request * @param SyncProjectEntityHeaders $headers * @param RuntimeOptions $runtime * * @return SyncProjectEntityResponse */ public function syncProjectEntityWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->channelCorpId)) { $body['channelCorpId'] = $request->channelCorpId; } if (!Utils::isUnset($request->delAll)) { $body['delAll'] = $request->delAll; } if (!Utils::isUnset($request->entityList)) { $body['entityList'] = $request->entityList; } if (!Utils::isUnset($request->projectId)) { $body['projectId'] = $request->projectId; } 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' => 'SyncProjectEntity', 'version' => 'trip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trip/processes/projects/applicableScopes/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SyncProjectEntityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SyncProjectEntityRequest $request * * @return SyncProjectEntityResponse */ public function syncProjectEntity($request) { $runtime = new RuntimeOptions([]); $headers = new SyncProjectEntityHeaders([]); return $this->syncProjectEntityWithOptions($request, $headers, $runtime); } /** * @param SyncSecretKeyRequest $request * @param SyncSecretKeyHeaders $headers * @param RuntimeOptions $runtime * * @return SyncSecretKeyResponse */ public function syncSecretKeyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->actionType)) { $body['actionType'] = $request->actionType; } if (!Utils::isUnset($request->secretString)) { $body['secretString'] = $request->secretString; } if (!Utils::isUnset($request->targetCorpId)) { $body['targetCorpId'] = $request->targetCorpId; } if (!Utils::isUnset($request->tripAppKey)) { $body['tripAppKey'] = $request->tripAppKey; } if (!Utils::isUnset($request->tripAppSecurity)) { $body['tripAppSecurity'] = $request->tripAppSecurity; } if (!Utils::isUnset($request->tripCorpId)) { $body['tripCorpId'] = $request->tripCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SyncSecretKey', 'version' => 'trip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trip/secretKeys/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SyncSecretKeyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SyncSecretKeyRequest $request * * @return SyncSecretKeyResponse */ public function syncSecretKey($request) { $runtime = new RuntimeOptions([]); $headers = new SyncSecretKeyHeaders([]); return $this->syncSecretKeyWithOptions($request, $headers, $runtime); } /** * @param SyncTripOrderRequest $request * @param SyncTripOrderHeaders $headers * @param RuntimeOptions $runtime * * @return SyncTripOrderResponse */ public function syncTripOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizExtension)) { $body['bizExtension'] = $request->bizExtension; } if (!Utils::isUnset($request->channelType)) { $body['channelType'] = $request->channelType; } if (!Utils::isUnset($request->currency)) { $body['currency'] = $request->currency; } if (!Utils::isUnset($request->dingUserId)) { $body['dingUserId'] = $request->dingUserId; } if (!Utils::isUnset($request->discountAmount)) { $body['discountAmount'] = $request->discountAmount; } if (!Utils::isUnset($request->endorseFlag)) { $body['endorseFlag'] = $request->endorseFlag; } if (!Utils::isUnset($request->event)) { $body['event'] = $request->event; } if (!Utils::isUnset($request->gmtOrder)) { $body['gmtOrder'] = $request->gmtOrder; } if (!Utils::isUnset($request->gmtPay)) { $body['gmtPay'] = $request->gmtPay; } if (!Utils::isUnset($request->gmtRefund)) { $body['gmtRefund'] = $request->gmtRefund; } if (!Utils::isUnset($request->invoiceApplyUrl)) { $body['invoiceApplyUrl'] = $request->invoiceApplyUrl; } if (!Utils::isUnset($request->journeyBizNo)) { $body['journeyBizNo'] = $request->journeyBizNo; } if (!Utils::isUnset($request->orderDetails)) { $body['orderDetails'] = $request->orderDetails; } if (!Utils::isUnset($request->orderNo)) { $body['orderNo'] = $request->orderNo; } if (!Utils::isUnset($request->orderUrl)) { $body['orderUrl'] = $request->orderUrl; } if (!Utils::isUnset($request->processId)) { $body['processId'] = $request->processId; } if (!Utils::isUnset($request->realAmount)) { $body['realAmount'] = $request->realAmount; } if (!Utils::isUnset($request->refundAmount)) { $body['refundAmount'] = $request->refundAmount; } if (!Utils::isUnset($request->relativeOrderNo)) { $body['relativeOrderNo'] = $request->relativeOrderNo; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } if (!Utils::isUnset($request->supplyLogo)) { $body['supplyLogo'] = $request->supplyLogo; } if (!Utils::isUnset($request->supplyName)) { $body['supplyName'] = $request->supplyName; } if (!Utils::isUnset($request->targetCorpId)) { $body['targetCorpId'] = $request->targetCorpId; } if (!Utils::isUnset($request->tmcCorpId)) { $body['tmcCorpId'] = $request->tmcCorpId; } if (!Utils::isUnset($request->totalAmount)) { $body['totalAmount'] = $request->totalAmount; } 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' => 'SyncTripOrder', 'version' => 'trip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trip/tripOrders/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SyncTripOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SyncTripOrderRequest $request * * @return SyncTripOrderResponse */ public function syncTripOrder($request) { $runtime = new RuntimeOptions([]); $headers = new SyncTripOrderHeaders([]); return $this->syncTripOrderWithOptions($request, $headers, $runtime); } /** * @param SyncTripProductConfigRequest $request * @param SyncTripProductConfigHeaders $headers * @param RuntimeOptions $runtime * * @return SyncTripProductConfigResponse */ public function syncTripProductConfigWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->targetCorpId)) { $body['targetCorpId'] = $request->targetCorpId; } if (!Utils::isUnset($request->tripProductConfigList)) { $body['tripProductConfigList'] = $request->tripProductConfigList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SyncTripProductConfig', 'version' => 'trip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trip/productConfigs/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SyncTripProductConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SyncTripProductConfigRequest $request * * @return SyncTripProductConfigResponse */ public function syncTripProductConfig($request) { $runtime = new RuntimeOptions([]); $headers = new SyncTripProductConfigHeaders([]); return $this->syncTripProductConfigWithOptions($request, $headers, $runtime); } /** * @param UpgradeTemplateRequest $request * @param UpgradeTemplateHeaders $headers * @param RuntimeOptions $runtime * * @return UpgradeTemplateResponse */ public function upgradeTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->channelCorpId)) { $body['channelCorpId'] = $request->channelCorpId; } if (!Utils::isUnset($request->forceUpgrade)) { $body['forceUpgrade'] = $request->forceUpgrade; } if (!Utils::isUnset($request->tmcCorpId)) { $body['tmcCorpId'] = $request->tmcCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpgradeTemplate', 'version' => 'trip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/trip/process/templates/upgrade', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpgradeTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpgradeTemplateRequest $request * * @return UpgradeTemplateResponse */ public function upgradeTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new UpgradeTemplateHeaders([]); return $this->upgradeTemplateWithOptions($request, $headers, $runtime); } } src/trip_1_0/Models/GetTravelProcessDetailHeaders.php000064400000002350146412132660016564 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTravelProcessDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trip_1_0/Models/GetTravelProcessDetailRequest.php000064400000002516146412132660016645 0ustar00 'processCorpId', 'processInstanceId' => 'processInstanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processCorpId) { $res['processCorpId'] = $this->processCorpId; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } return $res; } /** * @param array $map * * @return GetTravelProcessDetailRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processCorpId'])) { $model->processCorpId = $map['processCorpId']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } return $model; } } src/trip_1_0/Models/GetTravelProcessDetailResponse.php000064400000002762146412132660017016 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTravelProcessDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTravelProcessDetailResponseBody::fromMap($map['body']); } return $model; } } src/trip_1_0/Models/GetTravelProcessDetailResponseBody.php000064400000002365146412132660017633 0ustar00 '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 GetTravelProcessDetailResponseBody */ 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/trip_1_0/Models/GetTravelProcessDetailResponseBody/result.php000064400000014143146412132660021146 0ustar00 'businessId', 'corpId' => 'corpId', 'costCenter' => 'costCenter', 'itineraryProject' => 'itineraryProject', 'journeys' => 'journeys', 'mainProcessInstanceId' => 'mainProcessInstanceId', 'memo' => 'memo', 'originatorId' => 'originatorId', 'processInstanceId' => 'processInstanceId', 'processResult' => 'processResult', 'processStatus' => 'processStatus', 'remark' => 'remark', 'travelCategory' => 'travelCategory', 'travelers' => 'travelers', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->businessId) { $res['businessId'] = $this->businessId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->costCenter) { $res['costCenter'] = $this->costCenter; } if (null !== $this->itineraryProject) { $res['itineraryProject'] = $this->itineraryProject; } if (null !== $this->journeys) { $res['journeys'] = []; if (null !== $this->journeys && \is_array($this->journeys)) { $n = 0; foreach ($this->journeys as $item) { $res['journeys'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->mainProcessInstanceId) { $res['mainProcessInstanceId'] = $this->mainProcessInstanceId; } if (null !== $this->memo) { $res['memo'] = $this->memo; } if (null !== $this->originatorId) { $res['originatorId'] = $this->originatorId; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->processResult) { $res['processResult'] = $this->processResult; } if (null !== $this->processStatus) { $res['processStatus'] = $this->processStatus; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->travelCategory) { $res['travelCategory'] = $this->travelCategory; } if (null !== $this->travelers) { $res['travelers'] = $this->travelers; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['businessId'])) { $model->businessId = $map['businessId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['costCenter'])) { $model->costCenter = $map['costCenter']; } if (isset($map['itineraryProject'])) { $model->itineraryProject = $map['itineraryProject']; } if (isset($map['journeys'])) { if (!empty($map['journeys'])) { $model->journeys = []; $n = 0; foreach ($map['journeys'] as $item) { $model->journeys[$n++] = null !== $item ? journeys::fromMap($item) : $item; } } } if (isset($map['mainProcessInstanceId'])) { $model->mainProcessInstanceId = $map['mainProcessInstanceId']; } if (isset($map['memo'])) { $model->memo = $map['memo']; } if (isset($map['originatorId'])) { $model->originatorId = $map['originatorId']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['processResult'])) { $model->processResult = $map['processResult']; } if (isset($map['processStatus'])) { $model->processStatus = $map['processStatus']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['travelCategory'])) { $model->travelCategory = $map['travelCategory']; } if (isset($map['travelers'])) { if (!empty($map['travelers'])) { $model->travelers = $map['travelers']; } } return $model; } } src/trip_1_0/Models/GetTravelProcessDetailResponseBody/result/journeys.php000064400000006125146412132660023025 0ustar00 'arrival', 'departure' => 'departure', 'endTime' => 'endTime', 'journeyBizNo' => 'journeyBizNo', 'startTime' => 'startTime', 'travelType' => 'travelType', 'tripWay' => 'tripWay', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->arrival) { $res['arrival'] = null !== $this->arrival ? $this->arrival->toMap() : null; } if (null !== $this->departure) { $res['departure'] = null !== $this->departure ? $this->departure->toMap() : null; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->journeyBizNo) { $res['journeyBizNo'] = $this->journeyBizNo; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->travelType) { $res['travelType'] = $this->travelType; } if (null !== $this->tripWay) { $res['tripWay'] = $this->tripWay; } return $res; } /** * @param array $map * * @return journeys */ public static function fromMap($map = []) { $model = new self(); if (isset($map['arrival'])) { $model->arrival = arrival::fromMap($map['arrival']); } if (isset($map['departure'])) { $model->departure = departure::fromMap($map['departure']); } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['journeyBizNo'])) { $model->journeyBizNo = $map['journeyBizNo']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['travelType'])) { $model->travelType = $map['travelType']; } if (isset($map['tripWay'])) { $model->tripWay = $map['tripWay']; } return $model; } } src/trip_1_0/Models/GetTravelProcessDetailResponseBody/result/journeys/arrival.php000064400000003014146412132660024457 0ustar00 'code', 'name' => 'name', 'nationalCityCode' => 'nationalCityCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nationalCityCode) { $res['nationalCityCode'] = $this->nationalCityCode; } return $res; } /** * @param array $map * * @return arrival */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nationalCityCode'])) { $model->nationalCityCode = $map['nationalCityCode']; } return $model; } } src/trip_1_0/Models/GetTravelProcessDetailResponseBody/result/journeys/departure.php000064400000003020146412132660025007 0ustar00 'code', 'name' => 'name', 'nationalCityCode' => 'nationalCityCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nationalCityCode) { $res['nationalCityCode'] = $this->nationalCityCode; } return $res; } /** * @param array $map * * @return departure */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nationalCityCode'])) { $model->nationalCityCode = $map['nationalCityCode']; } return $model; } } src/trip_1_0/Models/PreCheckTemplateHeaders.php000064400000002334146412132660015367 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PreCheckTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trip_1_0/Models/PreCheckTemplateRequest.php000064400000001671146412132660015447 0ustar00 'customerCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customerCorpId) { $res['customerCorpId'] = $this->customerCorpId; } return $res; } /** * @param array $map * * @return PreCheckTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customerCorpId'])) { $model->customerCorpId = $map['customerCorpId']; } return $model; } } src/trip_1_0/Models/PreCheckTemplateResponse.php000064400000002732146412132660015614 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PreCheckTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PreCheckTemplateResponseBody::fromMap($map['body']); } return $model; } } src/trip_1_0/Models/PreCheckTemplateResponseBody.php000064400000002343146412132660016430 0ustar00 '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 PreCheckTemplateResponseBody */ 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/trip_1_0/Models/PreCheckTemplateResponseBody/result.php000064400000003353146412132660017750 0ustar00 'blockRecords', 'pass' => 'pass', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->blockRecords) { $res['blockRecords'] = []; if (null !== $this->blockRecords && \is_array($this->blockRecords)) { $n = 0; foreach ($this->blockRecords as $item) { $res['blockRecords'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->pass) { $res['pass'] = $this->pass; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['blockRecords'])) { if (!empty($map['blockRecords'])) { $model->blockRecords = []; $n = 0; foreach ($map['blockRecords'] as $item) { $model->blockRecords[$n++] = null !== $item ? blockRecords::fromMap($item) : $item; } } } if (isset($map['pass'])) { $model->pass = $map['pass']; } return $model; } } src/trip_1_0/Models/PreCheckTemplateResponseBody/result/blockRecords.php000064400000002157146412132660022365 0ustar00 'blockType', 'reason' => 'reason', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->blockType) { $res['blockType'] = $this->blockType; } if (null !== $this->reason) { $res['reason'] = $this->reason; } return $res; } /** * @param array $map * * @return blockRecords */ public static function fromMap($map = []) { $model = new self(); if (isset($map['blockType'])) { $model->blockType = $map['blockType']; } if (isset($map['reason'])) { $model->reason = $map['reason']; } return $model; } } src/trip_1_0/Models/QueryTripProcessTemplatesHeaders.php000064400000002356146412132660017375 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryTripProcessTemplatesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trip_1_0/Models/QueryTripProcessTemplatesRequest.php000064400000001713146412132660017446 0ustar00 'customerCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customerCorpId) { $res['customerCorpId'] = $this->customerCorpId; } return $res; } /** * @param array $map * * @return QueryTripProcessTemplatesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customerCorpId'])) { $model->customerCorpId = $map['customerCorpId']; } return $model; } } src/trip_1_0/Models/QueryTripProcessTemplatesResponse.php000064400000002776146412132660017626 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryTripProcessTemplatesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryTripProcessTemplatesResponseBody::fromMap($map['body']); } return $model; } } src/trip_1_0/Models/QueryTripProcessTemplatesResponseBody.php000064400000002376146412132660020440 0ustar00 '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 QueryTripProcessTemplatesResponseBody */ 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/trip_1_0/Models/QueryTripProcessTemplatesResponseBody/result.php000064400000002641146412132660021751 0ustar00 'schemas', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->schemas) { $res['schemas'] = []; if (null !== $this->schemas && \is_array($this->schemas)) { $n = 0; foreach ($this->schemas as $item) { $res['schemas'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['schemas'])) { if (!empty($map['schemas'])) { $model->schemas = []; $n = 0; foreach ($map['schemas'] as $item) { $model->schemas[$n++] = null !== $item ? schemas::fromMap($item) : $item; } } } return $model; } } src/trip_1_0/Models/QueryTripProcessTemplatesResponseBody/result/schemas.php000064400000002655146412132660023401 0ustar00 'processCode', 'processName' => 'processName', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->processName) { $res['processName'] = $this->processName; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return schemas */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['processName'])) { $model->processName = $map['processName']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/trip_1_0/Models/SyncBusinessSignInfoHeaders.php000064400000002344146412132660016275 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncBusinessSignInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trip_1_0/Models/SyncBusinessSignInfoRequest.php000064400000011313146412132660016346 0ustar00 'bizTypeList', 'gmtOrgPay' => 'gmtOrgPay', 'gmtSign' => 'gmtSign', 'orgPayStatus' => 'orgPayStatus', 'signStatus' => 'signStatus', 'targetCorpId' => 'targetCorpId', 'tmcProductDetailList' => 'tmcProductDetailList', 'tmcProductList' => 'tmcProductList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTypeList) { $res['bizTypeList'] = $this->bizTypeList; } if (null !== $this->gmtOrgPay) { $res['gmtOrgPay'] = $this->gmtOrgPay; } if (null !== $this->gmtSign) { $res['gmtSign'] = $this->gmtSign; } if (null !== $this->orgPayStatus) { $res['orgPayStatus'] = $this->orgPayStatus; } if (null !== $this->signStatus) { $res['signStatus'] = $this->signStatus; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } if (null !== $this->tmcProductDetailList) { $res['tmcProductDetailList'] = []; if (null !== $this->tmcProductDetailList && \is_array($this->tmcProductDetailList)) { $n = 0; foreach ($this->tmcProductDetailList as $item) { $res['tmcProductDetailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->tmcProductList) { $res['tmcProductList'] = []; if (null !== $this->tmcProductList && \is_array($this->tmcProductList)) { $n = 0; foreach ($this->tmcProductList as $item) { $res['tmcProductList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return SyncBusinessSignInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTypeList'])) { if (!empty($map['bizTypeList'])) { $model->bizTypeList = $map['bizTypeList']; } } if (isset($map['gmtOrgPay'])) { $model->gmtOrgPay = $map['gmtOrgPay']; } if (isset($map['gmtSign'])) { $model->gmtSign = $map['gmtSign']; } if (isset($map['orgPayStatus'])) { $model->orgPayStatus = $map['orgPayStatus']; } if (isset($map['signStatus'])) { $model->signStatus = $map['signStatus']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } if (isset($map['tmcProductDetailList'])) { if (!empty($map['tmcProductDetailList'])) { $model->tmcProductDetailList = []; $n = 0; foreach ($map['tmcProductDetailList'] as $item) { $model->tmcProductDetailList[$n++] = null !== $item ? tmcProductDetailList::fromMap($item) : $item; } } } if (isset($map['tmcProductList'])) { if (!empty($map['tmcProductList'])) { $model->tmcProductList = []; $n = 0; foreach ($map['tmcProductList'] as $item) { $model->tmcProductList[$n++] = null !== $item ? tmcProductList::fromMap($item) : $item; } } } return $model; } } src/trip_1_0/Models/SyncBusinessSignInfoRequest/tmcProductDetailList.php000064400000002675146412132660022464 0ustar00 'gmtOrgPay', 'payType' => 'payType', 'product' => 'product', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->gmtOrgPay) { $res['gmtOrgPay'] = $this->gmtOrgPay; } if (null !== $this->payType) { $res['payType'] = $this->payType; } if (null !== $this->product) { $res['product'] = $this->product; } return $res; } /** * @param array $map * * @return tmcProductDetailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['gmtOrgPay'])) { $model->gmtOrgPay = $map['gmtOrgPay']; } if (isset($map['payType'])) { $model->payType = $map['payType']; } if (isset($map['product'])) { $model->product = $map['product']; } return $model; } } src/trip_1_0/Models/SyncBusinessSignInfoRequest/tmcProductList.php000064400000003612146412132660021331 0ustar00 'productDetailList', 'tmcCorpId' => 'tmcCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->productDetailList) { $res['productDetailList'] = []; if (null !== $this->productDetailList && \is_array($this->productDetailList)) { $n = 0; foreach ($this->productDetailList as $item) { $res['productDetailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->tmcCorpId) { $res['tmcCorpId'] = $this->tmcCorpId; } return $res; } /** * @param array $map * * @return tmcProductList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['productDetailList'])) { if (!empty($map['productDetailList'])) { $model->productDetailList = []; $n = 0; foreach ($map['productDetailList'] as $item) { $model->productDetailList[$n++] = null !== $item ? productDetailList::fromMap($item) : $item; } } } if (isset($map['tmcCorpId'])) { $model->tmcCorpId = $map['tmcCorpId']; } return $model; } } src/trip_1_0/Models/SyncBusinessSignInfoRequest/tmcProductList/productDetailList.php000064400000004105146412132660024766 0ustar00 'categoryType', 'gmtOrgPay' => 'gmtOrgPay', 'openStatus' => 'openStatus', 'payType' => 'payType', 'product' => 'product', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->categoryType) { $res['categoryType'] = $this->categoryType; } if (null !== $this->gmtOrgPay) { $res['gmtOrgPay'] = $this->gmtOrgPay; } if (null !== $this->openStatus) { $res['openStatus'] = $this->openStatus; } if (null !== $this->payType) { $res['payType'] = $this->payType; } if (null !== $this->product) { $res['product'] = $this->product; } return $res; } /** * @param array $map * * @return productDetailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['categoryType'])) { $model->categoryType = $map['categoryType']; } if (isset($map['gmtOrgPay'])) { $model->gmtOrgPay = $map['gmtOrgPay']; } if (isset($map['openStatus'])) { $model->openStatus = $map['openStatus']; } if (isset($map['payType'])) { $model->payType = $map['payType']; } if (isset($map['product'])) { $model->product = $map['product']; } return $model; } } src/trip_1_0/Models/SyncBusinessSignInfoResponse.php000064400000002752146412132660016523 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncBusinessSignInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncBusinessSignInfoResponseBody::fromMap($map['body']); } return $model; } } src/trip_1_0/Models/SyncBusinessSignInfoResponseBody.php000064400000002171146412132660017334 0ustar00 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SyncBusinessSignInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/trip_1_0/Models/SyncCostCenterEntityHeaders.php000064400000002344146412132660016313 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncCostCenterEntityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trip_1_0/Models/SyncCostCenterEntityRequest.php000064400000005367146412132660016400 0ustar00 'channelCorpId', 'costCenterId' => 'costCenterId', 'delAll' => 'delAll', 'entityList' => 'entityList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->channelCorpId) { $res['channelCorpId'] = $this->channelCorpId; } if (null !== $this->costCenterId) { $res['costCenterId'] = $this->costCenterId; } if (null !== $this->delAll) { $res['delAll'] = $this->delAll; } if (null !== $this->entityList) { $res['entityList'] = []; if (null !== $this->entityList && \is_array($this->entityList)) { $n = 0; foreach ($this->entityList as $item) { $res['entityList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SyncCostCenterEntityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['channelCorpId'])) { $model->channelCorpId = $map['channelCorpId']; } if (isset($map['costCenterId'])) { $model->costCenterId = $map['costCenterId']; } if (isset($map['delAll'])) { $model->delAll = $map['delAll']; } if (isset($map['entityList'])) { if (!empty($map['entityList'])) { $model->entityList = []; $n = 0; foreach ($map['entityList'] as $item) { $model->entityList[$n++] = null !== $item ? entityList::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/trip_1_0/Models/SyncCostCenterEntityRequest/entityList.php000064400000002175146412132660020542 0ustar00 'entityId', 'entityType' => 'entityType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->entityId) { $res['entityId'] = $this->entityId; } if (null !== $this->entityType) { $res['entityType'] = $this->entityType; } return $res; } /** * @param array $map * * @return entityList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['entityId'])) { $model->entityId = $map['entityId']; } if (isset($map['entityType'])) { $model->entityType = $map['entityType']; } return $model; } } src/trip_1_0/Models/SyncCostCenterEntityResponse.php000064400000002752146412132660016541 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncCostCenterEntityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncCostCenterEntityResponseBody::fromMap($map['body']); } return $model; } } src/trip_1_0/Models/SyncCostCenterEntityResponseBody.php000064400000001516146412132660017354 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SyncCostCenterEntityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/trip_1_0/Models/SyncCostCenterHeaders.php000064400000002330146412132660015111 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncCostCenterHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trip_1_0/Models/SyncCostCenterRequest.php000064400000007727146412132660015205 0ustar00 'channelCorpId', 'costCenterId' => 'costCenterId', 'deleteFlag' => 'deleteFlag', 'extension' => 'extension', 'gmtAction' => 'gmtAction', 'number' => 'number', 'scope' => 'scope', 'source' => 'source', 'thirdPartId' => 'thirdPartId', 'title' => 'title', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->channelCorpId) { $res['channelCorpId'] = $this->channelCorpId; } if (null !== $this->costCenterId) { $res['costCenterId'] = $this->costCenterId; } if (null !== $this->deleteFlag) { $res['deleteFlag'] = $this->deleteFlag; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->gmtAction) { $res['gmtAction'] = $this->gmtAction; } if (null !== $this->number) { $res['number'] = $this->number; } if (null !== $this->scope) { $res['scope'] = $this->scope; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->thirdPartId) { $res['thirdPartId'] = $this->thirdPartId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SyncCostCenterRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['channelCorpId'])) { $model->channelCorpId = $map['channelCorpId']; } if (isset($map['costCenterId'])) { $model->costCenterId = $map['costCenterId']; } if (isset($map['deleteFlag'])) { $model->deleteFlag = $map['deleteFlag']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['gmtAction'])) { $model->gmtAction = $map['gmtAction']; } if (isset($map['number'])) { $model->number = $map['number']; } if (isset($map['scope'])) { $model->scope = $map['scope']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['thirdPartId'])) { $model->thirdPartId = $map['thirdPartId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/trip_1_0/Models/SyncCostCenterResponse.php000064400000002722146412132660015341 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncCostCenterResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncCostCenterResponseBody::fromMap($map['body']); } return $model; } } src/trip_1_0/Models/SyncCostCenterResponseBody.php000064400000001502146412132660016152 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SyncCostCenterResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/trip_1_0/Models/SyncInvoiceEntityHeaders.php000064400000002336146412132660015637 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncInvoiceEntityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trip_1_0/Models/SyncInvoiceEntityRequest.php000064400000005270146412132660015714 0ustar00 'channelCorpId', 'delAll' => 'delAll', 'entityList' => 'entityList', 'invoiceId' => 'invoiceId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->channelCorpId) { $res['channelCorpId'] = $this->channelCorpId; } if (null !== $this->delAll) { $res['delAll'] = $this->delAll; } if (null !== $this->entityList) { $res['entityList'] = []; if (null !== $this->entityList && \is_array($this->entityList)) { $n = 0; foreach ($this->entityList as $item) { $res['entityList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->invoiceId) { $res['invoiceId'] = $this->invoiceId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SyncInvoiceEntityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['channelCorpId'])) { $model->channelCorpId = $map['channelCorpId']; } if (isset($map['delAll'])) { $model->delAll = $map['delAll']; } if (isset($map['entityList'])) { if (!empty($map['entityList'])) { $model->entityList = []; $n = 0; foreach ($map['entityList'] as $item) { $model->entityList[$n++] = null !== $item ? entityList::fromMap($item) : $item; } } } if (isset($map['invoiceId'])) { $model->invoiceId = $map['invoiceId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/trip_1_0/Models/SyncInvoiceEntityRequest/entityList.php000064400000002172146412132660020062 0ustar00 'entityId', 'entityType' => 'entityType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->entityId) { $res['entityId'] = $this->entityId; } if (null !== $this->entityType) { $res['entityType'] = $this->entityType; } return $res; } /** * @param array $map * * @return entityList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['entityId'])) { $model->entityId = $map['entityId']; } if (isset($map['entityType'])) { $model->entityType = $map['entityType']; } return $model; } } src/trip_1_0/Models/SyncInvoiceEntityResponse.php000064400000002736146412132660016066 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncInvoiceEntityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncInvoiceEntityResponseBody::fromMap($map['body']); } return $model; } } src/trip_1_0/Models/SyncInvoiceEntityResponseBody.php000064400000001510146412132660016671 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SyncInvoiceEntityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/trip_1_0/Models/SyncInvoiceHeaders.php000064400000002322146412132660014435 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncInvoiceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trip_1_0/Models/SyncInvoiceRequest.php000064400000013216146412132660014516 0ustar00 'address', 'bankName' => 'bankName', 'bankNo' => 'bankNo', 'channelCorpId' => 'channelCorpId', 'deleteFlag' => 'deleteFlag', 'gmtAction' => 'gmtAction', 'invoiceId' => 'invoiceId', 'projectIds' => 'projectIds', 'scope' => 'scope', 'source' => 'source', 'taxNo' => 'taxNo', 'tel' => 'tel', 'thirdPartId' => 'thirdPartId', 'title' => 'title', 'type' => 'type', 'unitType' => 'unitType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->bankName) { $res['bankName'] = $this->bankName; } if (null !== $this->bankNo) { $res['bankNo'] = $this->bankNo; } if (null !== $this->channelCorpId) { $res['channelCorpId'] = $this->channelCorpId; } if (null !== $this->deleteFlag) { $res['deleteFlag'] = $this->deleteFlag; } if (null !== $this->gmtAction) { $res['gmtAction'] = $this->gmtAction; } if (null !== $this->invoiceId) { $res['invoiceId'] = $this->invoiceId; } if (null !== $this->projectIds) { $res['projectIds'] = $this->projectIds; } if (null !== $this->scope) { $res['scope'] = $this->scope; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->taxNo) { $res['taxNo'] = $this->taxNo; } if (null !== $this->tel) { $res['tel'] = $this->tel; } if (null !== $this->thirdPartId) { $res['thirdPartId'] = $this->thirdPartId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->unitType) { $res['unitType'] = $this->unitType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SyncInvoiceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['bankName'])) { $model->bankName = $map['bankName']; } if (isset($map['bankNo'])) { $model->bankNo = $map['bankNo']; } if (isset($map['channelCorpId'])) { $model->channelCorpId = $map['channelCorpId']; } if (isset($map['deleteFlag'])) { $model->deleteFlag = $map['deleteFlag']; } if (isset($map['gmtAction'])) { $model->gmtAction = $map['gmtAction']; } if (isset($map['invoiceId'])) { $model->invoiceId = $map['invoiceId']; } if (isset($map['projectIds'])) { if (!empty($map['projectIds'])) { $model->projectIds = $map['projectIds']; } } if (isset($map['scope'])) { $model->scope = $map['scope']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['taxNo'])) { $model->taxNo = $map['taxNo']; } if (isset($map['tel'])) { $model->tel = $map['tel']; } if (isset($map['thirdPartId'])) { $model->thirdPartId = $map['thirdPartId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['unitType'])) { $model->unitType = $map['unitType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/trip_1_0/Models/SyncInvoiceResponse.php000064400000002706146412132660014666 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncInvoiceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncInvoiceResponseBody::fromMap($map['body']); } return $model; } } src/trip_1_0/Models/SyncInvoiceResponseBody.php000064400000001474146412132660015505 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SyncInvoiceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/trip_1_0/Models/SyncProjectEntityHeaders.php000064400000002336146412132660015651 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncProjectEntityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trip_1_0/Models/SyncProjectEntityRequest.php000064400000005326146412132660015730 0ustar00 'channelCorpId', 'delAll' => 'delAll', 'entityList' => 'entityList', 'projectId' => 'projectId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->channelCorpId) { $res['channelCorpId'] = $this->channelCorpId; } if (null !== $this->delAll) { $res['delAll'] = $this->delAll; } if (null !== $this->entityList) { $res['entityList'] = []; if (null !== $this->entityList && \is_array($this->entityList)) { $n = 0; foreach ($this->entityList as $item) { $res['entityList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SyncProjectEntityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['channelCorpId'])) { $model->channelCorpId = $map['channelCorpId']; } if (isset($map['delAll'])) { $model->delAll = $map['delAll']; } if (isset($map['entityList'])) { if (!empty($map['entityList'])) { $model->entityList = []; $n = 0; foreach ($map['entityList'] as $item) { $model->entityList[$n++] = null !== $item ? entityList::fromMap($item) : $item; } } } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/trip_1_0/Models/SyncProjectEntityRequest/entityList.php000064400000002172146412132660020074 0ustar00 'entityId', 'entityType' => 'entityType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->entityId) { $res['entityId'] = $this->entityId; } if (null !== $this->entityType) { $res['entityType'] = $this->entityType; } return $res; } /** * @param array $map * * @return entityList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['entityId'])) { $model->entityId = $map['entityId']; } if (isset($map['entityType'])) { $model->entityType = $map['entityType']; } return $model; } } src/trip_1_0/Models/SyncProjectEntityResponse.php000064400000002736146412132660016100 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncProjectEntityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncProjectEntityResponseBody::fromMap($map['body']); } return $model; } } src/trip_1_0/Models/SyncProjectEntityResponseBody.php000064400000001510146412132660016703 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SyncProjectEntityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/trip_1_0/Models/SyncProjectHeaders.php000064400000002322146412132660014447 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncProjectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trip_1_0/Models/SyncProjectRequest.php000064400000011630146412132660014526 0ustar00 'channelCorpId', 'code' => 'code', 'costCenterId' => 'costCenterId', 'deleteFlag' => 'deleteFlag', 'extension' => 'extension', 'gmtAction' => 'gmtAction', 'invoiceId' => 'invoiceId', 'managerIds' => 'managerIds', 'projectId' => 'projectId', 'projectName' => 'projectName', 'scope' => 'scope', 'source' => 'source', 'thirdPartId' => 'thirdPartId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->channelCorpId) { $res['channelCorpId'] = $this->channelCorpId; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->costCenterId) { $res['costCenterId'] = $this->costCenterId; } if (null !== $this->deleteFlag) { $res['deleteFlag'] = $this->deleteFlag; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->gmtAction) { $res['gmtAction'] = $this->gmtAction; } if (null !== $this->invoiceId) { $res['invoiceId'] = $this->invoiceId; } if (null !== $this->managerIds) { $res['managerIds'] = $this->managerIds; } if (null !== $this->projectId) { $res['projectId'] = $this->projectId; } if (null !== $this->projectName) { $res['projectName'] = $this->projectName; } if (null !== $this->scope) { $res['scope'] = $this->scope; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->thirdPartId) { $res['thirdPartId'] = $this->thirdPartId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SyncProjectRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['channelCorpId'])) { $model->channelCorpId = $map['channelCorpId']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['costCenterId'])) { $model->costCenterId = $map['costCenterId']; } if (isset($map['deleteFlag'])) { $model->deleteFlag = $map['deleteFlag']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['gmtAction'])) { $model->gmtAction = $map['gmtAction']; } if (isset($map['invoiceId'])) { $model->invoiceId = $map['invoiceId']; } if (isset($map['managerIds'])) { if (!empty($map['managerIds'])) { $model->managerIds = $map['managerIds']; } } if (isset($map['projectId'])) { $model->projectId = $map['projectId']; } if (isset($map['projectName'])) { $model->projectName = $map['projectName']; } if (isset($map['scope'])) { $model->scope = $map['scope']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['thirdPartId'])) { $model->thirdPartId = $map['thirdPartId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/trip_1_0/Models/SyncProjectResponse.php000064400000002706146412132660014700 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncProjectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncProjectResponseBody::fromMap($map['body']); } return $model; } } src/trip_1_0/Models/SyncProjectResponseBody.php000064400000001474146412132660015517 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SyncProjectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/trip_1_0/Models/SyncSecretKeyHeaders.php000064400000002326146412132660014743 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncSecretKeyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trip_1_0/Models/SyncSecretKeyRequest.php000064400000005173146412132660015023 0ustar00 'actionType', 'secretString' => 'secretString', 'targetCorpId' => 'targetCorpId', 'tripAppKey' => 'tripAppKey', 'tripAppSecurity' => 'tripAppSecurity', 'tripCorpId' => 'tripCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->secretString) { $res['secretString'] = $this->secretString; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } if (null !== $this->tripAppKey) { $res['tripAppKey'] = $this->tripAppKey; } if (null !== $this->tripAppSecurity) { $res['tripAppSecurity'] = $this->tripAppSecurity; } if (null !== $this->tripCorpId) { $res['tripCorpId'] = $this->tripCorpId; } return $res; } /** * @param array $map * * @return SyncSecretKeyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['secretString'])) { $model->secretString = $map['secretString']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } if (isset($map['tripAppKey'])) { $model->tripAppKey = $map['tripAppKey']; } if (isset($map['tripAppSecurity'])) { $model->tripAppSecurity = $map['tripAppSecurity']; } if (isset($map['tripCorpId'])) { $model->tripCorpId = $map['tripCorpId']; } return $model; } } src/trip_1_0/Models/SyncSecretKeyResponse.php000064400000002716146412132660015171 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncSecretKeyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncSecretKeyResponseBody::fromMap($map['body']); } return $model; } } src/trip_1_0/Models/SyncSecretKeyResponseBody.php000064400000002370146412132660016003 0ustar00 '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 SyncSecretKeyResponseBody */ 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/trip_1_0/Models/SyncSecretKeyResponseBody/result.php000064400000004446146412132660017327 0ustar00 'secretString', 'targetCorpId' => 'targetCorpId', 'tripAppKey' => 'tripAppKey', 'tripAppSecurity' => 'tripAppSecurity', 'tripCorpId' => 'tripCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->secretString) { $res['secretString'] = $this->secretString; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } if (null !== $this->tripAppKey) { $res['tripAppKey'] = $this->tripAppKey; } if (null !== $this->tripAppSecurity) { $res['tripAppSecurity'] = $this->tripAppSecurity; } if (null !== $this->tripCorpId) { $res['tripCorpId'] = $this->tripCorpId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['secretString'])) { $model->secretString = $map['secretString']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } if (isset($map['tripAppKey'])) { $model->tripAppKey = $map['tripAppKey']; } if (isset($map['tripAppSecurity'])) { $model->tripAppSecurity = $map['tripAppSecurity']; } if (isset($map['tripCorpId'])) { $model->tripCorpId = $map['tripCorpId']; } return $model; } } src/trip_1_0/Models/SyncTripOrderHeaders.php000064400000002326146412132660014757 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncTripOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trip_1_0/Models/SyncTripOrderRequest.php000064400000023347146412132660015042 0ustar00 'bizExtension', 'channelType' => 'channelType', 'currency' => 'currency', 'dingUserId' => 'dingUserId', 'discountAmount' => 'discountAmount', 'endorseFlag' => 'endorseFlag', 'event' => 'event', 'gmtOrder' => 'gmtOrder', 'gmtPay' => 'gmtPay', 'gmtRefund' => 'gmtRefund', 'invoiceApplyUrl' => 'invoiceApplyUrl', 'journeyBizNo' => 'journeyBizNo', 'orderDetails' => 'orderDetails', 'orderNo' => 'orderNo', 'orderUrl' => 'orderUrl', 'processId' => 'processId', 'realAmount' => 'realAmount', 'refundAmount' => 'refundAmount', 'relativeOrderNo' => 'relativeOrderNo', 'source' => 'source', 'supplyLogo' => 'supplyLogo', 'supplyName' => 'supplyName', 'targetCorpId' => 'targetCorpId', 'tmcCorpId' => 'tmcCorpId', 'totalAmount' => 'totalAmount', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizExtension) { $res['bizExtension'] = $this->bizExtension; } if (null !== $this->channelType) { $res['channelType'] = $this->channelType; } if (null !== $this->currency) { $res['currency'] = $this->currency; } if (null !== $this->dingUserId) { $res['dingUserId'] = $this->dingUserId; } if (null !== $this->discountAmount) { $res['discountAmount'] = $this->discountAmount; } if (null !== $this->endorseFlag) { $res['endorseFlag'] = $this->endorseFlag; } if (null !== $this->event) { $res['event'] = null !== $this->event ? $this->event->toMap() : null; } if (null !== $this->gmtOrder) { $res['gmtOrder'] = $this->gmtOrder; } if (null !== $this->gmtPay) { $res['gmtPay'] = $this->gmtPay; } if (null !== $this->gmtRefund) { $res['gmtRefund'] = $this->gmtRefund; } if (null !== $this->invoiceApplyUrl) { $res['invoiceApplyUrl'] = $this->invoiceApplyUrl; } if (null !== $this->journeyBizNo) { $res['journeyBizNo'] = $this->journeyBizNo; } if (null !== $this->orderDetails) { $res['orderDetails'] = []; if (null !== $this->orderDetails && \is_array($this->orderDetails)) { $n = 0; foreach ($this->orderDetails as $item) { $res['orderDetails'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->orderUrl) { $res['orderUrl'] = $this->orderUrl; } if (null !== $this->processId) { $res['processId'] = $this->processId; } if (null !== $this->realAmount) { $res['realAmount'] = $this->realAmount; } if (null !== $this->refundAmount) { $res['refundAmount'] = $this->refundAmount; } if (null !== $this->relativeOrderNo) { $res['relativeOrderNo'] = $this->relativeOrderNo; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->supplyLogo) { $res['supplyLogo'] = $this->supplyLogo; } if (null !== $this->supplyName) { $res['supplyName'] = $this->supplyName; } if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } if (null !== $this->tmcCorpId) { $res['tmcCorpId'] = $this->tmcCorpId; } if (null !== $this->totalAmount) { $res['totalAmount'] = $this->totalAmount; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return SyncTripOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizExtension'])) { $model->bizExtension = $map['bizExtension']; } if (isset($map['channelType'])) { $model->channelType = $map['channelType']; } if (isset($map['currency'])) { $model->currency = $map['currency']; } if (isset($map['dingUserId'])) { $model->dingUserId = $map['dingUserId']; } if (isset($map['discountAmount'])) { $model->discountAmount = $map['discountAmount']; } if (isset($map['endorseFlag'])) { $model->endorseFlag = $map['endorseFlag']; } if (isset($map['event'])) { $model->event = event::fromMap($map['event']); } if (isset($map['gmtOrder'])) { $model->gmtOrder = $map['gmtOrder']; } if (isset($map['gmtPay'])) { $model->gmtPay = $map['gmtPay']; } if (isset($map['gmtRefund'])) { $model->gmtRefund = $map['gmtRefund']; } if (isset($map['invoiceApplyUrl'])) { $model->invoiceApplyUrl = $map['invoiceApplyUrl']; } if (isset($map['journeyBizNo'])) { $model->journeyBizNo = $map['journeyBizNo']; } if (isset($map['orderDetails'])) { if (!empty($map['orderDetails'])) { $model->orderDetails = []; $n = 0; foreach ($map['orderDetails'] as $item) { $model->orderDetails[$n++] = null !== $item ? orderDetails::fromMap($item) : $item; } } } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['orderUrl'])) { $model->orderUrl = $map['orderUrl']; } if (isset($map['processId'])) { $model->processId = $map['processId']; } if (isset($map['realAmount'])) { $model->realAmount = $map['realAmount']; } if (isset($map['refundAmount'])) { $model->refundAmount = $map['refundAmount']; } if (isset($map['relativeOrderNo'])) { $model->relativeOrderNo = $map['relativeOrderNo']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['supplyLogo'])) { $model->supplyLogo = $map['supplyLogo']; } if (isset($map['supplyName'])) { $model->supplyName = $map['supplyName']; } if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } if (isset($map['tmcCorpId'])) { $model->tmcCorpId = $map['tmcCorpId']; } if (isset($map['totalAmount'])) { $model->totalAmount = $map['totalAmount']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/trip_1_0/Models/SyncTripOrderRequest/event.php000064400000002231146412132660016150 0ustar00 'action', 'gmtAction' => 'gmtAction', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->gmtAction) { $res['gmtAction'] = $this->gmtAction; } return $res; } /** * @param array $map * * @return event */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['gmtAction'])) { $model->gmtAction = $map['gmtAction']; } return $model; } } src/trip_1_0/Models/SyncTripOrderRequest/orderDetails.php000064400000027126146412132660017462 0ustar00 'arrivalTime', 'carColor' => 'carColor', 'carModel' => 'carModel', 'carNumber' => 'carNumber', 'cateringType' => 'cateringType', 'checkInTime' => 'checkInTime', 'checkOutTime' => 'checkOutTime', 'departTime' => 'departTime', 'destinationCity' => 'destinationCity', 'destinationCityCode' => 'destinationCityCode', 'destinationStation' => 'destinationStation', 'detailAmount' => 'detailAmount', 'hotelAddress' => 'hotelAddress', 'hotelCity' => 'hotelCity', 'hotelLocation' => 'hotelLocation', 'hotelName' => 'hotelName', 'openConsumerInfo' => 'openConsumerInfo', 'originCity' => 'originCity', 'originCityCode' => 'originCityCode', 'originStation' => 'originStation', 'roomCount' => 'roomCount', 'seatInfo' => 'seatInfo', 'serviceType' => 'serviceType', 'subSupplyLogo' => 'subSupplyLogo', 'subSupplyName' => 'subSupplyName', 'taxiType' => 'taxiType', 'telephone' => 'telephone', 'transportNumber' => 'transportNumber', 'typeDescription' => 'typeDescription', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->arrivalTime) { $res['arrivalTime'] = $this->arrivalTime; } if (null !== $this->carColor) { $res['carColor'] = $this->carColor; } if (null !== $this->carModel) { $res['carModel'] = $this->carModel; } if (null !== $this->carNumber) { $res['carNumber'] = $this->carNumber; } if (null !== $this->cateringType) { $res['cateringType'] = $this->cateringType; } if (null !== $this->checkInTime) { $res['checkInTime'] = $this->checkInTime; } if (null !== $this->checkOutTime) { $res['checkOutTime'] = $this->checkOutTime; } if (null !== $this->departTime) { $res['departTime'] = $this->departTime; } if (null !== $this->destinationCity) { $res['destinationCity'] = $this->destinationCity; } if (null !== $this->destinationCityCode) { $res['destinationCityCode'] = $this->destinationCityCode; } if (null !== $this->destinationStation) { $res['destinationStation'] = $this->destinationStation; } if (null !== $this->detailAmount) { $res['detailAmount'] = $this->detailAmount; } if (null !== $this->hotelAddress) { $res['hotelAddress'] = $this->hotelAddress; } if (null !== $this->hotelCity) { $res['hotelCity'] = $this->hotelCity; } if (null !== $this->hotelLocation) { $res['hotelLocation'] = null !== $this->hotelLocation ? $this->hotelLocation->toMap() : null; } if (null !== $this->hotelName) { $res['hotelName'] = $this->hotelName; } if (null !== $this->openConsumerInfo) { $res['openConsumerInfo'] = []; if (null !== $this->openConsumerInfo && \is_array($this->openConsumerInfo)) { $n = 0; foreach ($this->openConsumerInfo as $item) { $res['openConsumerInfo'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->originCity) { $res['originCity'] = $this->originCity; } if (null !== $this->originCityCode) { $res['originCityCode'] = $this->originCityCode; } if (null !== $this->originStation) { $res['originStation'] = $this->originStation; } if (null !== $this->roomCount) { $res['roomCount'] = $this->roomCount; } if (null !== $this->seatInfo) { $res['seatInfo'] = $this->seatInfo; } if (null !== $this->serviceType) { $res['serviceType'] = $this->serviceType; } if (null !== $this->subSupplyLogo) { $res['subSupplyLogo'] = $this->subSupplyLogo; } if (null !== $this->subSupplyName) { $res['subSupplyName'] = $this->subSupplyName; } if (null !== $this->taxiType) { $res['taxiType'] = $this->taxiType; } if (null !== $this->telephone) { $res['telephone'] = $this->telephone; } if (null !== $this->transportNumber) { $res['transportNumber'] = $this->transportNumber; } if (null !== $this->typeDescription) { $res['typeDescription'] = $this->typeDescription; } return $res; } /** * @param array $map * * @return orderDetails */ public static function fromMap($map = []) { $model = new self(); if (isset($map['arrivalTime'])) { $model->arrivalTime = $map['arrivalTime']; } if (isset($map['carColor'])) { $model->carColor = $map['carColor']; } if (isset($map['carModel'])) { $model->carModel = $map['carModel']; } if (isset($map['carNumber'])) { $model->carNumber = $map['carNumber']; } if (isset($map['cateringType'])) { $model->cateringType = $map['cateringType']; } if (isset($map['checkInTime'])) { $model->checkInTime = $map['checkInTime']; } if (isset($map['checkOutTime'])) { $model->checkOutTime = $map['checkOutTime']; } if (isset($map['departTime'])) { $model->departTime = $map['departTime']; } if (isset($map['destinationCity'])) { $model->destinationCity = $map['destinationCity']; } if (isset($map['destinationCityCode'])) { $model->destinationCityCode = $map['destinationCityCode']; } if (isset($map['destinationStation'])) { $model->destinationStation = $map['destinationStation']; } if (isset($map['detailAmount'])) { $model->detailAmount = $map['detailAmount']; } if (isset($map['hotelAddress'])) { $model->hotelAddress = $map['hotelAddress']; } if (isset($map['hotelCity'])) { $model->hotelCity = $map['hotelCity']; } if (isset($map['hotelLocation'])) { $model->hotelLocation = hotelLocation::fromMap($map['hotelLocation']); } if (isset($map['hotelName'])) { $model->hotelName = $map['hotelName']; } if (isset($map['openConsumerInfo'])) { if (!empty($map['openConsumerInfo'])) { $model->openConsumerInfo = []; $n = 0; foreach ($map['openConsumerInfo'] as $item) { $model->openConsumerInfo[$n++] = null !== $item ? openConsumerInfo::fromMap($item) : $item; } } } if (isset($map['originCity'])) { $model->originCity = $map['originCity']; } if (isset($map['originCityCode'])) { $model->originCityCode = $map['originCityCode']; } if (isset($map['originStation'])) { $model->originStation = $map['originStation']; } if (isset($map['roomCount'])) { $model->roomCount = $map['roomCount']; } if (isset($map['seatInfo'])) { $model->seatInfo = $map['seatInfo']; } if (isset($map['serviceType'])) { $model->serviceType = $map['serviceType']; } if (isset($map['subSupplyLogo'])) { $model->subSupplyLogo = $map['subSupplyLogo']; } if (isset($map['subSupplyName'])) { $model->subSupplyName = $map['subSupplyName']; } if (isset($map['taxiType'])) { $model->taxiType = $map['taxiType']; } if (isset($map['telephone'])) { $model->telephone = $map['telephone']; } if (isset($map['transportNumber'])) { $model->transportNumber = $map['transportNumber']; } if (isset($map['typeDescription'])) { $model->typeDescription = $map['typeDescription']; } return $model; } } src/trip_1_0/Models/SyncTripOrderRequest/orderDetails/hotelLocation.php000064400000003303146412132660022255 0ustar00 'lat', 'lon' => 'lon', 'source' => 'source', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lat) { $res['lat'] = $this->lat; } if (null !== $this->lon) { $res['lon'] = $this->lon; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return hotelLocation */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lat'])) { $model->lat = $map['lat']; } if (isset($map['lon'])) { $model->lon = $map['lon']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/trip_1_0/Models/SyncTripOrderRequest/orderDetails/openConsumerInfo.php000064400000005015146412132660022744 0ustar00 'corpId', 'name' => 'name', 'staffFlag' => 'staffFlag', 'status' => 'status', 'ticketAmount' => 'ticketAmount', 'ticketNo' => 'ticketNo', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->staffFlag) { $res['staffFlag'] = $this->staffFlag; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->ticketAmount) { $res['ticketAmount'] = $this->ticketAmount; } if (null !== $this->ticketNo) { $res['ticketNo'] = $this->ticketNo; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return openConsumerInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['staffFlag'])) { $model->staffFlag = $map['staffFlag']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['ticketAmount'])) { $model->ticketAmount = $map['ticketAmount']; } if (isset($map['ticketNo'])) { $model->ticketNo = $map['ticketNo']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/trip_1_0/Models/SyncTripOrderResponse.php000064400000002716146412132660015205 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncTripOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncTripOrderResponseBody::fromMap($map['body']); } return $model; } } src/trip_1_0/Models/SyncTripOrderResponseBody.php000064400000002207146412132660016016 0ustar00 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SyncTripOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/trip_1_0/Models/SyncTripProductConfigHeaders.php000064400000002346146412132660016454 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncTripProductConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trip_1_0/Models/SyncTripProductConfigRequest.php000064400000003740146412132660016530 0ustar00 'targetCorpId', 'tripProductConfigList' => 'tripProductConfigList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } if (null !== $this->tripProductConfigList) { $res['tripProductConfigList'] = []; if (null !== $this->tripProductConfigList && \is_array($this->tripProductConfigList)) { $n = 0; foreach ($this->tripProductConfigList as $item) { $res['tripProductConfigList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return SyncTripProductConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } if (isset($map['tripProductConfigList'])) { if (!empty($map['tripProductConfigList'])) { $model->tripProductConfigList = []; $n = 0; foreach ($map['tripProductConfigList'] as $item) { $model->tripProductConfigList[$n++] = null !== $item ? tripProductConfigList::fromMap($item) : $item; } } } return $model; } } src/trip_1_0/Models/SyncTripProductConfigRequest/tripProductConfigList.php000064400000007304146412132660023031 0ustar00 'allVisible', 'deptVisibleScopes' => 'deptVisibleScopes', 'openStatus' => 'openStatus', 'productType' => 'productType', 'roleVisibleScopes' => 'roleVisibleScopes', 'staffVisibleScopes' => 'staffVisibleScopes', 'tmcInfos' => 'tmcInfos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->allVisible) { $res['allVisible'] = $this->allVisible; } if (null !== $this->deptVisibleScopes) { $res['deptVisibleScopes'] = $this->deptVisibleScopes; } if (null !== $this->openStatus) { $res['openStatus'] = $this->openStatus; } if (null !== $this->productType) { $res['productType'] = $this->productType; } if (null !== $this->roleVisibleScopes) { $res['roleVisibleScopes'] = $this->roleVisibleScopes; } if (null !== $this->staffVisibleScopes) { $res['staffVisibleScopes'] = $this->staffVisibleScopes; } if (null !== $this->tmcInfos) { $res['tmcInfos'] = []; if (null !== $this->tmcInfos && \is_array($this->tmcInfos)) { $n = 0; foreach ($this->tmcInfos as $item) { $res['tmcInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return tripProductConfigList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['allVisible'])) { $model->allVisible = $map['allVisible']; } if (isset($map['deptVisibleScopes'])) { if (!empty($map['deptVisibleScopes'])) { $model->deptVisibleScopes = $map['deptVisibleScopes']; } } if (isset($map['openStatus'])) { $model->openStatus = $map['openStatus']; } if (isset($map['productType'])) { $model->productType = $map['productType']; } if (isset($map['roleVisibleScopes'])) { if (!empty($map['roleVisibleScopes'])) { $model->roleVisibleScopes = $map['roleVisibleScopes']; } } if (isset($map['staffVisibleScopes'])) { if (!empty($map['staffVisibleScopes'])) { $model->staffVisibleScopes = $map['staffVisibleScopes']; } } if (isset($map['tmcInfos'])) { if (!empty($map['tmcInfos'])) { $model->tmcInfos = []; $n = 0; foreach ($map['tmcInfos'] as $item) { $model->tmcInfos[$n++] = null !== $item ? tmcInfos::fromMap($item) : $item; } } } return $model; } } src/trip_1_0/Models/SyncTripProductConfigRequest/tripProductConfigList/tmcInfos.php000064400000003364146412132660024615 0ustar00 'categoryType', 'gmtOrgPay' => 'gmtOrgPay', 'payType' => 'payType', 'tmcCorpId' => 'tmcCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->categoryType) { $res['categoryType'] = $this->categoryType; } if (null !== $this->gmtOrgPay) { $res['gmtOrgPay'] = $this->gmtOrgPay; } if (null !== $this->payType) { $res['payType'] = $this->payType; } if (null !== $this->tmcCorpId) { $res['tmcCorpId'] = $this->tmcCorpId; } return $res; } /** * @param array $map * * @return tmcInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['categoryType'])) { $model->categoryType = $map['categoryType']; } if (isset($map['gmtOrgPay'])) { $model->gmtOrgPay = $map['gmtOrgPay']; } if (isset($map['payType'])) { $model->payType = $map['payType']; } if (isset($map['tmcCorpId'])) { $model->tmcCorpId = $map['tmcCorpId']; } return $model; } } src/trip_1_0/Models/SyncTripProductConfigResponse.php000064400000002756146412132660016704 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncTripProductConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncTripProductConfigResponseBody::fromMap($map['body']); } return $model; } } src/trip_1_0/Models/SyncTripProductConfigResponseBody.php000064400000001520146412132660017506 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SyncTripProductConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/trip_1_0/Models/UpgradeTemplateHeaders.php000064400000002332146412132660015270 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpgradeTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/trip_1_0/Models/UpgradeTemplateRequest.php000064400000003132146412132660015344 0ustar00 'channelCorpId', 'forceUpgrade' => 'forceUpgrade', 'tmcCorpId' => 'tmcCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->channelCorpId) { $res['channelCorpId'] = $this->channelCorpId; } if (null !== $this->forceUpgrade) { $res['forceUpgrade'] = $this->forceUpgrade; } if (null !== $this->tmcCorpId) { $res['tmcCorpId'] = $this->tmcCorpId; } return $res; } /** * @param array $map * * @return UpgradeTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['channelCorpId'])) { $model->channelCorpId = $map['channelCorpId']; } if (isset($map['forceUpgrade'])) { $model->forceUpgrade = $map['forceUpgrade']; } if (isset($map['tmcCorpId'])) { $model->tmcCorpId = $map['tmcCorpId']; } return $model; } } src/trip_1_0/Models/UpgradeTemplateResponse.php000064400000002726146412132660015522 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpgradeTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpgradeTemplateResponseBody::fromMap($map['body']); } return $model; } } src/trip_1_0/Models/UpgradeTemplateResponseBody.php000064400000002340146412132660016330 0ustar00 '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 UpgradeTemplateResponseBody */ 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/trip_1_0/Models/UpgradeTemplateResponseBody/result.php000064400000001554146412132660017654 0ustar00 'upgradeResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->upgradeResult) { $res['upgradeResult'] = $this->upgradeResult; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['upgradeResult'])) { $model->upgradeResult = $map['upgradeResult']; } return $model; } } src/village_1_0/Dingtalk.php000064400000123300146412132660011667 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param string $departmentId * @param GetDeptRequest $request * @param GetDeptHeaders $headers * @param RuntimeOptions $runtime * * @return GetDeptResponse */ public function getDeptWithOptions($departmentId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetDept', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/deptartments/' . $departmentId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $departmentId * @param GetDeptRequest $request * * @return GetDeptResponse */ public function getDept($departmentId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetDeptHeaders([]); return $this->getDeptWithOptions($departmentId, $request, $headers, $runtime); } /** * @param string $departmentId * @param GetResidentDeptRequest $request * @param GetResidentDeptHeaders $headers * @param RuntimeOptions $runtime * * @return GetResidentDeptResponse */ public function getResidentDeptWithOptions($departmentId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetResidentDept', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/residentDepartments/departments/' . $departmentId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetResidentDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $departmentId * @param GetResidentDeptRequest $request * * @return GetResidentDeptResponse */ public function getResidentDept($departmentId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetResidentDeptHeaders([]); return $this->getResidentDeptWithOptions($departmentId, $request, $headers, $runtime); } /** * @param string $departmentId * @param string $userId * @param GetResidentUserInfoRequest $request * @param GetResidentUserInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetResidentUserInfoResponse */ public function getResidentUserInfoWithOptions($departmentId, $userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetResidentUserInfo', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/residentDepartments/' . $departmentId . '/users/' . $userId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetResidentUserInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $departmentId * @param string $userId * @param GetResidentUserInfoRequest $request * * @return GetResidentUserInfoResponse */ public function getResidentUserInfo($departmentId, $userId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetResidentUserInfoHeaders([]); return $this->getResidentUserInfoWithOptions($departmentId, $userId, $request, $headers, $runtime); } /** * @param string $userId * @param GetUserRequest $request * @param GetUserHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserResponse */ public function getUserWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->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' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/users/getByUserId', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param GetUserRequest $request * * @return GetUserResponse */ public function getUser($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetUserHeaders([]); return $this->getUserWithOptions($userId, $request, $headers, $runtime); } /** * @param GetUserByUnionIdRequest $request * @param GetUserByUnionIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserByUnionIdResponse */ public function getUserByUnionIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } 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' => 'GetUserByUnionId', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/users/getByUnionId', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetUserByUnionIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUserByUnionIdRequest $request * * @return GetUserByUnionIdResponse */ public function getUserByUnionId($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserByUnionIdHeaders([]); return $this->getUserByUnionIdWithOptions($request, $headers, $runtime); } /** * @param string $subCorpId * @param GetVillageOrgInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetVillageOrgInfoResponse */ public function getVillageOrgInfoWithOptions($subCorpId, $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' => 'GetVillageOrgInfo', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/corps/' . $subCorpId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetVillageOrgInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $subCorpId * * @return GetVillageOrgInfoResponse */ public function getVillageOrgInfo($subCorpId) { $runtime = new RuntimeOptions([]); $headers = new GetVillageOrgInfoHeaders([]); return $this->getVillageOrgInfoWithOptions($subCorpId, $headers, $runtime); } /** * @param string $departmentId * @param ListDeptSimpleUsersRequest $request * @param ListDeptSimpleUsersHeaders $headers * @param RuntimeOptions $runtime * * @return ListDeptSimpleUsersResponse */ public function listDeptSimpleUsersWithOptions($departmentId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->containAccessLimit)) { $query['containAccessLimit'] = $request->containAccessLimit; } if (!Utils::isUnset($request->cursor)) { $query['cursor'] = $request->cursor; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->orderField)) { $query['orderField'] = $request->orderField; } if (!Utils::isUnset($request->size)) { $query['size'] = $request->size; } if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListDeptSimpleUsers', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/departments/' . $departmentId . '/simpleUsers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListDeptSimpleUsersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $departmentId * @param ListDeptSimpleUsersRequest $request * * @return ListDeptSimpleUsersResponse */ public function listDeptSimpleUsers($departmentId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListDeptSimpleUsersHeaders([]); return $this->listDeptSimpleUsersWithOptions($departmentId, $request, $headers, $runtime); } /** * @param string $departmentId * @param ListDeptUserIdsRequest $request * @param ListDeptUserIdsHeaders $headers * @param RuntimeOptions $runtime * * @return ListDeptUserIdsResponse */ public function listDeptUserIdsWithOptions($departmentId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListDeptUserIds', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/departments/' . $departmentId . '/userIds', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListDeptUserIdsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $departmentId * @param ListDeptUserIdsRequest $request * * @return ListDeptUserIdsResponse */ public function listDeptUserIds($departmentId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListDeptUserIdsHeaders([]); return $this->listDeptUserIdsWithOptions($departmentId, $request, $headers, $runtime); } /** * @param string $departmentId * @param ListDeptUsersRequest $request * @param ListDeptUsersHeaders $headers * @param RuntimeOptions $runtime * * @return ListDeptUsersResponse */ public function listDeptUsersWithOptions($departmentId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->containAccessLimit)) { $query['containAccessLimit'] = $request->containAccessLimit; } if (!Utils::isUnset($request->cursor)) { $query['cursor'] = $request->cursor; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->orderField)) { $query['orderField'] = $request->orderField; } if (!Utils::isUnset($request->size)) { $query['size'] = $request->size; } if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListDeptUsers', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/departments/' . $departmentId . '/users', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListDeptUsersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $departmentId * @param ListDeptUsersRequest $request * * @return ListDeptUsersResponse */ public function listDeptUsers($departmentId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListDeptUsersHeaders([]); return $this->listDeptUsersWithOptions($departmentId, $request, $headers, $runtime); } /** * @param ListParentByDeptRequest $request * @param ListParentByDeptHeaders $headers * @param RuntimeOptions $runtime * * @return ListParentByDeptResponse */ public function listParentByDeptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->departmentId)) { $query['departmentId'] = $request->departmentId; } if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListParentByDept', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/departments/listParentByDepartment', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListParentByDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListParentByDeptRequest $request * * @return ListParentByDeptResponse */ public function listParentByDept($request) { $runtime = new RuntimeOptions([]); $headers = new ListParentByDeptHeaders([]); return $this->listParentByDeptWithOptions($request, $headers, $runtime); } /** * @param ListParentByUserRequest $request * @param ListParentByUserHeaders $headers * @param RuntimeOptions $runtime * * @return ListParentByUserResponse */ public function listParentByUserWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } 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' => 'ListParentByUser', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/departments/listParentByUser', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListParentByUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListParentByUserRequest $request * * @return ListParentByUserResponse */ public function listParentByUser($request) { $runtime = new RuntimeOptions([]); $headers = new ListParentByUserHeaders([]); return $this->listParentByUserWithOptions($request, $headers, $runtime); } /** * @param string $departmentId * @param ListResidentDeptUsersRequest $request * @param ListResidentDeptUsersHeaders $headers * @param RuntimeOptions $runtime * * @return ListResidentDeptUsersResponse */ public function listResidentDeptUsersWithOptions($departmentId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->cursor)) { $query['cursor'] = $request->cursor; } if (!Utils::isUnset($request->role)) { $query['role'] = $request->role; } if (!Utils::isUnset($request->size)) { $query['size'] = $request->size; } if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListResidentDeptUsers', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/residentDepartments/' . $departmentId . '/users', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListResidentDeptUsersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $departmentId * @param ListResidentDeptUsersRequest $request * * @return ListResidentDeptUsersResponse */ public function listResidentDeptUsers($departmentId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListResidentDeptUsersHeaders([]); return $this->listResidentDeptUsersWithOptions($departmentId, $request, $headers, $runtime); } /** * @param string $departmentId * @param ListResidentSubDeptsRequest $request * @param ListResidentSubDeptsHeaders $headers * @param RuntimeOptions $runtime * * @return ListResidentSubDeptsResponse */ public function listResidentSubDeptsWithOptions($departmentId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->cursor)) { $query['cursor'] = $request->cursor; } if (!Utils::isUnset($request->size)) { $query['size'] = $request->size; } if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListResidentSubDepts', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/residentDepartments/' . $departmentId . '/subDepartments', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListResidentSubDeptsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $departmentId * @param ListResidentSubDeptsRequest $request * * @return ListResidentSubDeptsResponse */ public function listResidentSubDepts($departmentId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListResidentSubDeptsHeaders([]); return $this->listResidentSubDeptsWithOptions($departmentId, $request, $headers, $runtime); } /** * @param ListResidentUserInfosRequest $tmpReq * @param ListResidentUserInfosHeaders $headers * @param RuntimeOptions $runtime * * @return ListResidentUserInfosResponse */ public function listResidentUserInfosWithOptions($tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new ListResidentUserInfosShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->userIds)) { $request->userIdsShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->userIds, 'userIds', 'json'); } $query = []; if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } if (!Utils::isUnset($request->userIdsShrink)) { $query['userIds'] = $request->userIdsShrink; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListResidentUserInfos', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/residentUsers/getByUserIds', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListResidentUserInfosResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListResidentUserInfosRequest $request * * @return ListResidentUserInfosResponse */ public function listResidentUserInfos($request) { $runtime = new RuntimeOptions([]); $headers = new ListResidentUserInfosHeaders([]); return $this->listResidentUserInfosWithOptions($request, $headers, $runtime); } /** * @param ListSimpleUsersByRoleRequest $request * @param ListSimpleUsersByRoleHeaders $headers * @param RuntimeOptions $runtime * * @return ListSimpleUsersByRoleResponse */ public function listSimpleUsersByRoleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->offset)) { $query['offset'] = $request->offset; } if (!Utils::isUnset($request->roleId)) { $query['roleId'] = $request->roleId; } if (!Utils::isUnset($request->size)) { $query['size'] = $request->size; } if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListSimpleUsersByRole', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/users/listByRole', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListSimpleUsersByRoleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListSimpleUsersByRoleRequest $request * * @return ListSimpleUsersByRoleResponse */ public function listSimpleUsersByRole($request) { $runtime = new RuntimeOptions([]); $headers = new ListSimpleUsersByRoleHeaders([]); return $this->listSimpleUsersByRoleWithOptions($request, $headers, $runtime); } /** * @param ListSubCorpsRequest $request * @param ListSubCorpsHeaders $headers * @param RuntimeOptions $runtime * * @return ListSubCorpsResponse */ public function listSubCorpsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->isOnlyDirect)) { $query['isOnlyDirect'] = $request->isOnlyDirect; } if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } if (!Utils::isUnset($request->types)) { $query['types'] = $request->types; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListSubCorps', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/corps/subCorps', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListSubCorpsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListSubCorpsRequest $request * * @return ListSubCorpsResponse */ public function listSubCorps($request) { $runtime = new RuntimeOptions([]); $headers = new ListSubCorpsHeaders([]); return $this->listSubCorpsWithOptions($request, $headers, $runtime); } /** * @param string $departmentId * @param ListSubDeptRequest $request * @param ListSubDeptHeaders $headers * @param RuntimeOptions $runtime * * @return ListSubDeptResponse */ public function listSubDeptWithOptions($departmentId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListSubDept', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/departments/' . $departmentId . '/subDepartments', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListSubDeptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $departmentId * @param ListSubDeptRequest $request * * @return ListSubDeptResponse */ public function listSubDept($departmentId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListSubDeptHeaders([]); return $this->listSubDeptWithOptions($departmentId, $request, $headers, $runtime); } /** * @param string $departmentId * @param ListSubDeptIdsRequest $request * @param ListSubDeptIdsHeaders $headers * @param RuntimeOptions $runtime * * @return ListSubDeptIdsResponse */ public function listSubDeptIdsWithOptions($departmentId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->subCorpId)) { $query['subCorpId'] = $request->subCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListSubDeptIds', 'version' => 'village_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/village/departments/' . $departmentId . '/subDepartmentIds', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListSubDeptIdsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $departmentId * @param ListSubDeptIdsRequest $request * * @return ListSubDeptIdsResponse */ public function listSubDeptIds($departmentId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListSubDeptIdsHeaders([]); return $this->listSubDeptIdsWithOptions($departmentId, $request, $headers, $runtime); } } src/village_1_0/Models/GetDeptHeaders.php000064400000002315146412132660014207 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/GetDeptRequest.php000064400000002177146412132660014272 0ustar00 'language', 'subCorpId' => 'subCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } return $res; } /** * @param array $map * * @return GetDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } return $model; } } src/village_1_0/Models/GetDeptResponse.php000064400000002671146412132660014437 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDeptResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/GetDeptResponseBody.php000064400000004221146412132660015246 0ustar00 'departmentId', 'departmentName' => 'departmentName', 'fromUnionOrg' => 'fromUnionOrg', 'order' => 'order', 'parentDepartmentId' => 'parentDepartmentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->fromUnionOrg) { $res['fromUnionOrg'] = $this->fromUnionOrg; } if (null !== $this->order) { $res['order'] = $this->order; } if (null !== $this->parentDepartmentId) { $res['parentDepartmentId'] = $this->parentDepartmentId; } return $res; } /** * @param array $map * * @return GetDeptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['fromUnionOrg'])) { $model->fromUnionOrg = $map['fromUnionOrg']; } if (isset($map['order'])) { $model->order = $map['order']; } if (isset($map['parentDepartmentId'])) { $model->parentDepartmentId = $map['parentDepartmentId']; } return $model; } } src/village_1_0/Models/GetResidentDeptHeaders.php000064400000002335146412132660015707 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetResidentDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/GetResidentDeptRequest.php000064400000001521146412132660015760 0ustar00 'subCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } return $res; } /** * @param array $map * * @return GetResidentDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } return $model; } } src/village_1_0/Models/GetResidentDeptResponse.php000064400000002731146412132660016132 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetResidentDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetResidentDeptResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/GetResidentDeptResponseBody.php000064400000004115146412132660016746 0ustar00 'contactType', 'departmentId' => 'departmentId', 'departmentName' => 'departmentName', 'deptType' => 'deptType', 'feature' => 'feature', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contactType) { $res['contactType'] = $this->contactType; } if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->deptType) { $res['deptType'] = $this->deptType; } if (null !== $this->feature) { $res['feature'] = $this->feature; } return $res; } /** * @param array $map * * @return GetResidentDeptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contactType'])) { $model->contactType = $map['contactType']; } if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['deptType'])) { $model->deptType = $map['deptType']; } if (isset($map['feature'])) { $model->feature = $map['feature']; } return $model; } } src/village_1_0/Models/GetResidentUserInfoHeaders.php000064400000002345146412132660016546 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetResidentUserInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/GetResidentUserInfoRequest.php000064400000001531146412132660016617 0ustar00 'subCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } return $res; } /** * @param array $map * * @return GetResidentUserInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } return $model; } } src/village_1_0/Models/GetResidentUserInfoResponse.php000064400000002751146412132660016772 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetResidentUserInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetResidentUserInfoResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/GetResidentUserInfoResponseBody.php000064400000004700146412132660017604 0ustar00 'feature', 'name' => 'name', 'roles' => 'roles', 'unionId' => 'unionId', 'userid' => 'userid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->feature) { $res['feature'] = $this->feature; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->roles) { $res['roles'] = []; if (null !== $this->roles && \is_array($this->roles)) { $n = 0; foreach ($this->roles as $item) { $res['roles'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userid) { $res['userid'] = $this->userid; } return $res; } /** * @param array $map * * @return GetResidentUserInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['feature'])) { $model->feature = $map['feature']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['roles'])) { if (!empty($map['roles'])) { $model->roles = []; $n = 0; foreach ($map['roles'] as $item) { $model->roles[$n++] = null !== $item ? roles::fromMap($item) : $item; } } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userid'])) { $model->userid = $map['userid']; } return $model; } } src/village_1_0/Models/GetResidentUserInfoResponseBody/roles.php000064400000002553146412132660020734 0ustar00 'roleId', 'roleName' => 'roleName', 'tagCode' => 'tagCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } if (null !== $this->tagCode) { $res['tagCode'] = $this->tagCode; } return $res; } /** * @param array $map * * @return roles */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } if (isset($map['tagCode'])) { $model->tagCode = $map['tagCode']; } return $model; } } src/village_1_0/Models/GetUserByUnionIdHeaders.php000064400000002337146412132660016016 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserByUnionIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/GetUserByUnionIdRequest.php000064400000002652146412132660016073 0ustar00 'language', 'subCorpId' => 'subCorpId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetUserByUnionIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/village_1_0/Models/GetUserByUnionIdResponse.php000064400000002735146412132660016243 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserByUnionIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserByUnionIdResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/GetUserByUnionIdResponseBody.php000064400000002177146412132660017061 0ustar00 'contactType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contactType) { $res['contactType'] = $this->contactType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetUserByUnionIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contactType'])) { $model->contactType = $map['contactType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/village_1_0/Models/GetUserHeaders.php000064400000002315146412132660014231 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $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/village_1_0/Models/GetUserRequest.php000064400000002177146412132660014314 0ustar00 'language', 'subCorpId' => 'subCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } return $res; } /** * @param array $map * * @return GetUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } return $model; } } src/village_1_0/Models/GetUserResponse.php000064400000002671146412132660014461 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->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/village_1_0/Models/GetUserResponseBody.php000064400000022636146412132660015302 0ustar00 'active', 'admin' => 'admin', 'boss' => 'boss', 'departmentIdList' => 'departmentIdList', 'departmentOrderSet' => 'departmentOrderSet', 'exclusiveAccount' => 'exclusiveAccount', 'exclusiveAccountType' => 'exclusiveAccountType', 'extension' => 'extension', 'hiredDate' => 'hiredDate', 'jobNumber' => 'jobNumber', 'leaderInDepartment' => 'leaderInDepartment', 'managerUserId' => 'managerUserId', 'name' => 'name', 'realAuthed' => 'realAuthed', 'remark' => 'remark', 'roleList' => 'roleList', 'senior' => 'senior', 'title' => 'title', 'unionEmpExt' => 'unionEmpExt', 'unionId' => 'unionId', 'userId' => 'userId', 'workPlace' => 'workPlace', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->admin) { $res['admin'] = $this->admin; } if (null !== $this->boss) { $res['boss'] = $this->boss; } if (null !== $this->departmentIdList) { $res['departmentIdList'] = $this->departmentIdList; } if (null !== $this->departmentOrderSet) { $res['departmentOrderSet'] = []; if (null !== $this->departmentOrderSet && \is_array($this->departmentOrderSet)) { $n = 0; foreach ($this->departmentOrderSet as $item) { $res['departmentOrderSet'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->exclusiveAccount) { $res['exclusiveAccount'] = $this->exclusiveAccount; } if (null !== $this->exclusiveAccountType) { $res['exclusiveAccountType'] = $this->exclusiveAccountType; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->hiredDate) { $res['hiredDate'] = $this->hiredDate; } if (null !== $this->jobNumber) { $res['jobNumber'] = $this->jobNumber; } if (null !== $this->leaderInDepartment) { $res['leaderInDepartment'] = []; if (null !== $this->leaderInDepartment && \is_array($this->leaderInDepartment)) { $n = 0; foreach ($this->leaderInDepartment as $item) { $res['leaderInDepartment'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->managerUserId) { $res['managerUserId'] = $this->managerUserId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->realAuthed) { $res['realAuthed'] = $this->realAuthed; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->roleList) { $res['roleList'] = []; if (null !== $this->roleList && \is_array($this->roleList)) { $n = 0; foreach ($this->roleList as $item) { $res['roleList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->senior) { $res['senior'] = $this->senior; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->unionEmpExt) { $res['unionEmpExt'] = null !== $this->unionEmpExt ? $this->unionEmpExt->toMap() : null; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->workPlace) { $res['workPlace'] = $this->workPlace; } return $res; } /** * @param array $map * * @return GetUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } if (isset($map['admin'])) { $model->admin = $map['admin']; } if (isset($map['boss'])) { $model->boss = $map['boss']; } if (isset($map['departmentIdList'])) { if (!empty($map['departmentIdList'])) { $model->departmentIdList = $map['departmentIdList']; } } if (isset($map['departmentOrderSet'])) { if (!empty($map['departmentOrderSet'])) { $model->departmentOrderSet = []; $n = 0; foreach ($map['departmentOrderSet'] as $item) { $model->departmentOrderSet[$n++] = null !== $item ? departmentOrderSet::fromMap($item) : $item; } } } if (isset($map['exclusiveAccount'])) { $model->exclusiveAccount = $map['exclusiveAccount']; } if (isset($map['exclusiveAccountType'])) { $model->exclusiveAccountType = $map['exclusiveAccountType']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['hiredDate'])) { $model->hiredDate = $map['hiredDate']; } if (isset($map['jobNumber'])) { $model->jobNumber = $map['jobNumber']; } if (isset($map['leaderInDepartment'])) { if (!empty($map['leaderInDepartment'])) { $model->leaderInDepartment = []; $n = 0; foreach ($map['leaderInDepartment'] as $item) { $model->leaderInDepartment[$n++] = null !== $item ? leaderInDepartment::fromMap($item) : $item; } } } if (isset($map['managerUserId'])) { $model->managerUserId = $map['managerUserId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['realAuthed'])) { $model->realAuthed = $map['realAuthed']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['roleList'])) { if (!empty($map['roleList'])) { $model->roleList = []; $n = 0; foreach ($map['roleList'] as $item) { $model->roleList[$n++] = null !== $item ? roleList::fromMap($item) : $item; } } } if (isset($map['senior'])) { $model->senior = $map['senior']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['unionEmpExt'])) { $model->unionEmpExt = unionEmpExt::fromMap($map['unionEmpExt']); } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['workPlace'])) { $model->workPlace = $map['workPlace']; } return $model; } } src/village_1_0/Models/GetUserResponseBody/departmentOrderSet.php000064400000002176146412132660021112 0ustar00 'departmentId', 'order' => 'order', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->order) { $res['order'] = $this->order; } return $res; } /** * @param array $map * * @return departmentOrderSet */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['order'])) { $model->order = $map['order']; } return $model; } } src/village_1_0/Models/GetUserResponseBody/leaderInDepartment.php000064400000002207146412132660021041 0ustar00 'departmentId', 'leader' => 'leader', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->leader) { $res['leader'] = $this->leader; } return $res; } /** * @param array $map * * @return leaderInDepartment */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['leader'])) { $model->leader = $map['leader']; } return $model; } } src/village_1_0/Models/GetUserResponseBody/roleList.php000064400000002570146412132660017072 0ustar00 'groupName', 'roleId' => 'roleId', 'roleName' => 'roleName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } return $res; } /** * @param array $map * * @return roleList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } return $model; } } src/village_1_0/Models/GetUserResponseBody/unionEmpExt.php000064400000004130146412132660017542 0ustar00 'corpId', 'staffId' => 'staffId', 'unionEmpMapList' => 'unionEmpMapList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->staffId) { $res['staffId'] = $this->staffId; } if (null !== $this->unionEmpMapList) { $res['unionEmpMapList'] = []; if (null !== $this->unionEmpMapList && \is_array($this->unionEmpMapList)) { $n = 0; foreach ($this->unionEmpMapList as $item) { $res['unionEmpMapList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return unionEmpExt */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['staffId'])) { $model->staffId = $map['staffId']; } if (isset($map['unionEmpMapList'])) { if (!empty($map['unionEmpMapList'])) { $model->unionEmpMapList = []; $n = 0; foreach ($map['unionEmpMapList'] as $item) { $model->unionEmpMapList[$n++] = null !== $item ? unionEmpMapList::fromMap($item) : $item; } } } return $model; } } src/village_1_0/Models/GetUserResponseBody/unionEmpExt/unionEmpMapList.php000064400000002140146412132660022625 0ustar00 'corpId', 'staffId' => 'staffId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->staffId) { $res['staffId'] = $this->staffId; } return $res; } /** * @param array $map * * @return unionEmpMapList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['staffId'])) { $model->staffId = $map['staffId']; } return $model; } } src/village_1_0/Models/GetVillageOrgInfoHeaders.php000064400000002341146412132660016161 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetVillageOrgInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/GetVillageOrgInfoResponse.php000064400000002741146412132660016410 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetVillageOrgInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetVillageOrgInfoResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/GetVillageOrgInfoResponseBody.php000064400000003114146412132660017221 0ustar00 'regionId', 'regionLocation' => 'regionLocation', 'regionType' => 'regionType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->regionId) { $res['regionId'] = $this->regionId; } if (null !== $this->regionLocation) { $res['regionLocation'] = $this->regionLocation; } if (null !== $this->regionType) { $res['regionType'] = $this->regionType; } return $res; } /** * @param array $map * * @return GetVillageOrgInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['regionId'])) { $model->regionId = $map['regionId']; } if (isset($map['regionLocation'])) { $model->regionLocation = $map['regionLocation']; } if (isset($map['regionType'])) { $model->regionType = $map['regionType']; } return $model; } } src/village_1_0/Models/ListDeptSimpleUsersHeaders.php000064400000002345146412132660016602 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListDeptSimpleUsersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/ListDeptSimpleUsersRequest.php000064400000004534146412132660016661 0ustar00 'containAccessLimit', 'cursor' => 'cursor', 'language' => 'language', 'orderField' => 'orderField', 'size' => 'size', 'subCorpId' => 'subCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->containAccessLimit) { $res['containAccessLimit'] = $this->containAccessLimit; } if (null !== $this->cursor) { $res['cursor'] = $this->cursor; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->orderField) { $res['orderField'] = $this->orderField; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } return $res; } /** * @param array $map * * @return ListDeptSimpleUsersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['containAccessLimit'])) { $model->containAccessLimit = $map['containAccessLimit']; } if (isset($map['cursor'])) { $model->cursor = $map['cursor']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['orderField'])) { $model->orderField = $map['orderField']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } return $model; } } src/village_1_0/Models/ListDeptSimpleUsersResponse.php000064400000002751146412132660017026 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListDeptSimpleUsersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListDeptSimpleUsersResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/ListDeptSimpleUsersResponseBody.php000064400000004460146412132660017643 0ustar00 'hasMore', 'nextCursor' => 'nextCursor', 'totalCount' => 'totalCount', 'userList' => 'userList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextCursor) { $res['nextCursor'] = $this->nextCursor; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } 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 ListDeptSimpleUsersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextCursor'])) { $model->nextCursor = $map['nextCursor']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } 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/village_1_0/Models/ListDeptSimpleUsersResponseBody/userList.php000064400000002070146412132660021450 0ustar00 '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 userList */ 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/village_1_0/Models/ListDeptUserIdsHeaders.php000064400000002335146412132660015704 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListDeptUserIdsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/ListDeptUserIdsRequest.php000064400000001521146412132660015755 0ustar00 'subCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } return $res; } /** * @param array $map * * @return ListDeptUserIdsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } return $model; } } src/village_1_0/Models/ListDeptUserIdsResponse.php000064400000002731146412132660016127 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListDeptUserIdsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListDeptUserIdsResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/ListDeptUserIdsResponseBody.php000064400000001646146412132660016751 0ustar00 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return ListDeptUserIdsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/village_1_0/Models/ListDeptUsersHeaders.php000064400000002331146412132660015423 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListDeptUsersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/ListDeptUsersRequest.php000064400000004520146412132660015502 0ustar00 'containAccessLimit', 'cursor' => 'cursor', 'language' => 'language', 'orderField' => 'orderField', 'size' => 'size', 'subCorpId' => 'subCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->containAccessLimit) { $res['containAccessLimit'] = $this->containAccessLimit; } if (null !== $this->cursor) { $res['cursor'] = $this->cursor; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->orderField) { $res['orderField'] = $this->orderField; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } return $res; } /** * @param array $map * * @return ListDeptUsersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['containAccessLimit'])) { $model->containAccessLimit = $map['containAccessLimit']; } if (isset($map['cursor'])) { $model->cursor = $map['cursor']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['orderField'])) { $model->orderField = $map['orderField']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } return $model; } } src/village_1_0/Models/ListDeptUsersResponse.php000064400000002721146412132660015651 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListDeptUsersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListDeptUsersResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/ListDeptUsersResponseBody.php000064400000003757146412132660016501 0ustar00 'hasMore', 'nextCursor' => 'nextCursor', 'userList' => 'userList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextCursor) { $res['nextCursor'] = $this->nextCursor; } 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 ListDeptUsersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextCursor'])) { $model->nextCursor = $map['nextCursor']; } 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/village_1_0/Models/ListDeptUsersResponseBody/userList.php000064400000004473146412132660020307 0ustar00 'active', 'departmentList' => 'departmentList', 'jobNumber' => 'jobNumber', 'name' => 'name', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->departmentList) { $res['departmentList'] = $this->departmentList; } if (null !== $this->jobNumber) { $res['jobNumber'] = $this->jobNumber; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } 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['active'])) { $model->active = $map['active']; } if (isset($map['departmentList'])) { if (!empty($map['departmentList'])) { $model->departmentList = $map['departmentList']; } } if (isset($map['jobNumber'])) { $model->jobNumber = $map['jobNumber']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/village_1_0/Models/ListParentByDeptHeaders.php000064400000002337146412132660016054 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListParentByDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/ListParentByDeptRequest.php000064400000002227146412132660016127 0ustar00 'departmentId', 'subCorpId' => 'subCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } return $res; } /** * @param array $map * * @return ListParentByDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } return $model; } } src/village_1_0/Models/ListParentByDeptResponse.php000064400000002735146412132660016301 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListParentByDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListParentByDeptResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/ListParentByDeptResponseBody.php000064400000001741146412132660017113 0ustar00 'departmentIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentIdList) { $res['departmentIdList'] = $this->departmentIdList; } return $res; } /** * @param array $map * * @return ListParentByDeptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentIdList'])) { if (!empty($map['departmentIdList'])) { $model->departmentIdList = $map['departmentIdList']; } } return $model; } } src/village_1_0/Models/ListParentByUserHeaders.php000064400000002337146412132660016076 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListParentByUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/ListParentByUserRequest.php000064400000002144146412132660016147 0ustar00 'subCorpId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ListParentByUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/village_1_0/Models/ListParentByUserResponse.php000064400000002735146412132660016323 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListParentByUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListParentByUserResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/ListParentByUserResponseBody.php000064400000001741146412132660017135 0ustar00 'departmentIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentIdList) { $res['departmentIdList'] = $this->departmentIdList; } return $res; } /** * @param array $map * * @return ListParentByUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentIdList'])) { if (!empty($map['departmentIdList'])) { $model->departmentIdList = $map['departmentIdList']; } } return $model; } } src/village_1_0/Models/ListResidentDeptUsersHeaders.php000064400000002351146412132660017123 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListResidentDeptUsersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/ListResidentDeptUsersRequest.php000064400000003203146412132660017175 0ustar00 'cursor', 'role' => 'role', 'size' => 'size', 'subCorpId' => 'subCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cursor) { $res['cursor'] = $this->cursor; } if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } return $res; } /** * @param array $map * * @return ListResidentDeptUsersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cursor'])) { $model->cursor = $map['cursor']; } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } return $model; } } src/village_1_0/Models/ListResidentDeptUsersResponse.php000064400000002761146412132660017353 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListResidentDeptUsersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListResidentDeptUsersResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/ListResidentDeptUsersResponseBody.php000064400000004007146412132660020164 0ustar00 'hasMore', 'nextCursor' => 'nextCursor', 'userList' => 'userList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextCursor) { $res['nextCursor'] = $this->nextCursor; } 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 ListResidentDeptUsersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextCursor'])) { $model->nextCursor = $map['nextCursor']; } 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/village_1_0/Models/ListResidentDeptUsersResponseBody/userList.php000064400000004677146412132660022013 0ustar00 'feature', 'name' => 'name', 'roles' => 'roles', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->feature) { $res['feature'] = $this->feature; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->roles) { $res['roles'] = []; if (null !== $this->roles && \is_array($this->roles)) { $n = 0; foreach ($this->roles as $item) { $res['roles'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } 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['feature'])) { $model->feature = $map['feature']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['roles'])) { if (!empty($map['roles'])) { $model->roles = []; $n = 0; foreach ($map['roles'] as $item) { $model->roles[$n++] = null !== $item ? roles::fromMap($item) : $item; } } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/village_1_0/Models/ListResidentDeptUsersResponseBody/userList/roles.php000064400000002543146412132660023125 0ustar00 'tagCode', 'tagId' => 'tagId', 'tagName' => 'tagName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->tagCode) { $res['tagCode'] = $this->tagCode; } if (null !== $this->tagId) { $res['tagId'] = $this->tagId; } if (null !== $this->tagName) { $res['tagName'] = $this->tagName; } return $res; } /** * @param array $map * * @return roles */ public static function fromMap($map = []) { $model = new self(); if (isset($map['tagCode'])) { $model->tagCode = $map['tagCode']; } if (isset($map['tagId'])) { $model->tagId = $map['tagId']; } if (isset($map['tagName'])) { $model->tagName = $map['tagName']; } return $model; } } src/village_1_0/Models/ListResidentSubDeptsHeaders.php000064400000002347146412132660016743 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListResidentSubDeptsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/ListResidentSubDeptsRequest.php000064400000002600146412132660017010 0ustar00 'cursor', 'size' => 'size', 'subCorpId' => 'subCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cursor) { $res['cursor'] = $this->cursor; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } return $res; } /** * @param array $map * * @return ListResidentSubDeptsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cursor'])) { $model->cursor = $map['cursor']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } return $model; } } src/village_1_0/Models/ListResidentSubDeptsResponse.php000064400000002755146412132660017171 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListResidentSubDeptsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListResidentSubDeptsResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/ListResidentSubDeptsResponseBody.php000064400000004601146412132660017777 0ustar00 'departmentList', 'hasMore' => 'hasMore', 'nextCursor' => 'nextCursor', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentList) { $res['departmentList'] = []; if (null !== $this->departmentList && \is_array($this->departmentList)) { $n = 0; foreach ($this->departmentList as $item) { $res['departmentList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextCursor) { $res['nextCursor'] = $this->nextCursor; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return ListResidentSubDeptsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentList'])) { if (!empty($map['departmentList'])) { $model->departmentList = []; $n = 0; foreach ($map['departmentList'] as $item) { $model->departmentList[$n++] = null !== $item ? departmentList::fromMap($item) : $item; } } } if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextCursor'])) { $model->nextCursor = $map['nextCursor']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/village_1_0/Models/ListResidentSubDeptsResponseBody/departmentList.php000064400000003106146412132660022775 0ustar00 'departmentId', 'departmentName' => 'departmentName', 'superDepartmentId' => 'superDepartmentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->superDepartmentId) { $res['superDepartmentId'] = $this->superDepartmentId; } return $res; } /** * @param array $map * * @return departmentList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['superDepartmentId'])) { $model->superDepartmentId = $map['superDepartmentId']; } return $model; } } src/village_1_0/Models/ListResidentUserInfosHeaders.php000064400000002351146412132660017122 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListResidentUserInfosHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/ListResidentUserInfosRequest.php000064400000002265146412132660017203 0ustar00 'subCorpId', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return ListResidentUserInfosRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/village_1_0/Models/ListResidentUserInfosResponse.php000064400000002761146412132660017352 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListResidentUserInfosResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListResidentUserInfosResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/ListResidentUserInfosResponseBody.php000064400000002676146412132660020175 0ustar00 'userList', ]; public function validate() { } public function toMap() { $res = []; 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 ListResidentUserInfosResponseBody */ public static function fromMap($map = []) { $model = new self(); 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/village_1_0/Models/ListResidentUserInfosResponseBody/userList.php000064400000004744146412132660022005 0ustar00 'feature', 'roles' => 'roles', 'unionId' => 'unionId', 'userId' => 'userId', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->feature) { $res['feature'] = $this->feature; } if (null !== $this->roles) { $res['roles'] = []; if (null !== $this->roles && \is_array($this->roles)) { $n = 0; foreach ($this->roles as $item) { $res['roles'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return userList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['feature'])) { $model->feature = $map['feature']; } if (isset($map['roles'])) { if (!empty($map['roles'])) { $model->roles = []; $n = 0; foreach ($map['roles'] as $item) { $model->roles[$n++] = null !== $item ? roles::fromMap($item) : $item; } } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/village_1_0/Models/ListResidentUserInfosResponseBody/userList/roles.php000064400000002543146412132660023124 0ustar00 'tagCode', 'tagId' => 'tagId', 'tagName' => 'tagName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->tagCode) { $res['tagCode'] = $this->tagCode; } if (null !== $this->tagId) { $res['tagId'] = $this->tagId; } if (null !== $this->tagName) { $res['tagName'] = $this->tagName; } return $res; } /** * @param array $map * * @return roles */ public static function fromMap($map = []) { $model = new self(); if (isset($map['tagCode'])) { $model->tagCode = $map['tagCode']; } if (isset($map['tagId'])) { $model->tagId = $map['tagId']; } if (isset($map['tagName'])) { $model->tagName = $map['tagName']; } return $model; } } src/village_1_0/Models/ListResidentUserInfosShrinkRequest.php000064400000002242146412132660020355 0ustar00 'subCorpId', 'userIdsShrink' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } if (null !== $this->userIdsShrink) { $res['userIds'] = $this->userIdsShrink; } return $res; } /** * @param array $map * * @return ListResidentUserInfosShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } if (isset($map['userIds'])) { $model->userIdsShrink = $map['userIds']; } return $model; } } src/village_1_0/Models/ListSimpleUsersByRoleHeaders.php000064400000002351146412132660017077 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListSimpleUsersByRoleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/ListSimpleUsersByRoleRequest.php000064400000003167146412132660017162 0ustar00 'offset', 'roleId' => 'roleId', 'size' => 'size', 'subCorpId' => 'subCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->offset) { $res['offset'] = $this->offset; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } return $res; } /** * @param array $map * * @return ListSimpleUsersByRoleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['offset'])) { $model->offset = $map['offset']; } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } return $model; } } src/village_1_0/Models/ListSimpleUsersByRoleResponse.php000064400000002761146412132660017327 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListSimpleUsersByRoleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListSimpleUsersByRoleResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/ListSimpleUsersByRoleResponseBody.php000064400000004007146412132660020140 0ustar00 'hasMore', 'nextCursor' => 'nextCursor', 'userList' => 'userList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextCursor) { $res['nextCursor'] = $this->nextCursor; } 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 ListSimpleUsersByRoleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextCursor'])) { $model->nextCursor = $map['nextCursor']; } 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/village_1_0/Models/ListSimpleUsersByRoleResponseBody/userList.php000064400000003202146412132660021746 0ustar00 'jobNumber', 'name' => 'name', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobNumber) { $res['jobNumber'] = $this->jobNumber; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } 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['jobNumber'])) { $model->jobNumber = $map['jobNumber']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/village_1_0/Models/ListSubCorpsHeaders.php000064400000002327146412132660015252 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListSubCorpsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/ListSubCorpsRequest.php000064400000002704146412132660015326 0ustar00 'isOnlyDirect', 'subCorpId' => 'subCorpId', 'types' => 'types', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isOnlyDirect) { $res['isOnlyDirect'] = $this->isOnlyDirect; } if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } if (null !== $this->types) { $res['types'] = $this->types; } return $res; } /** * @param array $map * * @return ListSubCorpsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isOnlyDirect'])) { $model->isOnlyDirect = $map['isOnlyDirect']; } if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } if (isset($map['types'])) { $model->types = $map['types']; } return $model; } } src/village_1_0/Models/ListSubCorpsResponse.php000064400000002715146412132660015476 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListSubCorpsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListSubCorpsResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/ListSubCorpsResponseBody.php000064400000002643146412132660016314 0ustar00 'corpList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpList) { $res['corpList'] = []; if (null !== $this->corpList && \is_array($this->corpList)) { $n = 0; foreach ($this->corpList as $item) { $res['corpList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListSubCorpsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpList'])) { if (!empty($map['corpList'])) { $model->corpList = []; $n = 0; foreach ($map['corpList'] as $item) { $model->corpList[$n++] = null !== $item ? corpList::fromMap($item) : $item; } } } return $model; } } src/village_1_0/Models/ListSubCorpsResponseBody/corpList.php000064400000005431146412132660020111 0ustar00 'corpId', 'corpName' => 'corpName', 'industry' => 'industry', 'industryCode' => 'industryCode', 'regionId' => 'regionId', 'regionLocation' => 'regionLocation', 'regionType' => 'regionType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->corpName) { $res['corpName'] = $this->corpName; } if (null !== $this->industry) { $res['industry'] = $this->industry; } if (null !== $this->industryCode) { $res['industryCode'] = $this->industryCode; } if (null !== $this->regionId) { $res['regionId'] = $this->regionId; } if (null !== $this->regionLocation) { $res['regionLocation'] = $this->regionLocation; } if (null !== $this->regionType) { $res['regionType'] = $this->regionType; } return $res; } /** * @param array $map * * @return corpList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['corpName'])) { $model->corpName = $map['corpName']; } if (isset($map['industry'])) { $model->industry = $map['industry']; } if (isset($map['industryCode'])) { $model->industryCode = $map['industryCode']; } if (isset($map['regionId'])) { $model->regionId = $map['regionId']; } if (isset($map['regionLocation'])) { $model->regionLocation = $map['regionLocation']; } if (isset($map['regionType'])) { $model->regionType = $map['regionType']; } return $model; } } src/village_1_0/Models/ListSubDeptHeaders.php000064400000002325146412132660015056 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListSubDeptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/ListSubDeptIdsHeaders.php000064400000002333146412132660015515 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListSubDeptIdsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/village_1_0/Models/ListSubDeptIdsRequest.php000064400000001517146412132660015575 0ustar00 'subCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } return $res; } /** * @param array $map * * @return ListSubDeptIdsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } return $model; } } src/village_1_0/Models/ListSubDeptIdsResponse.php000064400000002725146412132660015745 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListSubDeptIdsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListSubDeptIdsResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/ListSubDeptIdsResponseBody.php000064400000001735146412132660016563 0ustar00 'departmentIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentIdList) { $res['departmentIdList'] = $this->departmentIdList; } return $res; } /** * @param array $map * * @return ListSubDeptIdsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentIdList'])) { if (!empty($map['departmentIdList'])) { $model->departmentIdList = $map['departmentIdList']; } } return $model; } } src/village_1_0/Models/ListSubDeptRequest.php000064400000002207146412132660015132 0ustar00 'language', 'subCorpId' => 'subCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } return $res; } /** * @param array $map * * @return ListSubDeptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } return $model; } } src/village_1_0/Models/ListSubDeptResponse.php000064400000002711146412132660015300 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListSubDeptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListSubDeptResponseBody::fromMap($map['body']); } return $model; } } src/village_1_0/Models/ListSubDeptResponseBody.php000064400000002574146412132660016125 0ustar00 '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 ListSubDeptResponseBody */ 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/village_1_0/Models/ListSubDeptResponseBody/result.php000064400000002145146412132660017435 0ustar00 'departmentId', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } 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['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/watt_1_0/Dingtalk.php000064400000044230146412132660011227 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_signatureAlgorithm = 'v2'; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CheckInCrowdsByMobileRequest $request * @param string[] $headers * @param RuntimeOptions $runtime * * @return CheckInCrowdsByMobileResponse */ public function checkInCrowdsByMobileWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->crowdIds)) { $query['crowdIds'] = $request->crowdIds; } if (!Utils::isUnset($request->mobile)) { $query['mobile'] = $request->mobile; } $req = new OpenApiRequest([ 'headers' => $headers, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CheckInCrowdsByMobile', 'version' => 'watt_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/watt/crowdIdentifications/query', 'method' => 'POST', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CheckInCrowdsByMobileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CheckInCrowdsByMobileRequest $request * * @return CheckInCrowdsByMobileResponse */ public function checkInCrowdsByMobile($request) { $runtime = new RuntimeOptions([]); $headers = []; return $this->checkInCrowdsByMobileWithOptions($request, $headers, $runtime); } /** * @param ConsumePointRequest $tmpReq * @param ConsumePointHeaders $headers * @param RuntimeOptions $runtime * * @return ConsumePointResponse */ public function consumePointWithOptions($tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new ConsumePointShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->body)) { $request->bodyShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->body, 'body', 'json'); } $query = []; if (!Utils::isUnset($request->bodyShrink)) { $query['body'] = $request->bodyShrink; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ConsumePoint', 'version' => 'watt_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/watt/points/consume', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ConsumePointResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ConsumePointRequest $request * * @return ConsumePointResponse */ public function consumePoint($request) { $runtime = new RuntimeOptions([]); $headers = new ConsumePointHeaders([]); return $this->consumePointWithOptions($request, $headers, $runtime); } /** * @param CreateDeliveryPlanRequest $request * @param CreateDeliveryPlanHeaders $headers * @param RuntimeOptions $runtime * * @return CreateDeliveryPlanResponse */ public function createDeliveryPlanWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->resId)) { $body['resId'] = $request->resId; } 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' => 'CreateDeliveryPlan', 'version' => 'watt_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/watt/deliveryPlans/publish', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateDeliveryPlanResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateDeliveryPlanRequest $request * * @return CreateDeliveryPlanResponse */ public function createDeliveryPlan($request) { $runtime = new RuntimeOptions([]); $headers = new CreateDeliveryPlanHeaders([]); return $this->createDeliveryPlanWithOptions($request, $headers, $runtime); } /** * @param GetPointInfoRequest $request * @param GetPointInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetPointInfoResponse */ public function getPointInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pointPoolCode)) { $query['pointPoolCode'] = $request->pointPoolCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetPointInfo', 'version' => 'watt_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/watt/points', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetPointInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetPointInfoRequest $request * * @return GetPointInfoResponse */ public function getPointInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetPointInfoHeaders([]); return $this->getPointInfoWithOptions($request, $headers, $runtime); } /** * @param RevertPointRequest $tmpReq * @param RevertPointHeaders $headers * @param RuntimeOptions $runtime * * @return RevertPointResponse */ public function revertPointWithOptions($tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new RevertPointShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->body)) { $request->bodyShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->body, 'body', 'json'); } $query = []; if (!Utils::isUnset($request->bodyShrink)) { $query['body'] = $request->bodyShrink; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'RevertPoint', 'version' => 'watt_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/watt/points/revert', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RevertPointResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RevertPointRequest $request * * @return RevertPointResponse */ public function revertPoint($request) { $runtime = new RuntimeOptions([]); $headers = new RevertPointHeaders([]); return $this->revertPointWithOptions($request, $headers, $runtime); } /** * @param SendBannerRequest $request * @param SendBannerHeaders $headers * @param RuntimeOptions $runtime * * @return SendBannerResponse */ public function sendBannerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } 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' => 'SendBanner', 'version' => 'watt_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/watt/banners/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendBannerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendBannerRequest $request * * @return SendBannerResponse */ public function sendBanner($request) { $runtime = new RuntimeOptions([]); $headers = new SendBannerHeaders([]); return $this->sendBannerWithOptions($request, $headers, $runtime); } /** * @param SendPopupRequest $request * @param SendPopupHeaders $headers * @param RuntimeOptions $runtime * * @return SendPopupResponse */ public function sendPopupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } 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' => 'SendPopup', 'version' => 'watt_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/watt/popups/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendPopupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendPopupRequest $request * * @return SendPopupResponse */ public function sendPopup($request) { $runtime = new RuntimeOptions([]); $headers = new SendPopupHeaders([]); return $this->sendPopupWithOptions($request, $headers, $runtime); } /** * @param SendSearchShadeRequest $request * @param SendSearchShadeHeaders $headers * @param RuntimeOptions $runtime * * @return SendSearchShadeResponse */ public function sendSearchShadeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } 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' => 'SendSearchShade', 'version' => 'watt_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/watt/searchShades/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendSearchShadeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SendSearchShadeRequest $request * * @return SendSearchShadeResponse */ public function sendSearchShade($request) { $runtime = new RuntimeOptions([]); $headers = new SendSearchShadeHeaders([]); return $this->sendSearchShadeWithOptions($request, $headers, $runtime); } } src/watt_1_0/Models/CheckInCrowdsByMobileRequest.php000064400000002255146412132660016400 0ustar00 'crowdIds', 'mobile' => 'mobile', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->crowdIds) { $res['crowdIds'] = $this->crowdIds; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } return $res; } /** * @param array $map * * @return CheckInCrowdsByMobileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['crowdIds'])) { $model->crowdIds = $map['crowdIds']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } return $model; } } src/watt_1_0/Models/CheckInCrowdsByMobileResponse.php000064400000002756146412132660016554 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CheckInCrowdsByMobileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CheckInCrowdsByMobileResponseBody::fromMap($map['body']); } return $model; } } src/watt_1_0/Models/CheckInCrowdsByMobileResponseBody.php000064400000002521146412132660017360 0ustar00 'data', 'success' => 'success', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return CheckInCrowdsByMobileResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/watt_1_0/Models/ConsumePointHeaders.php000064400000002324146412132660014632 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ConsumePointHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/watt_1_0/Models/ConsumePointRequest.php000064400000001630146412132660014706 0ustar00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ConsumePointRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { $model->body = body::fromMap($map['body']); } return $model; } } src/watt_1_0/Models/ConsumePointRequest/body.php000064400000003624146412132660015650 0ustar00 'consumeDetail', 'pointPoolCode' => 'pointPoolCode', 'points' => 'points', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->consumeDetail) { $res['consumeDetail'] = null !== $this->consumeDetail ? $this->consumeDetail->toMap() : null; } if (null !== $this->pointPoolCode) { $res['pointPoolCode'] = $this->pointPoolCode; } if (null !== $this->points) { $res['points'] = $this->points; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['consumeDetail'])) { $model->consumeDetail = consumeDetail::fromMap($map['consumeDetail']); } if (isset($map['pointPoolCode'])) { $model->pointPoolCode = $map['pointPoolCode']; } if (isset($map['points'])) { $model->points = $map['points']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/watt_1_0/Models/ConsumePointRequest/body/consumeDetail.php000064400000002336146412132660020443 0ustar00 'benefit', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->benefit) { $res['benefit'] = null !== $this->benefit ? $this->benefit->toMap() : null; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return consumeDetail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['benefit'])) { $model->benefit = benefit::fromMap($map['benefit']); } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/watt_1_0/Models/ConsumePointRequest/body/consumeDetail/benefit.php000064400000003266146412132660022062 0ustar00 'benefitId', 'name' => 'name', 'supplierName' => 'supplierName', 'useUrl' => 'useUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->benefitId) { $res['benefitId'] = $this->benefitId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->supplierName) { $res['supplierName'] = $this->supplierName; } if (null !== $this->useUrl) { $res['useUrl'] = $this->useUrl; } return $res; } /** * @param array $map * * @return benefit */ public static function fromMap($map = []) { $model = new self(); if (isset($map['benefitId'])) { $model->benefitId = $map['benefitId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['supplierName'])) { $model->supplierName = $map['supplierName']; } if (isset($map['useUrl'])) { $model->useUrl = $map['useUrl']; } return $model; } } src/watt_1_0/Models/ConsumePointResponse.php000064400000002712146412132660015056 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ConsumePointResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ConsumePointResponseBody::fromMap($map['body']); } return $model; } } src/watt_1_0/Models/ConsumePointResponseBody.php000064400000002327146412132660015676 0ustar00 '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 ConsumePointResponseBody */ 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/watt_1_0/Models/ConsumePointResponseBody/result.php000064400000001561146412132660017213 0ustar00 'consumedPoints', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->consumedPoints) { $res['consumedPoints'] = $this->consumedPoints; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['consumedPoints'])) { $model->consumedPoints = $map['consumedPoints']; } return $model; } } src/watt_1_0/Models/ConsumePointShrinkRequest.php000064400000001505146412132660016066 0ustar00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bodyShrink) { $res['body'] = $this->bodyShrink; } return $res; } /** * @param array $map * * @return ConsumePointShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { $model->bodyShrink = $map['body']; } return $model; } } src/watt_1_0/Models/CreateDeliveryPlanHeaders.php000064400000002340146412132660015727 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateDeliveryPlanHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/watt_1_0/Models/CreateDeliveryPlanRequest.php000064400000004036146412132660016010 0ustar00 'content', 'endTime' => 'endTime', 'resId' => 'resId', 'startTime' => 'startTime', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->resId) { $res['resId'] = $this->resId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return CreateDeliveryPlanRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['resId'])) { $model->resId = $map['resId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/watt_1_0/Models/CreateDeliveryPlanResponse.php000064400000002742146412132660016160 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateDeliveryPlanResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateDeliveryPlanResponseBody::fromMap($map['body']); } return $model; } } src/watt_1_0/Models/CreateDeliveryPlanResponseBody.php000064400000002265146412132660016776 0ustar00 'arguments', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->arguments) { $res['arguments'] = $this->arguments; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateDeliveryPlanResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['arguments'])) { if (!empty($map['arguments'])) { $model->arguments = $map['arguments']; } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/watt_1_0/Models/GetPointInfoHeaders.php000064400000002324146412132660014554 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPointInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/watt_1_0/Models/GetPointInfoRequest.php000064400000001554146412132660014635 0ustar00 'pointPoolCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pointPoolCode) { $res['pointPoolCode'] = $this->pointPoolCode; } return $res; } /** * @param array $map * * @return GetPointInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pointPoolCode'])) { $model->pointPoolCode = $map['pointPoolCode']; } return $model; } } src/watt_1_0/Models/GetPointInfoResponse.php000064400000002712146412132660015000 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPointInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPointInfoResponseBody::fromMap($map['body']); } return $model; } } src/watt_1_0/Models/GetPointInfoResponseBody.php000064400000002327146412132660015620 0ustar00 '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 GetPointInfoResponseBody */ 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/watt_1_0/Models/GetPointInfoResponseBody/result.php000064400000001515146412132660017134 0ustar00 'userPoints', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userPoints) { $res['userPoints'] = $this->userPoints; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userPoints'])) { $model->userPoints = $map['userPoints']; } return $model; } } src/watt_1_0/Models/RevertPointHeaders.php000064400000002322146412132660014466 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RevertPointHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/watt_1_0/Models/RevertPointRequest.php000064400000001625146412132660014550 0ustar00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RevertPointRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { $model->body = body::fromMap($map['body']); } return $model; } } src/watt_1_0/Models/RevertPointRequest/body.php000064400000002216146412132660015502 0ustar00 'pointPoolCode', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pointPoolCode) { $res['pointPoolCode'] = $this->pointPoolCode; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pointPoolCode'])) { $model->pointPoolCode = $map['pointPoolCode']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/watt_1_0/Models/RevertPointResponse.php000064400000002706146412132660014717 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RevertPointResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RevertPointResponseBody::fromMap($map['body']); } return $model; } } src/watt_1_0/Models/RevertPointResponseBody.php000064400000002324146412132660015531 0ustar00 '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 RevertPointResponseBody */ 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/watt_1_0/Models/RevertPointResponseBody/result.php000064400000001560146412132660017050 0ustar00 'revertedPoints', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->revertedPoints) { $res['revertedPoints'] = $this->revertedPoints; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['revertedPoints'])) { $model->revertedPoints = $map['revertedPoints']; } return $model; } } src/watt_1_0/Models/RevertPointShrinkRequest.php000064400000001503146412132660015722 0ustar00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bodyShrink) { $res['body'] = $this->bodyShrink; } return $res; } /** * @param array $map * * @return RevertPointShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { $model->bodyShrink = $map['body']; } return $model; } } src/watt_1_0/Models/SendBannerHeaders.php000064400000002320146412132660014222 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendBannerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/watt_1_0/Models/SendBannerRequest.php000064400000003202146412132660014277 0ustar00 'content', 'endTime' => 'endTime', 'startTime' => 'startTime', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SendBannerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/watt_1_0/Models/SendBannerResponse.php000064400000002702146412132660014451 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendBannerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendBannerResponseBody::fromMap($map['body']); } return $model; } } src/watt_1_0/Models/SendBannerResponseBody.php000064400000002245146412132660015271 0ustar00 'arguments', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->arguments) { $res['arguments'] = $this->arguments; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SendBannerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['arguments'])) { if (!empty($map['arguments'])) { $model->arguments = $map['arguments']; } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/watt_1_0/Models/SendPopupHeaders.php000064400000002316146412132660014125 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendPopupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/watt_1_0/Models/SendPopupRequest.php000064400000003200146412132660014173 0ustar00 'content', 'endTime' => 'endTime', 'startTime' => 'startTime', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SendPopupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/watt_1_0/Models/SendPopupResponse.php000064400000002676146412132660014361 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendPopupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendPopupResponseBody::fromMap($map['body']); } return $model; } } src/watt_1_0/Models/SendPopupResponseBody.php000064400000002243146412132660015165 0ustar00 'arguments', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->arguments) { $res['arguments'] = $this->arguments; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SendPopupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['arguments'])) { if (!empty($map['arguments'])) { $model->arguments = $map['arguments']; } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/watt_1_0/Models/SendSearchShadeHeaders.php000064400000002332146412132660015172 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendSearchShadeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/watt_1_0/Models/SendSearchShadeRequest.php000064400000003214146412132660015247 0ustar00 'content', 'endTime' => 'endTime', 'startTime' => 'startTime', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SendSearchShadeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/watt_1_0/Models/SendSearchShadeResponse.php000064400000002726146412132660015424 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendSearchShadeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendSearchShadeResponseBody::fromMap($map['body']); } return $model; } } src/watt_1_0/Models/SendSearchShadeResponseBody.php000064400000002257146412132660016241 0ustar00 'arguments', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->arguments) { $res['arguments'] = $this->arguments; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SendSearchShadeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['arguments'])) { if (!empty($map['arguments'])) { $model->arguments = $map['arguments']; } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/wiki_1_0/Dingtalk.php000064400000011341146412132660011210 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param WikiWordsDetailRequest $request * @param WikiWordsDetailHeaders $headers * @param RuntimeOptions $runtime * * @return WikiWordsDetailResponse */ public function wikiWordsDetailWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->wordName)) { $query['wordName'] = $request->wordName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'WikiWordsDetail', 'version' => 'wiki_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/wiki/words/details', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return WikiWordsDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param WikiWordsDetailRequest $request * * @return WikiWordsDetailResponse */ public function wikiWordsDetail($request) { $runtime = new RuntimeOptions([]); $headers = new WikiWordsDetailHeaders([]); return $this->wikiWordsDetailWithOptions($request, $headers, $runtime); } /** * @param WikiWordsParseRequest $request * @param WikiWordsParseHeaders $headers * @param RuntimeOptions $runtime * * @return WikiWordsParseResponse */ public function wikiWordsParseWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'WikiWordsParse', 'version' => 'wiki_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/wiki/words/parse', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return WikiWordsParseResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param WikiWordsParseRequest $request * * @return WikiWordsParseResponse */ public function wikiWordsParse($request) { $runtime = new RuntimeOptions([]); $headers = new WikiWordsParseHeaders([]); return $this->wikiWordsParseWithOptions($request, $headers, $runtime); } } src/wiki_1_0/Models/WikiWordsDetailHeaders.php000064400000002332146412132660015237 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return WikiWordsDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_1_0/Models/WikiWordsDetailRequest.php000064400000001505146412132660015315 0ustar00 'wordName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->wordName) { $res['wordName'] = $this->wordName; } return $res; } /** * @param array $map * * @return WikiWordsDetailRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['wordName'])) { $model->wordName = $map['wordName']; } return $model; } } src/wiki_1_0/Models/WikiWordsDetailResponse.php000064400000002726146412132660015471 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return WikiWordsDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = WikiWordsDetailResponseBody::fromMap($map['body']); } return $model; } } src/wiki_1_0/Models/WikiWordsDetailResponseBody.php000064400000003605146412132660016304 0ustar00 'data', 'errMsg' => 'errMsg', 'success' => 'success', ]; 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->errMsg) { $res['errMsg'] = $this->errMsg; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return WikiWordsDetailResponseBody */ 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['errMsg'])) { $model->errMsg = $map['errMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/wiki_1_0/Models/WikiWordsDetailResponseBody/data.php000064400000021523146412132660017214 0ustar00 'appLink', 'approveName' => 'approveName', 'contacts' => 'contacts', 'creatorName' => 'creatorName', 'gmtCreate' => 'gmtCreate', 'gmtModify' => 'gmtModify', 'highLightWordAlias' => 'highLightWordAlias', 'imHighLight' => 'imHighLight', 'orgName' => 'orgName', 'relatedDoc' => 'relatedDoc', 'relatedLink' => 'relatedLink', 'simHighLight' => 'simHighLight', 'simpleWordParaphrase' => 'simpleWordParaphrase', 'tagsList' => 'tagsList', 'updaterName' => 'updaterName', 'uuid' => 'uuid', 'wordAlias' => 'wordAlias', 'wordFullName' => 'wordFullName', 'wordName' => 'wordName', 'wordParaphrase' => 'wordParaphrase', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appLink) { $res['appLink'] = []; if (null !== $this->appLink && \is_array($this->appLink)) { $n = 0; foreach ($this->appLink as $item) { $res['appLink'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->approveName) { $res['approveName'] = $this->approveName; } if (null !== $this->contacts) { $res['contacts'] = $this->contacts; } if (null !== $this->creatorName) { $res['creatorName'] = $this->creatorName; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModify) { $res['gmtModify'] = $this->gmtModify; } if (null !== $this->highLightWordAlias) { $res['highLightWordAlias'] = $this->highLightWordAlias; } if (null !== $this->imHighLight) { $res['imHighLight'] = $this->imHighLight; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->relatedDoc) { $res['relatedDoc'] = []; if (null !== $this->relatedDoc && \is_array($this->relatedDoc)) { $n = 0; foreach ($this->relatedDoc as $item) { $res['relatedDoc'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->relatedLink) { $res['relatedLink'] = []; if (null !== $this->relatedLink && \is_array($this->relatedLink)) { $n = 0; foreach ($this->relatedLink as $item) { $res['relatedLink'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->simHighLight) { $res['simHighLight'] = $this->simHighLight; } if (null !== $this->simpleWordParaphrase) { $res['simpleWordParaphrase'] = $this->simpleWordParaphrase; } if (null !== $this->tagsList) { $res['tagsList'] = $this->tagsList; } if (null !== $this->updaterName) { $res['updaterName'] = $this->updaterName; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } if (null !== $this->wordAlias) { $res['wordAlias'] = $this->wordAlias; } if (null !== $this->wordFullName) { $res['wordFullName'] = $this->wordFullName; } if (null !== $this->wordName) { $res['wordName'] = $this->wordName; } if (null !== $this->wordParaphrase) { $res['wordParaphrase'] = $this->wordParaphrase; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appLink'])) { if (!empty($map['appLink'])) { $model->appLink = []; $n = 0; foreach ($map['appLink'] as $item) { $model->appLink[$n++] = null !== $item ? appLink::fromMap($item) : $item; } } } if (isset($map['approveName'])) { $model->approveName = $map['approveName']; } if (isset($map['contacts'])) { if (!empty($map['contacts'])) { $model->contacts = $map['contacts']; } } if (isset($map['creatorName'])) { $model->creatorName = $map['creatorName']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModify'])) { $model->gmtModify = $map['gmtModify']; } if (isset($map['highLightWordAlias'])) { if (!empty($map['highLightWordAlias'])) { $model->highLightWordAlias = $map['highLightWordAlias']; } } if (isset($map['imHighLight'])) { $model->imHighLight = $map['imHighLight']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['relatedDoc'])) { if (!empty($map['relatedDoc'])) { $model->relatedDoc = []; $n = 0; foreach ($map['relatedDoc'] as $item) { $model->relatedDoc[$n++] = null !== $item ? relatedDoc::fromMap($item) : $item; } } } if (isset($map['relatedLink'])) { if (!empty($map['relatedLink'])) { $model->relatedLink = []; $n = 0; foreach ($map['relatedLink'] as $item) { $model->relatedLink[$n++] = null !== $item ? relatedLink::fromMap($item) : $item; } } } if (isset($map['simHighLight'])) { $model->simHighLight = $map['simHighLight']; } if (isset($map['simpleWordParaphrase'])) { $model->simpleWordParaphrase = $map['simpleWordParaphrase']; } if (isset($map['tagsList'])) { if (!empty($map['tagsList'])) { $model->tagsList = $map['tagsList']; } } if (isset($map['updaterName'])) { $model->updaterName = $map['updaterName']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } if (isset($map['wordAlias'])) { if (!empty($map['wordAlias'])) { $model->wordAlias = $map['wordAlias']; } } if (isset($map['wordFullName'])) { $model->wordFullName = $map['wordFullName']; } if (isset($map['wordName'])) { $model->wordName = $map['wordName']; } if (isset($map['wordParaphrase'])) { $model->wordParaphrase = $map['wordParaphrase']; } return $model; } } src/wiki_1_0/Models/WikiWordsDetailResponseBody/data/appLink.php000064400000003642146412132660020614 0ustar00 'appId', 'appName' => 'appName', 'iconLink' => 'iconLink', 'pcLink' => 'pcLink', 'phoneLink' => 'phoneLink', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->iconLink) { $res['iconLink'] = $this->iconLink; } if (null !== $this->pcLink) { $res['pcLink'] = $this->pcLink; } if (null !== $this->phoneLink) { $res['phoneLink'] = $this->phoneLink; } return $res; } /** * @param array $map * * @return appLink */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['iconLink'])) { $model->iconLink = $map['iconLink']; } if (isset($map['pcLink'])) { $model->pcLink = $map['pcLink']; } if (isset($map['phoneLink'])) { $model->phoneLink = $map['phoneLink']; } return $model; } } src/wiki_1_0/Models/WikiWordsDetailResponseBody/data/relatedDoc.php000064400000002442146412132660021261 0ustar00 'link', 'name' => 'name', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return relatedDoc */ public static function fromMap($map = []) { $model = new self(); if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/wiki_1_0/Models/WikiWordsDetailResponseBody/data/relatedLink.php000064400000002444146412132660021453 0ustar00 'link', 'name' => 'name', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return relatedLink */ public static function fromMap($map = []) { $model = new self(); if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/wiki_1_0/Models/WikiWordsParseHeaders.php000064400000002330146412132660015105 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return WikiWordsParseHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_1_0/Models/WikiWordsParseRequest.php000064400000001472146412132660015170 0ustar00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return WikiWordsParseRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/wiki_1_0/Models/WikiWordsParseResponse.php000064400000002722146412132660015335 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return WikiWordsParseResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = WikiWordsParseResponseBody::fromMap($map['body']); } return $model; } } src/wiki_1_0/Models/WikiWordsParseResponseBody.php000064400000003602146412132660016151 0ustar00 'data', 'errMsg' => 'errMsg', 'success' => 'success', ]; 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->errMsg) { $res['errMsg'] = $this->errMsg; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return WikiWordsParseResponseBody */ 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['errMsg'])) { $model->errMsg = $map['errMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/wiki_1_0/Models/WikiWordsParseResponseBody/data.php000064400000002614146412132660017064 0ustar00 'endIndex', 'startIndex' => 'startIndex', 'wordName' => 'wordName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endIndex) { $res['endIndex'] = $this->endIndex; } if (null !== $this->startIndex) { $res['startIndex'] = $this->startIndex; } if (null !== $this->wordName) { $res['wordName'] = $this->wordName; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endIndex'])) { $model->endIndex = $map['endIndex']; } if (isset($map['startIndex'])) { $model->startIndex = $map['startIndex']; } if (isset($map['wordName'])) { $model->wordName = $map['wordName']; } return $model; } } src/wiki_2_0/Dingtalk.php000064400000107732146412132660011223 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddTeamRequest $request * @param AddTeamHeaders $headers * @param RuntimeOptions $runtime * * @return AddTeamResponse */ public function addTeamWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'AddTeam', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/teams', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddTeamResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddTeamRequest $request * * @return AddTeamResponse */ public function addTeam($request) { $runtime = new RuntimeOptions([]); $headers = new AddTeamHeaders([]); return $this->addTeamWithOptions($request, $headers, $runtime); } /** * @param AddWorkspaceRequest $request * @param AddWorkspaceHeaders $headers * @param RuntimeOptions $runtime * * @return AddWorkspaceResponse */ public function addWorkspaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'AddWorkspace', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/workspaces', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddWorkspaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddWorkspaceRequest $request * * @return AddWorkspaceResponse */ public function addWorkspace($request) { $runtime = new RuntimeOptions([]); $headers = new AddWorkspaceHeaders([]); return $this->addWorkspaceWithOptions($request, $headers, $runtime); } /** * @param string $teamId * @param DeleteTeamRequest $request * @param DeleteTeamHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteTeamResponse */ public function deleteTeamWithOptions($teamId, $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' => 'DeleteTeam', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/teams/' . $teamId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteTeamResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $teamId * @param DeleteTeamRequest $request * * @return DeleteTeamResponse */ public function deleteTeam($teamId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteTeamHeaders([]); return $this->deleteTeamWithOptions($teamId, $request, $headers, $runtime); } /** * @param GetDefaultHandOverUserRequest $request * @param GetDefaultHandOverUserHeaders $headers * @param RuntimeOptions $runtime * * @return GetDefaultHandOverUserResponse */ public function getDefaultHandOverUserWithOptions($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' => 'GetDefaultHandOverUser', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/managementSettings/defaultHandOverUsers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDefaultHandOverUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetDefaultHandOverUserRequest $request * * @return GetDefaultHandOverUserResponse */ public function getDefaultHandOverUser($request) { $runtime = new RuntimeOptions([]); $headers = new GetDefaultHandOverUserHeaders([]); return $this->getDefaultHandOverUserWithOptions($request, $headers, $runtime); } /** * @param GetMineWorkspaceRequest $request * @param GetMineWorkspaceHeaders $headers * @param RuntimeOptions $runtime * * @return GetMineWorkspaceResponse */ public function getMineWorkspaceWithOptions($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' => 'GetMineWorkspace', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/mineWorkspaces', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetMineWorkspaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetMineWorkspaceRequest $request * * @return GetMineWorkspaceResponse */ public function getMineWorkspace($request) { $runtime = new RuntimeOptions([]); $headers = new GetMineWorkspaceHeaders([]); return $this->getMineWorkspaceWithOptions($request, $headers, $runtime); } /** * @param string $nodeId * @param GetNodeRequest $request * @param GetNodeHeaders $headers * @param RuntimeOptions $runtime * * @return GetNodeResponse */ public function getNodeWithOptions($nodeId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->withPermissionRole)) { $query['withPermissionRole'] = $request->withPermissionRole; } if (!Utils::isUnset($request->withStatisticalInfo)) { $query['withStatisticalInfo'] = $request->withStatisticalInfo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetNode', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/nodes/' . $nodeId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetNodeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $nodeId * @param GetNodeRequest $request * * @return GetNodeResponse */ public function getNode($nodeId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetNodeHeaders([]); return $this->getNodeWithOptions($nodeId, $request, $headers, $runtime); } /** * @param GetNodeByUrlRequest $request * @param GetNodeByUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetNodeByUrlResponse */ public function getNodeByUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } 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, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetNodeByUrl', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/nodes/queryByUrl', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetNodeByUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetNodeByUrlRequest $request * * @return GetNodeByUrlResponse */ public function getNodeByUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetNodeByUrlHeaders([]); return $this->getNodeByUrlWithOptions($request, $headers, $runtime); } /** * @param GetNodesRequest $request * @param GetNodesHeaders $headers * @param RuntimeOptions $runtime * * @return GetNodesResponse */ public function getNodesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->nodeIds)) { $body['nodeIds'] = $request->nodeIds; } if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'GetNodes', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/nodes/batchQuery', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetNodesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetNodesRequest $request * * @return GetNodesResponse */ public function getNodes($request) { $runtime = new RuntimeOptions([]); $headers = new GetNodesHeaders([]); return $this->getNodesWithOptions($request, $headers, $runtime); } /** * @param string $teamId * @param GetTeamRequest $request * @param GetTeamHeaders $headers * @param RuntimeOptions $runtime * * @return GetTeamResponse */ public function getTeamWithOptions($teamId, $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' => 'GetTeam', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/teams/' . $teamId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTeamResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $teamId * @param GetTeamRequest $request * * @return GetTeamResponse */ public function getTeam($teamId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetTeamHeaders([]); return $this->getTeamWithOptions($teamId, $request, $headers, $runtime); } /** * @param string $workspaceId * @param GetWorkspaceRequest $request * @param GetWorkspaceHeaders $headers * @param RuntimeOptions $runtime * * @return GetWorkspaceResponse */ public function getWorkspaceWithOptions($workspaceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->withPermissionRole)) { $query['withPermissionRole'] = $request->withPermissionRole; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetWorkspace', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/workspaces/' . $workspaceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetWorkspaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $workspaceId * @param GetWorkspaceRequest $request * * @return GetWorkspaceResponse */ public function getWorkspace($workspaceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetWorkspaceHeaders([]); return $this->getWorkspaceWithOptions($workspaceId, $request, $headers, $runtime); } /** * @param GetWorkspacesRequest $request * @param GetWorkspacesHeaders $headers * @param RuntimeOptions $runtime * * @return GetWorkspacesResponse */ public function getWorkspacesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->option)) { $body['option'] = $request->option; } if (!Utils::isUnset($request->workspaceIds)) { $body['workspaceIds'] = $request->workspaceIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'GetWorkspaces', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/workspaces/batchQuery', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetWorkspacesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetWorkspacesRequest $request * * @return GetWorkspacesResponse */ public function getWorkspaces($request) { $runtime = new RuntimeOptions([]); $headers = new GetWorkspacesHeaders([]); return $this->getWorkspacesWithOptions($request, $headers, $runtime); } /** * @param HandOverWorkspaceRequest $request * @param HandOverWorkspaceHeaders $headers * @param RuntimeOptions $runtime * * @return HandOverWorkspaceResponse */ public function handOverWorkspaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->sourceOwnerId)) { $body['sourceOwnerId'] = $request->sourceOwnerId; } if (!Utils::isUnset($request->targetOwnerId)) { $body['targetOwnerId'] = $request->targetOwnerId; } if (!Utils::isUnset($request->workspaceId)) { $body['workspaceId'] = $request->workspaceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'HandOverWorkspace', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/managementOperations/workspaces/handOver', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return HandOverWorkspaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param HandOverWorkspaceRequest $request * * @return HandOverWorkspaceResponse */ public function handOverWorkspace($request) { $runtime = new RuntimeOptions([]); $headers = new HandOverWorkspaceHeaders([]); return $this->handOverWorkspaceWithOptions($request, $headers, $runtime); } /** * @param ListNodesRequest $request * @param ListNodesHeaders $headers * @param RuntimeOptions $runtime * * @return ListNodesResponse */ public function listNodesWithOptions($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->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->parentNodeId)) { $query['parentNodeId'] = $request->parentNodeId; } if (!Utils::isUnset($request->withPermissionRole)) { $query['withPermissionRole'] = $request->withPermissionRole; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListNodes', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/nodes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListNodesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListNodesRequest $request * * @return ListNodesResponse */ public function listNodes($request) { $runtime = new RuntimeOptions([]); $headers = new ListNodesHeaders([]); return $this->listNodesWithOptions($request, $headers, $runtime); } /** * @param ListTeamsRequest $request * @param ListTeamsHeaders $headers * @param RuntimeOptions $runtime * * @return ListTeamsResponse */ public function listTeamsWithOptions($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->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' => 'ListTeams', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/teams', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListTeamsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListTeamsRequest $request * * @return ListTeamsResponse */ public function listTeams($request) { $runtime = new RuntimeOptions([]); $headers = new ListTeamsHeaders([]); return $this->listTeamsWithOptions($request, $headers, $runtime); } /** * @param ListWorkspacesRequest $request * @param ListWorkspacesHeaders $headers * @param RuntimeOptions $runtime * * @return ListWorkspacesResponse */ public function listWorkspacesWithOptions($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->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->orderBy)) { $query['orderBy'] = $request->orderBy; } if (!Utils::isUnset($request->teamId)) { $query['teamId'] = $request->teamId; } if (!Utils::isUnset($request->withPermissionRole)) { $query['withPermissionRole'] = $request->withPermissionRole; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListWorkspaces', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/workspaces', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListWorkspacesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListWorkspacesRequest $request * * @return ListWorkspacesResponse */ public function listWorkspaces($request) { $runtime = new RuntimeOptions([]); $headers = new ListWorkspacesHeaders([]); return $this->listWorkspacesWithOptions($request, $headers, $runtime); } /** * @param SetDefaultHandOverUserRequest $request * @param SetDefaultHandOverUserHeaders $headers * @param RuntimeOptions $runtime * * @return SetDefaultHandOverUserResponse */ public function setDefaultHandOverUserWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $body = []; if (!Utils::isUnset($request->defaultHandoverUserId)) { $body['defaultHandoverUserId'] = $request->defaultHandoverUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'SetDefaultHandOverUser', 'version' => 'wiki_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/wiki/managementSettings/defaultHandOverUsers/set', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SetDefaultHandOverUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SetDefaultHandOverUserRequest $request * * @return SetDefaultHandOverUserResponse */ public function setDefaultHandOverUser($request) { $runtime = new RuntimeOptions([]); $headers = new SetDefaultHandOverUserHeaders([]); return $this->setDefaultHandOverUserWithOptions($request, $headers, $runtime); } } src/wiki_2_0/Models/AddTeamHeaders.php000064400000002312146412132660013470 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddTeamHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/AddTeamRequest.php000064400000003034146412132660013547 0ustar00 'name', 'option' => 'option', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return AddTeamRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/wiki_2_0/Models/AddTeamRequest/option.php000064400000003046146412132660015062 0ustar00 'cover', 'description' => 'description', 'icon' => 'icon', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = null !== $this->icon ? $this->icon->toMap() : null; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = icon::fromMap($map['icon']); } return $model; } } src/wiki_2_0/Models/AddTeamRequest/option/icon.php000064400000002124146412132660016006 0ustar00 '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 icon */ 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/wiki_2_0/Models/AddTeamResponse.php000064400000002666146412132660013727 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddTeamResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddTeamResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/AddTeamResponseBody.php000064400000001630146412132660014533 0ustar00 'team', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->team) { $res['team'] = null !== $this->team ? $this->team->toMap() : null; } return $res; } /** * @param array $map * * @return AddTeamResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['team'])) { $model->team = team::fromMap($map['team']); } return $model; } } src/wiki_2_0/Models/AddTeamResponseBody/team.php000064400000007461146412132660015471 0ustar00 'corpId', 'cover' => 'cover', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'description' => 'description', 'icon' => 'icon', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'teamId' => 'teamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = null !== $this->icon ? $this->icon->toMap() : null; } 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->teamId) { $res['teamId'] = $this->teamId; } return $res; } /** * @param array $map * * @return team */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = icon::fromMap($map['icon']); } 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['teamId'])) { $model->teamId = $map['teamId']; } return $model; } } src/wiki_2_0/Models/AddTeamResponseBody/team/icon.php000064400000002127146412132660016413 0ustar00 '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 icon */ 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/wiki_2_0/Models/AddWorkspaceHeaders.php000064400000002324146412132660014543 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddWorkspaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/AddWorkspaceRequest.php000064400000003060146412132660014616 0ustar00 'name', 'option' => 'option', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return AddWorkspaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/wiki_2_0/Models/AddWorkspaceRequest/option.php000064400000002263146412132660016132 0ustar00 'description', 'teamId' => 'teamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->teamId) { $res['teamId'] = $this->teamId; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['teamId'])) { $model->teamId = $map['teamId']; } return $model; } } src/wiki_2_0/Models/AddWorkspaceResponse.php000064400000002712146412132660014767 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddWorkspaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddWorkspaceResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/AddWorkspaceResponseBody.php000064400000001750146412132660015606 0ustar00 'workspace', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->workspace) { $res['workspace'] = null !== $this->workspace ? $this->workspace->toMap() : null; } return $res; } /** * @param array $map * * @return AddWorkspaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['workspace'])) { $model->workspace = workspace::fromMap($map['workspace']); } return $model; } } src/wiki_2_0/Models/AddWorkspaceResponseBody/workspace.php000064400000012770146412132660017610 0ustar00 'corpId', 'cover' => 'cover', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'description' => 'description', 'icon' => 'icon', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'permissionRole' => 'permissionRole', 'rootNodeId' => 'rootNodeId', 'teamId' => 'teamId', 'type' => 'type', 'url' => 'url', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = null !== $this->icon ? $this->icon->toMap() : null; } 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->permissionRole) { $res['permissionRole'] = $this->permissionRole; } if (null !== $this->rootNodeId) { $res['rootNodeId'] = $this->rootNodeId; } if (null !== $this->teamId) { $res['teamId'] = $this->teamId; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return workspace */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = icon::fromMap($map['icon']); } 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['permissionRole'])) { $model->permissionRole = $map['permissionRole']; } if (isset($map['rootNodeId'])) { $model->rootNodeId = $map['rootNodeId']; } if (isset($map['teamId'])) { $model->teamId = $map['teamId']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/wiki_2_0/Models/AddWorkspaceResponseBody/workspace/icon.php000064400000002141146412132660020527 0ustar00 '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 icon */ 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/wiki_2_0/Models/DeleteTeamHeaders.php000064400000002320146412132660014201 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteTeamHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/DeleteTeamRequest.php000064400000001555146412132660014267 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return DeleteTeamRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/wiki_2_0/Models/DeleteTeamResponse.php000064400000002702146412132660014430 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteTeamResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteTeamResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/DeleteTeamResponseBody.php000064400000001526146412132660015251 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteTeamResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/wiki_2_0/Models/GetDefaultHandOverUserHeaders.php000064400000002350146412132660016505 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDefaultHandOverUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/GetDefaultHandOverUserRequest.php000064400000001605146412132660016564 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetDefaultHandOverUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/wiki_2_0/Models/GetDefaultHandOverUserResponse.php000064400000002762146412132660016737 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDefaultHandOverUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDefaultHandOverUserResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/GetDefaultHandOverUserResponseBody.php000064400000001762146412132660017554 0ustar00 'defaultHandoverUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->defaultHandoverUserId) { $res['defaultHandoverUserId'] = $this->defaultHandoverUserId; } return $res; } /** * @param array $map * * @return GetDefaultHandOverUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['defaultHandoverUserId'])) { $model->defaultHandoverUserId = $map['defaultHandoverUserId']; } return $model; } } src/wiki_2_0/Models/GetMineWorkspaceHeaders.php000064400000002334146412132660015404 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMineWorkspaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/GetMineWorkspaceRequest.php000064400000001571146412132660015463 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetMineWorkspaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/wiki_2_0/Models/GetMineWorkspaceResponse.php000064400000002732146412132660015631 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMineWorkspaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMineWorkspaceResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/GetMineWorkspaceResponseBody.php000064400000001764146412132660016453 0ustar00 'workspace', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->workspace) { $res['workspace'] = null !== $this->workspace ? $this->workspace->toMap() : null; } return $res; } /** * @param array $map * * @return GetMineWorkspaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['workspace'])) { $model->workspace = workspace::fromMap($map['workspace']); } return $model; } } src/wiki_2_0/Models/GetMineWorkspaceResponseBody/workspace.php000064400000013000146412132660020433 0ustar00 'corpId', 'cover' => 'cover', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'description' => 'description', 'icon' => 'icon', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'permissionRole' => 'permissionRole', 'rootNodeId' => 'rootNodeId', 'teamId' => 'teamId', 'type' => 'type', 'url' => 'url', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = null !== $this->icon ? $this->icon->toMap() : null; } 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->permissionRole) { $res['permissionRole'] = $this->permissionRole; } if (null !== $this->rootNodeId) { $res['rootNodeId'] = $this->rootNodeId; } if (null !== $this->teamId) { $res['teamId'] = $this->teamId; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return workspace */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = icon::fromMap($map['icon']); } 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['permissionRole'])) { $model->permissionRole = $map['permissionRole']; } if (isset($map['rootNodeId'])) { $model->rootNodeId = $map['rootNodeId']; } if (isset($map['teamId'])) { $model->teamId = $map['teamId']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/wiki_2_0/Models/GetMineWorkspaceResponseBody/workspace/icon.php000064400000002145146412132660021373 0ustar00 '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 icon */ 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/wiki_2_0/Models/GetNodeByUrlHeaders.php000064400000002324146412132660014477 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetNodeByUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/GetNodeByUrlRequest.php000064400000003042146412132660014552 0ustar00 'option', 'url' => 'url', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetNodeByUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/wiki_2_0/Models/GetNodeByUrlRequest/option.php000064400000002515146412132660016066 0ustar00 'withPermissionRole', 'withStatisticalInfo' => 'withStatisticalInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->withPermissionRole) { $res['withPermissionRole'] = $this->withPermissionRole; } if (null !== $this->withStatisticalInfo) { $res['withStatisticalInfo'] = $this->withStatisticalInfo; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['withPermissionRole'])) { $model->withPermissionRole = $map['withPermissionRole']; } if (isset($map['withStatisticalInfo'])) { $model->withStatisticalInfo = $map['withStatisticalInfo']; } return $model; } } src/wiki_2_0/Models/GetNodeByUrlResponse.php000064400000002712146412132660014723 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetNodeByUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetNodeByUrlResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/GetNodeByUrlResponseBody.php000064400000001647146412132660015547 0ustar00 'node', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->node) { $res['node'] = null !== $this->node ? $this->node->toMap() : null; } return $res; } /** * @param array $map * * @return GetNodeByUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['node'])) { $model->node = node::fromMap($map['node']); } return $model; } } src/wiki_2_0/Models/GetNodeByUrlResponseBody/node.php000064400000013062146412132660016466 0ustar00 'category', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'hasChildren' => 'hasChildren', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'nodeId' => 'nodeId', 'permissionRole' => 'permissionRole', 'size' => 'size', 'statisticalInfo' => 'statisticalInfo', 'type' => 'type', 'url' => 'url', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } 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->hasChildren) { $res['hasChildren'] = $this->hasChildren; } 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->nodeId) { $res['nodeId'] = $this->nodeId; } if (null !== $this->permissionRole) { $res['permissionRole'] = $this->permissionRole; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->statisticalInfo) { $res['statisticalInfo'] = null !== $this->statisticalInfo ? $this->statisticalInfo->toMap() : null; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return node */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } 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['hasChildren'])) { $model->hasChildren = $map['hasChildren']; } 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['nodeId'])) { $model->nodeId = $map['nodeId']; } if (isset($map['permissionRole'])) { $model->permissionRole = $map['permissionRole']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['statisticalInfo'])) { $model->statisticalInfo = statisticalInfo::fromMap($map['statisticalInfo']); } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/wiki_2_0/Models/GetNodeByUrlResponseBody/node/statisticalInfo.php000064400000001566146412132660021634 0ustar00 'wordCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->wordCount) { $res['wordCount'] = $this->wordCount; } return $res; } /** * @param array $map * * @return statisticalInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['wordCount'])) { $model->wordCount = $map['wordCount']; } return $model; } } src/wiki_2_0/Models/GetNodeHeaders.php000064400000002312146412132660013516 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetNodeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/GetNodeRequest.php000064400000003244146412132660013600 0ustar00 'operatorId', 'withPermissionRole' => 'withPermissionRole', 'withStatisticalInfo' => 'withStatisticalInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->withPermissionRole) { $res['withPermissionRole'] = $this->withPermissionRole; } if (null !== $this->withStatisticalInfo) { $res['withStatisticalInfo'] = $this->withStatisticalInfo; } return $res; } /** * @param array $map * * @return GetNodeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['withPermissionRole'])) { $model->withPermissionRole = $map['withPermissionRole']; } if (isset($map['withStatisticalInfo'])) { $model->withStatisticalInfo = $map['withStatisticalInfo']; } return $model; } } src/wiki_2_0/Models/GetNodeResponse.php000064400000002666146412132660013755 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetNodeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetNodeResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/GetNodeResponseBody.php000064400000001630146412132660014561 0ustar00 'node', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->node) { $res['node'] = null !== $this->node ? $this->node->toMap() : null; } return $res; } /** * @param array $map * * @return GetNodeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['node'])) { $model->node = node::fromMap($map['node']); } return $model; } } src/wiki_2_0/Models/GetNodeResponseBody/node.php000064400000013050146412132660015505 0ustar00 'category', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'hasChildren' => 'hasChildren', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'nodeId' => 'nodeId', 'permissionRole' => 'permissionRole', 'size' => 'size', 'statisticalInfo' => 'statisticalInfo', 'type' => 'type', 'url' => 'url', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } 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->hasChildren) { $res['hasChildren'] = $this->hasChildren; } 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->nodeId) { $res['nodeId'] = $this->nodeId; } if (null !== $this->permissionRole) { $res['permissionRole'] = $this->permissionRole; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->statisticalInfo) { $res['statisticalInfo'] = null !== $this->statisticalInfo ? $this->statisticalInfo->toMap() : null; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return node */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } 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['hasChildren'])) { $model->hasChildren = $map['hasChildren']; } 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['nodeId'])) { $model->nodeId = $map['nodeId']; } if (isset($map['permissionRole'])) { $model->permissionRole = $map['permissionRole']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['statisticalInfo'])) { $model->statisticalInfo = statisticalInfo::fromMap($map['statisticalInfo']); } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/wiki_2_0/Models/GetNodeResponseBody/node/statisticalInfo.php000064400000001561146412132660020651 0ustar00 'wordCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->wordCount) { $res['wordCount'] = $this->wordCount; } return $res; } /** * @param array $map * * @return statisticalInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['wordCount'])) { $model->wordCount = $map['wordCount']; } return $model; } } src/wiki_2_0/Models/GetNodesHeaders.php000064400000002314146412132660013703 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetNodesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/GetNodesRequest.php000064400000003125146412132660013761 0ustar00 'nodeIds', 'option' => 'option', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nodeIds) { $res['nodeIds'] = $this->nodeIds; } if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetNodesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nodeIds'])) { if (!empty($map['nodeIds'])) { $model->nodeIds = $map['nodeIds']; } } if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/wiki_2_0/Models/GetNodesRequest/option.php000064400000002511146412132660015267 0ustar00 'withPermissionRole', 'withStatisticalInfo' => 'withStatisticalInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->withPermissionRole) { $res['withPermissionRole'] = $this->withPermissionRole; } if (null !== $this->withStatisticalInfo) { $res['withStatisticalInfo'] = $this->withStatisticalInfo; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['withPermissionRole'])) { $model->withPermissionRole = $map['withPermissionRole']; } if (isset($map['withStatisticalInfo'])) { $model->withStatisticalInfo = $map['withStatisticalInfo']; } return $model; } } src/wiki_2_0/Models/GetNodesResponse.php000064400000002672146412132660014135 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetNodesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetNodesResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/GetNodesResponseBody.php000064400000002533146412132660014747 0ustar00 'nodes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nodes) { $res['nodes'] = []; if (null !== $this->nodes && \is_array($this->nodes)) { $n = 0; foreach ($this->nodes as $item) { $res['nodes'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetNodesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nodes'])) { if (!empty($map['nodes'])) { $model->nodes = []; $n = 0; foreach ($map['nodes'] as $item) { $model->nodes[$n++] = null !== $item ? nodes::fromMap($item) : $item; } } } return $model; } } src/wiki_2_0/Models/GetNodesResponseBody/nodes.php000064400000013055146412132660016060 0ustar00 'category', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'hasChildren' => 'hasChildren', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'nodeId' => 'nodeId', 'permissionRole' => 'permissionRole', 'size' => 'size', 'statisticalInfo' => 'statisticalInfo', 'type' => 'type', 'url' => 'url', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } 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->hasChildren) { $res['hasChildren'] = $this->hasChildren; } 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->nodeId) { $res['nodeId'] = $this->nodeId; } if (null !== $this->permissionRole) { $res['permissionRole'] = $this->permissionRole; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->statisticalInfo) { $res['statisticalInfo'] = null !== $this->statisticalInfo ? $this->statisticalInfo->toMap() : null; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return nodes */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } 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['hasChildren'])) { $model->hasChildren = $map['hasChildren']; } 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['nodeId'])) { $model->nodeId = $map['nodeId']; } if (isset($map['permissionRole'])) { $model->permissionRole = $map['permissionRole']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['statisticalInfo'])) { $model->statisticalInfo = statisticalInfo::fromMap($map['statisticalInfo']); } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/wiki_2_0/Models/GetNodesResponseBody/nodes/statisticalInfo.php000064400000001563146412132660021221 0ustar00 'wordCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->wordCount) { $res['wordCount'] = $this->wordCount; } return $res; } /** * @param array $map * * @return statisticalInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['wordCount'])) { $model->wordCount = $map['wordCount']; } return $model; } } src/wiki_2_0/Models/GetTeamHeaders.php000064400000002312146412132660013517 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTeamHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/GetTeamRequest.php000064400000001547146412132660013605 0ustar00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetTeamRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/wiki_2_0/Models/GetTeamResponse.php000064400000002666146412132660013756 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTeamResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTeamResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/GetTeamResponseBody.php000064400000001630146412132660014562 0ustar00 'team', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->team) { $res['team'] = null !== $this->team ? $this->team->toMap() : null; } return $res; } /** * @param array $map * * @return GetTeamResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['team'])) { $model->team = team::fromMap($map['team']); } return $model; } } src/wiki_2_0/Models/GetTeamResponseBody/team.php000064400000007461146412132660015520 0ustar00 'corpId', 'cover' => 'cover', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'description' => 'description', 'icon' => 'icon', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'teamId' => 'teamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = null !== $this->icon ? $this->icon->toMap() : null; } 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->teamId) { $res['teamId'] = $this->teamId; } return $res; } /** * @param array $map * * @return team */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = icon::fromMap($map['icon']); } 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['teamId'])) { $model->teamId = $map['teamId']; } return $model; } } src/wiki_2_0/Models/GetTeamResponseBody/team/icon.php000064400000002127146412132660016442 0ustar00 '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 icon */ 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/wiki_2_0/Models/GetWorkspaceHeaders.php000064400000002324146412132660014572 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetWorkspaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/GetWorkspaceRequest.php000064400000002416146412132660014651 0ustar00 'operatorId', 'withPermissionRole' => 'withPermissionRole', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->withPermissionRole) { $res['withPermissionRole'] = $this->withPermissionRole; } return $res; } /** * @param array $map * * @return GetWorkspaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['withPermissionRole'])) { $model->withPermissionRole = $map['withPermissionRole']; } return $model; } } src/wiki_2_0/Models/GetWorkspaceResponse.php000064400000002712146412132660015016 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetWorkspaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetWorkspaceResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/GetWorkspaceResponseBody.php000064400000001750146412132660015635 0ustar00 'workspace', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->workspace) { $res['workspace'] = null !== $this->workspace ? $this->workspace->toMap() : null; } return $res; } /** * @param array $map * * @return GetWorkspaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['workspace'])) { $model->workspace = workspace::fromMap($map['workspace']); } return $model; } } src/wiki_2_0/Models/GetWorkspaceResponseBody/workspace.php000064400000012770146412132660017637 0ustar00 'corpId', 'cover' => 'cover', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'description' => 'description', 'icon' => 'icon', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'permissionRole' => 'permissionRole', 'rootNodeId' => 'rootNodeId', 'teamId' => 'teamId', 'type' => 'type', 'url' => 'url', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = null !== $this->icon ? $this->icon->toMap() : null; } 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->permissionRole) { $res['permissionRole'] = $this->permissionRole; } if (null !== $this->rootNodeId) { $res['rootNodeId'] = $this->rootNodeId; } if (null !== $this->teamId) { $res['teamId'] = $this->teamId; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return workspace */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = icon::fromMap($map['icon']); } 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['permissionRole'])) { $model->permissionRole = $map['permissionRole']; } if (isset($map['rootNodeId'])) { $model->rootNodeId = $map['rootNodeId']; } if (isset($map['teamId'])) { $model->teamId = $map['teamId']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/wiki_2_0/Models/GetWorkspaceResponseBody/workspace/icon.php000064400000002141146412132660020556 0ustar00 '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 icon */ 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/wiki_2_0/Models/GetWorkspacesHeaders.php000064400000002326146412132660014757 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetWorkspacesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/GetWorkspacesRequest.php000064400000003227146412132660015035 0ustar00 'option', 'workspaceIds' => 'workspaceIds', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->option) { $res['option'] = null !== $this->option ? $this->option->toMap() : null; } if (null !== $this->workspaceIds) { $res['workspaceIds'] = $this->workspaceIds; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return GetWorkspacesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['option'])) { $model->option = option::fromMap($map['option']); } if (isset($map['workspaceIds'])) { if (!empty($map['workspaceIds'])) { $model->workspaceIds = $map['workspaceIds']; } } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/wiki_2_0/Models/GetWorkspacesRequest/option.php000064400000001657146412132660016352 0ustar00 'withPermissionRole', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->withPermissionRole) { $res['withPermissionRole'] = $this->withPermissionRole; } return $res; } /** * @param array $map * * @return option */ public static function fromMap($map = []) { $model = new self(); if (isset($map['withPermissionRole'])) { $model->withPermissionRole = $map['withPermissionRole']; } return $model; } } src/wiki_2_0/Models/GetWorkspacesResponse.php000064400000002716146412132660015205 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetWorkspacesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetWorkspacesResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/GetWorkspacesResponseBody.php000064400000002704146412132660016020 0ustar00 'workspaces', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->workspaces) { $res['workspaces'] = []; if (null !== $this->workspaces && \is_array($this->workspaces)) { $n = 0; foreach ($this->workspaces as $item) { $res['workspaces'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetWorkspacesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['workspaces'])) { if (!empty($map['workspaces'])) { $model->workspaces = []; $n = 0; foreach ($map['workspaces'] as $item) { $model->workspaces[$n++] = null !== $item ? workspaces::fromMap($item) : $item; } } } return $model; } } src/wiki_2_0/Models/GetWorkspacesResponseBody/workspaces.php000064400000012775146412132660020212 0ustar00 'corpId', 'cover' => 'cover', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'description' => 'description', 'icon' => 'icon', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'permissionRole' => 'permissionRole', 'rootNodeId' => 'rootNodeId', 'teamId' => 'teamId', 'type' => 'type', 'url' => 'url', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = null !== $this->icon ? $this->icon->toMap() : null; } 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->permissionRole) { $res['permissionRole'] = $this->permissionRole; } if (null !== $this->rootNodeId) { $res['rootNodeId'] = $this->rootNodeId; } if (null !== $this->teamId) { $res['teamId'] = $this->teamId; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return workspaces */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = icon::fromMap($map['icon']); } 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['permissionRole'])) { $model->permissionRole = $map['permissionRole']; } if (isset($map['rootNodeId'])) { $model->rootNodeId = $map['rootNodeId']; } if (isset($map['teamId'])) { $model->teamId = $map['teamId']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/wiki_2_0/Models/GetWorkspacesResponseBody/workspaces/icon.php000064400000002143146412132660021126 0ustar00 '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 icon */ 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/wiki_2_0/Models/HandOverWorkspaceHeaders.php000064400000002336146412132660015564 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return HandOverWorkspaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/HandOverWorkspaceRequest.php000064400000003707146412132660015644 0ustar00 'sourceOwnerId', 'targetOwnerId' => 'targetOwnerId', 'workspaceId' => 'workspaceId', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sourceOwnerId) { $res['sourceOwnerId'] = $this->sourceOwnerId; } if (null !== $this->targetOwnerId) { $res['targetOwnerId'] = $this->targetOwnerId; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return HandOverWorkspaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sourceOwnerId'])) { $model->sourceOwnerId = $map['sourceOwnerId']; } if (isset($map['targetOwnerId'])) { $model->targetOwnerId = $map['targetOwnerId']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/wiki_2_0/Models/HandOverWorkspaceResponse.php000064400000002736146412132660016013 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return HandOverWorkspaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = HandOverWorkspaceResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/HandOverWorkspaceResponseBody.php000064400000001544146412132660016625 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return HandOverWorkspaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/wiki_2_0/Models/ListNodesHeaders.php000064400000002316146412132660014101 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListNodesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/ListNodesRequest.php000064400000004435146412132660014162 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'operatorId' => 'operatorId', 'parentNodeId' => 'parentNodeId', 'withPermissionRole' => 'withPermissionRole', ]; 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->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->parentNodeId) { $res['parentNodeId'] = $this->parentNodeId; } if (null !== $this->withPermissionRole) { $res['withPermissionRole'] = $this->withPermissionRole; } return $res; } /** * @param array $map * * @return ListNodesRequest */ 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['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['parentNodeId'])) { $model->parentNodeId = $map['parentNodeId']; } if (isset($map['withPermissionRole'])) { $model->withPermissionRole = $map['withPermissionRole']; } return $model; } } src/wiki_2_0/Models/ListNodesResponse.php000064400000002676146412132660014335 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListNodesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListNodesResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/ListNodesResponseBody.php000064400000003255146412132660015145 0ustar00 'nextToken', 'nodes' => 'nodes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->nodes) { $res['nodes'] = []; if (null !== $this->nodes && \is_array($this->nodes)) { $n = 0; foreach ($this->nodes as $item) { $res['nodes'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListNodesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['nodes'])) { if (!empty($map['nodes'])) { $model->nodes = []; $n = 0; foreach ($map['nodes'] as $item) { $model->nodes[$n++] = null !== $item ? nodes::fromMap($item) : $item; } } } return $model; } } src/wiki_2_0/Models/ListNodesResponseBody/nodes.php000064400000013057146412132660016256 0ustar00 'category', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'hasChildren' => 'hasChildren', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'nodeId' => 'nodeId', 'permissionRole' => 'permissionRole', 'size' => 'size', 'statisticalInfo' => 'statisticalInfo', 'type' => 'type', 'url' => 'url', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } 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->hasChildren) { $res['hasChildren'] = $this->hasChildren; } 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->nodeId) { $res['nodeId'] = $this->nodeId; } if (null !== $this->permissionRole) { $res['permissionRole'] = $this->permissionRole; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->statisticalInfo) { $res['statisticalInfo'] = null !== $this->statisticalInfo ? $this->statisticalInfo->toMap() : null; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return nodes */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } 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['hasChildren'])) { $model->hasChildren = $map['hasChildren']; } 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['nodeId'])) { $model->nodeId = $map['nodeId']; } if (isset($map['permissionRole'])) { $model->permissionRole = $map['permissionRole']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['statisticalInfo'])) { $model->statisticalInfo = statisticalInfo::fromMap($map['statisticalInfo']); } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/wiki_2_0/Models/ListNodesResponseBody/nodes/statisticalInfo.php000064400000001564146412132660021416 0ustar00 'wordCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->wordCount) { $res['wordCount'] = $this->wordCount; } return $res; } /** * @param array $map * * @return statisticalInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['wordCount'])) { $model->wordCount = $map['wordCount']; } return $model; } } src/wiki_2_0/Models/ListTeamsHeaders.php000064400000002316146412132660014102 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListTeamsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/ListTeamsRequest.php000064400000003000146412132660014146 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'operatorId' => 'operatorId', ]; 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->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return ListTeamsRequest */ 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['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/wiki_2_0/Models/ListTeamsResponse.php000064400000002676146412132660014336 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListTeamsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListTeamsResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/ListTeamsResponseBody.php000064400000003255146412132660015146 0ustar00 'nextToken', 'teams' => 'teams', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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; } } } return $res; } /** * @param array $map * * @return ListTeamsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['teams'])) { if (!empty($map['teams'])) { $model->teams = []; $n = 0; foreach ($map['teams'] as $item) { $model->teams[$n++] = null !== $item ? teams::fromMap($item) : $item; } } } return $model; } } src/wiki_2_0/Models/ListTeamsResponseBody/teams.php000064400000007470146412132660016262 0ustar00 'corpId', 'cover' => 'cover', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'description' => 'description', 'icon' => 'icon', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'teamId' => 'teamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = null !== $this->icon ? $this->icon->toMap() : null; } 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->teamId) { $res['teamId'] = $this->teamId; } return $res; } /** * @param array $map * * @return teams */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = icon::fromMap($map['icon']); } 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['teamId'])) { $model->teamId = $map['teamId']; } return $model; } } src/wiki_2_0/Models/ListTeamsResponseBody/teams/icon.php000064400000002132146412132660017200 0ustar00 '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 icon */ 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/wiki_2_0/Models/ListWorkspacesHeaders.php000064400000002330146412132660015146 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListWorkspacesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/ListWorkspacesRequest.php000064400000005070146412132660015227 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'operatorId' => 'operatorId', 'orderBy' => 'orderBy', 'teamId' => 'teamId', 'withPermissionRole' => 'withPermissionRole', ]; 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->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->orderBy) { $res['orderBy'] = $this->orderBy; } if (null !== $this->teamId) { $res['teamId'] = $this->teamId; } if (null !== $this->withPermissionRole) { $res['withPermissionRole'] = $this->withPermissionRole; } return $res; } /** * @param array $map * * @return ListWorkspacesRequest */ 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['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['orderBy'])) { $model->orderBy = $map['orderBy']; } if (isset($map['teamId'])) { $model->teamId = $map['teamId']; } if (isset($map['withPermissionRole'])) { $model->withPermissionRole = $map['withPermissionRole']; } return $model; } } src/wiki_2_0/Models/ListWorkspacesResponse.php000064400000002722146412132660015376 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListWorkspacesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListWorkspacesResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/ListWorkspacesResponseBody.php000064400000003423146412132660016213 0ustar00 'nextToken', 'workspaces' => 'workspaces', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->workspaces) { $res['workspaces'] = []; if (null !== $this->workspaces && \is_array($this->workspaces)) { $n = 0; foreach ($this->workspaces as $item) { $res['workspaces'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListWorkspacesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['workspaces'])) { if (!empty($map['workspaces'])) { $model->workspaces = []; $n = 0; foreach ($map['workspaces'] as $item) { $model->workspaces[$n++] = null !== $item ? workspaces::fromMap($item) : $item; } } } return $model; } } src/wiki_2_0/Models/ListWorkspacesResponseBody/workspaces.php000064400000012777146412132660020410 0ustar00 'corpId', 'cover' => 'cover', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'description' => 'description', 'icon' => 'icon', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'permissionRole' => 'permissionRole', 'rootNodeId' => 'rootNodeId', 'teamId' => 'teamId', 'type' => 'type', 'url' => 'url', 'workspaceId' => 'workspaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->cover) { $res['cover'] = $this->cover; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = null !== $this->icon ? $this->icon->toMap() : null; } 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->permissionRole) { $res['permissionRole'] = $this->permissionRole; } if (null !== $this->rootNodeId) { $res['rootNodeId'] = $this->rootNodeId; } if (null !== $this->teamId) { $res['teamId'] = $this->teamId; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->workspaceId) { $res['workspaceId'] = $this->workspaceId; } return $res; } /** * @param array $map * * @return workspaces */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['cover'])) { $model->cover = $map['cover']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = icon::fromMap($map['icon']); } 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['permissionRole'])) { $model->permissionRole = $map['permissionRole']; } if (isset($map['rootNodeId'])) { $model->rootNodeId = $map['rootNodeId']; } if (isset($map['teamId'])) { $model->teamId = $map['teamId']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['workspaceId'])) { $model->workspaceId = $map['workspaceId']; } return $model; } } src/wiki_2_0/Models/ListWorkspacesResponseBody/workspaces/icon.php000064400000002144146412132660021323 0ustar00 '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 icon */ 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/wiki_2_0/Models/SetDefaultHandOverUserHeaders.php000064400000002350146412132660016521 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SetDefaultHandOverUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wiki_2_0/Models/SetDefaultHandOverUserRequest.php000064400000002505146412132660016600 0ustar00 'defaultHandoverUserId', 'operatorId' => 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->defaultHandoverUserId) { $res['defaultHandoverUserId'] = $this->defaultHandoverUserId; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return SetDefaultHandOverUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['defaultHandoverUserId'])) { $model->defaultHandoverUserId = $map['defaultHandoverUserId']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/wiki_2_0/Models/SetDefaultHandOverUserResponse.php000064400000002762146412132660016753 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SetDefaultHandOverUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SetDefaultHandOverUserResponseBody::fromMap($map['body']); } return $model; } } src/wiki_2_0/Models/SetDefaultHandOverUserResponseBody.php000064400000001556146412132660017571 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SetDefaultHandOverUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/wms_1_0/Dingtalk.php000064400000006216146412132660011060 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param QueryGoodsListRequest $request * @param QueryGoodsListHeaders $headers * @param RuntimeOptions $runtime * * @return QueryGoodsListResponse */ public function queryGoodsListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->endTimeInMills)) { $query['endTimeInMills'] = $request->endTimeInMills; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->startTimeInMills)) { $query['startTimeInMills'] = $request->startTimeInMills; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryGoodsList', 'version' => 'wms_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/wms/goods', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryGoodsListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryGoodsListRequest $request * * @return QueryGoodsListResponse */ public function queryGoodsList($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGoodsListHeaders([]); return $this->queryGoodsListWithOptions($request, $headers, $runtime); } } src/wms_1_0/Models/QueryGoodsListHeaders.php000064400000002327146412132660014776 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGoodsListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/wms_1_0/Models/QueryGoodsListRequest.php000064400000003673146412132660015060 0ustar00 'endTimeInMills', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'startTimeInMills' => 'startTimeInMills', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTimeInMills) { $res['endTimeInMills'] = $this->endTimeInMills; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->startTimeInMills) { $res['startTimeInMills'] = $this->startTimeInMills; } return $res; } /** * @param array $map * * @return QueryGoodsListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTimeInMills'])) { $model->endTimeInMills = $map['endTimeInMills']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['startTimeInMills'])) { $model->startTimeInMills = $map['startTimeInMills']; } return $model; } } src/wms_1_0/Models/QueryGoodsListResponse.php000064400000002721146412132660015217 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGoodsListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGoodsListResponseBody::fromMap($map['body']); } return $model; } } src/wms_1_0/Models/QueryGoodsListResponseBody.php000064400000002333146412132660016034 0ustar00 '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 QueryGoodsListResponseBody */ 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/wms_1_0/Models/QueryGoodsListResponseBody/result.php000064400000004435146412132660017357 0ustar00 'hasMore', 'list' => 'list', 'maxResults' => 'maxResults', '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->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/wms_1_0/Models/QueryGoodsListResponseBody/result/list_.php000064400000004202146412132660020461 0ustar00 'goodsName', 'goodsNo' => 'goodsNo', 'instanceId' => 'instanceId', 'productSpecs' => 'productSpecs', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->goodsNo) { $res['goodsNo'] = $this->goodsNo; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->productSpecs) { $res['productSpecs'] = $this->productSpecs; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['goodsNo'])) { $model->goodsNo = $map['goodsNo']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['productSpecs'])) { $model->productSpecs = $map['productSpecs']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/workbench_1_0/Dingtalk.php000064400000055112146412132660012233 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddRecentUserAppListRequest $request * @param AddRecentUserAppListHeaders $headers * @param RuntimeOptions $runtime * * @return AddRecentUserAppListResponse */ public function addRecentUserAppListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->usedAppDetailList)) { $body['usedAppDetailList'] = $request->usedAppDetailList; } 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' => 'AddRecentUserAppList', 'version' => 'workbench_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workbench/components/recentUsed/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddRecentUserAppListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddRecentUserAppListRequest $request * * @return AddRecentUserAppListResponse */ public function addRecentUserAppList($request) { $runtime = new RuntimeOptions([]); $headers = new AddRecentUserAppListHeaders([]); return $this->addRecentUserAppListWithOptions($request, $headers, $runtime); } /** * @param string $appUuid * @param GetDingPortalDetailHeaders $headers * @param RuntimeOptions $runtime * * @return GetDingPortalDetailResponse */ public function getDingPortalDetailWithOptions($appUuid, $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' => 'GetDingPortalDetail', 'version' => 'workbench_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workbench/dingPortals/' . $appUuid . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetDingPortalDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $appUuid * * @return GetDingPortalDetailResponse */ public function getDingPortalDetail($appUuid) { $runtime = new RuntimeOptions([]); $headers = new GetDingPortalDetailHeaders([]); return $this->getDingPortalDetailWithOptions($appUuid, $headers, $runtime); } /** * @param GetPluginPermissionPointRequest $request * @param GetPluginPermissionPointHeaders $headers * @param RuntimeOptions $runtime * * @return GetPluginPermissionPointResponse */ public function getPluginPermissionPointWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->miniAppId)) { $query['miniAppId'] = $request->miniAppId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetPluginPermissionPoint', 'version' => 'workbench_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workbench/plugins/permissions', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetPluginPermissionPointResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetPluginPermissionPointRequest $request * * @return GetPluginPermissionPointResponse */ public function getPluginPermissionPoint($request) { $runtime = new RuntimeOptions([]); $headers = new GetPluginPermissionPointHeaders([]); return $this->getPluginPermissionPointWithOptions($request, $headers, $runtime); } /** * @param GetPluginRuleCheckInfoRequest $request * @param GetPluginRuleCheckInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetPluginRuleCheckInfoResponse */ public function getPluginRuleCheckInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->miniAppId)) { $query['miniAppId'] = $request->miniAppId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetPluginRuleCheckInfo', 'version' => 'workbench_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workbench/plugins/validationRules', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetPluginRuleCheckInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetPluginRuleCheckInfoRequest $request * * @return GetPluginRuleCheckInfoResponse */ public function getPluginRuleCheckInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetPluginRuleCheckInfoHeaders([]); return $this->getPluginRuleCheckInfoWithOptions($request, $headers, $runtime); } /** * @param ListWorkBenchGroupRequest $request * @param ListWorkBenchGroupHeaders $headers * @param RuntimeOptions $runtime * * @return ListWorkBenchGroupResponse */ public function listWorkBenchGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->ecologicalCorpId)) { $query['ecologicalCorpId'] = $request->ecologicalCorpId; } if (!Utils::isUnset($request->groupType)) { $query['groupType'] = $request->groupType; } if (!Utils::isUnset($request->opUnionId)) { $query['opUnionId'] = $request->opUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListWorkBenchGroup', 'version' => 'workbench_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workbench/groups', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListWorkBenchGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListWorkBenchGroupRequest $request * * @return ListWorkBenchGroupResponse */ public function listWorkBenchGroup($request) { $runtime = new RuntimeOptions([]); $headers = new ListWorkBenchGroupHeaders([]); return $this->listWorkBenchGroupWithOptions($request, $headers, $runtime); } /** * @param ModifyWorkbenchBadgeRequest $request * @param ModifyWorkbenchBadgeHeaders $headers * @param RuntimeOptions $runtime * * @return ModifyWorkbenchBadgeResponse */ public function modifyWorkbenchBadgeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizIdList)) { $body['bizIdList'] = $request->bizIdList; } if (!Utils::isUnset($request->isAdded)) { $body['isAdded'] = $request->isAdded; } if (!Utils::isUnset($request->modifyMode)) { $body['modifyMode'] = $request->modifyMode; } if (!Utils::isUnset($request->redDotRelationId)) { $body['redDotRelationId'] = $request->redDotRelationId; } if (!Utils::isUnset($request->redDotType)) { $body['redDotType'] = $request->redDotType; } 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' => 'ModifyWorkbenchBadge', 'version' => 'workbench_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workbench/badges/modify', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ModifyWorkbenchBadgeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ModifyWorkbenchBadgeRequest $request * * @return ModifyWorkbenchBadgeResponse */ public function modifyWorkbenchBadge($request) { $runtime = new RuntimeOptions([]); $headers = new ModifyWorkbenchBadgeHeaders([]); return $this->modifyWorkbenchBadgeWithOptions($request, $headers, $runtime); } /** * @param string $componentId * @param QueryComponentScopesHeaders $headers * @param RuntimeOptions $runtime * * @return QueryComponentScopesResponse */ public function queryComponentScopesWithOptions($componentId, $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' => 'QueryComponentScopes', 'version' => 'workbench_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workbench/components/' . $componentId . '/scopes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryComponentScopesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $componentId * * @return QueryComponentScopesResponse */ public function queryComponentScopes($componentId) { $runtime = new RuntimeOptions([]); $headers = new QueryComponentScopesHeaders([]); return $this->queryComponentScopesWithOptions($componentId, $headers, $runtime); } /** * @param string $shortcutKey * @param QueryShortcutScopesHeaders $headers * @param RuntimeOptions $runtime * * @return QueryShortcutScopesResponse */ public function queryShortcutScopesWithOptions($shortcutKey, $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' => 'QueryShortcutScopes', 'version' => 'workbench_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workbench/shortcuts/' . $shortcutKey . '/scopes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryShortcutScopesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $shortcutKey * * @return QueryShortcutScopesResponse */ public function queryShortcutScopes($shortcutKey) { $runtime = new RuntimeOptions([]); $headers = new QueryShortcutScopesHeaders([]); return $this->queryShortcutScopesWithOptions($shortcutKey, $headers, $runtime); } /** * @param UndoDeletionRequest $request * @param UndoDeletionHeaders $headers * @param RuntimeOptions $runtime * * @return UndoDeletionResponse */ public function undoDeletionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizIdList)) { $body['bizIdList'] = $request->bizIdList; } if (!Utils::isUnset($request->redDotRelationId)) { $body['redDotRelationId'] = $request->redDotRelationId; } if (!Utils::isUnset($request->redDotType)) { $body['redDotType'] = $request->redDotType; } 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' => 'UndoDeletion', 'version' => 'workbench_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workbench/badges/undoDeleted', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UndoDeletionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UndoDeletionRequest $request * * @return UndoDeletionResponse */ public function undoDeletion($request) { $runtime = new RuntimeOptions([]); $headers = new UndoDeletionHeaders([]); return $this->undoDeletionWithOptions($request, $headers, $runtime); } /** * @param string $pageUuid * @param string $appUuid * @param UpdateDingPortalPageScopeRequest $request * @param UpdateDingPortalPageScopeHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateDingPortalPageScopeResponse */ public function updateDingPortalPageScopeWithOptions($pageUuid, $appUuid, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->allVisible)) { $body['allVisible'] = $request->allVisible; } if (!Utils::isUnset($request->deptIds)) { $body['deptIds'] = $request->deptIds; } if (!Utils::isUnset($request->roleIds)) { $body['roleIds'] = $request->roleIds; } 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' => 'UpdateDingPortalPageScope', 'version' => 'workbench_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workbench/dingPortals/' . $appUuid . '/pageScopes/' . $pageUuid . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateDingPortalPageScopeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $pageUuid * @param string $appUuid * @param UpdateDingPortalPageScopeRequest $request * * @return UpdateDingPortalPageScopeResponse */ public function updateDingPortalPageScope($pageUuid, $appUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateDingPortalPageScopeHeaders([]); return $this->updateDingPortalPageScopeWithOptions($pageUuid, $appUuid, $request, $headers, $runtime); } } src/workbench_1_0/Models/AddRecentUserAppListHeaders.php000064400000002351146412132660017177 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddRecentUserAppListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workbench_1_0/Models/AddRecentUserAppListRequest.php000064400000004347146412132660017263 0ustar00 'corpId', 'usedAppDetailList' => 'usedAppDetailList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->usedAppDetailList) { $res['usedAppDetailList'] = []; if (null !== $this->usedAppDetailList && \is_array($this->usedAppDetailList)) { $n = 0; foreach ($this->usedAppDetailList as $item) { $res['usedAppDetailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return AddRecentUserAppListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['usedAppDetailList'])) { if (!empty($map['usedAppDetailList'])) { $model->usedAppDetailList = []; $n = 0; foreach ($map['usedAppDetailList'] as $item) { $model->usedAppDetailList[$n++] = null !== $item ? usedAppDetailList::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workbench_1_0/Models/AddRecentUserAppListRequest/usedAppDetailList.php000064400000001565146412132660022642 0ustar00 'agentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } return $res; } /** * @param array $map * * @return usedAppDetailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } return $model; } } src/workbench_1_0/Models/AddRecentUserAppListResponse.php000064400000002757146412132660017434 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddRecentUserAppListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddRecentUserAppListResponseBody::fromMap($map['body']); } return $model; } } src/workbench_1_0/Models/AddRecentUserAppListResponseBody.php000064400000001546146412132660020245 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AddRecentUserAppListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/workbench_1_0/Models/GetDingPortalDetailHeaders.php000064400000002347146412132660017045 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDingPortalDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workbench_1_0/Models/GetDingPortalDetailResponse.php000064400000002753146412132660017271 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDingPortalDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDingPortalDetailResponseBody::fromMap($map['body']); } return $model; } } src/workbench_1_0/Models/GetDingPortalDetailResponseBody.php000064400000004124146412132660020101 0ustar00 'appUuid', 'dingPortalName' => 'dingPortalName', 'pages' => 'pages', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->dingPortalName) { $res['dingPortalName'] = $this->dingPortalName; } if (null !== $this->pages) { $res['pages'] = []; if (null !== $this->pages && \is_array($this->pages)) { $n = 0; foreach ($this->pages as $item) { $res['pages'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetDingPortalDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['dingPortalName'])) { $model->dingPortalName = $map['dingPortalName']; } if (isset($map['pages'])) { if (!empty($map['pages'])) { $model->pages = []; $n = 0; foreach ($map['pages'] as $item) { $model->pages[$n++] = null !== $item ? pages::fromMap($item) : $item; } } } return $model; } } src/workbench_1_0/Models/GetDingPortalDetailResponseBody/pages.php000064400000005013146412132660021176 0ustar00 'allVisible', 'deptIds' => 'deptIds', 'pageName' => 'pageName', 'pageUuid' => 'pageUuid', 'roleIds' => 'roleIds', 'userids' => 'userids', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->allVisible) { $res['allVisible'] = $this->allVisible; } if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->pageName) { $res['pageName'] = $this->pageName; } if (null !== $this->pageUuid) { $res['pageUuid'] = $this->pageUuid; } if (null !== $this->roleIds) { $res['roleIds'] = $this->roleIds; } if (null !== $this->userids) { $res['userids'] = $this->userids; } return $res; } /** * @param array $map * * @return pages */ public static function fromMap($map = []) { $model = new self(); if (isset($map['allVisible'])) { $model->allVisible = $map['allVisible']; } if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['pageName'])) { $model->pageName = $map['pageName']; } if (isset($map['pageUuid'])) { $model->pageUuid = $map['pageUuid']; } if (isset($map['roleIds'])) { if (!empty($map['roleIds'])) { $model->roleIds = $map['roleIds']; } } if (isset($map['userids'])) { if (!empty($map['userids'])) { $model->userids = $map['userids']; } } return $model; } } src/workbench_1_0/Models/GetPluginPermissionPointHeaders.php000064400000002361146412132660020174 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPluginPermissionPointHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workbench_1_0/Models/GetPluginPermissionPointRequest.php000064400000001545146412132660020254 0ustar00 'miniAppId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } return $res; } /** * @param array $map * * @return GetPluginPermissionPointRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } return $model; } } src/workbench_1_0/Models/GetPluginPermissionPointResponse.php000064400000002777146412132660020432 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPluginPermissionPointResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPluginPermissionPointResponseBody::fromMap($map['body']); } return $model; } } src/workbench_1_0/Models/GetPluginPermissionPointResponseBody.php000064400000002024146412132660021231 0ustar00 'permissionPointList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->permissionPointList) { $res['permissionPointList'] = $this->permissionPointList; } return $res; } /** * @param array $map * * @return GetPluginPermissionPointResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['permissionPointList'])) { if (!empty($map['permissionPointList'])) { $model->permissionPointList = $map['permissionPointList']; } } return $model; } } src/workbench_1_0/Models/GetPluginRuleCheckInfoHeaders.php000064400000002355146412132660017516 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPluginRuleCheckInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workbench_1_0/Models/GetPluginRuleCheckInfoRequest.php000064400000001541146412132660017567 0ustar00 'miniAppId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->miniAppId) { $res['miniAppId'] = $this->miniAppId; } return $res; } /** * @param array $map * * @return GetPluginRuleCheckInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['miniAppId'])) { $model->miniAppId = $map['miniAppId']; } return $model; } } src/workbench_1_0/Models/GetPluginRuleCheckInfoResponse.php000064400000002767146412132660017750 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPluginRuleCheckInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPluginRuleCheckInfoResponseBody::fromMap($map['body']); } return $model; } } src/workbench_1_0/Models/GetPluginRuleCheckInfoResponseBody.php000064400000002404146412132660020552 0ustar00 'packCode', 'pluginRuleCheckDetail' => 'pluginRuleCheckDetail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->packCode) { $res['packCode'] = $this->packCode; } if (null !== $this->pluginRuleCheckDetail) { $res['pluginRuleCheckDetail'] = $this->pluginRuleCheckDetail; } return $res; } /** * @param array $map * * @return GetPluginRuleCheckInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['packCode'])) { $model->packCode = $map['packCode']; } if (isset($map['pluginRuleCheckDetail'])) { $model->pluginRuleCheckDetail = $map['pluginRuleCheckDetail']; } return $model; } } src/workbench_1_0/Models/ListWorkBenchGroupHeaders.php000064400000002345146412132660016750 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListWorkBenchGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workbench_1_0/Models/ListWorkBenchGroupRequest.php000064400000003164146412132660017025 0ustar00 'ecologicalCorpId', 'groupType' => 'groupType', 'opUnionId' => 'opUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ecologicalCorpId) { $res['ecologicalCorpId'] = $this->ecologicalCorpId; } if (null !== $this->groupType) { $res['groupType'] = $this->groupType; } if (null !== $this->opUnionId) { $res['opUnionId'] = $this->opUnionId; } return $res; } /** * @param array $map * * @return ListWorkBenchGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ecologicalCorpId'])) { $model->ecologicalCorpId = $map['ecologicalCorpId']; } if (isset($map['groupType'])) { $model->groupType = $map['groupType']; } if (isset($map['opUnionId'])) { $model->opUnionId = $map['opUnionId']; } return $model; } } src/workbench_1_0/Models/ListWorkBenchGroupResponse.php000064400000002747146412132660017201 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListWorkBenchGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListWorkBenchGroupResponseBody::fromMap($map['body']); } return $model; } } src/workbench_1_0/Models/ListWorkBenchGroupResponseBody.php000064400000002713146412132660020010 0ustar00 'groupList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupList) { $res['groupList'] = []; if (null !== $this->groupList && \is_array($this->groupList)) { $n = 0; foreach ($this->groupList as $item) { $res['groupList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListWorkBenchGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupList'])) { if (!empty($map['groupList'])) { $model->groupList = []; $n = 0; foreach ($map['groupList'] as $item) { $model->groupList[$n++] = null !== $item ? groupList::fromMap($item) : $item; } } } return $model; } } src/workbench_1_0/Models/ListWorkBenchGroupResponseBody/groupList.php000064400000002245146412132660022000 0ustar00 'componentId', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentId) { $res['componentId'] = $this->componentId; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return groupList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentId'])) { $model->componentId = $map['componentId']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/workbench_1_0/Models/ModifyWorkbenchBadgeHeaders.php000064400000002351146412132660017227 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ModifyWorkbenchBadgeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workbench_1_0/Models/ModifyWorkbenchBadgeRequest.php000064400000005106146412132660017305 0ustar00 'bizIdList', 'isAdded' => 'isAdded', 'modifyMode' => 'modifyMode', 'redDotRelationId' => 'redDotRelationId', 'redDotType' => 'redDotType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizIdList) { $res['bizIdList'] = $this->bizIdList; } if (null !== $this->isAdded) { $res['isAdded'] = $this->isAdded; } if (null !== $this->modifyMode) { $res['modifyMode'] = $this->modifyMode; } if (null !== $this->redDotRelationId) { $res['redDotRelationId'] = $this->redDotRelationId; } if (null !== $this->redDotType) { $res['redDotType'] = $this->redDotType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ModifyWorkbenchBadgeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizIdList'])) { if (!empty($map['bizIdList'])) { $model->bizIdList = $map['bizIdList']; } } if (isset($map['isAdded'])) { $model->isAdded = $map['isAdded']; } if (isset($map['modifyMode'])) { $model->modifyMode = $map['modifyMode']; } if (isset($map['redDotRelationId'])) { $model->redDotRelationId = $map['redDotRelationId']; } if (isset($map['redDotType'])) { $model->redDotType = $map['redDotType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workbench_1_0/Models/ModifyWorkbenchBadgeResponse.php000064400000002757146412132660017464 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ModifyWorkbenchBadgeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ModifyWorkbenchBadgeResponseBody::fromMap($map['body']); } return $model; } } src/workbench_1_0/Models/ModifyWorkbenchBadgeResponseBody.php000064400000001512146412132660020266 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ModifyWorkbenchBadgeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/workbench_1_0/Models/QueryComponentScopesHeaders.php000064400000002351146412132660017357 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryComponentScopesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workbench_1_0/Models/QueryComponentScopesResponse.php000064400000002757146412132660017614 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryComponentScopesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryComponentScopesResponseBody::fromMap($map['body']); } return $model; } } src/workbench_1_0/Models/QueryComponentScopesResponseBody.php000064400000002657146412132660020431 0ustar00 'deptVisibleScopes', 'userVisibleScopes' => 'userVisibleScopes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptVisibleScopes) { $res['deptVisibleScopes'] = $this->deptVisibleScopes; } if (null !== $this->userVisibleScopes) { $res['userVisibleScopes'] = $this->userVisibleScopes; } return $res; } /** * @param array $map * * @return QueryComponentScopesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptVisibleScopes'])) { if (!empty($map['deptVisibleScopes'])) { $model->deptVisibleScopes = $map['deptVisibleScopes']; } } if (isset($map['userVisibleScopes'])) { if (!empty($map['userVisibleScopes'])) { $model->userVisibleScopes = $map['userVisibleScopes']; } } return $model; } } src/workbench_1_0/Models/QueryShortcutScopesHeaders.php000064400000002347146412132660017235 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryShortcutScopesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workbench_1_0/Models/QueryShortcutScopesResponse.php000064400000002753146412132660017461 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryShortcutScopesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryShortcutScopesResponseBody::fromMap($map['body']); } return $model; } } src/workbench_1_0/Models/QueryShortcutScopesResponseBody.php000064400000002655146412132660020300 0ustar00 'deptVisibleScopes', 'userVisibleScopes' => 'userVisibleScopes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptVisibleScopes) { $res['deptVisibleScopes'] = $this->deptVisibleScopes; } if (null !== $this->userVisibleScopes) { $res['userVisibleScopes'] = $this->userVisibleScopes; } return $res; } /** * @param array $map * * @return QueryShortcutScopesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptVisibleScopes'])) { if (!empty($map['deptVisibleScopes'])) { $model->deptVisibleScopes = $map['deptVisibleScopes']; } } if (isset($map['userVisibleScopes'])) { if (!empty($map['userVisibleScopes'])) { $model->userVisibleScopes = $map['userVisibleScopes']; } } return $model; } } src/workbench_1_0/Models/UndoDeletionHeaders.php000064400000002331146412132660015601 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UndoDeletionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workbench_1_0/Models/UndoDeletionRequest.php000064400000003570146412132660015664 0ustar00 'bizIdList', 'redDotRelationId' => 'redDotRelationId', 'redDotType' => 'redDotType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizIdList) { $res['bizIdList'] = $this->bizIdList; } if (null !== $this->redDotRelationId) { $res['redDotRelationId'] = $this->redDotRelationId; } if (null !== $this->redDotType) { $res['redDotType'] = $this->redDotType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UndoDeletionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizIdList'])) { if (!empty($map['bizIdList'])) { $model->bizIdList = $map['bizIdList']; } } if (isset($map['redDotRelationId'])) { $model->redDotRelationId = $map['redDotRelationId']; } if (isset($map['redDotType'])) { $model->redDotType = $map['redDotType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workbench_1_0/Models/UndoDeletionResponse.php000064400000002717146412132660016034 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UndoDeletionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UndoDeletionResponseBody::fromMap($map['body']); } return $model; } } src/workbench_1_0/Models/UndoDeletionResponseBody.php000064400000001472146412132660016647 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UndoDeletionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/workbench_1_0/Models/UpdateDingPortalPageScopeHeaders.php000064400000002363146412132660020212 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateDingPortalPageScopeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workbench_1_0/Models/UpdateDingPortalPageScopeRequest.php000064400000003620146412132660020264 0ustar00 'allVisible', 'deptIds' => 'deptIds', 'roleIds' => 'roleIds', 'userids' => 'userids', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->allVisible) { $res['allVisible'] = $this->allVisible; } if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->roleIds) { $res['roleIds'] = $this->roleIds; } if (null !== $this->userids) { $res['userids'] = $this->userids; } return $res; } /** * @param array $map * * @return UpdateDingPortalPageScopeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['allVisible'])) { $model->allVisible = $map['allVisible']; } if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['roleIds'])) { if (!empty($map['roleIds'])) { $model->roleIds = $map['roleIds']; } } if (isset($map['userids'])) { if (!empty($map['userids'])) { $model->userids = $map['userids']; } } return $model; } } src/workbench_1_0/Models/UpdateDingPortalPageScopeResponse.php000064400000002213146412132660020427 0ustar00 '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 UpdateDingPortalPageScopeResponse */ 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/workflow_1_0/Dingtalk.php000064400000305417146412132660012131 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AddApproveDentryAuthRequest $request * @param AddApproveDentryAuthHeaders $headers * @param RuntimeOptions $runtime * * @return AddApproveDentryAuthResponse */ public function addApproveDentryAuthWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->fileInfos)) { $body['fileInfos'] = $request->fileInfos; } 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' => 'AddApproveDentryAuth', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processInstances/spaces/files/authDownload', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddApproveDentryAuthResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddApproveDentryAuthRequest $request * * @return AddApproveDentryAuthResponse */ public function addApproveDentryAuth($request) { $runtime = new RuntimeOptions([]); $headers = new AddApproveDentryAuthHeaders([]); return $this->addApproveDentryAuthWithOptions($request, $headers, $runtime); } /** * @param AddProcessInstanceCommentRequest $request * @param AddProcessInstanceCommentHeaders $headers * @param RuntimeOptions $runtime * * @return AddProcessInstanceCommentResponse */ public function addProcessInstanceCommentWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->commentUserId)) { $body['commentUserId'] = $request->commentUserId; } if (!Utils::isUnset($request->file)) { $body['file'] = $request->file; } if (!Utils::isUnset($request->processInstanceId)) { $body['processInstanceId'] = $request->processInstanceId; } 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' => 'AddProcessInstanceComment', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processInstances/comments', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddProcessInstanceCommentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AddProcessInstanceCommentRequest $request * * @return AddProcessInstanceCommentResponse */ public function addProcessInstanceComment($request) { $runtime = new RuntimeOptions([]); $headers = new AddProcessInstanceCommentHeaders([]); return $this->addProcessInstanceCommentWithOptions($request, $headers, $runtime); } /** * @param BatchExecuteProcessInstancesRequest $request * @param BatchExecuteProcessInstancesHeaders $headers * @param RuntimeOptions $runtime * * @return BatchExecuteProcessInstancesResponse */ public function batchExecuteProcessInstancesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->actionerUserId)) { $body['actionerUserId'] = $request->actionerUserId; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->result)) { $body['result'] = $request->result; } if (!Utils::isUnset($request->taskInfoList)) { $body['taskInfoList'] = $request->taskInfoList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchExecuteProcessInstances', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processInstances/batchExecute', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchExecuteProcessInstancesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchExecuteProcessInstancesRequest $request * * @return BatchExecuteProcessInstancesResponse */ public function batchExecuteProcessInstances($request) { $runtime = new RuntimeOptions([]); $headers = new BatchExecuteProcessInstancesHeaders([]); return $this->batchExecuteProcessInstancesWithOptions($request, $headers, $runtime); } /** * @param BatchUpdateProcessInstanceRequest $request * @param BatchUpdateProcessInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return BatchUpdateProcessInstanceResponse */ public function batchUpdateProcessInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->updateProcessInstanceRequests)) { $body['updateProcessInstanceRequests'] = $request->updateProcessInstanceRequests; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchUpdateProcessInstance', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processCentres/instances/batch', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchUpdateProcessInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchUpdateProcessInstanceRequest $request * * @return BatchUpdateProcessInstanceResponse */ public function batchUpdateProcessInstance($request) { $runtime = new RuntimeOptions([]); $headers = new BatchUpdateProcessInstanceHeaders([]); return $this->batchUpdateProcessInstanceWithOptions($request, $headers, $runtime); } /** * @param CancelIntegratedTaskRequest $request * @param CancelIntegratedTaskHeaders $headers * @param RuntimeOptions $runtime * * @return CancelIntegratedTaskResponse */ public function cancelIntegratedTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->activityId)) { $body['activityId'] = $request->activityId; } if (!Utils::isUnset($request->activityIds)) { $body['activityIds'] = $request->activityIds; } if (!Utils::isUnset($request->processInstanceId)) { $body['processInstanceId'] = $request->processInstanceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CancelIntegratedTask', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processCentres/tasks/cancel', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CancelIntegratedTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CancelIntegratedTaskRequest $request * * @return CancelIntegratedTaskResponse */ public function cancelIntegratedTask($request) { $runtime = new RuntimeOptions([]); $headers = new CancelIntegratedTaskHeaders([]); return $this->cancelIntegratedTaskWithOptions($request, $headers, $runtime); } /** * @param CleanProcessDataRequest $request * @param CleanProcessDataHeaders $headers * @param RuntimeOptions $runtime * * @return CleanProcessDataResponse */ public function cleanProcessDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->processCode)) { $body['processCode'] = $request->processCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CleanProcessData', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processes/clean', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CleanProcessDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CleanProcessDataRequest $request * * @return CleanProcessDataResponse */ public function cleanProcessData($request) { $runtime = new RuntimeOptions([]); $headers = new CleanProcessDataHeaders([]); return $this->cleanProcessDataWithOptions($request, $headers, $runtime); } /** * @param CopyProcessRequest $request * @param CopyProcessHeaders $headers * @param RuntimeOptions $runtime * * @return CopyProcessResponse */ public function copyProcessWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->copyOptions)) { $body['copyOptions'] = $request->copyOptions; } if (!Utils::isUnset($request->sourceCorpId)) { $body['sourceCorpId'] = $request->sourceCorpId; } if (!Utils::isUnset($request->sourceProcessVOList)) { $body['sourceProcessVOList'] = $request->sourceProcessVOList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CopyProcess', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processes/copy', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CopyProcessResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CopyProcessRequest $request * * @return CopyProcessResponse */ public function copyProcess($request) { $runtime = new RuntimeOptions([]); $headers = new CopyProcessHeaders([]); return $this->copyProcessWithOptions($request, $headers, $runtime); } /** * @param CreateIntegratedTaskRequest $request * @param CreateIntegratedTaskHeaders $headers * @param RuntimeOptions $runtime * * @return CreateIntegratedTaskResponse */ public function createIntegratedTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->activityId)) { $body['activityId'] = $request->activityId; } if (!Utils::isUnset($request->processInstanceId)) { $body['processInstanceId'] = $request->processInstanceId; } if (!Utils::isUnset($request->tasks)) { $body['tasks'] = $request->tasks; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateIntegratedTask', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processCentres/tasks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateIntegratedTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateIntegratedTaskRequest $request * * @return CreateIntegratedTaskResponse */ public function createIntegratedTask($request) { $runtime = new RuntimeOptions([]); $headers = new CreateIntegratedTaskHeaders([]); return $this->createIntegratedTaskWithOptions($request, $headers, $runtime); } /** * @param DeleteProcessRequest $request * @param DeleteProcessHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteProcessResponse */ public function deleteProcessWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->cleanRunningTask)) { $query['cleanRunningTask'] = $request->cleanRunningTask; } if (!Utils::isUnset($request->processCode)) { $query['processCode'] = $request->processCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteProcess', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processCentres/schemas', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteProcessResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteProcessRequest $request * * @return DeleteProcessResponse */ public function deleteProcess($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteProcessHeaders([]); return $this->deleteProcessWithOptions($request, $headers, $runtime); } /** * @param ExecuteProcessInstanceRequest $request * @param ExecuteProcessInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return ExecuteProcessInstanceResponse */ public function executeProcessInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->actionerUserId)) { $body['actionerUserId'] = $request->actionerUserId; } if (!Utils::isUnset($request->file)) { $body['file'] = $request->file; } if (!Utils::isUnset($request->processInstanceId)) { $body['processInstanceId'] = $request->processInstanceId; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->result)) { $body['result'] = $request->result; } if (!Utils::isUnset($request->taskId)) { $body['taskId'] = $request->taskId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ExecuteProcessInstance', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processInstances/execute', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ExecuteProcessInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ExecuteProcessInstanceRequest $request * * @return ExecuteProcessInstanceResponse */ public function executeProcessInstance($request) { $runtime = new RuntimeOptions([]); $headers = new ExecuteProcessInstanceHeaders([]); return $this->executeProcessInstanceWithOptions($request, $headers, $runtime); } /** * @param FormCreateRequest $request * @param FormCreateHeaders $headers * @param RuntimeOptions $runtime * * @return FormCreateResponse */ public function formCreateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->formComponents)) { $body['formComponents'] = $request->formComponents; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->processCode)) { $body['processCode'] = $request->processCode; } if (!Utils::isUnset($request->templateConfig)) { $body['templateConfig'] = $request->templateConfig; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'FormCreate', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/forms', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return FormCreateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param FormCreateRequest $request * * @return FormCreateResponse */ public function formCreate($request) { $runtime = new RuntimeOptions([]); $headers = new FormCreateHeaders([]); return $this->formCreateWithOptions($request, $headers, $runtime); } /** * @param GetAttachmentSpaceRequest $request * @param GetAttachmentSpaceHeaders $headers * @param RuntimeOptions $runtime * * @return GetAttachmentSpaceResponse */ public function getAttachmentSpaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->agentId)) { $body['agentId'] = $request->agentId; } 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' => 'GetAttachmentSpace', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processInstances/spaces/infos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAttachmentSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetAttachmentSpaceRequest $request * * @return GetAttachmentSpaceResponse */ public function getAttachmentSpace($request) { $runtime = new RuntimeOptions([]); $headers = new GetAttachmentSpaceHeaders([]); return $this->getAttachmentSpaceWithOptions($request, $headers, $runtime); } /** * @param GetConditionFormComponentRequest $request * @param GetConditionFormComponentHeaders $headers * @param RuntimeOptions $runtime * * @return GetConditionFormComponentResponse */ public function getConditionFormComponentWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->agentId)) { $query['agentId'] = $request->agentId; } if (!Utils::isUnset($request->processCode)) { $query['processCode'] = $request->processCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetConditionFormComponent', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processes/conditions/components', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetConditionFormComponentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetConditionFormComponentRequest $request * * @return GetConditionFormComponentResponse */ public function getConditionFormComponent($request) { $runtime = new RuntimeOptions([]); $headers = new GetConditionFormComponentHeaders([]); return $this->getConditionFormComponentWithOptions($request, $headers, $runtime); } /** * @param GetCrmProcCodesHeaders $headers * @param RuntimeOptions $runtime * * @return GetCrmProcCodesResponse */ public function getCrmProcCodesWithOptions($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' => 'GetCrmProcCodes', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/crm/processes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCrmProcCodesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @return GetCrmProcCodesResponse */ public function getCrmProcCodes() { $runtime = new RuntimeOptions([]); $headers = new GetCrmProcCodesHeaders([]); return $this->getCrmProcCodesWithOptions($headers, $runtime); } /** * @param GetManageProcessByStaffIdRequest $request * @param GetManageProcessByStaffIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetManageProcessByStaffIdResponse */ public function getManageProcessByStaffIdWithOptions($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' => 'GetManageProcessByStaffId', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processes/managements/templates', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetManageProcessByStaffIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetManageProcessByStaffIdRequest $request * * @return GetManageProcessByStaffIdResponse */ public function getManageProcessByStaffId($request) { $runtime = new RuntimeOptions([]); $headers = new GetManageProcessByStaffIdHeaders([]); return $this->getManageProcessByStaffIdWithOptions($request, $headers, $runtime); } /** * @param GetProcessCodeByNameRequest $request * @param GetProcessCodeByNameHeaders $headers * @param RuntimeOptions $runtime * * @return GetProcessCodeByNameResponse */ public function getProcessCodeByNameWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; 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' => 'GetProcessCodeByName', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processCentres/schemaNames/processCodes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetProcessCodeByNameResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetProcessCodeByNameRequest $request * * @return GetProcessCodeByNameResponse */ public function getProcessCodeByName($request) { $runtime = new RuntimeOptions([]); $headers = new GetProcessCodeByNameHeaders([]); return $this->getProcessCodeByNameWithOptions($request, $headers, $runtime); } /** * @param GetProcessConfigRequest $request * @param GetProcessConfigHeaders $headers * @param RuntimeOptions $runtime * * @return GetProcessConfigResponse */ public function getProcessConfigWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->procCode)) { $query['procCode'] = $request->procCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetProcessConfig', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/crm/processes/configurations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetProcessConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetProcessConfigRequest $request * * @return GetProcessConfigResponse */ public function getProcessConfig($request) { $runtime = new RuntimeOptions([]); $headers = new GetProcessConfigHeaders([]); return $this->getProcessConfigWithOptions($request, $headers, $runtime); } /** * @param GetProcessInstanceRequest $request * @param GetProcessInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return GetProcessInstanceResponse */ public function getProcessInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->processInstanceId)) { $query['processInstanceId'] = $request->processInstanceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetProcessInstance', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processInstances', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetProcessInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetProcessInstanceRequest $request * * @return GetProcessInstanceResponse */ public function getProcessInstance($request) { $runtime = new RuntimeOptions([]); $headers = new GetProcessInstanceHeaders([]); return $this->getProcessInstanceWithOptions($request, $headers, $runtime); } /** * @param GetSpaceWithDownloadAuthRequest $request * @param GetSpaceWithDownloadAuthHeaders $headers * @param RuntimeOptions $runtime * * @return GetSpaceWithDownloadAuthResponse */ public function getSpaceWithDownloadAuthWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->agentId)) { $body['agentId'] = $request->agentId; } if (!Utils::isUnset($request->fileId)) { $body['fileId'] = $request->fileId; } if (!Utils::isUnset($request->fileIdList)) { $body['fileIdList'] = $request->fileIdList; } if (!Utils::isUnset($request->processInstanceId)) { $body['processInstanceId'] = $request->processInstanceId; } 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' => 'GetSpaceWithDownloadAuth', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processInstances/spaces/authPreview', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSpaceWithDownloadAuthResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSpaceWithDownloadAuthRequest $request * * @return GetSpaceWithDownloadAuthResponse */ public function getSpaceWithDownloadAuth($request) { $runtime = new RuntimeOptions([]); $headers = new GetSpaceWithDownloadAuthHeaders([]); return $this->getSpaceWithDownloadAuthWithOptions($request, $headers, $runtime); } /** * @param GetUserTodoTaskSumRequest $request * @param GetUserTodoTaskSumHeaders $headers * @param RuntimeOptions $runtime * * @return GetUserTodoTaskSumResponse */ public function getUserTodoTaskSumWithOptions($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' => 'GetUserTodoTaskSum', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processes/todoTasks/numbers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserTodoTaskSumResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetUserTodoTaskSumRequest $request * * @return GetUserTodoTaskSumResponse */ public function getUserTodoTaskSum($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserTodoTaskSumHeaders([]); return $this->getUserTodoTaskSumWithOptions($request, $headers, $runtime); } /** * @param GrantCspaceAuthorizationRequest $request * @param GrantCspaceAuthorizationHeaders $headers * @param RuntimeOptions $runtime * * @return GrantCspaceAuthorizationResponse */ public function grantCspaceAuthorizationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->durationSeconds)) { $body['durationSeconds'] = $request->durationSeconds; } if (!Utils::isUnset($request->spaceId)) { $body['spaceId'] = $request->spaceId; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } 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' => 'GrantCspaceAuthorization', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/spaces/authorize', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return GrantCspaceAuthorizationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GrantCspaceAuthorizationRequest $request * * @return GrantCspaceAuthorizationResponse */ public function grantCspaceAuthorization($request) { $runtime = new RuntimeOptions([]); $headers = new GrantCspaceAuthorizationHeaders([]); return $this->grantCspaceAuthorizationWithOptions($request, $headers, $runtime); } /** * @param GrantProcessInstanceForDownloadFileRequest $request * @param GrantProcessInstanceForDownloadFileHeaders $headers * @param RuntimeOptions $runtime * * @return GrantProcessInstanceForDownloadFileResponse */ public function grantProcessInstanceForDownloadFileWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->fileId)) { $body['fileId'] = $request->fileId; } if (!Utils::isUnset($request->processInstanceId)) { $body['processInstanceId'] = $request->processInstanceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GrantProcessInstanceForDownloadFile', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processInstances/spaces/files/urls/download', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GrantProcessInstanceForDownloadFileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GrantProcessInstanceForDownloadFileRequest $request * * @return GrantProcessInstanceForDownloadFileResponse */ public function grantProcessInstanceForDownloadFile($request) { $runtime = new RuntimeOptions([]); $headers = new GrantProcessInstanceForDownloadFileHeaders([]); return $this->grantProcessInstanceForDownloadFileWithOptions($request, $headers, $runtime); } /** * @param InstallAppRequest $request * @param InstallAppHeaders $headers * @param RuntimeOptions $runtime * * @return InstallAppResponse */ public function installAppWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizGroup)) { $body['bizGroup'] = $request->bizGroup; } if (!Utils::isUnset($request->installOption)) { $body['installOption'] = $request->installOption; } if (!Utils::isUnset($request->sourceDirName)) { $body['sourceDirName'] = $request->sourceDirName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'InstallApp', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processes/apps/install', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InstallAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param InstallAppRequest $request * * @return InstallAppResponse */ public function installApp($request) { $runtime = new RuntimeOptions([]); $headers = new InstallAppHeaders([]); return $this->installAppWithOptions($request, $headers, $runtime); } /** * @param ListProcessInstanceIdsRequest $request * @param ListProcessInstanceIdsHeaders $headers * @param RuntimeOptions $runtime * * @return ListProcessInstanceIdsResponse */ public function listProcessInstanceIdsWithOptions($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->processCode)) { $body['processCode'] = $request->processCode; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->statuses)) { $body['statuses'] = $request->statuses; } 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' => 'ListProcessInstanceIds', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processes/instanceIds/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListProcessInstanceIdsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListProcessInstanceIdsRequest $request * * @return ListProcessInstanceIdsResponse */ public function listProcessInstanceIds($request) { $runtime = new RuntimeOptions([]); $headers = new ListProcessInstanceIdsHeaders([]); return $this->listProcessInstanceIdsWithOptions($request, $headers, $runtime); } /** * @param ListTodoWorkRecordsRequest $request * @param ListTodoWorkRecordsHeaders $headers * @param RuntimeOptions $runtime * * @return ListTodoWorkRecordsResponse */ public function listTodoWorkRecordsWithOptions($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->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' => 'ListTodoWorkRecords', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/workRecords/todoTasks', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListTodoWorkRecordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListTodoWorkRecordsRequest $request * * @return ListTodoWorkRecordsResponse */ public function listTodoWorkRecords($request) { $runtime = new RuntimeOptions([]); $headers = new ListTodoWorkRecordsHeaders([]); return $this->listTodoWorkRecordsWithOptions($request, $headers, $runtime); } /** * @param ListUserVisibleBpmsProcessesRequest $request * @param ListUserVisibleBpmsProcessesHeaders $headers * @param RuntimeOptions $runtime * * @return ListUserVisibleBpmsProcessesResponse */ public function listUserVisibleBpmsProcessesWithOptions($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' => 'ListUserVisibleBpmsProcesses', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processes/userVisibilities/templates', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListUserVisibleBpmsProcessesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListUserVisibleBpmsProcessesRequest $request * * @return ListUserVisibleBpmsProcessesResponse */ public function listUserVisibleBpmsProcesses($request) { $runtime = new RuntimeOptions([]); $headers = new ListUserVisibleBpmsProcessesHeaders([]); return $this->listUserVisibleBpmsProcessesWithOptions($request, $headers, $runtime); } /** * @param ProcessForecastRequest $request * @param ProcessForecastHeaders $headers * @param RuntimeOptions $runtime * * @return ProcessForecastResponse */ public function processForecastWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } if (!Utils::isUnset($request->formComponentValues)) { $body['formComponentValues'] = $request->formComponentValues; } if (!Utils::isUnset($request->processCode)) { $body['processCode'] = $request->processCode; } 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' => 'ProcessForecast', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processes/forecast', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ProcessForecastResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ProcessForecastRequest $request * * @return ProcessForecastResponse */ public function processForecast($request) { $runtime = new RuntimeOptions([]); $headers = new ProcessForecastHeaders([]); return $this->processForecastWithOptions($request, $headers, $runtime); } /** * @param QueryAllFormInstancesRequest $request * @param QueryAllFormInstancesHeaders $headers * @param RuntimeOptions $runtime * * @return QueryAllFormInstancesResponse */ public function queryAllFormInstancesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appUuid)) { $query['appUuid'] = $request->appUuid; } if (!Utils::isUnset($request->formCode)) { $query['formCode'] = $request->formCode; } 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' => 'QueryAllFormInstances', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/forms/pages/instances', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAllFormInstancesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryAllFormInstancesRequest $request * * @return QueryAllFormInstancesResponse */ public function queryAllFormInstances($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAllFormInstancesHeaders([]); return $this->queryAllFormInstancesWithOptions($request, $headers, $runtime); } /** * @param QueryAllProcessInstancesRequest $request * @param QueryAllProcessInstancesHeaders $headers * @param RuntimeOptions $runtime * * @return QueryAllProcessInstancesResponse */ public function queryAllProcessInstancesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appUuid)) { $query['appUuid'] = $request->appUuid; } if (!Utils::isUnset($request->endTimeInMills)) { $query['endTimeInMills'] = $request->endTimeInMills; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->processCode)) { $query['processCode'] = $request->processCode; } if (!Utils::isUnset($request->startTimeInMills)) { $query['startTimeInMills'] = $request->startTimeInMills; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryAllProcessInstances', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processes/pages/instances', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAllProcessInstancesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryAllProcessInstancesRequest $request * * @return QueryAllProcessInstancesResponse */ public function queryAllProcessInstances($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAllProcessInstancesHeaders([]); return $this->queryAllProcessInstancesWithOptions($request, $headers, $runtime); } /** * @param QueryFormByBizTypeRequest $request * @param QueryFormByBizTypeHeaders $headers * @param RuntimeOptions $runtime * * @return QueryFormByBizTypeResponse */ public function queryFormByBizTypeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appUuid)) { $body['appUuid'] = $request->appUuid; } if (!Utils::isUnset($request->bizTypes)) { $body['bizTypes'] = $request->bizTypes; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryFormByBizType', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/forms/forminfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryFormByBizTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryFormByBizTypeRequest $request * * @return QueryFormByBizTypeResponse */ public function queryFormByBizType($request) { $runtime = new RuntimeOptions([]); $headers = new QueryFormByBizTypeHeaders([]); return $this->queryFormByBizTypeWithOptions($request, $headers, $runtime); } /** * @param QueryFormInstanceRequest $request * @param QueryFormInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return QueryFormInstanceResponse */ public function queryFormInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appUuid)) { $query['appUuid'] = $request->appUuid; } if (!Utils::isUnset($request->formCode)) { $query['formCode'] = $request->formCode; } if (!Utils::isUnset($request->formInstanceId)) { $query['formInstanceId'] = $request->formInstanceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryFormInstance', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/forms/instances', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryFormInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryFormInstanceRequest $request * * @return QueryFormInstanceResponse */ public function queryFormInstance($request) { $runtime = new RuntimeOptions([]); $headers = new QueryFormInstanceHeaders([]); return $this->queryFormInstanceWithOptions($request, $headers, $runtime); } /** * @param QueryIntegratedTodoTaskRequest $request * @param QueryIntegratedTodoTaskHeaders $headers * @param RuntimeOptions $runtime * * @return QueryIntegratedTodoTaskResponse */ public function queryIntegratedTodoTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->createBefore)) { $query['createBefore'] = $request->createBefore; } 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' => 'QueryIntegratedTodoTask', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processCentres/todoTasks', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryIntegratedTodoTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryIntegratedTodoTaskRequest $request * * @return QueryIntegratedTodoTaskResponse */ public function queryIntegratedTodoTask($request) { $runtime = new RuntimeOptions([]); $headers = new QueryIntegratedTodoTaskHeaders([]); return $this->queryIntegratedTodoTaskWithOptions($request, $headers, $runtime); } /** * @param QueryProcessByBizCategoryIdRequest $request * @param QueryProcessByBizCategoryIdHeaders $headers * @param RuntimeOptions $runtime * * @return QueryProcessByBizCategoryIdResponse */ public function queryProcessByBizCategoryIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizType)) { $query['bizType'] = $request->bizType; } 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' => 'QueryProcessByBizCategoryId', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processes/categories/templates', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryProcessByBizCategoryIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryProcessByBizCategoryIdRequest $request * * @return QueryProcessByBizCategoryIdResponse */ public function queryProcessByBizCategoryId($request) { $runtime = new RuntimeOptions([]); $headers = new QueryProcessByBizCategoryIdHeaders([]); return $this->queryProcessByBizCategoryIdWithOptions($request, $headers, $runtime); } /** * @param QuerySchemaAndProcessRequest $request * @param QuerySchemaAndProcessHeaders $headers * @param RuntimeOptions $runtime * * @return QuerySchemaAndProcessResponse */ public function querySchemaAndProcessWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appUuid)) { $query['appUuid'] = $request->appUuid; } if (!Utils::isUnset($request->processCode)) { $query['processCode'] = $request->processCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QuerySchemaAndProcess', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/forms/schemaAndProcess', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QuerySchemaAndProcessResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QuerySchemaAndProcessRequest $request * * @return QuerySchemaAndProcessResponse */ public function querySchemaAndProcess($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySchemaAndProcessHeaders([]); return $this->querySchemaAndProcessWithOptions($request, $headers, $runtime); } /** * @param QuerySchemaByProcessCodeRequest $request * @param QuerySchemaByProcessCodeHeaders $headers * @param RuntimeOptions $runtime * * @return QuerySchemaByProcessCodeResponse */ public function querySchemaByProcessCodeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appUuid)) { $query['appUuid'] = $request->appUuid; } if (!Utils::isUnset($request->processCode)) { $query['processCode'] = $request->processCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QuerySchemaByProcessCode', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/forms/schemas/processCodes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QuerySchemaByProcessCodeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QuerySchemaByProcessCodeRequest $request * * @return QuerySchemaByProcessCodeResponse */ public function querySchemaByProcessCode($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySchemaByProcessCodeHeaders([]); return $this->querySchemaByProcessCodeWithOptions($request, $headers, $runtime); } /** * @param RedirectWorkflowTaskRequest $request * @param RedirectWorkflowTaskHeaders $headers * @param RuntimeOptions $runtime * * @return RedirectWorkflowTaskResponse */ public function redirectWorkflowTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->actionName)) { $body['actionName'] = $request->actionName; } if (!Utils::isUnset($request->file)) { $body['file'] = $request->file; } if (!Utils::isUnset($request->operateUserId)) { $body['operateUserId'] = $request->operateUserId; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->taskId)) { $body['taskId'] = $request->taskId; } if (!Utils::isUnset($request->toUserId)) { $body['toUserId'] = $request->toUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RedirectWorkflowTask', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/tasks/redirect', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RedirectWorkflowTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RedirectWorkflowTaskRequest $request * * @return RedirectWorkflowTaskResponse */ public function redirectWorkflowTask($request) { $runtime = new RuntimeOptions([]); $headers = new RedirectWorkflowTaskHeaders([]); return $this->redirectWorkflowTaskWithOptions($request, $headers, $runtime); } /** * @param SaveIntegratedInstanceRequest $request * @param SaveIntegratedInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return SaveIntegratedInstanceResponse */ public function saveIntegratedInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizData)) { $body['bizData'] = $request->bizData; } if (!Utils::isUnset($request->formComponentValueList)) { $body['formComponentValueList'] = $request->formComponentValueList; } if (!Utils::isUnset($request->notifiers)) { $body['notifiers'] = $request->notifiers; } if (!Utils::isUnset($request->originatorUserId)) { $body['originatorUserId'] = $request->originatorUserId; } if (!Utils::isUnset($request->processCode)) { $body['processCode'] = $request->processCode; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } 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' => 'SaveIntegratedInstance', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processCentres/instances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveIntegratedInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SaveIntegratedInstanceRequest $request * * @return SaveIntegratedInstanceResponse */ public function saveIntegratedInstance($request) { $runtime = new RuntimeOptions([]); $headers = new SaveIntegratedInstanceHeaders([]); return $this->saveIntegratedInstanceWithOptions($request, $headers, $runtime); } /** * @param SaveProcessRequest $request * @param SaveProcessHeaders $headers * @param RuntimeOptions $runtime * * @return SaveProcessResponse */ public function saveProcessWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->formComponents)) { $body['formComponents'] = $request->formComponents; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->processCode)) { $body['processCode'] = $request->processCode; } if (!Utils::isUnset($request->processFeatureConfig)) { $body['processFeatureConfig'] = $request->processFeatureConfig; } if (!Utils::isUnset($request->templateConfig)) { $body['templateConfig'] = $request->templateConfig; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SaveProcess', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processCentres/schemas', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveProcessResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SaveProcessRequest $request * * @return SaveProcessResponse */ public function saveProcess($request) { $runtime = new RuntimeOptions([]); $headers = new SaveProcessHeaders([]); return $this->saveProcessWithOptions($request, $headers, $runtime); } /** * @param StartProcessInstanceRequest $request * @param StartProcessInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return StartProcessInstanceResponse */ public function startProcessInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->approvers)) { $body['approvers'] = $request->approvers; } if (!Utils::isUnset($request->ccList)) { $body['ccList'] = $request->ccList; } if (!Utils::isUnset($request->ccPosition)) { $body['ccPosition'] = $request->ccPosition; } if (!Utils::isUnset($request->deptId)) { $body['deptId'] = $request->deptId; } if (!Utils::isUnset($request->formComponentValues)) { $body['formComponentValues'] = $request->formComponentValues; } if (!Utils::isUnset($request->microappAgentId)) { $body['microappAgentId'] = $request->microappAgentId; } if (!Utils::isUnset($request->originatorUserId)) { $body['originatorUserId'] = $request->originatorUserId; } if (!Utils::isUnset($request->processCode)) { $body['processCode'] = $request->processCode; } if (!Utils::isUnset($request->targetSelectActioners)) { $body['targetSelectActioners'] = $request->targetSelectActioners; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'StartProcessInstance', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processInstances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return StartProcessInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param StartProcessInstanceRequest $request * * @return StartProcessInstanceResponse */ public function startProcessInstance($request) { $runtime = new RuntimeOptions([]); $headers = new StartProcessInstanceHeaders([]); return $this->startProcessInstanceWithOptions($request, $headers, $runtime); } /** * @param TerminateProcessInstanceRequest $request * @param TerminateProcessInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return TerminateProcessInstanceResponse */ public function terminateProcessInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->isSystem)) { $body['isSystem'] = $request->isSystem; } if (!Utils::isUnset($request->operatingUserId)) { $body['operatingUserId'] = $request->operatingUserId; } if (!Utils::isUnset($request->processInstanceId)) { $body['processInstanceId'] = $request->processInstanceId; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'TerminateProcessInstance', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processInstances/terminate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return TerminateProcessInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param TerminateProcessInstanceRequest $request * * @return TerminateProcessInstanceResponse */ public function terminateProcessInstance($request) { $runtime = new RuntimeOptions([]); $headers = new TerminateProcessInstanceHeaders([]); return $this->terminateProcessInstanceWithOptions($request, $headers, $runtime); } /** * @param UpdateIntegratedTaskRequest $request * @param UpdateIntegratedTaskHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateIntegratedTaskResponse */ public function updateIntegratedTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->processInstanceId)) { $body['processInstanceId'] = $request->processInstanceId; } if (!Utils::isUnset($request->tasks)) { $body['tasks'] = $request->tasks; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateIntegratedTask', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processCentres/tasks', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateIntegratedTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateIntegratedTaskRequest $request * * @return UpdateIntegratedTaskResponse */ public function updateIntegratedTask($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateIntegratedTaskHeaders([]); return $this->updateIntegratedTaskWithOptions($request, $headers, $runtime); } /** * @param UpdateProcessInstanceRequest $request * @param UpdateProcessInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateProcessInstanceResponse */ public function updateProcessInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->notifiers)) { $body['notifiers'] = $request->notifiers; } if (!Utils::isUnset($request->processInstanceId)) { $body['processInstanceId'] = $request->processInstanceId; } if (!Utils::isUnset($request->result)) { $body['result'] = $request->result; } 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' => 'UpdateProcessInstance', 'version' => 'workflow_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workflow/processCentres/instances', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateProcessInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateProcessInstanceRequest $request * * @return UpdateProcessInstanceResponse */ public function updateProcessInstance($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateProcessInstanceHeaders([]); return $this->updateProcessInstanceWithOptions($request, $headers, $runtime); } } src/workflow_1_0/Models/AddApproveDentryAuthHeaders.php000064400000002350146412132660017136 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddApproveDentryAuthHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/AddApproveDentryAuthRequest.php000064400000003360146412132660017215 0ustar00 'fileInfos', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileInfos) { $res['fileInfos'] = []; if (null !== $this->fileInfos && \is_array($this->fileInfos)) { $n = 0; foreach ($this->fileInfos as $item) { $res['fileInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return AddApproveDentryAuthRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileInfos'])) { if (!empty($map['fileInfos'])) { $model->fileInfos = []; $n = 0; foreach ($map['fileInfos'] as $item) { $model->fileInfos[$n++] = null !== $item ? fileInfos::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/AddApproveDentryAuthRequest/fileInfos.php000064400000002212146412132660021126 0ustar00 'fileId', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return fileInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/workflow_1_0/Models/AddApproveDentryAuthResponse.php000064400000002756146412132660017373 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddApproveDentryAuthResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddApproveDentryAuthResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/AddApproveDentryAuthResponseBody.php000064400000002227146412132660020202 0ustar00 '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 AddApproveDentryAuthResponseBody */ 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/workflow_1_0/Models/AddProcessInstanceCommentHeaders.php000064400000002362146412132660020143 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddProcessInstanceCommentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/AddProcessInstanceCommentRequest.php000064400000004006146412132660020215 0ustar00 'commentUserId', 'file' => 'file', 'processInstanceId' => 'processInstanceId', 'text' => 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commentUserId) { $res['commentUserId'] = $this->commentUserId; } if (null !== $this->file) { $res['file'] = null !== $this->file ? $this->file->toMap() : null; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return AddProcessInstanceCommentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commentUserId'])) { $model->commentUserId = $map['commentUserId']; } if (isset($map['file'])) { $model->file = file::fromMap($map['file']); } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/workflow_1_0/Models/AddProcessInstanceCommentRequest/file.php000064400000003462146412132660021141 0ustar00 'attachments', 'photos' => 'photos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->photos) { $res['photos'] = $this->photos; } return $res; } /** * @param array $map * * @return file */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['photos'])) { if (!empty($map['photos'])) { $model->photos = $map['photos']; } } return $model; } } src/workflow_1_0/Models/AddProcessInstanceCommentRequest/file/attachments.php000064400000004134146412132660023451 0ustar00 '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 attachments */ 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/workflow_1_0/Models/AddProcessInstanceCommentResponse.php000064400000003002146412132660020356 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddProcessInstanceCommentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddProcessInstanceCommentResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/AddProcessInstanceCommentResponseBody.php000064400000002241146412132660021200 0ustar00 '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 AddProcessInstanceCommentResponseBody */ 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/workflow_1_0/Models/AvaliableTemplate.php000064400000002242146412132660015161 0ustar00 'name', 'processCode' => 'processCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } return $res; } /** * @param array $map * * @return AvaliableTemplate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } return $model; } } src/workflow_1_0/Models/BatchExecuteProcessInstancesHeaders.php000064400000002370146412132660020656 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchExecuteProcessInstancesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/BatchExecuteProcessInstancesRequest.php000064400000004722146412132660020736 0ustar00 'actionerUserId', 'remark' => 'remark', 'result' => 'result', 'taskInfoList' => 'taskInfoList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionerUserId) { $res['actionerUserId'] = $this->actionerUserId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->taskInfoList) { $res['taskInfoList'] = []; if (null !== $this->taskInfoList && \is_array($this->taskInfoList)) { $n = 0; foreach ($this->taskInfoList as $item) { $res['taskInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchExecuteProcessInstancesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionerUserId'])) { $model->actionerUserId = $map['actionerUserId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['taskInfoList'])) { if (!empty($map['taskInfoList'])) { $model->taskInfoList = []; $n = 0; foreach ($map['taskInfoList'] as $item) { $model->taskInfoList[$n++] = null !== $item ? taskInfoList::fromMap($item) : $item; } } } return $model; } } src/workflow_1_0/Models/BatchExecuteProcessInstancesRequest/taskInfoList.php000064400000002347146412132660023351 0ustar00 'processInstanceId', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return taskInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/workflow_1_0/Models/BatchExecuteProcessInstancesResponse.php000064400000003016146412132660021077 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchExecuteProcessInstancesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchExecuteProcessInstancesResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/BatchExecuteProcessInstancesResponseBody.php000064400000002536146412132660021723 0ustar00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { foreach ($this->result as $key => $val) { $res['result'][$key] = null !== $val ? $val->toMap() : $val; } } } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return BatchExecuteProcessInstancesResponseBody */ 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/workflow_1_0/Models/BatchUpdateProcessInstanceHeaders.php000064400000002364146412132660020316 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchUpdateProcessInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/BatchUpdateProcessInstanceRequest.php000064400000003472146412132660020374 0ustar00 'updateProcessInstanceRequests', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->updateProcessInstanceRequests) { $res['updateProcessInstanceRequests'] = []; if (null !== $this->updateProcessInstanceRequests && \is_array($this->updateProcessInstanceRequests)) { $n = 0; foreach ($this->updateProcessInstanceRequests as $item) { $res['updateProcessInstanceRequests'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchUpdateProcessInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['updateProcessInstanceRequests'])) { if (!empty($map['updateProcessInstanceRequests'])) { $model->updateProcessInstanceRequests = []; $n = 0; foreach ($map['updateProcessInstanceRequests'] as $item) { $model->updateProcessInstanceRequests[$n++] = null !== $item ? updateProcessInstanceRequests::fromMap($item) : $item; } } } return $model; } } src/workflow_1_0/Models/BatchUpdateProcessInstanceRequest/updateProcessInstanceRequests.php000064400000005016146412132660026432 0ustar00 'notifiers', 'processInstanceId' => 'processInstanceId', 'result' => 'result', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->notifiers) { $res['notifiers'] = []; if (null !== $this->notifiers && \is_array($this->notifiers)) { $n = 0; foreach ($this->notifiers as $item) { $res['notifiers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return updateProcessInstanceRequests */ public static function fromMap($map = []) { $model = new self(); if (isset($map['notifiers'])) { if (!empty($map['notifiers'])) { $model->notifiers = []; $n = 0; foreach ($map['notifiers'] as $item) { $model->notifiers[$n++] = null !== $item ? notifiers::fromMap($item) : $item; } } } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } workflow_1_0/Models/BatchUpdateProcessInstanceRequest/updateProcessInstanceRequests/notifiers.php000064400000001577146412132660030365 0ustar00src 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return notifiers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/BatchUpdateProcessInstanceResponse.php000064400000003006146412132660020533 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchUpdateProcessInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchUpdateProcessInstanceResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/BatchUpdateProcessInstanceResponseBody.php000064400000001536146412132660021357 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return BatchUpdateProcessInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/workflow_1_0/Models/CancelIntegratedTaskHeaders.php000064400000002350146412132660017120 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CancelIntegratedTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/CancelIntegratedTaskRequest.php000064400000003275146412132660017204 0ustar00 'activityId', 'activityIds' => 'activityIds', 'processInstanceId' => 'processInstanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } if (null !== $this->activityIds) { $res['activityIds'] = $this->activityIds; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } return $res; } /** * @param array $map * * @return CancelIntegratedTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } if (isset($map['activityIds'])) { if (!empty($map['activityIds'])) { $model->activityIds = $map['activityIds']; } } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } return $model; } } src/workflow_1_0/Models/CancelIntegratedTaskResponse.php000064400000002756146412132660017355 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CancelIntegratedTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CancelIntegratedTaskResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/CancelIntegratedTaskResponseBody.php000064400000001522146412132660020161 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CancelIntegratedTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/workflow_1_0/Models/CleanProcessDataHeaders.php000064400000002340146412132660016253 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CleanProcessDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/CleanProcessDataRequest.php000064400000002276146412132660016340 0ustar00 'corpId', 'processCode' => 'processCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } return $res; } /** * @param array $map * * @return CleanProcessDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } return $model; } } src/workflow_1_0/Models/CleanProcessDataResponse.php000064400000002736146412132660016507 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CleanProcessDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CleanProcessDataResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/CleanProcessDataResponseBody.php000064400000001512146412132660017314 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CleanProcessDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/workflow_1_0/Models/CopyProcessHeaders.php000064400000002326146412132660015355 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CopyProcessHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/CopyProcessRequest.php000064400000004642146412132660015435 0ustar00 'copyOptions', 'sourceCorpId' => 'sourceCorpId', 'sourceProcessVOList' => 'sourceProcessVOList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->copyOptions) { $res['copyOptions'] = null !== $this->copyOptions ? $this->copyOptions->toMap() : null; } if (null !== $this->sourceCorpId) { $res['sourceCorpId'] = $this->sourceCorpId; } if (null !== $this->sourceProcessVOList) { $res['sourceProcessVOList'] = []; if (null !== $this->sourceProcessVOList && \is_array($this->sourceProcessVOList)) { $n = 0; foreach ($this->sourceProcessVOList as $item) { $res['sourceProcessVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CopyProcessRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['copyOptions'])) { $model->copyOptions = copyOptions::fromMap($map['copyOptions']); } if (isset($map['sourceCorpId'])) { $model->sourceCorpId = $map['sourceCorpId']; } if (isset($map['sourceProcessVOList'])) { if (!empty($map['sourceProcessVOList'])) { $model->sourceProcessVOList = []; $n = 0; foreach ($map['sourceProcessVOList'] as $item) { $model->sourceProcessVOList[$n++] = null !== $item ? sourceProcessVOList::fromMap($item) : $item; } } } return $model; } } src/workflow_1_0/Models/CopyProcessRequest/copyOptions.php000064400000001534146412132660017760 0ustar00 'copyType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->copyType) { $res['copyType'] = $this->copyType; } return $res; } /** * @param array $map * * @return copyOptions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['copyType'])) { $model->copyType = $map['copyType']; } return $model; } } src/workflow_1_0/Models/CopyProcessRequest/sourceProcessVOList.php000064400000002745146412132660021377 0ustar00 'bizType', 'name' => 'name', 'processCode' => 'processCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } return $res; } /** * @param array $map * * @return sourceProcessVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } return $model; } } src/workflow_1_0/Models/CopyProcessResponse.php000064400000002712146412132660015577 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CopyProcessResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CopyProcessResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/CopyProcessResponseBody.php000064400000002576146412132660016425 0ustar00 '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 CopyProcessResponseBody */ 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/workflow_1_0/Models/CopyProcessResponseBody/result.php000064400000002720146412132660017732 0ustar00 'bizType', 'name' => 'name', 'processCode' => 'processCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } 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['name'])) { $model->name = $map['name']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } return $model; } } src/workflow_1_0/Models/CreateIntegratedTaskHeaders.php000064400000002350146412132660017136 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateIntegratedTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/CreateIntegratedTaskRequest.php000064400000004212146412132660017212 0ustar00 'activityId', 'processInstanceId' => 'processInstanceId', 'tasks' => 'tasks', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->tasks) { $res['tasks'] = []; if (null !== $this->tasks && \is_array($this->tasks)) { $n = 0; foreach ($this->tasks as $item) { $res['tasks'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CreateIntegratedTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['tasks'])) { if (!empty($map['tasks'])) { $model->tasks = []; $n = 0; foreach ($map['tasks'] as $item) { $model->tasks[$n++] = null !== $item ? tasks::fromMap($item) : $item; } } } return $model; } } src/workflow_1_0/Models/CreateIntegratedTaskRequest/tasks.php000064400000002720146412132660020341 0ustar00 'customData', 'url' => 'url', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customData) { $res['customData'] = $this->customData; } if (null !== $this->url) { $res['url'] = $this->url; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return tasks */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customData'])) { $model->customData = $map['customData']; } if (isset($map['url'])) { $model->url = $map['url']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/CreateIntegratedTaskResponse.php000064400000002756146412132660017373 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateIntegratedTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateIntegratedTaskResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/CreateIntegratedTaskResponseBody.php000064400000003257146412132660020206 0ustar00 '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 CreateIntegratedTaskResponseBody */ 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/workflow_1_0/Models/CreateIntegratedTaskResponseBody/result.php000064400000002103146412132660021511 0ustar00 'taskId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } 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['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/DeleteProcessHeaders.php000064400000002332146412132660015642 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteProcessHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/DeleteProcessRequest.php000064400000002353146412132660015722 0ustar00 'cleanRunningTask', 'processCode' => 'processCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cleanRunningTask) { $res['cleanRunningTask'] = $this->cleanRunningTask; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } return $res; } /** * @param array $map * * @return DeleteProcessRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cleanRunningTask'])) { $model->cleanRunningTask = $map['cleanRunningTask']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } return $model; } } src/workflow_1_0/Models/DeleteProcessResponse.php000064400000002722146412132660016070 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteProcessResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteProcessResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/DeleteProcessResponseBody.php000064400000001714146412132660016706 0ustar00 '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 DeleteProcessResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/workflow_1_0/Models/DeleteProcessResponseBody/result.php000064400000001576146412132660020232 0ustar00 'processCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } return $model; } } src/workflow_1_0/Models/ExecuteProcessInstanceHeaders.php000064400000002354146412132660017533 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ExecuteProcessInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/ExecuteProcessInstanceRequest.php000064400000005217146412132660017611 0ustar00 'actionerUserId', 'file' => 'file', 'processInstanceId' => 'processInstanceId', 'remark' => 'remark', 'result' => 'result', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionerUserId) { $res['actionerUserId'] = $this->actionerUserId; } if (null !== $this->file) { $res['file'] = null !== $this->file ? $this->file->toMap() : null; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return ExecuteProcessInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionerUserId'])) { $model->actionerUserId = $map['actionerUserId']; } if (isset($map['file'])) { $model->file = file::fromMap($map['file']); } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/workflow_1_0/Models/ExecuteProcessInstanceRequest/file.php000064400000003454146412132660020531 0ustar00 'attachments', 'photos' => 'photos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->photos) { $res['photos'] = $this->photos; } return $res; } /** * @param array $map * * @return file */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['photos'])) { if (!empty($map['photos'])) { $model->photos = $map['photos']; } } return $model; } } src/workflow_1_0/Models/ExecuteProcessInstanceRequest/file/attachments.php000064400000004131146412132660023035 0ustar00 '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 attachments */ 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/workflow_1_0/Models/ExecuteProcessInstanceResponse.php000064400000002766146412132660017765 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ExecuteProcessInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ExecuteProcessInstanceResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/ExecuteProcessInstanceResponseBody.php000064400000002233146412132660020570 0ustar00 '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 ExecuteProcessInstanceResponseBody */ 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/workflow_1_0/Models/FormComponent.php000064400000004073146412132660014377 0ustar00 'children', 'componentType' => 'componentType', '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->componentType) { $res['componentType'] = $this->componentType; } if (null !== $this->props) { $res['props'] = null !== $this->props ? $this->props->toMap() : null; } return $res; } /** * @param array $map * * @return FormComponent */ 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 ? self::fromMap($item) : $item; } } } if (isset($map['componentType'])) { $model->componentType = $map['componentType']; } if (isset($map['props'])) { $model->props = FormComponentProps::fromMap($map['props']); } return $model; } } src/workflow_1_0/Models/FormComponentProps.php000064400000031435146412132660015425 0ustar00 'actionName', 'addressModel' => 'addressModel', 'align' => 'align', 'asyncCondition' => 'asyncCondition', 'availableTemplates' => 'availableTemplates', 'bizAlias' => 'bizAlias', 'bizType' => 'bizType', 'choice' => 'choice', 'commonBizType' => 'commonBizType', 'componentId' => 'componentId', 'content' => 'content', 'dataSource' => 'dataSource', 'disabled' => 'disabled', 'duration' => 'duration', 'format' => 'format', 'formula' => 'formula', 'invisible' => 'invisible', 'label' => 'label', 'limit' => 'limit', 'link' => 'link', 'maxLength' => 'maxLength', 'mode' => 'mode', 'multiple' => 'multiple', 'options' => 'options', 'placeholder' => 'placeholder', 'precision' => 'precision', 'print' => 'print', 'required' => 'required', 'statField' => 'statField', 'tableViewMode' => 'tableViewMode', 'unit' => 'unit', 'upper' => 'upper', 'verticalPrint' => 'verticalPrint', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionName) { $res['actionName'] = $this->actionName; } if (null !== $this->addressModel) { $res['addressModel'] = $this->addressModel; } if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->asyncCondition) { $res['asyncCondition'] = $this->asyncCondition; } 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->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->commonBizType) { $res['commonBizType'] = $this->commonBizType; } if (null !== $this->componentId) { $res['componentId'] = $this->componentId; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->dataSource) { $res['dataSource'] = null !== $this->dataSource ? $this->dataSource->toMap() : null; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } 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->limit) { $res['limit'] = $this->limit; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->maxLength) { $res['maxLength'] = $this->maxLength; } if (null !== $this->mode) { $res['mode'] = $this->mode; } if (null !== $this->multiple) { $res['multiple'] = $this->multiple; } 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->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->precision) { $res['precision'] = $this->precision; } if (null !== $this->print) { $res['print'] = $this->print; } if (null !== $this->required) { $res['required'] = $this->required; } 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->upper) { $res['upper'] = $this->upper; } if (null !== $this->verticalPrint) { $res['verticalPrint'] = $this->verticalPrint; } return $res; } /** * @param array $map * * @return FormComponentProps */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionName'])) { $model->actionName = $map['actionName']; } if (isset($map['addressModel'])) { $model->addressModel = $map['addressModel']; } if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['asyncCondition'])) { $model->asyncCondition = $map['asyncCondition']; } if (isset($map['availableTemplates'])) { if (!empty($map['availableTemplates'])) { $model->availableTemplates = []; $n = 0; foreach ($map['availableTemplates'] as $item) { $model->availableTemplates[$n++] = null !== $item ? AvaliableTemplate::fromMap($item) : $item; } } } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['commonBizType'])) { $model->commonBizType = $map['commonBizType']; } if (isset($map['componentId'])) { $model->componentId = $map['componentId']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['dataSource'])) { $model->dataSource = FormDataSource::fromMap($map['dataSource']); } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } 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['limit'])) { $model->limit = $map['limit']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['maxLength'])) { $model->maxLength = $map['maxLength']; } if (isset($map['mode'])) { $model->mode = $map['mode']; } if (isset($map['multiple'])) { $model->multiple = $map['multiple']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? SelectOption::fromMap($item) : $item; } } } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['precision'])) { $model->precision = $map['precision']; } if (isset($map['print'])) { $model->print = $map['print']; } if (isset($map['required'])) { $model->required = $map['required']; } 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['upper'])) { $model->upper = $map['upper']; } if (isset($map['verticalPrint'])) { $model->verticalPrint = $map['verticalPrint']; } return $model; } } src/workflow_1_0/Models/FormComponentProps/statField.php000064400000002722146412132660017341 0ustar00 'componentId', 'label' => 'label', 'upper' => 'upper', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentId) { $res['componentId'] = $this->componentId; } if (null !== $this->label) { $res['label'] = $this->label; } 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['componentId'])) { $model->componentId = $map['componentId']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['upper'])) { $model->upper = $map['upper']; } return $model; } } src/workflow_1_0/Models/FormCreateHeaders.php000064400000002324146412132660015131 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return FormCreateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/FormCreateRequest.php000064400000005612146412132660015211 0ustar00 'description', 'formComponents' => 'formComponents', 'name' => 'name', 'processCode' => 'processCode', 'templateConfig' => 'templateConfig', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->formComponents) { $res['formComponents'] = []; if (null !== $this->formComponents && \is_array($this->formComponents)) { $n = 0; foreach ($this->formComponents as $item) { $res['formComponents'][$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->templateConfig) { $res['templateConfig'] = null !== $this->templateConfig ? $this->templateConfig->toMap() : null; } return $res; } /** * @param array $map * * @return FormCreateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['formComponents'])) { if (!empty($map['formComponents'])) { $model->formComponents = []; $n = 0; foreach ($map['formComponents'] as $item) { $model->formComponents[$n++] = null !== $item ? FormComponent::fromMap($item) : $item; } } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['templateConfig'])) { $model->templateConfig = templateConfig::fromMap($map['templateConfig']); } return $model; } } src/workflow_1_0/Models/FormCreateRequest/templateConfig.php000064400000006767146412132660020166 0ustar00 'dirId', 'disableDeleteProcess' => 'disableDeleteProcess', 'disableFormEdit' => 'disableFormEdit', 'disableHomepage' => 'disableHomepage', 'disableResubmit' => 'disableResubmit', 'disableStopProcessButton' => 'disableStopProcessButton', 'hidden' => 'hidden', 'originDirId' => 'originDirId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dirId) { $res['dirId'] = $this->dirId; } if (null !== $this->disableDeleteProcess) { $res['disableDeleteProcess'] = $this->disableDeleteProcess; } if (null !== $this->disableFormEdit) { $res['disableFormEdit'] = $this->disableFormEdit; } if (null !== $this->disableHomepage) { $res['disableHomepage'] = $this->disableHomepage; } if (null !== $this->disableResubmit) { $res['disableResubmit'] = $this->disableResubmit; } if (null !== $this->disableStopProcessButton) { $res['disableStopProcessButton'] = $this->disableStopProcessButton; } if (null !== $this->hidden) { $res['hidden'] = $this->hidden; } if (null !== $this->originDirId) { $res['originDirId'] = $this->originDirId; } return $res; } /** * @param array $map * * @return templateConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dirId'])) { $model->dirId = $map['dirId']; } if (isset($map['disableDeleteProcess'])) { $model->disableDeleteProcess = $map['disableDeleteProcess']; } if (isset($map['disableFormEdit'])) { $model->disableFormEdit = $map['disableFormEdit']; } if (isset($map['disableHomepage'])) { $model->disableHomepage = $map['disableHomepage']; } if (isset($map['disableResubmit'])) { $model->disableResubmit = $map['disableResubmit']; } if (isset($map['disableStopProcessButton'])) { $model->disableStopProcessButton = $map['disableStopProcessButton']; } if (isset($map['hidden'])) { $model->hidden = $map['hidden']; } if (isset($map['originDirId'])) { $model->originDirId = $map['originDirId']; } return $model; } } src/workflow_1_0/Models/FormCreateResponse.php000064400000002706146412132660015360 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return FormCreateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = FormCreateResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/FormCreateResponseBody.php000064400000001703146412132660016172 0ustar00 '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 FormCreateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/workflow_1_0/Models/FormCreateResponseBody/result.php000064400000001606146412132660017512 0ustar00 'processCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } return $model; } } src/workflow_1_0/Models/FormDataSource.php000064400000002305146412132660014463 0ustar00 'target', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; 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 FormDataSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['target'])) { $model->target = target::fromMap($map['target']); } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/workflow_1_0/Models/FormDataSource/target.php000064400000003270146412132660015753 0ustar00 '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/workflow_1_0/Models/GetAttachmentSpaceHeaders.php000064400000002344146412132660016610 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAttachmentSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/GetAttachmentSpaceRequest.php000064400000002220146412132660016656 0ustar00 'agentId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetAttachmentSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/GetAttachmentSpaceResponse.php000064400000002746146412132660017041 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAttachmentSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAttachmentSpaceResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/GetAttachmentSpaceResponseBody.php000064400000002415146412132660017650 0ustar00 '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 GetAttachmentSpaceResponseBody */ 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/workflow_1_0/Models/GetAttachmentSpaceResponseBody/result.php000064400000001536146412132660021171 0ustar00 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/workflow_1_0/Models/GetConditionFormComponentHeaders.php000064400000002362146412132660020201 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetConditionFormComponentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/GetConditionFormComponentRequest.php000064400000002312146412132660020251 0ustar00 'agentId', 'processCode' => 'processCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } return $res; } /** * @param array $map * * @return GetConditionFormComponentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } return $model; } } src/workflow_1_0/Models/GetConditionFormComponentResponse.php000064400000003002146412132660020414 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetConditionFormComponentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetConditionFormComponentResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/GetConditionFormComponentResponseBody.php000064400000002650146412132660021242 0ustar00 '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 GetConditionFormComponentResponseBody */ 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/workflow_1_0/Models/GetConditionFormComponentResponseBody/result.php000064400000002143146412132660022555 0ustar00 'id', 'label' => 'label', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->label) { $res['label'] = $this->label; } 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['label'])) { $model->label = $map['label']; } return $model; } } src/workflow_1_0/Models/GetCrmProcCodesHeaders.php000064400000002336146412132660016070 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCrmProcCodesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/GetCrmProcCodesResponse.php000064400000002732146412132660016313 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCrmProcCodesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCrmProcCodesResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/GetCrmProcCodesResponseBody.php000064400000001577146412132660017137 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetCrmProcCodesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = $map['result']; } } return $model; } } src/workflow_1_0/Models/GetManageProcessByStaffIdHeaders.php000064400000002362146412132660020027 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetManageProcessByStaffIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/GetManageProcessByStaffIdRequest.php000064400000001556146412132660020110 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetManageProcessByStaffIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/GetManageProcessByStaffIdResponse.php000064400000003002146412132660020242 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetManageProcessByStaffIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetManageProcessByStaffIdResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/GetManageProcessByStaffIdResponseBody.php000064400000003332146412132660021066 0ustar00 '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 GetManageProcessByStaffIdResponseBody */ 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/workflow_1_0/Models/GetManageProcessByStaffIdResponseBody/result.php000064400000005701146412132660022406 0ustar00 'attendanceType', 'flowTitle' => 'flowTitle', 'gmtModified' => 'gmtModified', 'iconName' => 'iconName', 'iconUrl' => 'iconUrl', 'newProcess' => 'newProcess', 'processCode' => 'processCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendanceType) { $res['attendanceType'] = $this->attendanceType; } if (null !== $this->flowTitle) { $res['flowTitle'] = $this->flowTitle; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->iconName) { $res['iconName'] = $this->iconName; } if (null !== $this->iconUrl) { $res['iconUrl'] = $this->iconUrl; } if (null !== $this->newProcess) { $res['newProcess'] = $this->newProcess; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendanceType'])) { $model->attendanceType = $map['attendanceType']; } if (isset($map['flowTitle'])) { $model->flowTitle = $map['flowTitle']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['iconName'])) { $model->iconName = $map['iconName']; } if (isset($map['iconUrl'])) { $model->iconUrl = $map['iconUrl']; } if (isset($map['newProcess'])) { $model->newProcess = $map['newProcess']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } return $model; } } src/workflow_1_0/Models/GetProcessCodeByNameHeaders.php000064400000002350146412132660017046 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetProcessCodeByNameHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/GetProcessCodeByNameRequest.php000064400000001512146412132660017122 0ustar00 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return GetProcessCodeByNameRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/workflow_1_0/Models/GetProcessCodeByNameResponse.php000064400000002756146412132660017303 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetProcessCodeByNameResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetProcessCodeByNameResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/GetProcessCodeByNameResponseBody.php000064400000001741146412132660020112 0ustar00 '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 GetProcessCodeByNameResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/workflow_1_0/Models/GetProcessCodeByNameResponseBody/result.php000064400000001620146412132660021424 0ustar00 'processCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } return $model; } } src/workflow_1_0/Models/GetProcessConfigHeaders.php000064400000002340146412132660016304 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetProcessConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/GetProcessConfigRequest.php000064400000001614146412132660016364 0ustar00 'procCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->procCode) { $res['procCode'] = $this->procCode; } return $res; } /** * @param array $map * * @return GetProcessConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['procCode'])) { $model->procCode = $map['procCode']; } return $model; } } src/workflow_1_0/Models/GetProcessConfigResponse.php000064400000002736146412132660016540 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetProcessConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetProcessConfigResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/GetProcessConfigResponseBody.php000064400000001725146412132660017353 0ustar00 '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 GetProcessConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/workflow_1_0/Models/GetProcessConfigResponseBody/result.php000064400000021726146412132660020674 0ustar00 'abstractGenRule', 'activityAuth' => 'activityAuth', 'allowRevoke' => 'allowRevoke', 'appendEnable' => 'appendEnable', 'autoExecuteOriginatorTasks' => 'autoExecuteOriginatorTasks', 'bizCategoryId' => 'bizCategoryId', 'bizType' => 'bizType', 'commentConf' => 'commentConf', 'duplicateRemoval' => 'duplicateRemoval', 'formSchema' => 'formSchema', 'handSignConf' => 'handSignConf', 'managers' => 'managers', 'name' => 'name', 'processAppType' => 'processAppType', 'processConfig' => 'processConfig', 'staticProc' => 'staticProc', 'substituteSubmitConf' => 'substituteSubmitConf', 'titleGenRule' => 'titleGenRule', 'visibility' => 'visibility', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->abstractGenRule) { $res['abstractGenRule'] = $this->abstractGenRule; } if (null !== $this->activityAuth) { $res['activityAuth'] = $this->activityAuth; } if (null !== $this->allowRevoke) { $res['allowRevoke'] = $this->allowRevoke; } if (null !== $this->appendEnable) { $res['appendEnable'] = $this->appendEnable; } if (null !== $this->autoExecuteOriginatorTasks) { $res['autoExecuteOriginatorTasks'] = $this->autoExecuteOriginatorTasks; } if (null !== $this->bizCategoryId) { $res['bizCategoryId'] = $this->bizCategoryId; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->commentConf) { $res['commentConf'] = null !== $this->commentConf ? $this->commentConf->toMap() : null; } if (null !== $this->duplicateRemoval) { $res['duplicateRemoval'] = $this->duplicateRemoval; } if (null !== $this->formSchema) { $res['formSchema'] = $this->formSchema; } if (null !== $this->handSignConf) { $res['handSignConf'] = null !== $this->handSignConf ? $this->handSignConf->toMap() : null; } if (null !== $this->managers) { $res['managers'] = $this->managers; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->processAppType) { $res['processAppType'] = $this->processAppType; } if (null !== $this->processConfig) { $res['processConfig'] = $this->processConfig; } if (null !== $this->staticProc) { $res['staticProc'] = $this->staticProc; } if (null !== $this->substituteSubmitConf) { $res['substituteSubmitConf'] = null !== $this->substituteSubmitConf ? $this->substituteSubmitConf->toMap() : null; } if (null !== $this->titleGenRule) { $res['titleGenRule'] = null !== $this->titleGenRule ? $this->titleGenRule->toMap() : null; } if (null !== $this->visibility) { $res['visibility'] = []; if (null !== $this->visibility && \is_array($this->visibility)) { $n = 0; foreach ($this->visibility as $item) { $res['visibility'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['abstractGenRule'])) { if (!empty($map['abstractGenRule'])) { $model->abstractGenRule = $map['abstractGenRule']; } } if (isset($map['activityAuth'])) { $model->activityAuth = $map['activityAuth']; } if (isset($map['allowRevoke'])) { $model->allowRevoke = $map['allowRevoke']; } if (isset($map['appendEnable'])) { $model->appendEnable = $map['appendEnable']; } if (isset($map['autoExecuteOriginatorTasks'])) { $model->autoExecuteOriginatorTasks = $map['autoExecuteOriginatorTasks']; } if (isset($map['bizCategoryId'])) { $model->bizCategoryId = $map['bizCategoryId']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['commentConf'])) { $model->commentConf = commentConf::fromMap($map['commentConf']); } if (isset($map['duplicateRemoval'])) { $model->duplicateRemoval = $map['duplicateRemoval']; } if (isset($map['formSchema'])) { $model->formSchema = $map['formSchema']; } if (isset($map['handSignConf'])) { $model->handSignConf = handSignConf::fromMap($map['handSignConf']); } if (isset($map['managers'])) { if (!empty($map['managers'])) { $model->managers = $map['managers']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['processAppType'])) { $model->processAppType = $map['processAppType']; } if (isset($map['processConfig'])) { $model->processConfig = $map['processConfig']; } if (isset($map['staticProc'])) { $model->staticProc = $map['staticProc']; } if (isset($map['substituteSubmitConf'])) { $model->substituteSubmitConf = substituteSubmitConf::fromMap($map['substituteSubmitConf']); } if (isset($map['titleGenRule'])) { $model->titleGenRule = titleGenRule::fromMap($map['titleGenRule']); } if (isset($map['visibility'])) { if (!empty($map['visibility'])) { $model->visibility = []; $n = 0; foreach ($map['visibility'] as $item) { $model->visibility[$n++] = null !== $item ? visibility::fromMap($item) : $item; } } } return $model; } } src/workflow_1_0/Models/GetProcessConfigResponseBody/result/commentConf.php000064400000003357146412132660023144 0ustar00 'commentDescription', 'commentHiddenForProposer' => 'commentHiddenForProposer', 'commentRequired' => 'commentRequired', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commentDescription) { $res['commentDescription'] = $this->commentDescription; } if (null !== $this->commentHiddenForProposer) { $res['commentHiddenForProposer'] = $this->commentHiddenForProposer; } if (null !== $this->commentRequired) { $res['commentRequired'] = $this->commentRequired; } return $res; } /** * @param array $map * * @return commentConf */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commentDescription'])) { $model->commentDescription = $map['commentDescription']; } if (isset($map['commentHiddenForProposer'])) { $model->commentHiddenForProposer = $map['commentHiddenForProposer']; } if (isset($map['commentRequired'])) { $model->commentRequired = $map['commentRequired']; } return $model; } } src/workflow_1_0/Models/GetProcessConfigResponseBody/result/handSignConf.php000064400000002321146412132660023223 0ustar00 'handSignEnable', 'resignEnable' => 'resignEnable', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->handSignEnable) { $res['handSignEnable'] = $this->handSignEnable; } if (null !== $this->resignEnable) { $res['resignEnable'] = $this->resignEnable; } return $res; } /** * @param array $map * * @return handSignConf */ public static function fromMap($map = []) { $model = new self(); if (isset($map['handSignEnable'])) { $model->handSignEnable = $map['handSignEnable']; } if (isset($map['resignEnable'])) { $model->resignEnable = $map['resignEnable']; } return $model; } } src/workflow_1_0/Models/GetProcessConfigResponseBody/result/substituteSubmitConf.php000064400000003516146412132660025076 0ustar00 'enable', 'submitterList' => 'submitterList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enable) { $res['enable'] = $this->enable; } if (null !== $this->submitterList) { $res['submitterList'] = []; if (null !== $this->submitterList && \is_array($this->submitterList)) { $n = 0; foreach ($this->submitterList as $item) { $res['submitterList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return substituteSubmitConf */ public static function fromMap($map = []) { $model = new self(); if (isset($map['enable'])) { $model->enable = $map['enable']; } if (isset($map['submitterList'])) { if (!empty($map['submitterList'])) { $model->submitterList = []; $n = 0; foreach ($map['submitterList'] as $item) { $model->submitterList[$n++] = null !== $item ? submitterList::fromMap($item) : $item; } } } return $model; } } src/workflow_1_0/Models/GetProcessConfigResponseBody/result/substituteSubmitConf/submitterList.php000064400000002663146412132660027752 0ustar00 'name', 'type' => 'type', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return submitterList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/workflow_1_0/Models/GetProcessConfigResponseBody/result/titleGenRule.php000064400000002242146412132660023267 0ustar00 'express', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->express) { $res['express'] = $this->express; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return titleGenRule */ public static function fromMap($map = []) { $model = new self(); if (isset($map['express'])) { $model->express = $map['express']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/workflow_1_0/Models/GetProcessConfigResponseBody/result/visibility.php000064400000002157146412132660023060 0ustar00 '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 visibility */ 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/workflow_1_0/Models/GetProcessInstanceHeaders.php000064400000002344146412132660016647 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetProcessInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/GetProcessInstanceRequest.php000064400000001707146412132660016726 0ustar00 'processInstanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } return $res; } /** * @param array $map * * @return GetProcessInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } return $model; } } src/workflow_1_0/Models/GetProcessInstanceResponse.php000064400000002746146412132660017100 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetProcessInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetProcessInstanceResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/GetProcessInstanceResponseBody.php000064400000002417146412132660017711 0ustar00 '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 GetProcessInstanceResponseBody */ 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/workflow_1_0/Models/GetProcessInstanceResponseBody/result.php000064400000022247146412132660021232 0ustar00 'approverUserIds', 'attachedProcessInstanceIds' => 'attachedProcessInstanceIds', 'bizAction' => 'bizAction', 'bizData' => 'bizData', 'businessId' => 'businessId', 'ccUserIds' => 'ccUserIds', 'createTime' => 'createTime', 'finishTime' => 'finishTime', 'formComponentValues' => 'formComponentValues', 'mainProcessInstanceId' => 'mainProcessInstanceId', 'operationRecords' => 'operationRecords', 'originatorDeptId' => 'originatorDeptId', 'originatorDeptName' => 'originatorDeptName', 'originatorUserId' => 'originatorUserId', 'result' => 'result', 'status' => 'status', 'tasks' => 'tasks', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approverUserIds) { $res['approverUserIds'] = $this->approverUserIds; } if (null !== $this->attachedProcessInstanceIds) { $res['attachedProcessInstanceIds'] = $this->attachedProcessInstanceIds; } if (null !== $this->bizAction) { $res['bizAction'] = $this->bizAction; } if (null !== $this->bizData) { $res['bizData'] = $this->bizData; } if (null !== $this->businessId) { $res['businessId'] = $this->businessId; } if (null !== $this->ccUserIds) { $res['ccUserIds'] = $this->ccUserIds; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->finishTime) { $res['finishTime'] = $this->finishTime; } if (null !== $this->formComponentValues) { $res['formComponentValues'] = []; if (null !== $this->formComponentValues && \is_array($this->formComponentValues)) { $n = 0; foreach ($this->formComponentValues as $item) { $res['formComponentValues'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->mainProcessInstanceId) { $res['mainProcessInstanceId'] = $this->mainProcessInstanceId; } if (null !== $this->operationRecords) { $res['operationRecords'] = []; if (null !== $this->operationRecords && \is_array($this->operationRecords)) { $n = 0; foreach ($this->operationRecords as $item) { $res['operationRecords'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->originatorDeptId) { $res['originatorDeptId'] = $this->originatorDeptId; } if (null !== $this->originatorDeptName) { $res['originatorDeptName'] = $this->originatorDeptName; } if (null !== $this->originatorUserId) { $res['originatorUserId'] = $this->originatorUserId; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->tasks) { $res['tasks'] = []; if (null !== $this->tasks && \is_array($this->tasks)) { $n = 0; foreach ($this->tasks as $item) { $res['tasks'][$n++] = null !== $item ? $item->toMap() : $item; } } } 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['approverUserIds'])) { if (!empty($map['approverUserIds'])) { $model->approverUserIds = $map['approverUserIds']; } } if (isset($map['attachedProcessInstanceIds'])) { if (!empty($map['attachedProcessInstanceIds'])) { $model->attachedProcessInstanceIds = $map['attachedProcessInstanceIds']; } } if (isset($map['bizAction'])) { $model->bizAction = $map['bizAction']; } if (isset($map['bizData'])) { $model->bizData = $map['bizData']; } if (isset($map['businessId'])) { $model->businessId = $map['businessId']; } if (isset($map['ccUserIds'])) { if (!empty($map['ccUserIds'])) { $model->ccUserIds = $map['ccUserIds']; } } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['finishTime'])) { $model->finishTime = $map['finishTime']; } if (isset($map['formComponentValues'])) { if (!empty($map['formComponentValues'])) { $model->formComponentValues = []; $n = 0; foreach ($map['formComponentValues'] as $item) { $model->formComponentValues[$n++] = null !== $item ? formComponentValues::fromMap($item) : $item; } } } if (isset($map['mainProcessInstanceId'])) { $model->mainProcessInstanceId = $map['mainProcessInstanceId']; } if (isset($map['operationRecords'])) { if (!empty($map['operationRecords'])) { $model->operationRecords = []; $n = 0; foreach ($map['operationRecords'] as $item) { $model->operationRecords[$n++] = null !== $item ? operationRecords::fromMap($item) : $item; } } } if (isset($map['originatorDeptId'])) { $model->originatorDeptId = $map['originatorDeptId']; } if (isset($map['originatorDeptName'])) { $model->originatorDeptName = $map['originatorDeptName']; } if (isset($map['originatorUserId'])) { $model->originatorUserId = $map['originatorUserId']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['tasks'])) { if (!empty($map['tasks'])) { $model->tasks = []; $n = 0; foreach ($map['tasks'] as $item) { $model->tasks[$n++] = null !== $item ? tasks::fromMap($item) : $item; } } } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/workflow_1_0/Models/GetProcessInstanceResponseBody/result/formComponentValues.php000064400000004705146412132660025237 0ustar00 'bizAlias', 'componentType' => 'componentType', 'extValue' => 'extValue', 'id' => 'id', 'name' => 'name', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->componentType) { $res['componentType'] = $this->componentType; } if (null !== $this->extValue) { $res['extValue'] = $this->extValue; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return formComponentValues */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['componentType'])) { $model->componentType = $map['componentType']; } if (isset($map['extValue'])) { $model->extValue = $map['extValue']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/workflow_1_0/Models/GetProcessInstanceResponseBody/result/operationRecords.php000064400000006551146412132660024554 0ustar00 'attachments', 'ccUserIds' => 'ccUserIds', 'date' => 'date', 'remark' => 'remark', 'result' => 'result', 'type' => 'type', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->ccUserIds) { $res['ccUserIds'] = $this->ccUserIds; } if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return operationRecords */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['ccUserIds'])) { if (!empty($map['ccUserIds'])) { $model->ccUserIds = $map['ccUserIds']; } } if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/GetProcessInstanceResponseBody/result/operationRecords/attachments.php000064400000003460146412132660027063 0ustar00 'fileId', 'fileName' => 'fileName', 'fileSize' => 'fileSize', 'fileType' => 'fileType', ]; 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; } return $res; } /** * @param array $map * * @return attachments */ 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']; } return $model; } } src/workflow_1_0/Models/GetProcessInstanceResponseBody/result/tasks.php000064400000007504146412132660022356 0ustar00 'activityId', 'createTime' => 'createTime', 'finishTime' => 'finishTime', 'mobileUrl' => 'mobileUrl', 'pcUrl' => 'pcUrl', 'processInstanceId' => 'processInstanceId', 'result' => 'result', 'status' => 'status', 'taskId' => 'taskId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->finishTime) { $res['finishTime'] = $this->finishTime; } if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return tasks */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['finishTime'])) { $model->finishTime = $map['finishTime']; } if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/GetSpaceWithDownloadAuthHeaders.php000064400000002360146412132660017743 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSpaceWithDownloadAuthHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/GetSpaceWithDownloadAuthRequest.php000064400000004377146412132660020032 0ustar00 'agentId', 'fileId' => 'fileId', 'fileIdList' => 'fileIdList', 'processInstanceId' => 'processInstanceId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->fileIdList) { $res['fileIdList'] = $this->fileIdList; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetSpaceWithDownloadAuthRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['fileIdList'])) { if (!empty($map['fileIdList'])) { $model->fileIdList = $map['fileIdList']; } } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/GetSpaceWithDownloadAuthResponse.php000064400000002776146412132660020201 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSpaceWithDownloadAuthResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSpaceWithDownloadAuthResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/GetSpaceWithDownloadAuthResponseBody.php000064400000002437146412132660021011 0ustar00 '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 GetSpaceWithDownloadAuthResponseBody */ 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/workflow_1_0/Models/GetSpaceWithDownloadAuthResponseBody/result.php000064400000001544146412132660022325 0ustar00 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/workflow_1_0/Models/GetUserTodoTaskSumHeaders.php000064400000002344146412132660016620 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserTodoTaskSumHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/GetUserTodoTaskSumRequest.php000064400000001537146412132660016700 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetUserTodoTaskSumRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/GetUserTodoTaskSumResponse.php000064400000002746146412132660017051 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserTodoTaskSumResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserTodoTaskSumResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/GetUserTodoTaskSumResponseBody.php000064400000001536146412132660017663 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetUserTodoTaskSumResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/workflow_1_0/Models/GrantCspaceAuthorizationHeaders.php000064400000002360146412132660020055 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GrantCspaceAuthorizationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/GrantCspaceAuthorizationRequest.php000064400000003525146412132660020136 0ustar00 'durationSeconds', 'spaceId' => 'spaceId', 'type' => 'type', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->durationSeconds) { $res['durationSeconds'] = $this->durationSeconds; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GrantCspaceAuthorizationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['durationSeconds'])) { $model->durationSeconds = $map['durationSeconds']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/GrantCspaceAuthorizationResponse.php000064400000002210146412132660020272 0ustar00 '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 GrantCspaceAuthorizationResponse */ 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/workflow_1_0/Models/GrantProcessInstanceForDownloadFileHeaders.php000064400000002406146412132660022141 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GrantProcessInstanceForDownloadFileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/GrantProcessInstanceForDownloadFileRequest.php000064400000002445146412132660022221 0ustar00 'fileId', 'processInstanceId' => 'processInstanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } return $res; } /** * @param array $map * * @return GrantProcessInstanceForDownloadFileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } return $model; } } src/workflow_1_0/Models/GrantProcessInstanceForDownloadFileResponse.php000064400000003052146412132660022362 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GrantProcessInstanceForDownloadFileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GrantProcessInstanceForDownloadFileResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/GrantProcessInstanceForDownloadFileResponseBody.php000064400000002500146412132660023175 0ustar00 '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 GrantProcessInstanceForDownloadFileResponseBody */ 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/workflow_1_0/Models/GrantProcessInstanceForDownloadFileResponseBody/result.php000064400000003070146412132660024516 0ustar00 'downloadUri', 'fileId' => 'fileId', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->downloadUri) { $res['downloadUri'] = $this->downloadUri; } if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['downloadUri'])) { $model->downloadUri = $map['downloadUri']; } if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/workflow_1_0/Models/InstallAppHeaders.php000064400000002324146412132660015151 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InstallAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/InstallAppRequest.php000064400000003240146412132660015224 0ustar00 'bizGroup', 'installOption' => 'installOption', 'sourceDirName' => 'sourceDirName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizGroup) { $res['bizGroup'] = $this->bizGroup; } if (null !== $this->installOption) { $res['installOption'] = null !== $this->installOption ? $this->installOption->toMap() : null; } if (null !== $this->sourceDirName) { $res['sourceDirName'] = $this->sourceDirName; } return $res; } /** * @param array $map * * @return InstallAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizGroup'])) { $model->bizGroup = $map['bizGroup']; } if (isset($map['installOption'])) { $model->installOption = installOption::fromMap($map['installOption']); } if (isset($map['sourceDirName'])) { $model->sourceDirName = $map['sourceDirName']; } return $model; } } src/workflow_1_0/Models/InstallAppRequest/installOption.php000064400000001465146412132660020072 0ustar00 'isSync', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isSync) { $res['isSync'] = $this->isSync; } return $res; } /** * @param array $map * * @return installOption */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isSync'])) { $model->isSync = $map['isSync']; } return $model; } } src/workflow_1_0/Models/InstallAppResponse.php000064400000002706146412132660015400 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InstallAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InstallAppResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/InstallAppResponseBody.php000064400000002573146412132660016220 0ustar00 '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 InstallAppResponseBody */ 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/workflow_1_0/Models/InstallAppResponseBody/result.php000064400000002717146412132660017536 0ustar00 'bizType', 'name' => 'name', 'processCode' => 'processCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } 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['name'])) { $model->name = $map['name']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } return $model; } } src/workflow_1_0/Models/ListProcessInstanceIdsHeaders.php000064400000002354146412132660017504 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListProcessInstanceIdsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/ListProcessInstanceIdsRequest.php000064400000005552146412132660017564 0ustar00 'endTime', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'processCode' => 'processCode', 'startTime' => 'startTime', 'statuses' => 'statuses', 'userIds' => 'userIds', ]; 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->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->statuses) { $res['statuses'] = $this->statuses; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return ListProcessInstanceIdsRequest */ 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['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['statuses'])) { if (!empty($map['statuses'])) { $model->statuses = $map['statuses']; } } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/workflow_1_0/Models/ListProcessInstanceIdsResponse.php000064400000002766146412132660017736 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListProcessInstanceIdsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListProcessInstanceIdsResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/ListProcessInstanceIdsResponseBody.php000064400000002431146412132660020541 0ustar00 '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 ListProcessInstanceIdsResponseBody */ 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/workflow_1_0/Models/ListProcessInstanceIdsResponseBody/result.php000064400000002254146412132660022062 0ustar00 'list', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->list) { $res['list'] = $this->list; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = $map['list']; } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/workflow_1_0/Models/ListTodoWorkRecordsHeaders.php000064400000002346146412132660017034 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListTodoWorkRecordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/ListTodoWorkRecordsRequest.php000064400000003426146412132660017111 0ustar00 'maxResults', 'nextToken' => 'nextToken', 'status' => 'status', '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->status) { $res['status'] = $this->status; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ListTodoWorkRecordsRequest */ 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['status'])) { $model->status = $map['status']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/ListTodoWorkRecordsResponse.php000064400000002752146412132660017260 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListTodoWorkRecordsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListTodoWorkRecordsResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/ListTodoWorkRecordsResponseBody.php000064400000001736146412132660020077 0ustar00 '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 ListTodoWorkRecordsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/workflow_1_0/Models/ListTodoWorkRecordsResponseBody/result.php000064400000003225146412132660021410 0ustar00 '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 result */ 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/workflow_1_0/Models/ListTodoWorkRecordsResponseBody/result/list_.php000064400000005210146412132660022516 0ustar00 'forms', 'instanceId' => 'instanceId', 'taskId' => 'taskId', 'title' => 'title', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->forms) { $res['forms'] = []; if (null !== $this->forms && \is_array($this->forms)) { $n = 0; foreach ($this->forms as $item) { $res['forms'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->title) { $res['title'] = $this->title; } 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['forms'])) { if (!empty($map['forms'])) { $model->forms = []; $n = 0; foreach ($map['forms'] as $item) { $model->forms[$n++] = null !== $item ? forms::fromMap($item) : $item; } } } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/workflow_1_0/Models/ListTodoWorkRecordsResponseBody/result/list_/forms.php000064400000002235146412132660023650 0ustar00 'content', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return forms */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/workflow_1_0/Models/ListUserVisibleBpmsProcessesHeaders.php000064400000002370146412132660020704 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListUserVisibleBpmsProcessesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/ListUserVisibleBpmsProcessesRequest.php000064400000003001146412132660020751 0ustar00 '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 ListUserVisibleBpmsProcessesRequest */ 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/workflow_1_0/Models/ListUserVisibleBpmsProcessesResponse.php000064400000003016146412132660021125 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListUserVisibleBpmsProcessesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListUserVisibleBpmsProcessesResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/ListUserVisibleBpmsProcessesResponseBody.php000064400000001771146412132660021751 0ustar00 '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 ListUserVisibleBpmsProcessesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/workflow_1_0/Models/ListUserVisibleBpmsProcessesResponseBody/result.php000064400000003471146412132660023266 0ustar00 'nextToken', 'processList' => 'processList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->processList) { $res['processList'] = []; if (null !== $this->processList && \is_array($this->processList)) { $n = 0; foreach ($this->processList as $item) { $res['processList'][$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['processList'])) { if (!empty($map['processList'])) { $model->processList = []; $n = 0; foreach ($map['processList'] as $item) { $model->processList[$n++] = null !== $item ? processList::fromMap($item) : $item; } } } return $model; } } src/workflow_1_0/Models/ListUserVisibleBpmsProcessesResponseBody/result/processList.php000064400000004735146412132660025604 0ustar00 'dirId', 'dirName' => 'dirName', 'iconUrl' => 'iconUrl', 'name' => 'name', 'processCode' => 'processCode', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dirId) { $res['dirId'] = $this->dirId; } if (null !== $this->dirName) { $res['dirName'] = $this->dirName; } if (null !== $this->iconUrl) { $res['iconUrl'] = $this->iconUrl; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return processList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dirId'])) { $model->dirId = $map['dirId']; } if (isset($map['dirName'])) { $model->dirName = $map['dirName']; } if (isset($map['iconUrl'])) { $model->iconUrl = $map['iconUrl']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/workflow_1_0/Models/ProcessForecastHeaders.php000064400000002336146412132660016212 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ProcessForecastHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/ProcessForecastRequest.php000064400000005132146412132660016264 0ustar00 'deptId', 'formComponentValues' => 'formComponentValues', 'processCode' => 'processCode', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->formComponentValues) { $res['formComponentValues'] = []; if (null !== $this->formComponentValues && \is_array($this->formComponentValues)) { $n = 0; foreach ($this->formComponentValues as $item) { $res['formComponentValues'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ProcessForecastRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['formComponentValues'])) { if (!empty($map['formComponentValues'])) { $model->formComponentValues = []; $n = 0; foreach ($map['formComponentValues'] as $item) { $model->formComponentValues[$n++] = null !== $item ? formComponentValues::fromMap($item) : $item; } } } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/ProcessForecastRequest/formComponentValues.php000064400000006412146412132660022274 0ustar00 'bizAlias', 'componentType' => 'componentType', 'details' => 'details', 'extValue' => 'extValue', 'id' => 'id', 'name' => 'name', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->componentType) { $res['componentType'] = $this->componentType; } if (null !== $this->details) { $res['details'] = []; if (null !== $this->details && \is_array($this->details)) { $n = 0; foreach ($this->details as $item) { $res['details'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->extValue) { $res['extValue'] = $this->extValue; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return formComponentValues */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['componentType'])) { $model->componentType = $map['componentType']; } if (isset($map['details'])) { if (!empty($map['details'])) { $model->details = []; $n = 0; foreach ($map['details'] as $item) { $model->details[$n++] = null !== $item ? details::fromMap($item) : $item; } } } if (isset($map['extValue'])) { $model->extValue = $map['extValue']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/workflow_1_0/Models/ProcessForecastRequest/formComponentValues/details.php000064400000005772146412132660023731 0ustar00 'bizAlias', 'details' => 'details', 'extValue' => 'extValue', 'id' => 'id', 'name' => 'name', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->details) { $res['details'] = []; if (null !== $this->details && \is_array($this->details)) { $n = 0; foreach ($this->details as $item) { $res['details'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->extValue) { $res['extValue'] = $this->extValue; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return details */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['details'])) { if (!empty($map['details'])) { $model->details = []; $n = 0; foreach ($map['details'] as $item) { $model->details[$n++] = null !== $item ? \AlibabaCloud\SDK\Dingtalk\Vworkflow_1_0\Models\ProcessForecastRequest\formComponentValues\details\details::fromMap($item) : $item; } } } if (isset($map['extValue'])) { $model->extValue = $map['extValue']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/workflow_1_0/Models/ProcessForecastRequest/formComponentValues/details/details.php000064400000004620146412132660025345 0ustar00 'bizAlias', 'componentType' => 'componentType', 'extValue' => 'extValue', 'id' => 'id', 'name' => 'name', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->componentType) { $res['componentType'] = $this->componentType; } if (null !== $this->extValue) { $res['extValue'] = $this->extValue; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return details */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['componentType'])) { $model->componentType = $map['componentType']; } if (isset($map['extValue'])) { $model->extValue = $map['extValue']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/workflow_1_0/Models/ProcessForecastResponse.php000064400000002732146412132660016435 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ProcessForecastResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ProcessForecastResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/ProcessForecastResponseBody.php000064400000001722146412132660017251 0ustar00 '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 ProcessForecastResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/workflow_1_0/Models/ProcessForecastResponseBody/result.php000064400000011063146412132660020566 0ustar00 'isForecastSuccess', 'isStaticWorkflow' => 'isStaticWorkflow', 'processCode' => 'processCode', 'processId' => 'processId', 'userId' => 'userId', 'workflowActivityRules' => 'workflowActivityRules', 'workflowForecastNodes' => 'workflowForecastNodes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isForecastSuccess) { $res['isForecastSuccess'] = $this->isForecastSuccess; } if (null !== $this->isStaticWorkflow) { $res['isStaticWorkflow'] = $this->isStaticWorkflow; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->processId) { $res['processId'] = $this->processId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->workflowActivityRules) { $res['workflowActivityRules'] = []; if (null !== $this->workflowActivityRules && \is_array($this->workflowActivityRules)) { $n = 0; foreach ($this->workflowActivityRules as $item) { $res['workflowActivityRules'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->workflowForecastNodes) { $res['workflowForecastNodes'] = []; if (null !== $this->workflowForecastNodes && \is_array($this->workflowForecastNodes)) { $n = 0; foreach ($this->workflowForecastNodes as $item) { $res['workflowForecastNodes'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isForecastSuccess'])) { $model->isForecastSuccess = $map['isForecastSuccess']; } if (isset($map['isStaticWorkflow'])) { $model->isStaticWorkflow = $map['isStaticWorkflow']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['processId'])) { $model->processId = $map['processId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['workflowActivityRules'])) { if (!empty($map['workflowActivityRules'])) { $model->workflowActivityRules = []; $n = 0; foreach ($map['workflowActivityRules'] as $item) { $model->workflowActivityRules[$n++] = null !== $item ? workflowActivityRules::fromMap($item) : $item; } } } if (isset($map['workflowForecastNodes'])) { if (!empty($map['workflowForecastNodes'])) { $model->workflowForecastNodes = []; $n = 0; foreach ($map['workflowForecastNodes'] as $item) { $model->workflowForecastNodes[$n++] = null !== $item ? workflowForecastNodes::fromMap($item) : $item; } } } return $model; } } src/workflow_1_0/Models/ProcessForecastResponseBody/result/workflowActivityRules.php000064400000005617146412132660025200 0ustar00 'activityId', 'activityName' => 'activityName', 'activityType' => 'activityType', 'isTargetSelect' => 'isTargetSelect', 'prevActivityId' => 'prevActivityId', 'workflowActor' => 'workflowActor', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } if (null !== $this->activityName) { $res['activityName'] = $this->activityName; } if (null !== $this->activityType) { $res['activityType'] = $this->activityType; } if (null !== $this->isTargetSelect) { $res['isTargetSelect'] = $this->isTargetSelect; } if (null !== $this->prevActivityId) { $res['prevActivityId'] = $this->prevActivityId; } if (null !== $this->workflowActor) { $res['workflowActor'] = null !== $this->workflowActor ? $this->workflowActor->toMap() : null; } return $res; } /** * @param array $map * * @return workflowActivityRules */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } if (isset($map['activityName'])) { $model->activityName = $map['activityName']; } if (isset($map['activityType'])) { $model->activityType = $map['activityType']; } if (isset($map['isTargetSelect'])) { $model->isTargetSelect = $map['isTargetSelect']; } if (isset($map['prevActivityId'])) { $model->prevActivityId = $map['prevActivityId']; } if (isset($map['workflowActor'])) { $model->workflowActor = workflowActor::fromMap($map['workflowActor']); } return $model; } } src/workflow_1_0/Models/ProcessForecastResponseBody/result/workflowActivityRules/workflowActor.php000064400000010455146412132660030037 0ustar00 'actorActivateType', 'actorKey' => 'actorKey', 'actorSelectionRange' => 'actorSelectionRange', 'actorSelectionType' => 'actorSelectionType', 'actorType' => 'actorType', 'allowedMulti' => 'allowedMulti', 'approvalMethod' => 'approvalMethod', 'approvalType' => 'approvalType', 'required' => 'required', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actorActivateType) { $res['actorActivateType'] = $this->actorActivateType; } if (null !== $this->actorKey) { $res['actorKey'] = $this->actorKey; } if (null !== $this->actorSelectionRange) { $res['actorSelectionRange'] = null !== $this->actorSelectionRange ? $this->actorSelectionRange->toMap() : null; } if (null !== $this->actorSelectionType) { $res['actorSelectionType'] = $this->actorSelectionType; } if (null !== $this->actorType) { $res['actorType'] = $this->actorType; } if (null !== $this->allowedMulti) { $res['allowedMulti'] = $this->allowedMulti; } if (null !== $this->approvalMethod) { $res['approvalMethod'] = $this->approvalMethod; } if (null !== $this->approvalType) { $res['approvalType'] = $this->approvalType; } if (null !== $this->required) { $res['required'] = $this->required; } return $res; } /** * @param array $map * * @return workflowActor */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actorActivateType'])) { $model->actorActivateType = $map['actorActivateType']; } if (isset($map['actorKey'])) { $model->actorKey = $map['actorKey']; } if (isset($map['actorSelectionRange'])) { $model->actorSelectionRange = actorSelectionRange::fromMap($map['actorSelectionRange']); } if (isset($map['actorSelectionType'])) { $model->actorSelectionType = $map['actorSelectionType']; } if (isset($map['actorType'])) { $model->actorType = $map['actorType']; } if (isset($map['allowedMulti'])) { $model->allowedMulti = $map['allowedMulti']; } if (isset($map['approvalMethod'])) { $model->approvalMethod = $map['approvalMethod']; } if (isset($map['approvalType'])) { $model->approvalType = $map['approvalType']; } if (isset($map['required'])) { $model->required = $map['required']; } return $model; } } ProcessForecastResponseBody/result/workflowActivityRules/workflowActor/actorSelectionRange.php000064400000004717146412132660033717 0ustar00src/workflow_1_0/Models 'approvals', 'labels' => 'labels', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approvals) { $res['approvals'] = []; if (null !== $this->approvals && \is_array($this->approvals)) { $n = 0; foreach ($this->approvals as $item) { $res['approvals'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->labels) { $res['labels'] = []; if (null !== $this->labels && \is_array($this->labels)) { $n = 0; foreach ($this->labels as $item) { $res['labels'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return actorSelectionRange */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approvals'])) { if (!empty($map['approvals'])) { $model->approvals = []; $n = 0; foreach ($map['approvals'] as $item) { $model->approvals[$n++] = null !== $item ? approvals::fromMap($item) : $item; } } } if (isset($map['labels'])) { if (!empty($map['labels'])) { $model->labels = []; $n = 0; foreach ($map['labels'] as $item) { $model->labels[$n++] = null !== $item ? labels::fromMap($item) : $item; } } } return $model; } } result/workflowActivityRules/workflowActor/actorSelectionRange/approvals.php000064400000002232146412132660035714 0ustar00src/workflow_1_0/Models/ProcessForecastResponseBody 'userName', 'workNo' => 'workNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userName) { $res['userName'] = $this->userName; } if (null !== $this->workNo) { $res['workNo'] = $this->workNo; } return $res; } /** * @param array $map * * @return approvals */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userName'])) { $model->userName = $map['userName']; } if (isset($map['workNo'])) { $model->workNo = $map['workNo']; } return $model; } } result/workflowActivityRules/workflowActor/actorSelectionRange/labels.php000064400000002250146412132660035147 0ustar00src/workflow_1_0/Models/ProcessForecastResponseBody 'labelNames', 'labels' => 'labels', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->labelNames) { $res['labelNames'] = $this->labelNames; } if (null !== $this->labels) { $res['labels'] = $this->labels; } return $res; } /** * @param array $map * * @return labels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['labelNames'])) { $model->labelNames = $map['labelNames']; } if (isset($map['labels'])) { $model->labels = $map['labels']; } return $model; } } src/workflow_1_0/Models/ProcessForecastResponseBody/result/workflowForecastNodes.php000064400000002336146412132660025123 0ustar00 'activityId', 'outId' => 'outId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } if (null !== $this->outId) { $res['outId'] = $this->outId; } return $res; } /** * @param array $map * * @return workflowForecastNodes */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } if (isset($map['outId'])) { $model->outId = $map['outId']; } return $model; } } src/workflow_1_0/Models/QueryAllFormInstancesHeaders.php000064400000002352146412132660017335 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAllFormInstancesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/QueryAllFormInstancesRequest.php000064400000003532146412132660017413 0ustar00 'appUuid', 'formCode' => 'formCode', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return QueryAllFormInstancesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/workflow_1_0/Models/QueryAllFormInstancesResponse.php000064400000002762146412132660017565 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAllFormInstancesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAllFormInstancesResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/QueryAllFormInstancesResponseBody.php000064400000001744146412132660020402 0ustar00 '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 QueryAllFormInstancesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/workflow_1_0/Models/QueryAllFormInstancesResponseBody/result.php000064400000004524146412132660021717 0ustar00 '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/workflow_1_0/Models/QueryAllFormInstancesResponseBody/result/values.php000064400000012453146412132660023216 0ustar00 'appUuid', 'attributes' => 'attributes', 'createTimestamp' => 'createTimestamp', 'creator' => 'creator', 'formCode' => 'formCode', 'formInstDataList' => 'formInstDataList', 'formInstanceId' => 'formInstanceId', 'modifier' => 'modifier', 'modifyTimestamp' => 'modifyTimestamp', 'outBizCode' => 'outBizCode', 'outInstanceId' => 'outInstanceId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->attributes) { $res['attributes'] = $this->attributes; } if (null !== $this->createTimestamp) { $res['createTimestamp'] = $this->createTimestamp; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->formInstDataList) { $res['formInstDataList'] = []; if (null !== $this->formInstDataList && \is_array($this->formInstDataList)) { $n = 0; foreach ($this->formInstDataList as $item) { $res['formInstDataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } if (null !== $this->modifier) { $res['modifier'] = $this->modifier; } if (null !== $this->modifyTimestamp) { $res['modifyTimestamp'] = $this->modifyTimestamp; } if (null !== $this->outBizCode) { $res['outBizCode'] = $this->outBizCode; } if (null !== $this->outInstanceId) { $res['outInstanceId'] = $this->outInstanceId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return values */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['attributes'])) { $model->attributes = $map['attributes']; } if (isset($map['createTimestamp'])) { $model->createTimestamp = $map['createTimestamp']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['formInstDataList'])) { if (!empty($map['formInstDataList'])) { $model->formInstDataList = []; $n = 0; foreach ($map['formInstDataList'] as $item) { $model->formInstDataList[$n++] = null !== $item ? formInstDataList::fromMap($item) : $item; } } } if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } if (isset($map['modifier'])) { $model->modifier = $map['modifier']; } if (isset($map['modifyTimestamp'])) { $model->modifyTimestamp = $map['modifyTimestamp']; } if (isset($map['outBizCode'])) { $model->outBizCode = $map['outBizCode']; } if (isset($map['outInstanceId'])) { $model->outInstanceId = $map['outInstanceId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/workflow_1_0/Models/QueryAllFormInstancesResponseBody/result/values/formInstDataList.php000064400000004774146412132660026454 0ustar00 'bizAlias', 'componentType' => 'componentType', 'extendValue' => 'extendValue', 'key' => 'key', 'label' => 'label', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->componentType) { $res['componentType'] = $this->componentType; } if (null !== $this->extendValue) { $res['extendValue'] = $this->extendValue; } 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 formInstDataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['componentType'])) { $model->componentType = $map['componentType']; } if (isset($map['extendValue'])) { $model->extendValue = $map['extendValue']; } 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/workflow_1_0/Models/QueryAllProcessInstancesHeaders.php000064400000002360146412132660020047 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAllProcessInstancesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/QueryAllProcessInstancesRequest.php000064400000005213146412132660020124 0ustar00 'appUuid', 'endTimeInMills' => 'endTimeInMills', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'processCode' => 'processCode', 'startTimeInMills' => 'startTimeInMills', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->endTimeInMills) { $res['endTimeInMills'] = $this->endTimeInMills; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->startTimeInMills) { $res['startTimeInMills'] = $this->startTimeInMills; } return $res; } /** * @param array $map * * @return QueryAllProcessInstancesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['endTimeInMills'])) { $model->endTimeInMills = $map['endTimeInMills']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['startTimeInMills'])) { $model->startTimeInMills = $map['startTimeInMills']; } return $model; } } src/workflow_1_0/Models/QueryAllProcessInstancesResponse.php000064400000002776146412132660020305 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAllProcessInstancesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAllProcessInstancesResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/QueryAllProcessInstancesResponseBody.php000064400000001755146412132660021117 0ustar00 '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 QueryAllProcessInstancesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/workflow_1_0/Models/QueryAllProcessInstancesResponseBody/result.php000064400000004473146412132660022435 0ustar00 'hasMore', 'list' => 'list', 'maxResults' => 'maxResults', '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->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } 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['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/workflow_1_0/Models/QueryAllProcessInstancesResponseBody/result/list_.php000064400000017436146412132660023552 0ustar00 'attachedProcessInstanceIds', 'businessId' => 'businessId', 'createTime' => 'createTime', 'finishTime' => 'finishTime', 'formComponentValues' => 'formComponentValues', 'mainProcessInstanceId' => 'mainProcessInstanceId', 'operationRecords' => 'operationRecords', 'originatorDeptId' => 'originatorDeptId', 'originatorUserid' => 'originatorUserid', 'processInstanceId' => 'processInstanceId', 'result' => 'result', 'status' => 'status', 'tasks' => 'tasks', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachedProcessInstanceIds) { $res['attachedProcessInstanceIds'] = $this->attachedProcessInstanceIds; } if (null !== $this->businessId) { $res['businessId'] = $this->businessId; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->finishTime) { $res['finishTime'] = $this->finishTime; } if (null !== $this->formComponentValues) { $res['formComponentValues'] = []; if (null !== $this->formComponentValues && \is_array($this->formComponentValues)) { $n = 0; foreach ($this->formComponentValues as $item) { $res['formComponentValues'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->mainProcessInstanceId) { $res['mainProcessInstanceId'] = $this->mainProcessInstanceId; } if (null !== $this->operationRecords) { $res['operationRecords'] = []; if (null !== $this->operationRecords && \is_array($this->operationRecords)) { $n = 0; foreach ($this->operationRecords as $item) { $res['operationRecords'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->originatorDeptId) { $res['originatorDeptId'] = $this->originatorDeptId; } if (null !== $this->originatorUserid) { $res['originatorUserid'] = $this->originatorUserid; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->tasks) { $res['tasks'] = []; if (null !== $this->tasks && \is_array($this->tasks)) { $n = 0; foreach ($this->tasks as $item) { $res['tasks'][$n++] = null !== $item ? $item->toMap() : $item; } } } 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['attachedProcessInstanceIds'])) { $model->attachedProcessInstanceIds = $map['attachedProcessInstanceIds']; } if (isset($map['businessId'])) { $model->businessId = $map['businessId']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['finishTime'])) { $model->finishTime = $map['finishTime']; } if (isset($map['formComponentValues'])) { if (!empty($map['formComponentValues'])) { $model->formComponentValues = []; $n = 0; foreach ($map['formComponentValues'] as $item) { $model->formComponentValues[$n++] = null !== $item ? formComponentValues::fromMap($item) : $item; } } } if (isset($map['mainProcessInstanceId'])) { $model->mainProcessInstanceId = $map['mainProcessInstanceId']; } if (isset($map['operationRecords'])) { if (!empty($map['operationRecords'])) { $model->operationRecords = []; $n = 0; foreach ($map['operationRecords'] as $item) { $model->operationRecords[$n++] = null !== $item ? operationRecords::fromMap($item) : $item; } } } if (isset($map['originatorDeptId'])) { $model->originatorDeptId = $map['originatorDeptId']; } if (isset($map['originatorUserid'])) { $model->originatorUserid = $map['originatorUserid']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['tasks'])) { if (!empty($map['tasks'])) { $model->tasks = []; $n = 0; foreach ($map['tasks'] as $item) { $model->tasks[$n++] = null !== $item ? tasks::fromMap($item) : $item; } } } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/workflow_1_0/Models/QueryAllProcessInstancesResponseBody/result/list_/formComponentValues.php000064400000003375146412132660027555 0ustar00 'extValue', 'id' => 'id', 'name' => 'name', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extValue) { $res['extValue'] = $this->extValue; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return formComponentValues */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extValue'])) { $model->extValue = $map['extValue']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/workflow_1_0/Models/QueryAllProcessInstancesResponseBody/result/list_/operationRecords.php000064400000007072146412132660027067 0ustar00 'attachments', 'operationType' => 'operationType', 'remark' => 'remark', 'result' => 'result', 'timestamp' => 'timestamp', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operationType) { $res['operationType'] = $this->operationType; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return operationRecords */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['operationType'])) { $model->operationType = $map['operationType']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } Models/QueryAllProcessInstancesResponseBody/result/list_/operationRecords/attachments.php000064400000003471146412132660031322 0ustar00src/workflow_1_0 'fileId', 'fileName' => 'fileName', 'fileSize' => 'fileSize', 'fileType' => 'fileType', ]; 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; } return $res; } /** * @param array $map * * @return attachments */ 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']; } return $model; } } src/workflow_1_0/Models/QueryAllProcessInstancesResponseBody/result/list_/tasks.php000064400000006050146412132660024665 0ustar00 'activityId', 'createTimestamp' => 'createTimestamp', 'finishTimestamp' => 'finishTimestamp', 'result' => 'result', 'status' => 'status', 'taskId' => 'taskId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } if (null !== $this->createTimestamp) { $res['createTimestamp'] = $this->createTimestamp; } if (null !== $this->finishTimestamp) { $res['finishTimestamp'] = $this->finishTimestamp; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return tasks */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } if (isset($map['createTimestamp'])) { $model->createTimestamp = $map['createTimestamp']; } if (isset($map['finishTimestamp'])) { $model->finishTimestamp = $map['finishTimestamp']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/QueryFormByBizTypeHeaders.php000064400000002344146412132660016637 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryFormByBizTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/QueryFormByBizTypeRequest.php000064400000002323146412132660016711 0ustar00 'appUuid', 'bizTypes' => 'bizTypes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->bizTypes) { $res['bizTypes'] = $this->bizTypes; } return $res; } /** * @param array $map * * @return QueryFormByBizTypeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['bizTypes'])) { if (!empty($map['bizTypes'])) { $model->bizTypes = $map['bizTypes']; } } return $model; } } src/workflow_1_0/Models/QueryFormByBizTypeResponse.php000064400000002746146412132660017070 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryFormByBizTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryFormByBizTypeResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/QueryFormByBizTypeResponseBody.php000064400000002623146412132660017700 0ustar00 '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 QueryFormByBizTypeResponseBody */ 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/workflow_1_0/Models/QueryFormByBizTypeResponseBody/result.php000064400000011212146412132660021210 0ustar00 'appType', 'appUuid' => 'appUuid', 'bizType' => 'bizType', 'content' => 'content', 'createTime' => 'createTime', 'creator' => 'creator', 'formCode' => 'formCode', 'formUuid' => 'formUuid', 'memo' => 'memo', 'modifedTime' => 'modifedTime', 'name' => 'name', 'ownerId' => 'ownerId', 'status' => 'status', ]; 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->content) { $res['content'] = $this->content; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->memo) { $res['memo'] = $this->memo; } if (null !== $this->modifedTime) { $res['modifedTime'] = $this->modifedTime; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->ownerId) { $res['ownerId'] = $this->ownerId; } 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['appType'])) { $model->appType = $map['appType']; } if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['memo'])) { $model->memo = $map['memo']; } if (isset($map['modifedTime'])) { $model->modifedTime = $map['modifedTime']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['ownerId'])) { $model->ownerId = $map['ownerId']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/workflow_1_0/Models/QueryFormInstanceHeaders.php000064400000002342146412132660016520 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryFormInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/QueryFormInstanceRequest.php000064400000003122146412132660016572 0ustar00 'appUuid', 'formCode' => 'formCode', 'formInstanceId' => 'formInstanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } return $res; } /** * @param array $map * * @return QueryFormInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } return $model; } } src/workflow_1_0/Models/QueryFormInstanceResponse.php000064400000002742146412132660016747 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryFormInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryFormInstanceResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/QueryFormInstanceResponseBody.php000064400000012525146412132660017565 0ustar00 'appUuid', 'attributes' => 'attributes', 'createTimestamp' => 'createTimestamp', 'creator' => 'creator', 'formCode' => 'formCode', 'formInstDataList' => 'formInstDataList', 'formInstanceId' => 'formInstanceId', 'modifier' => 'modifier', 'modifyTimestamp' => 'modifyTimestamp', 'outBizCode' => 'outBizCode', 'outInstanceId' => 'outInstanceId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->attributes) { $res['attributes'] = $this->attributes; } if (null !== $this->createTimestamp) { $res['createTimestamp'] = $this->createTimestamp; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->formInstDataList) { $res['formInstDataList'] = []; if (null !== $this->formInstDataList && \is_array($this->formInstDataList)) { $n = 0; foreach ($this->formInstDataList as $item) { $res['formInstDataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } if (null !== $this->modifier) { $res['modifier'] = $this->modifier; } if (null !== $this->modifyTimestamp) { $res['modifyTimestamp'] = $this->modifyTimestamp; } if (null !== $this->outBizCode) { $res['outBizCode'] = $this->outBizCode; } if (null !== $this->outInstanceId) { $res['outInstanceId'] = $this->outInstanceId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return QueryFormInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['attributes'])) { $model->attributes = $map['attributes']; } if (isset($map['createTimestamp'])) { $model->createTimestamp = $map['createTimestamp']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['formInstDataList'])) { if (!empty($map['formInstDataList'])) { $model->formInstDataList = []; $n = 0; foreach ($map['formInstDataList'] as $item) { $model->formInstDataList[$n++] = null !== $item ? formInstDataList::fromMap($item) : $item; } } } if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } if (isset($map['modifier'])) { $model->modifier = $map['modifier']; } if (isset($map['modifyTimestamp'])) { $model->modifyTimestamp = $map['modifyTimestamp']; } if (isset($map['outBizCode'])) { $model->outBizCode = $map['outBizCode']; } if (isset($map['outInstanceId'])) { $model->outInstanceId = $map['outInstanceId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/workflow_1_0/Models/QueryFormInstanceResponseBody/formInstDataList.php000064400000004401146412132660023006 0ustar00 'bizAlias', 'componentType' => 'componentType', 'extendValue' => 'extendValue', 'key' => 'key', 'label' => 'label', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->componentType) { $res['componentType'] = $this->componentType; } if (null !== $this->extendValue) { $res['extendValue'] = $this->extendValue; } 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 formInstDataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['componentType'])) { $model->componentType = $map['componentType']; } if (isset($map['extendValue'])) { $model->extendValue = $map['extendValue']; } 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/workflow_1_0/Models/QueryIntegratedTodoTaskHeaders.php000064400000002356146412132660017674 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryIntegratedTodoTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/QueryIntegratedTodoTaskRequest.php000064400000003532146412132660017746 0ustar00 'createBefore', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createBefore) { $res['createBefore'] = $this->createBefore; } 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 QueryIntegratedTodoTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createBefore'])) { $model->createBefore = $map['createBefore']; } 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/workflow_1_0/Models/QueryIntegratedTodoTaskResponse.php000064400000002772146412132660020121 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryIntegratedTodoTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryIntegratedTodoTaskResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/QueryIntegratedTodoTaskResponseBody.php000064400000001752146412132660020734 0ustar00 '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 QueryIntegratedTodoTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/workflow_1_0/Models/QueryIntegratedTodoTaskResponseBody/result.php000064400000003212146412132660022243 0ustar00 '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 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; } } } return $model; } } src/workflow_1_0/Models/QueryIntegratedTodoTaskResponseBody/result/list_.php000064400000006331146412132660023362 0ustar00 'activityId', 'createTime' => 'createTime', 'finishTime' => 'finishTime', 'processInstanceId' => 'processInstanceId', 'result' => 'result', 'status' => 'status', 'taskId' => 'taskId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->finishTime) { $res['finishTime'] = $this->finishTime; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } 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['activityId'])) { $model->activityId = $map['activityId']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['finishTime'])) { $model->finishTime = $map['finishTime']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/QueryProcessByBizCategoryIdHeaders.php000064400000002366146412132660020467 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryProcessByBizCategoryIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/QueryProcessByBizCategoryIdRequest.php000064400000002244146412132660020537 0ustar00 'bizType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryProcessByBizCategoryIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/QueryProcessByBizCategoryIdResponse.php000064400000003012146412132660020677 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryProcessByBizCategoryIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryProcessByBizCategoryIdResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/QueryProcessByBizCategoryIdResponseBody.php000064400000002656146412132660021532 0ustar00 '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 QueryProcessByBizCategoryIdResponseBody */ 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/workflow_1_0/Models/QueryProcessByBizCategoryIdResponseBody/result.php000064400000003275146412132660023046 0ustar00 'description', 'name' => 'name', 'processCode' => 'processCode', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } 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['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/workflow_1_0/Models/QuerySchemaAndProcessHeaders.php000064400000002352146412132660017313 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QuerySchemaAndProcessHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/QuerySchemaAndProcessRequest.php000064400000002314146412132660017366 0ustar00 'appUuid', 'processCode' => 'processCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } return $res; } /** * @param array $map * * @return QuerySchemaAndProcessRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } return $model; } } src/workflow_1_0/Models/QuerySchemaAndProcessResponse.php000064400000002762146412132660017543 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QuerySchemaAndProcessResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QuerySchemaAndProcessResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/QuerySchemaAndProcessResponseBody.php000064400000001744146412132660020360 0ustar00 '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 QuerySchemaAndProcessResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/workflow_1_0/Models/QuerySchemaAndProcessResponseBody/result.php000064400000004454146412132660021677 0ustar00 'appType', 'content' => 'content', 'handSignEnable' => 'handSignEnable', 'iconUrl' => 'iconUrl', 'name' => 'name', 'processConfig' => 'processConfig', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->handSignEnable) { $res['handSignEnable'] = $this->handSignEnable; } if (null !== $this->iconUrl) { $res['iconUrl'] = $this->iconUrl; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->processConfig) { $res['processConfig'] = $this->processConfig; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['handSignEnable'])) { $model->handSignEnable = $map['handSignEnable']; } if (isset($map['iconUrl'])) { $model->iconUrl = $map['iconUrl']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['processConfig'])) { $model->processConfig = $map['processConfig']; } return $model; } } src/workflow_1_0/Models/QuerySchemaByProcessCodeHeaders.php000064400000002360146412132660017755 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QuerySchemaByProcessCodeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/QuerySchemaByProcessCodeRequest.php000064400000002322146412132660020030 0ustar00 'appUuid', 'processCode' => 'processCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } return $res; } /** * @param array $map * * @return QuerySchemaByProcessCodeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } return $model; } } src/workflow_1_0/Models/QuerySchemaByProcessCodeResponse.php000064400000002776146412132660020213 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QuerySchemaByProcessCodeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QuerySchemaByProcessCodeResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/QuerySchemaByProcessCodeResponseBody.php000064400000001755146412132660021025 0ustar00 '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 QuerySchemaByProcessCodeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/workflow_1_0/Models/QuerySchemaByProcessCodeResponseBody/result.php000064400000015571146412132660022344 0ustar00 'appType', 'appUuid' => 'appUuid', 'bizType' => 'bizType', 'creatorUserId' => 'creatorUserId', 'customSetting' => 'customSetting', 'engineType' => 'engineType', 'formCode' => 'formCode', 'formUuid' => 'formUuid', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'icon' => 'icon', 'listOrder' => 'listOrder', 'memo' => 'memo', 'name' => 'name', 'ownerIdType' => 'ownerIdType', 'procType' => 'procType', 'schemaContent' => 'schemaContent', 'status' => 'status', 'visibleRange' => 'visibleRange', ]; 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->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->customSetting) { $res['customSetting'] = $this->customSetting; } if (null !== $this->engineType) { $res['engineType'] = $this->engineType; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->listOrder) { $res['listOrder'] = $this->listOrder; } if (null !== $this->memo) { $res['memo'] = $this->memo; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->ownerIdType) { $res['ownerIdType'] = $this->ownerIdType; } if (null !== $this->procType) { $res['procType'] = $this->procType; } if (null !== $this->schemaContent) { $res['schemaContent'] = null !== $this->schemaContent ? $this->schemaContent->toMap() : null; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->visibleRange) { $res['visibleRange'] = $this->visibleRange; } return $res; } /** * @param array $map * * @return result */ 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['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['customSetting'])) { $model->customSetting = $map['customSetting']; } if (isset($map['engineType'])) { $model->engineType = $map['engineType']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['listOrder'])) { $model->listOrder = $map['listOrder']; } if (isset($map['memo'])) { $model->memo = $map['memo']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['ownerIdType'])) { $model->ownerIdType = $map['ownerIdType']; } if (isset($map['procType'])) { $model->procType = $map['procType']; } if (isset($map['schemaContent'])) { $model->schemaContent = schemaContent::fromMap($map['schemaContent']); } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['visibleRange'])) { $model->visibleRange = $map['visibleRange']; } return $model; } } src/workflow_1_0/Models/QuerySchemaByProcessCodeResponseBody/result/schemaContent.php000064400000003752146412132660025135 0ustar00 'icon', 'items' => 'items', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->icon) { $res['icon'] = $this->icon; } 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->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return schemaContent */ public static function fromMap($map = []) { $model = new self(); if (isset($map['icon'])) { $model->icon = $map['icon']; } 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['title'])) { $model->title = $map['title']; } return $model; } } src/workflow_1_0/Models/QuerySchemaByProcessCodeResponseBody/result/schemaContent/items.php000064400000004421146412132660026250 0ustar00 '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/workflow_1_0/Models/QuerySchemaByProcessCodeResponseBody/result/schemaContent/items/children.php000064400000002602146412132660030037 0ustar00 '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; } } Models/QuerySchemaByProcessCodeResponseBody/result/schemaContent/items/children/props.php000064400000003735146412132660031133 0ustar00src/workflow_1_0 'bizAlias', 'id' => 'id', 'label' => 'label', 'options' => 'options', 'required' => 'required', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->options) { $res['options'] = $this->options; } if (null !== $this->required) { $res['required'] = $this->required; } return $res; } /** * @param array $map * * @return props */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = $map['options']; } } if (isset($map['required'])) { $model->required = $map['required']; } return $model; } } src/workflow_1_0/Models/QuerySchemaByProcessCodeResponseBody/result/schemaContent/items/props.php000064400000044546146412132660027427 0ustar00 'actionName', 'align' => 'align', 'appId' => 'appId', 'asyncCondition' => 'asyncCondition', 'attendTypeLabel' => 'attendTypeLabel', 'behaviorLinkage' => 'behaviorLinkage', 'bizAlias' => 'bizAlias', 'bizType' => 'bizType', 'childFieldVisible' => 'childFieldVisible', 'choice' => 'choice', 'commonBizType' => 'commonBizType', 'disabled' => 'disabled', 'duration' => 'duration', 'durationLabel' => 'durationLabel', 'eSign' => 'eSign', 'extract' => 'extract', 'fieldsInfo' => 'fieldsInfo', 'format' => 'format', 'formula' => 'formula', 'hidden' => 'hidden', 'hiddenInApprovalDetail' => 'hiddenInApprovalDetail', 'hideLabel' => 'hideLabel', 'holidayOptions' => 'holidayOptions', 'id' => 'id', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'link' => 'link', 'mainTitle' => 'mainTitle', 'notPrint' => 'notPrint', 'notUpper' => 'notUpper', 'objOptions' => 'objOptions', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'push' => 'push', 'pushToAttendance' => 'pushToAttendance', 'pushToCalendar' => 'pushToCalendar', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'showAttendOptions' => 'showAttendOptions', 'staffStatusEnabled' => 'staffStatusEnabled', 'statField' => 'statField', 'tableViewMode' => 'tableViewMode', 'unit' => 'unit', 'useCalendar' => 'useCalendar', 'verticalPrint' => 'verticalPrint', ]; 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->appId) { $res['appId'] = $this->appId; } if (null !== $this->asyncCondition) { $res['asyncCondition'] = $this->asyncCondition; } if (null !== $this->attendTypeLabel) { $res['attendTypeLabel'] = $this->attendTypeLabel; } 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->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->childFieldVisible) { $res['childFieldVisible'] = $this->childFieldVisible; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->commonBizType) { $res['commonBizType'] = $this->commonBizType; } 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->eSign) { $res['eSign'] = $this->eSign; } if (null !== $this->extract) { $res['extract'] = $this->extract; } if (null !== $this->fieldsInfo) { $res['fieldsInfo'] = $this->fieldsInfo; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->formula) { $res['formula'] = $this->formula; } if (null !== $this->hidden) { $res['hidden'] = $this->hidden; } if (null !== $this->hiddenInApprovalDetail) { $res['hiddenInApprovalDetail'] = $this->hiddenInApprovalDetail; } if (null !== $this->hideLabel) { $res['hideLabel'] = $this->hideLabel; } if (null !== $this->holidayOptions) { $res['holidayOptions'] = $this->holidayOptions; } if (null !== $this->id) { $res['id'] = $this->id; } 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->mainTitle) { $res['mainTitle'] = $this->mainTitle; } if (null !== $this->notPrint) { $res['notPrint'] = $this->notPrint; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->objOptions) { $res['objOptions'] = []; if (null !== $this->objOptions && \is_array($this->objOptions)) { $n = 0; foreach ($this->objOptions as $item) { $res['objOptions'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->options) { $res['options'] = $this->options; } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->push) { $res['push'] = null !== $this->push ? $this->push->toMap() : null; } if (null !== $this->pushToAttendance) { $res['pushToAttendance'] = $this->pushToAttendance; } if (null !== $this->pushToCalendar) { $res['pushToCalendar'] = $this->pushToCalendar; } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->showAttendOptions) { $res['showAttendOptions'] = $this->showAttendOptions; } if (null !== $this->staffStatusEnabled) { $res['staffStatusEnabled'] = $this->staffStatusEnabled; } 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->useCalendar) { $res['useCalendar'] = $this->useCalendar; } if (null !== $this->verticalPrint) { $res['verticalPrint'] = $this->verticalPrint; } 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['appId'])) { $model->appId = $map['appId']; } if (isset($map['asyncCondition'])) { $model->asyncCondition = $map['asyncCondition']; } if (isset($map['attendTypeLabel'])) { $model->attendTypeLabel = $map['attendTypeLabel']; } 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['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['childFieldVisible'])) { $model->childFieldVisible = $map['childFieldVisible']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['commonBizType'])) { $model->commonBizType = $map['commonBizType']; } 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['eSign'])) { $model->eSign = $map['eSign']; } if (isset($map['extract'])) { $model->extract = $map['extract']; } if (isset($map['fieldsInfo'])) { $model->fieldsInfo = $map['fieldsInfo']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['formula'])) { $model->formula = $map['formula']; } if (isset($map['hidden'])) { $model->hidden = $map['hidden']; } if (isset($map['hiddenInApprovalDetail'])) { $model->hiddenInApprovalDetail = $map['hiddenInApprovalDetail']; } if (isset($map['hideLabel'])) { $model->hideLabel = $map['hideLabel']; } if (isset($map['holidayOptions'])) { if (!empty($map['holidayOptions'])) { $model->holidayOptions = $map['holidayOptions']; } } if (isset($map['id'])) { $model->id = $map['id']; } 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['mainTitle'])) { $model->mainTitle = $map['mainTitle']; } if (isset($map['notPrint'])) { $model->notPrint = $map['notPrint']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['objOptions'])) { if (!empty($map['objOptions'])) { $model->objOptions = []; $n = 0; foreach ($map['objOptions'] as $item) { $model->objOptions[$n++] = null !== $item ? objOptions::fromMap($item) : $item; } } } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = $map['options']; } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['push'])) { $model->push = push::fromMap($map['push']); } if (isset($map['pushToAttendance'])) { $model->pushToAttendance = $map['pushToAttendance']; } if (isset($map['pushToCalendar'])) { $model->pushToCalendar = $map['pushToCalendar']; } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['showAttendOptions'])) { $model->showAttendOptions = $map['showAttendOptions']; } if (isset($map['staffStatusEnabled'])) { $model->staffStatusEnabled = $map['staffStatusEnabled']; } 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['useCalendar'])) { $model->useCalendar = $map['useCalendar']; } if (isset($map['verticalPrint'])) { $model->verticalPrint = $map['verticalPrint']; } return $model; } } Models/QuerySchemaByProcessCodeResponseBody/result/schemaContent/items/props/behaviorLinkage.php000064400000003447146412132660032435 0ustar00src/workflow_1_0 'targets', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; 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; } } } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return behaviorLinkage */ public static function fromMap($map = []) { $model = new self(); 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; } } } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } QuerySchemaByProcessCodeResponseBody/result/schemaContent/items/props/behaviorLinkage/targets.php000064400000002337146412132660034103 0ustar00src/workflow_1_0/Models '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; } } Models/QuerySchemaByProcessCodeResponseBody/result/schemaContent/items/props/objOptions.php000064400000001534146412132660031464 0ustar00src/workflow_1_0 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return objOptions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } workflow_1_0/Models/QuerySchemaByProcessCodeResponseBody/result/schemaContent/items/props/push.php000064400000003075146412132660030317 0ustar00src 'attendanceRule', 'pushSwitch' => 'pushSwitch', 'pushTag' => 'pushTag', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendanceRule) { $res['attendanceRule'] = $this->attendanceRule; } if (null !== $this->pushSwitch) { $res['pushSwitch'] = $this->pushSwitch; } if (null !== $this->pushTag) { $res['pushTag'] = $this->pushTag; } return $res; } /** * @param array $map * * @return push */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendanceRule'])) { $model->attendanceRule = $map['attendanceRule']; } if (isset($map['pushSwitch'])) { $model->pushSwitch = $map['pushSwitch']; } if (isset($map['pushTag'])) { $model->pushTag = $map['pushTag']; } return $model; } } Models/QuerySchemaByProcessCodeResponseBody/result/schemaContent/items/props/statField.php000064400000003320146412132660031250 0ustar00src/workflow_1_0 'id', 'label' => 'label', 'unit' => 'unit', 'upper' => 'upper', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } 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['id'])) { $model->id = $map['id']; } 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/workflow_1_0/Models/RedirectWorkflowTaskHeaders.php000064400000002350146412132660017220 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RedirectWorkflowTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/RedirectWorkflowTaskRequest.php000064400000005075146412132660017304 0ustar00 'actionName', 'file' => 'file', 'operateUserId' => 'operateUserId', 'remark' => 'remark', 'taskId' => 'taskId', 'toUserId' => 'toUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionName) { $res['actionName'] = $this->actionName; } if (null !== $this->file) { $res['file'] = null !== $this->file ? $this->file->toMap() : null; } if (null !== $this->operateUserId) { $res['operateUserId'] = $this->operateUserId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->toUserId) { $res['toUserId'] = $this->toUserId; } return $res; } /** * @param array $map * * @return RedirectWorkflowTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionName'])) { $model->actionName = $map['actionName']; } if (isset($map['file'])) { $model->file = file::fromMap($map['file']); } if (isset($map['operateUserId'])) { $model->operateUserId = $map['operateUserId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['toUserId'])) { $model->toUserId = $map['toUserId']; } return $model; } } src/workflow_1_0/Models/RedirectWorkflowTaskRequest/file.php000064400000003450146412132660020216 0ustar00 'attachments', 'photos' => 'photos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachments) { $res['attachments'] = []; if (null !== $this->attachments && \is_array($this->attachments)) { $n = 0; foreach ($this->attachments as $item) { $res['attachments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->photos) { $res['photos'] = $this->photos; } return $res; } /** * @param array $map * * @return file */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachments'])) { if (!empty($map['attachments'])) { $model->attachments = []; $n = 0; foreach ($map['attachments'] as $item) { $model->attachments[$n++] = null !== $item ? attachments::fromMap($item) : $item; } } } if (isset($map['photos'])) { if (!empty($map['photos'])) { $model->photos = $map['photos']; } } return $model; } } src/workflow_1_0/Models/RedirectWorkflowTaskRequest/file/attachments.php000064400000004127146412132660022533 0ustar00 '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 attachments */ 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/workflow_1_0/Models/RedirectWorkflowTaskResponse.php000064400000002756146412132660017455 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RedirectWorkflowTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RedirectWorkflowTaskResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/RedirectWorkflowTaskResponseBody.php000064400000001511146412132660020257 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return RedirectWorkflowTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/workflow_1_0/Models/ResultValue.php000064400000002067146412132660014065 0ustar00 'result', 'message' => 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return ResultValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/workflow_1_0/Models/SaveIntegratedInstanceHeaders.php000064400000002354146412132660017477 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveIntegratedInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/SaveIntegratedInstanceRequest.php000064400000010244146412132660017551 0ustar00 'bizData', 'formComponentValueList' => 'formComponentValueList', 'notifiers' => 'notifiers', 'originatorUserId' => 'originatorUserId', 'processCode' => 'processCode', 'title' => 'title', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizData) { $res['bizData'] = $this->bizData; } if (null !== $this->formComponentValueList) { $res['formComponentValueList'] = []; if (null !== $this->formComponentValueList && \is_array($this->formComponentValueList)) { $n = 0; foreach ($this->formComponentValueList as $item) { $res['formComponentValueList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->notifiers) { $res['notifiers'] = []; if (null !== $this->notifiers && \is_array($this->notifiers)) { $n = 0; foreach ($this->notifiers as $item) { $res['notifiers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->originatorUserId) { $res['originatorUserId'] = $this->originatorUserId; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return SaveIntegratedInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizData'])) { $model->bizData = $map['bizData']; } if (isset($map['formComponentValueList'])) { if (!empty($map['formComponentValueList'])) { $model->formComponentValueList = []; $n = 0; foreach ($map['formComponentValueList'] as $item) { $model->formComponentValueList[$n++] = null !== $item ? formComponentValueList::fromMap($item) : $item; } } } if (isset($map['notifiers'])) { if (!empty($map['notifiers'])) { $model->notifiers = []; $n = 0; foreach ($map['notifiers'] as $item) { $model->notifiers[$n++] = null !== $item ? notifiers::fromMap($item) : $item; } } } if (isset($map['originatorUserId'])) { $model->originatorUserId = $map['originatorUserId']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/workflow_1_0/Models/SaveIntegratedInstanceRequest/formComponentValueList.php000064400000004345146412132660024235 0ustar00 'bizAlias', 'componentType' => 'componentType', 'extValue' => 'extValue', 'id' => 'id', 'name' => 'name', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->componentType) { $res['componentType'] = $this->componentType; } if (null !== $this->extValue) { $res['extValue'] = $this->extValue; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return formComponentValueList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['componentType'])) { $model->componentType = $map['componentType']; } if (isset($map['extValue'])) { $model->extValue = $map['extValue']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/workflow_1_0/Models/SaveIntegratedInstanceRequest/notifiers.php000064400000002234146412132660021553 0ustar00 'position', 'userid' => 'userid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->position) { $res['position'] = $this->position; } if (null !== $this->userid) { $res['userid'] = $this->userid; } return $res; } /** * @param array $map * * @return notifiers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['position'])) { $model->position = $map['position']; } if (isset($map['userid'])) { $model->userid = $map['userid']; } return $model; } } src/workflow_1_0/Models/SaveIntegratedInstanceResponse.php000064400000002766146412132660017731 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveIntegratedInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveIntegratedInstanceResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/SaveIntegratedInstanceResponseBody.php000064400000001747146412132660020545 0ustar00 '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 SaveIntegratedInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/workflow_1_0/Models/SaveIntegratedInstanceResponseBody/result.php000064400000001675146412132660022063 0ustar00 'processInstanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } return $model; } } src/workflow_1_0/Models/SaveProcessHeaders.php000064400000002326146412132660015341 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveProcessHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/SaveProcessRequest.php000064400000007061146412132660015417 0ustar00 'description', 'formComponents' => 'formComponents', 'name' => 'name', 'processCode' => 'processCode', 'processFeatureConfig' => 'processFeatureConfig', 'templateConfig' => 'templateConfig', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->formComponents) { $res['formComponents'] = []; if (null !== $this->formComponents && \is_array($this->formComponents)) { $n = 0; foreach ($this->formComponents as $item) { $res['formComponents'][$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->processFeatureConfig) { $res['processFeatureConfig'] = null !== $this->processFeatureConfig ? $this->processFeatureConfig->toMap() : null; } if (null !== $this->templateConfig) { $res['templateConfig'] = null !== $this->templateConfig ? $this->templateConfig->toMap() : null; } return $res; } /** * @param array $map * * @return SaveProcessRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['formComponents'])) { if (!empty($map['formComponents'])) { $model->formComponents = []; $n = 0; foreach ($map['formComponents'] as $item) { $model->formComponents[$n++] = null !== $item ? FormComponent::fromMap($item) : $item; } } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['processFeatureConfig'])) { $model->processFeatureConfig = processFeatureConfig::fromMap($map['processFeatureConfig']); } if (isset($map['templateConfig'])) { $model->templateConfig = templateConfig::fromMap($map['templateConfig']); } return $model; } } src/workflow_1_0/Models/SaveProcessRequest/processFeatureConfig.php000064400000002677146412132660021547 0ustar00 'features', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->features) { $res['features'] = []; if (null !== $this->features && \is_array($this->features)) { $n = 0; foreach ($this->features as $item) { $res['features'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return processFeatureConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['features'])) { if (!empty($map['features'])) { $model->features = []; $n = 0; foreach ($map['features'] as $item) { $model->features[$n++] = null !== $item ? features::fromMap($item) : $item; } } } return $model; } } src/workflow_1_0/Models/SaveProcessRequest/processFeatureConfig/features.php000064400000004331146412132660023352 0ustar00 'callback', 'mobileUrl' => 'mobileUrl', 'name' => 'name', 'pcUrl' => 'pcUrl', 'runType' => 'runType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callback) { $res['callback'] = null !== $this->callback ? $this->callback->toMap() : null; } if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->runType) { $res['runType'] = $this->runType; } return $res; } /** * @param array $map * * @return features */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callback'])) { $model->callback = callback::fromMap($map['callback']); } if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['runType'])) { $model->runType = $map['runType']; } return $model; } } src/workflow_1_0/Models/SaveProcessRequest/processFeatureConfig/features/callback.php000064400000002712146412132660025107 0ustar00 'apiKey', 'appUuid' => 'appUuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->apiKey) { $res['apiKey'] = $this->apiKey; } if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return callback */ public static function fromMap($map = []) { $model = new self(); if (isset($map['apiKey'])) { $model->apiKey = $map['apiKey']; } if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/workflow_1_0/Models/SaveProcessRequest/templateConfig.php000064400000005103146412132660020353 0ustar00 'createInstanceMobileUrl', 'createInstancePcUrl' => 'createInstancePcUrl', 'disableSendCard' => 'disableSendCard', 'hidden' => 'hidden', 'templateEditUrl' => 'templateEditUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createInstanceMobileUrl) { $res['createInstanceMobileUrl'] = $this->createInstanceMobileUrl; } if (null !== $this->createInstancePcUrl) { $res['createInstancePcUrl'] = $this->createInstancePcUrl; } if (null !== $this->disableSendCard) { $res['disableSendCard'] = $this->disableSendCard; } if (null !== $this->hidden) { $res['hidden'] = $this->hidden; } if (null !== $this->templateEditUrl) { $res['templateEditUrl'] = $this->templateEditUrl; } return $res; } /** * @param array $map * * @return templateConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createInstanceMobileUrl'])) { $model->createInstanceMobileUrl = $map['createInstanceMobileUrl']; } if (isset($map['createInstancePcUrl'])) { $model->createInstancePcUrl = $map['createInstancePcUrl']; } if (isset($map['disableSendCard'])) { $model->disableSendCard = $map['disableSendCard']; } if (isset($map['hidden'])) { $model->hidden = $map['hidden']; } if (isset($map['templateEditUrl'])) { $model->templateEditUrl = $map['templateEditUrl']; } return $model; } } src/workflow_1_0/Models/SaveProcessResponse.php000064400000002712146412132660015563 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveProcessResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveProcessResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/SaveProcessResponseBody.php000064400000001706146412132660016403 0ustar00 '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 SaveProcessResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/workflow_1_0/Models/SaveProcessResponseBody/result.php000064400000001607146412132660017721 0ustar00 'processCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } return $model; } } src/workflow_1_0/Models/SelectOption.php000064400000002114146412132660014213 0ustar00 '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 SelectOption */ 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/workflow_1_0/Models/StartProcessInstanceHeaders.php000064400000002350146412132660017222 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return StartProcessInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/StartProcessInstanceRequest.php000064400000013416146412132660017304 0ustar00 'approvers', 'ccList' => 'ccList', 'ccPosition' => 'ccPosition', 'deptId' => 'deptId', 'formComponentValues' => 'formComponentValues', 'microappAgentId' => 'microappAgentId', 'originatorUserId' => 'originatorUserId', 'processCode' => 'processCode', 'targetSelectActioners' => 'targetSelectActioners', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approvers) { $res['approvers'] = []; if (null !== $this->approvers && \is_array($this->approvers)) { $n = 0; foreach ($this->approvers as $item) { $res['approvers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->ccList) { $res['ccList'] = $this->ccList; } if (null !== $this->ccPosition) { $res['ccPosition'] = $this->ccPosition; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->formComponentValues) { $res['formComponentValues'] = []; if (null !== $this->formComponentValues && \is_array($this->formComponentValues)) { $n = 0; foreach ($this->formComponentValues as $item) { $res['formComponentValues'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->microappAgentId) { $res['microappAgentId'] = $this->microappAgentId; } if (null !== $this->originatorUserId) { $res['originatorUserId'] = $this->originatorUserId; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->targetSelectActioners) { $res['targetSelectActioners'] = []; if (null !== $this->targetSelectActioners && \is_array($this->targetSelectActioners)) { $n = 0; foreach ($this->targetSelectActioners as $item) { $res['targetSelectActioners'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return StartProcessInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approvers'])) { if (!empty($map['approvers'])) { $model->approvers = []; $n = 0; foreach ($map['approvers'] as $item) { $model->approvers[$n++] = null !== $item ? approvers::fromMap($item) : $item; } } } if (isset($map['ccList'])) { if (!empty($map['ccList'])) { $model->ccList = $map['ccList']; } } if (isset($map['ccPosition'])) { $model->ccPosition = $map['ccPosition']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['formComponentValues'])) { if (!empty($map['formComponentValues'])) { $model->formComponentValues = []; $n = 0; foreach ($map['formComponentValues'] as $item) { $model->formComponentValues[$n++] = null !== $item ? formComponentValues::fromMap($item) : $item; } } } if (isset($map['microappAgentId'])) { $model->microappAgentId = $map['microappAgentId']; } if (isset($map['originatorUserId'])) { $model->originatorUserId = $map['originatorUserId']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['targetSelectActioners'])) { if (!empty($map['targetSelectActioners'])) { $model->targetSelectActioners = []; $n = 0; foreach ($map['targetSelectActioners'] as $item) { $model->targetSelectActioners[$n++] = null !== $item ? targetSelectActioners::fromMap($item) : $item; } } } return $model; } } src/workflow_1_0/Models/StartProcessInstanceRequest/approvers.php000064400000002370146412132660021322 0ustar00 'actionType', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return approvers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/workflow_1_0/Models/StartProcessInstanceRequest/formComponentValues.php000064400000006424146412132660023313 0ustar00 'bizAlias', 'componentType' => 'componentType', 'details' => 'details', 'extValue' => 'extValue', 'id' => 'id', 'name' => 'name', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->componentType) { $res['componentType'] = $this->componentType; } if (null !== $this->details) { $res['details'] = []; if (null !== $this->details && \is_array($this->details)) { $n = 0; foreach ($this->details as $item) { $res['details'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->extValue) { $res['extValue'] = $this->extValue; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return formComponentValues */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['componentType'])) { $model->componentType = $map['componentType']; } if (isset($map['details'])) { if (!empty($map['details'])) { $model->details = []; $n = 0; foreach ($map['details'] as $item) { $model->details[$n++] = null !== $item ? details::fromMap($item) : $item; } } } if (isset($map['extValue'])) { $model->extValue = $map['extValue']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/workflow_1_0/Models/StartProcessInstanceRequest/formComponentValues/details.php000064400000006011146412132660024730 0ustar00 'bizAlias', 'details' => 'details', 'extValue' => 'extValue', 'id' => 'id', 'name' => 'name', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->details) { $res['details'] = []; if (null !== $this->details && \is_array($this->details)) { $n = 0; foreach ($this->details as $item) { $res['details'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->extValue) { $res['extValue'] = $this->extValue; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return details */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['details'])) { if (!empty($map['details'])) { $model->details = []; $n = 0; foreach ($map['details'] as $item) { $model->details[$n++] = null !== $item ? \AlibabaCloud\SDK\Dingtalk\Vworkflow_1_0\Models\StartProcessInstanceRequest\formComponentValues\details\details::fromMap($item) : $item; } } } if (isset($map['extValue'])) { $model->extValue = $map['extValue']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/workflow_1_0/Models/StartProcessInstanceRequest/formComponentValues/details/details.php000064400000004625146412132660026366 0ustar00 'bizAlias', 'componentType' => 'componentType', 'extValue' => 'extValue', 'id' => 'id', 'name' => 'name', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->componentType) { $res['componentType'] = $this->componentType; } if (null !== $this->extValue) { $res['extValue'] = $this->extValue; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return details */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['componentType'])) { $model->componentType = $map['componentType']; } if (isset($map['extValue'])) { $model->extValue = $map['extValue']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/workflow_1_0/Models/StartProcessInstanceRequest/targetSelectActioners.php000064400000002532146412132660023577 0ustar00 'actionerKey', 'actionerUserIds' => 'actionerUserIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionerKey) { $res['actionerKey'] = $this->actionerKey; } if (null !== $this->actionerUserIds) { $res['actionerUserIds'] = $this->actionerUserIds; } return $res; } /** * @param array $map * * @return targetSelectActioners */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionerKey'])) { $model->actionerKey = $map['actionerKey']; } if (isset($map['actionerUserIds'])) { if (!empty($map['actionerUserIds'])) { $model->actionerUserIds = $map['actionerUserIds']; } } return $model; } } src/workflow_1_0/Models/StartProcessInstanceResponse.php000064400000002756146412132660017457 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return StartProcessInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = StartProcessInstanceResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/StartProcessInstanceResponseBody.php000064400000001653146412132660020270 0ustar00 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return StartProcessInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/workflow_1_0/Models/TerminateProcessInstanceHeaders.php000064400000002360146412132660020056 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return TerminateProcessInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/TerminateProcessInstanceRequest.php000064400000003705146412132660020137 0ustar00 'isSystem', 'operatingUserId' => 'operatingUserId', 'processInstanceId' => 'processInstanceId', 'remark' => 'remark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isSystem) { $res['isSystem'] = $this->isSystem; } if (null !== $this->operatingUserId) { $res['operatingUserId'] = $this->operatingUserId; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } return $res; } /** * @param array $map * * @return TerminateProcessInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isSystem'])) { $model->isSystem = $map['isSystem']; } if (isset($map['operatingUserId'])) { $model->operatingUserId = $map['operatingUserId']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } return $model; } } src/workflow_1_0/Models/TerminateProcessInstanceResponse.php000064400000002776146412132660020314 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return TerminateProcessInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = TerminateProcessInstanceResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/TerminateProcessInstanceResponseBody.php000064400000002237146412132660021122 0ustar00 '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 TerminateProcessInstanceResponseBody */ 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/workflow_1_0/Models/UpdateIntegratedTaskHeaders.php000064400000002350146412132660017155 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateIntegratedTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/UpdateIntegratedTaskRequest.php000064400000003461146412132660017236 0ustar00 'processInstanceId', 'tasks' => 'tasks', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->tasks) { $res['tasks'] = []; if (null !== $this->tasks && \is_array($this->tasks)) { $n = 0; foreach ($this->tasks as $item) { $res['tasks'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return UpdateIntegratedTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['tasks'])) { if (!empty($map['tasks'])) { $model->tasks = []; $n = 0; foreach ($map['tasks'] as $item) { $model->tasks[$n++] = null !== $item ? tasks::fromMap($item) : $item; } } } return $model; } } src/workflow_1_0/Models/UpdateIntegratedTaskRequest/tasks.php000064400000002610146412132660020356 0ustar00 'result', 'status' => 'status', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return tasks */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/workflow_1_0/Models/UpdateIntegratedTaskResponse.php000064400000002756146412132660017412 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateIntegratedTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateIntegratedTaskResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/UpdateIntegratedTaskResponseBody.php000064400000001522146412132660020216 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateIntegratedTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/workflow_1_0/Models/UpdateProcessInstanceHeaders.php000064400000002352146412132660017351 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateProcessInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workflow_1_0/Models/UpdateProcessInstanceRequest.php000064400000004707146412132660017434 0ustar00 'notifiers', 'processInstanceId' => 'processInstanceId', 'result' => 'result', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->notifiers) { $res['notifiers'] = []; if (null !== $this->notifiers && \is_array($this->notifiers)) { $n = 0; foreach ($this->notifiers as $item) { $res['notifiers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return UpdateProcessInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['notifiers'])) { if (!empty($map['notifiers'])) { $model->notifiers = []; $n = 0; foreach ($map['notifiers'] as $item) { $model->notifiers[$n++] = null !== $item ? notifiers::fromMap($item) : $item; } } } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/workflow_1_0/Models/UpdateProcessInstanceRequest/notifiers.php000064400000001534146412132660021431 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return notifiers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workflow_1_0/Models/UpdateProcessInstanceResponse.php000064400000002762146412132660017601 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateProcessInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateProcessInstanceResponseBody::fromMap($map['body']); } return $model; } } src/workflow_1_0/Models/UpdateProcessInstanceResponseBody.php000064400000001524146412132660020412 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateProcessInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/workrecord_1_0/Dingtalk.php000064400000005471146412132660012435 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param CountWorkRecordRequest $request * @param CountWorkRecordHeaders $headers * @param RuntimeOptions $runtime * * @return CountWorkRecordResponse */ public function countWorkRecordWithOptions($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' => 'CountWorkRecord', 'version' => 'workrecord_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/workrecord/counts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CountWorkRecordResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CountWorkRecordRequest $request * * @return CountWorkRecordResponse */ public function countWorkRecord($request) { $runtime = new RuntimeOptions([]); $headers = new CountWorkRecordHeaders([]); return $this->countWorkRecordWithOptions($request, $headers, $runtime); } } src/workrecord_1_0/Models/CountWorkRecordHeaders.php000064400000002340146412132660016501 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CountWorkRecordHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/workrecord_1_0/Models/CountWorkRecordRequest.php000064400000001471146412132660016562 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CountWorkRecordRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/workrecord_1_0/Models/CountWorkRecordResponse.php000064400000002734146412132660016733 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CountWorkRecordResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CountWorkRecordResponseBody::fromMap($map['body']); } return $model; } } src/workrecord_1_0/Models/CountWorkRecordResponseBody.php000064400000001565146412132660017552 0ustar00 'undoCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->undoCount) { $res['undoCount'] = $this->undoCount; } return $res; } /** * @param array $map * * @return CountWorkRecordResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['undoCount'])) { $model->undoCount = $map['undoCount']; } return $model; } } src/yida_1_0/Dingtalk.php000064400001023076146412132660011204 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param AppLoginCodeGenRequest $request * @param AppLoginCodeGenHeaders $headers * @param RuntimeOptions $runtime * * @return AppLoginCodeGenResponse */ public function appLoginCodeGenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->fullUrl)) { $query['fullUrl'] = $request->fullUrl; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->appKey)) { $body['appKey'] = $request->appKey; } if (!Utils::isUnset($request->signTimestampStr)) { $body['signTimestampStr'] = $request->signTimestampStr; } if (!Utils::isUnset($request->signature)) { $body['signature'] = $request->signature; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } 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' => 'AppLoginCodeGen', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/authorizations/appLoginCodes', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AppLoginCodeGenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param AppLoginCodeGenRequest $request * * @return AppLoginCodeGenResponse */ public function appLoginCodeGen($request) { $runtime = new RuntimeOptions([]); $headers = new AppLoginCodeGenHeaders([]); return $this->appLoginCodeGenWithOptions($request, $headers, $runtime); } /** * @param BatchGetFormDataByIdListRequest $request * @param BatchGetFormDataByIdListHeaders $headers * @param RuntimeOptions $runtime * * @return BatchGetFormDataByIdListResponse */ public function batchGetFormDataByIdListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->formInstanceIdList)) { $body['formInstanceIdList'] = $request->formInstanceIdList; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->needFormInstanceValue)) { $body['needFormInstanceValue'] = $request->needFormInstanceValue; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'BatchGetFormDataByIdList', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/instances/ids/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchGetFormDataByIdListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchGetFormDataByIdListRequest $request * * @return BatchGetFormDataByIdListResponse */ public function batchGetFormDataByIdList($request) { $runtime = new RuntimeOptions([]); $headers = new BatchGetFormDataByIdListHeaders([]); return $this->batchGetFormDataByIdListWithOptions($request, $headers, $runtime); } /** * @param BatchRemovalByFormInstanceIdListRequest $request * @param BatchRemovalByFormInstanceIdListHeaders $headers * @param RuntimeOptions $runtime * * @return BatchRemovalByFormInstanceIdListResponse */ public function batchRemovalByFormInstanceIdListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->asynchronousExecution)) { $body['asynchronousExecution'] = $request->asynchronousExecution; } if (!Utils::isUnset($request->executeExpression)) { $body['executeExpression'] = $request->executeExpression; } if (!Utils::isUnset($request->formInstanceIdList)) { $body['formInstanceIdList'] = $request->formInstanceIdList; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'BatchRemovalByFormInstanceIdList', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/instances/batchRemove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return BatchRemovalByFormInstanceIdListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchRemovalByFormInstanceIdListRequest $request * * @return BatchRemovalByFormInstanceIdListResponse */ public function batchRemovalByFormInstanceIdList($request) { $runtime = new RuntimeOptions([]); $headers = new BatchRemovalByFormInstanceIdListHeaders([]); return $this->batchRemovalByFormInstanceIdListWithOptions($request, $headers, $runtime); } /** * @param BatchSaveFormDataRequest $request * @param BatchSaveFormDataHeaders $headers * @param RuntimeOptions $runtime * * @return BatchSaveFormDataResponse */ public function batchSaveFormDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->asynchronousExecution)) { $body['asynchronousExecution'] = $request->asynchronousExecution; } if (!Utils::isUnset($request->formDataJsonList)) { $body['formDataJsonList'] = $request->formDataJsonList; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->keepRunningAfterException)) { $body['keepRunningAfterException'] = $request->keepRunningAfterException; } if (!Utils::isUnset($request->noExecuteExpression)) { $body['noExecuteExpression'] = $request->noExecuteExpression; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'BatchSaveFormData', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/instances/batchSave', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchSaveFormDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchSaveFormDataRequest $request * * @return BatchSaveFormDataResponse */ public function batchSaveFormData($request) { $runtime = new RuntimeOptions([]); $headers = new BatchSaveFormDataHeaders([]); return $this->batchSaveFormDataWithOptions($request, $headers, $runtime); } /** * @param BatchUpdateFormDataByInstanceIdRequest $request * @param BatchUpdateFormDataByInstanceIdHeaders $headers * @param RuntimeOptions $runtime * * @return BatchUpdateFormDataByInstanceIdResponse */ public function batchUpdateFormDataByInstanceIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->asynchronousExecution)) { $body['asynchronousExecution'] = $request->asynchronousExecution; } if (!Utils::isUnset($request->formInstanceIdList)) { $body['formInstanceIdList'] = $request->formInstanceIdList; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->ignoreEmpty)) { $body['ignoreEmpty'] = $request->ignoreEmpty; } if (!Utils::isUnset($request->noExecuteExpression)) { $body['noExecuteExpression'] = $request->noExecuteExpression; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } if (!Utils::isUnset($request->updateFormDataJson)) { $body['updateFormDataJson'] = $request->updateFormDataJson; } if (!Utils::isUnset($request->useLatestFormSchemaVersion)) { $body['useLatestFormSchemaVersion'] = $request->useLatestFormSchemaVersion; } 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' => 'BatchUpdateFormDataByInstanceId', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/instances/components', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchUpdateFormDataByInstanceIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchUpdateFormDataByInstanceIdRequest $request * * @return BatchUpdateFormDataByInstanceIdResponse */ public function batchUpdateFormDataByInstanceId($request) { $runtime = new RuntimeOptions([]); $headers = new BatchUpdateFormDataByInstanceIdHeaders([]); return $this->batchUpdateFormDataByInstanceIdWithOptions($request, $headers, $runtime); } /** * @param BatchUpdateFormDataByInstanceMapRequest $request * @param BatchUpdateFormDataByInstanceMapHeaders $headers * @param RuntimeOptions $runtime * * @return BatchUpdateFormDataByInstanceMapResponse */ public function batchUpdateFormDataByInstanceMapWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->asynchronousExecution)) { $body['asynchronousExecution'] = $request->asynchronousExecution; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->ignoreEmpty)) { $body['ignoreEmpty'] = $request->ignoreEmpty; } if (!Utils::isUnset($request->noExecuteExpression)) { $body['noExecuteExpression'] = $request->noExecuteExpression; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } if (!Utils::isUnset($request->updateFormDataJsonMap)) { $body['updateFormDataJsonMap'] = $request->updateFormDataJsonMap; } if (!Utils::isUnset($request->useLatestFormSchemaVersion)) { $body['useLatestFormSchemaVersion'] = $request->useLatestFormSchemaVersion; } 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' => 'BatchUpdateFormDataByInstanceMap', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/instances/datas', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchUpdateFormDataByInstanceMapResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BatchUpdateFormDataByInstanceMapRequest $request * * @return BatchUpdateFormDataByInstanceMapResponse */ public function batchUpdateFormDataByInstanceMap($request) { $runtime = new RuntimeOptions([]); $headers = new BatchUpdateFormDataByInstanceMapHeaders([]); return $this->batchUpdateFormDataByInstanceMapWithOptions($request, $headers, $runtime); } /** * @param BuyAuthorizationOrderRequest $request * @param BuyAuthorizationOrderHeaders $headers * @param RuntimeOptions $runtime * * @return BuyAuthorizationOrderResponse */ public function buyAuthorizationOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accessKey)) { $body['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->accountNumber)) { $body['accountNumber'] = $request->accountNumber; } if (!Utils::isUnset($request->beginTimeGMT)) { $body['beginTimeGMT'] = $request->beginTimeGMT; } if (!Utils::isUnset($request->callerUnionId)) { $body['callerUnionId'] = $request->callerUnionId; } if (!Utils::isUnset($request->chargeType)) { $body['chargeType'] = $request->chargeType; } if (!Utils::isUnset($request->commerceType)) { $body['commerceType'] = $request->commerceType; } if (!Utils::isUnset($request->commodityType)) { $body['commodityType'] = $request->commodityType; } if (!Utils::isUnset($request->endTimeGMT)) { $body['endTimeGMT'] = $request->endTimeGMT; } if (!Utils::isUnset($request->instanceId)) { $body['instanceId'] = $request->instanceId; } if (!Utils::isUnset($request->instanceName)) { $body['instanceName'] = $request->instanceName; } if (!Utils::isUnset($request->produceCode)) { $body['produceCode'] = $request->produceCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BuyAuthorizationOrder', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/appAuthorizations/order', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return BuyAuthorizationOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BuyAuthorizationOrderRequest $request * * @return BuyAuthorizationOrderResponse */ public function buyAuthorizationOrder($request) { $runtime = new RuntimeOptions([]); $headers = new BuyAuthorizationOrderHeaders([]); return $this->buyAuthorizationOrderWithOptions($request, $headers, $runtime); } /** * @param BuyFreshOrderRequest $request * @param BuyFreshOrderHeaders $headers * @param RuntimeOptions $runtime * * @return BuyFreshOrderResponse */ public function buyFreshOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accessKey)) { $body['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->accountNumber)) { $body['accountNumber'] = $request->accountNumber; } if (!Utils::isUnset($request->beginTimeGMT)) { $body['beginTimeGMT'] = $request->beginTimeGMT; } if (!Utils::isUnset($request->callerUnionId)) { $body['callerUnionId'] = $request->callerUnionId; } if (!Utils::isUnset($request->chargeType)) { $body['chargeType'] = $request->chargeType; } if (!Utils::isUnset($request->commerceType)) { $body['commerceType'] = $request->commerceType; } if (!Utils::isUnset($request->commodityType)) { $body['commodityType'] = $request->commodityType; } if (!Utils::isUnset($request->endTimeGMT)) { $body['endTimeGMT'] = $request->endTimeGMT; } if (!Utils::isUnset($request->instanceId)) { $body['instanceId'] = $request->instanceId; } if (!Utils::isUnset($request->instanceName)) { $body['instanceName'] = $request->instanceName; } if (!Utils::isUnset($request->produceCode)) { $body['produceCode'] = $request->produceCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BuyFreshOrder', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/freshOrders', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return BuyFreshOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param BuyFreshOrderRequest $request * * @return BuyFreshOrderResponse */ public function buyFreshOrder($request) { $runtime = new RuntimeOptions([]); $headers = new BuyFreshOrderHeaders([]); return $this->buyFreshOrderWithOptions($request, $headers, $runtime); } /** * @param string $callerUid * @param CheckCloudAccountStatusRequest $request * @param CheckCloudAccountStatusHeaders $headers * @param RuntimeOptions $runtime * * @return CheckCloudAccountStatusResponse */ public function checkCloudAccountStatusWithOptions($callerUid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CheckCloudAccountStatus', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/cloudAccountStatus/' . $callerUid . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return CheckCloudAccountStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $callerUid * @param CheckCloudAccountStatusRequest $request * * @return CheckCloudAccountStatusResponse */ public function checkCloudAccountStatus($callerUid, $request) { $runtime = new RuntimeOptions([]); $headers = new CheckCloudAccountStatusHeaders([]); return $this->checkCloudAccountStatusWithOptions($callerUid, $request, $headers, $runtime); } /** * @param CreateOrUpdateFormDataRequest $request * @param CreateOrUpdateFormDataHeaders $headers * @param RuntimeOptions $runtime * * @return CreateOrUpdateFormDataResponse */ public function createOrUpdateFormDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->formDataJson)) { $body['formDataJson'] = $request->formDataJson; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->noExecuteExpression)) { $body['noExecuteExpression'] = $request->noExecuteExpression; } if (!Utils::isUnset($request->searchCondition)) { $body['searchCondition'] = $request->searchCondition; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'CreateOrUpdateFormData', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/instances/insertOrUpdate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateOrUpdateFormDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param CreateOrUpdateFormDataRequest $request * * @return CreateOrUpdateFormDataResponse */ public function createOrUpdateFormData($request) { $runtime = new RuntimeOptions([]); $headers = new CreateOrUpdateFormDataHeaders([]); return $this->createOrUpdateFormDataWithOptions($request, $headers, $runtime); } /** * @param DeleteFormDataRequest $request * @param DeleteFormDataHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteFormDataResponse */ public function deleteFormDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->formInstanceId)) { $query['formInstanceId'] = $request->formInstanceId; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'DeleteFormData', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/instances', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return DeleteFormDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteFormDataRequest $request * * @return DeleteFormDataResponse */ public function deleteFormData($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteFormDataHeaders([]); return $this->deleteFormDataWithOptions($request, $headers, $runtime); } /** * @param DeleteInstanceRequest $request * @param DeleteInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteInstanceResponse */ public function deleteInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->processInstanceId)) { $query['processInstanceId'] = $request->processInstanceId; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'DeleteInstance', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/processes/instances', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return DeleteInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteInstanceRequest $request * * @return DeleteInstanceResponse */ public function deleteInstance($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteInstanceHeaders([]); return $this->deleteInstanceWithOptions($request, $headers, $runtime); } /** * @param DeleteSequenceRequest $request * @param DeleteSequenceHeaders $headers * @param RuntimeOptions $runtime * * @return DeleteSequenceResponse */ public function deleteSequenceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->sequence)) { $query['sequence'] = $request->sequence; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'DeleteSequence', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/deleteSequence', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return DeleteSequenceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeleteSequenceRequest $request * * @return DeleteSequenceResponse */ public function deleteSequence($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteSequenceHeaders([]); return $this->deleteSequenceWithOptions($request, $headers, $runtime); } /** * @param DeployFunctionCallbackRequest $request * @param DeployFunctionCallbackHeaders $headers * @param RuntimeOptions $runtime * * @return DeployFunctionCallbackResponse */ public function deployFunctionCallbackWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appId)) { $body['appId'] = $request->appId; } if (!Utils::isUnset($request->customDomain)) { $body['customDomain'] = $request->customDomain; } if (!Utils::isUnset($request->deployStage)) { $body['deployStage'] = $request->deployStage; } if (!Utils::isUnset($request->gateWayAppKey)) { $body['gateWayAppKey'] = $request->gateWayAppKey; } if (!Utils::isUnset($request->gateWayAppSecret)) { $body['gateWayAppSecret'] = $request->gateWayAppSecret; } if (!Utils::isUnset($request->gateWayDomain)) { $body['gateWayDomain'] = $request->gateWayDomain; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeployFunctionCallback', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/functionComputeConnectors/completeDeployments/notify', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeployFunctionCallbackResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param DeployFunctionCallbackRequest $request * * @return DeployFunctionCallbackResponse */ public function deployFunctionCallback($request) { $runtime = new RuntimeOptions([]); $headers = new DeployFunctionCallbackHeaders([]); return $this->deployFunctionCallbackWithOptions($request, $headers, $runtime); } /** * @param ExecuteBatchTaskRequest $request * @param ExecuteBatchTaskHeaders $headers * @param RuntimeOptions $runtime * * @return ExecuteBatchTaskResponse */ public function executeBatchTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->outResult)) { $body['outResult'] = $request->outResult; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } if (!Utils::isUnset($request->taskInformationList)) { $body['taskInformationList'] = $request->taskInformationList; } 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' => 'ExecuteBatchTask', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/tasks/batches/execute', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ExecuteBatchTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ExecuteBatchTaskRequest $request * * @return ExecuteBatchTaskResponse */ public function executeBatchTask($request) { $runtime = new RuntimeOptions([]); $headers = new ExecuteBatchTaskHeaders([]); return $this->executeBatchTaskWithOptions($request, $headers, $runtime); } /** * @param ExecuteCustomApiRequest $request * @param ExecuteCustomApiHeaders $headers * @param RuntimeOptions $runtime * * @return ExecuteCustomApiResponse */ public function executeCustomApiWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->data)) { $query['data'] = $request->data; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->serviceId)) { $query['serviceId'] = $request->serviceId; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'ExecuteCustomApi', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/customApi/execute', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ExecuteCustomApiResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ExecuteCustomApiRequest $request * * @return ExecuteCustomApiResponse */ public function executeCustomApi($request) { $runtime = new RuntimeOptions([]); $headers = new ExecuteCustomApiHeaders([]); return $this->executeCustomApiWithOptions($request, $headers, $runtime); } /** * @param ExecutePlatformTaskRequest $request * @param ExecutePlatformTaskHeaders $headers * @param RuntimeOptions $runtime * * @return ExecutePlatformTaskResponse */ public function executePlatformTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->formDataJson)) { $body['formDataJson'] = $request->formDataJson; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->noExecuteExpressions)) { $body['noExecuteExpressions'] = $request->noExecuteExpressions; } if (!Utils::isUnset($request->outResult)) { $body['outResult'] = $request->outResult; } if (!Utils::isUnset($request->processInstanceId)) { $body['processInstanceId'] = $request->processInstanceId; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'ExecutePlatformTask', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/tasks/platformTasks/execute', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return ExecutePlatformTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ExecutePlatformTaskRequest $request * * @return ExecutePlatformTaskResponse */ public function executePlatformTask($request) { $runtime = new RuntimeOptions([]); $headers = new ExecutePlatformTaskHeaders([]); return $this->executePlatformTaskWithOptions($request, $headers, $runtime); } /** * @param ExecuteTaskRequest $request * @param ExecuteTaskHeaders $headers * @param RuntimeOptions $runtime * * @return ExecuteTaskResponse */ public function executeTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->digitalSignUrl)) { $body['digitalSignUrl'] = $request->digitalSignUrl; } if (!Utils::isUnset($request->formDataJson)) { $body['formDataJson'] = $request->formDataJson; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->noExecuteExpressions)) { $body['noExecuteExpressions'] = $request->noExecuteExpressions; } if (!Utils::isUnset($request->outResult)) { $body['outResult'] = $request->outResult; } if (!Utils::isUnset($request->processInstanceId)) { $body['processInstanceId'] = $request->processInstanceId; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'ExecuteTask', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/tasks/execute', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return ExecuteTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ExecuteTaskRequest $request * * @return ExecuteTaskResponse */ public function executeTask($request) { $runtime = new RuntimeOptions([]); $headers = new ExecuteTaskHeaders([]); return $this->executeTaskWithOptions($request, $headers, $runtime); } /** * @param ExpireCommodityRequest $request * @param ExpireCommodityHeaders $headers * @param RuntimeOptions $runtime * * @return ExpireCommodityResponse */ public function expireCommodityWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUid)) { $query['callerUid'] = $request->callerUid; } 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' => 'ExpireCommodity', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/appAuth/commodities/expire', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ExpireCommodityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ExpireCommodityRequest $request * * @return ExpireCommodityResponse */ public function expireCommodity($request) { $runtime = new RuntimeOptions([]); $headers = new ExpireCommodityHeaders([]); return $this->expireCommodityWithOptions($request, $headers, $runtime); } /** * @param string $callerUid * @param GetActivationCodeByCallerUnionIdRequest $request * @param GetActivationCodeByCallerUnionIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetActivationCodeByCallerUnionIdResponse */ public function getActivationCodeByCallerUnionIdWithOptions($callerUid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetActivationCodeByCallerUnionId', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/applications/activationCodes/' . $callerUid . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return GetActivationCodeByCallerUnionIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $callerUid * @param GetActivationCodeByCallerUnionIdRequest $request * * @return GetActivationCodeByCallerUnionIdResponse */ public function getActivationCodeByCallerUnionId($callerUid, $request) { $runtime = new RuntimeOptions([]); $headers = new GetActivationCodeByCallerUnionIdHeaders([]); return $this->getActivationCodeByCallerUnionIdWithOptions($callerUid, $request, $headers, $runtime); } /** * @param string $appType * @param string $processCode * @param string $activityId * @param GetActivityButtonListRequest $request * @param GetActivityButtonListHeaders $headers * @param RuntimeOptions $runtime * * @return GetActivityButtonListResponse */ public function getActivityButtonListWithOptions($appType, $processCode, $activityId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'GetActivityButtonList', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/processDefinitions/buttons/' . $appType . '/' . $processCode . '/' . $activityId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return GetActivityButtonListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $appType * @param string $processCode * @param string $activityId * @param GetActivityButtonListRequest $request * * @return GetActivityButtonListResponse */ public function getActivityButtonList($appType, $processCode, $activityId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetActivityButtonListHeaders([]); return $this->getActivityButtonListWithOptions($appType, $processCode, $activityId, $request, $headers, $runtime); } /** * @param GetActivityListRequest $request * @param GetActivityListHeaders $headers * @param RuntimeOptions $runtime * * @return GetActivityListResponse */ public function getActivityListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->processCode)) { $query['processCode'] = $request->processCode; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'GetActivityList', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/processes/activities', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return GetActivityListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetActivityListRequest $request * * @return GetActivityListResponse */ public function getActivityList($request) { $runtime = new RuntimeOptions([]); $headers = new GetActivityListHeaders([]); return $this->getActivityListWithOptions($request, $headers, $runtime); } /** * @param GetAllAuthCubesRequest $request * @param GetAllAuthCubesHeaders $headers * @param RuntimeOptions $runtime * * @return GetAllAuthCubesResponse */ public function getAllAuthCubesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->keywords)) { $body['keywords'] = $request->keywords; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'GetAllAuthCubes', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/metadata/allAuthCubes/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAllAuthCubesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetAllAuthCubesRequest $request * * @return GetAllAuthCubesResponse */ public function getAllAuthCubes($request) { $runtime = new RuntimeOptions([]); $headers = new GetAllAuthCubesHeaders([]); return $this->getAllAuthCubesWithOptions($request, $headers, $runtime); } /** * @param GetApplicationAuthorizationServicePlatformResourceRequest $request * @param GetApplicationAuthorizationServicePlatformResourceHeaders $headers * @param RuntimeOptions $runtime * * @return GetApplicationAuthorizationServicePlatformResourceResponse */ public function getApplicationAuthorizationServicePlatformResourceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUid)) { $query['callerUid'] = $request->callerUid; } 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' => 'GetApplicationAuthorizationServicePlatformResource', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/authorization/platformResources', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return GetApplicationAuthorizationServicePlatformResourceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetApplicationAuthorizationServicePlatformResourceRequest $request * * @return GetApplicationAuthorizationServicePlatformResourceResponse */ public function getApplicationAuthorizationServicePlatformResource($request) { $runtime = new RuntimeOptions([]); $headers = new GetApplicationAuthorizationServicePlatformResourceHeaders([]); return $this->getApplicationAuthorizationServicePlatformResourceWithOptions($request, $headers, $runtime); } /** * @param GetAutoFlowLogDetailRequest $request * @param GetAutoFlowLogDetailHeaders $headers * @param RuntimeOptions $runtime * * @return GetAutoFlowLogDetailResponse */ public function getAutoFlowLogDetailWithOptions($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; } if (!Utils::isUnset($request->procInstanceId)) { $query['procInstanceId'] = $request->procInstanceId; } if (!Utils::isUnset($request->token)) { $query['token'] = $request->token; } 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' => 'GetAutoFlowLogDetail', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/logs/automations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAutoFlowLogDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetAutoFlowLogDetailRequest $request * * @return GetAutoFlowLogDetailResponse */ public function getAutoFlowLogDetail($request) { $runtime = new RuntimeOptions([]); $headers = new GetAutoFlowLogDetailHeaders([]); return $this->getAutoFlowLogDetailWithOptions($request, $headers, $runtime); } /** * @param string $corpId * @param string $userId * @param GetCorpAccomplishmentTasksRequest $request * @param GetCorpAccomplishmentTasksHeaders $headers * @param RuntimeOptions $runtime * * @return GetCorpAccomplishmentTasksResponse */ public function getCorpAccomplishmentTasksWithOptions($corpId, $userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appTypes)) { $query['appTypes'] = $request->appTypes; } if (!Utils::isUnset($request->createFromTimeGMT)) { $query['createFromTimeGMT'] = $request->createFromTimeGMT; } if (!Utils::isUnset($request->createToTimeGMT)) { $query['createToTimeGMT'] = $request->createToTimeGMT; } if (!Utils::isUnset($request->keyword)) { $query['keyword'] = $request->keyword; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->processCodes)) { $query['processCodes'] = $request->processCodes; } if (!Utils::isUnset($request->token)) { $query['token'] = $request->token; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetCorpAccomplishmentTasks', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/tasks/completedTasks/' . $corpId . '/' . $userId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCorpAccomplishmentTasksResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $corpId * @param string $userId * @param GetCorpAccomplishmentTasksRequest $request * * @return GetCorpAccomplishmentTasksResponse */ public function getCorpAccomplishmentTasks($corpId, $userId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetCorpAccomplishmentTasksHeaders([]); return $this->getCorpAccomplishmentTasksWithOptions($corpId, $userId, $request, $headers, $runtime); } /** * @param GetCorpLevelByAccountIdRequest $request * @param GetCorpLevelByAccountIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetCorpLevelByAccountIdResponse */ public function getCorpLevelByAccountIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accountId)) { $query['accountId'] = $request->accountId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetCorpLevelByAccountId', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/corpLevel', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return GetCorpLevelByAccountIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetCorpLevelByAccountIdRequest $request * * @return GetCorpLevelByAccountIdResponse */ public function getCorpLevelByAccountId($request) { $runtime = new RuntimeOptions([]); $headers = new GetCorpLevelByAccountIdHeaders([]); return $this->getCorpLevelByAccountIdWithOptions($request, $headers, $runtime); } /** * @param GetCorpTasksRequest $request * @param GetCorpTasksHeaders $headers * @param RuntimeOptions $runtime * * @return GetCorpTasksResponse */ public function getCorpTasksWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appTypes)) { $query['appTypes'] = $request->appTypes; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->createFromTimeGMT)) { $query['createFromTimeGMT'] = $request->createFromTimeGMT; } if (!Utils::isUnset($request->createToTimeGMT)) { $query['createToTimeGMT'] = $request->createToTimeGMT; } if (!Utils::isUnset($request->keyword)) { $query['keyword'] = $request->keyword; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->processCodes)) { $query['processCodes'] = $request->processCodes; } if (!Utils::isUnset($request->token)) { $query['token'] = $request->token; } 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' => 'GetCorpTasks', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/corpTasks', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCorpTasksResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetCorpTasksRequest $request * * @return GetCorpTasksResponse */ public function getCorpTasks($request) { $runtime = new RuntimeOptions([]); $headers = new GetCorpTasksHeaders([]); return $this->getCorpTasksWithOptions($request, $headers, $runtime); } /** * @param GetDbConfigRequest $request * @param GetDbConfigHeaders $headers * @param RuntimeOptions $runtime * * @return GetDbConfigResponse */ public function getDbConfigWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'GetDbConfig', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/metadata/dbConfigs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDbConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetDbConfigRequest $request * * @return GetDbConfigResponse */ public function getDbConfig($request) { $runtime = new RuntimeOptions([]); $headers = new GetDbConfigHeaders([]); return $this->getDbConfigWithOptions($request, $headers, $runtime); } /** * @param GetFieldDefByUuidRequest $request * @param GetFieldDefByUuidHeaders $headers * @param RuntimeOptions $runtime * * @return GetFieldDefByUuidResponse */ public function getFieldDefByUuidWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->formUuid)) { $query['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'GetFieldDefByUuid', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/formFields', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFieldDefByUuidResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetFieldDefByUuidRequest $request * * @return GetFieldDefByUuidResponse */ public function getFieldDefByUuid($request) { $runtime = new RuntimeOptions([]); $headers = new GetFieldDefByUuidHeaders([]); return $this->getFieldDefByUuidWithOptions($request, $headers, $runtime); } /** * @param string $appType * @param string $formUuid * @param GetFormComponentDefinitionListRequest $request * @param GetFormComponentDefinitionListHeaders $headers * @param RuntimeOptions $runtime * * @return GetFormComponentDefinitionListResponse */ public function getFormComponentDefinitionListWithOptions($appType, $formUuid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } if (!Utils::isUnset($request->version)) { $query['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetFormComponentDefinitionList', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/definitions/' . $appType . '/' . $formUuid . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFormComponentDefinitionListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $appType * @param string $formUuid * @param GetFormComponentDefinitionListRequest $request * * @return GetFormComponentDefinitionListResponse */ public function getFormComponentDefinitionList($appType, $formUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new GetFormComponentDefinitionListHeaders([]); return $this->getFormComponentDefinitionListWithOptions($appType, $formUuid, $request, $headers, $runtime); } /** * @param string $id * @param GetFormDataByIDRequest $request * @param GetFormDataByIDHeaders $headers * @param RuntimeOptions $runtime * * @return GetFormDataByIDResponse */ public function getFormDataByIDWithOptions($id, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'GetFormDataByID', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/instances/' . $id . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFormDataByIDResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $id * @param GetFormDataByIDRequest $request * * @return GetFormDataByIDResponse */ public function getFormDataByID($id, $request) { $runtime = new RuntimeOptions([]); $headers = new GetFormDataByIDHeaders([]); return $this->getFormDataByIDWithOptions($id, $request, $headers, $runtime); } /** * @param GetFormListInAppRequest $request * @param GetFormListInAppHeaders $headers * @param RuntimeOptions $runtime * * @return GetFormListInAppResponse */ public function getFormListInAppWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->formTypes)) { $query['formTypes'] = $request->formTypes; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'GetFormListInApp', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFormListInAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetFormListInAppRequest $request * * @return GetFormListInAppResponse */ public function getFormListInApp($request) { $runtime = new RuntimeOptions([]); $headers = new GetFormListInAppHeaders([]); return $this->getFormListInAppWithOptions($request, $headers, $runtime); } /** * @param string $id * @param GetInstanceByIdRequest $request * @param GetInstanceByIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetInstanceByIdResponse */ public function getInstanceByIdWithOptions($id, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'GetInstanceById', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/processes/instancesInfos/' . $id . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetInstanceByIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $id * @param GetInstanceByIdRequest $request * * @return GetInstanceByIdResponse */ public function getInstanceById($id, $request) { $runtime = new RuntimeOptions([]); $headers = new GetInstanceByIdHeaders([]); return $this->getInstanceByIdWithOptions($id, $request, $headers, $runtime); } /** * @param GetInstanceIdListRequest $request * @param GetInstanceIdListHeaders $headers * @param RuntimeOptions $runtime * * @return GetInstanceIdListResponse */ public function getInstanceIdListWithOptions($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; } $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->approvedResult)) { $body['approvedResult'] = $request->approvedResult; } if (!Utils::isUnset($request->createFromTimeGMT)) { $body['createFromTimeGMT'] = $request->createFromTimeGMT; } if (!Utils::isUnset($request->createToTimeGMT)) { $body['createToTimeGMT'] = $request->createToTimeGMT; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->instanceStatus)) { $body['instanceStatus'] = $request->instanceStatus; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->modifiedFromTimeGMT)) { $body['modifiedFromTimeGMT'] = $request->modifiedFromTimeGMT; } if (!Utils::isUnset($request->modifiedToTimeGMT)) { $body['modifiedToTimeGMT'] = $request->modifiedToTimeGMT; } if (!Utils::isUnset($request->originatorId)) { $body['originatorId'] = $request->originatorId; } if (!Utils::isUnset($request->searchFieldJson)) { $body['searchFieldJson'] = $request->searchFieldJson; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetInstanceIdList', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/processes/instanceIds', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetInstanceIdListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetInstanceIdListRequest $request * * @return GetInstanceIdListResponse */ public function getInstanceIdList($request) { $runtime = new RuntimeOptions([]); $headers = new GetInstanceIdListHeaders([]); return $this->getInstanceIdListWithOptions($request, $headers, $runtime); } /** * @param GetInstancesRequest $request * @param GetInstancesHeaders $headers * @param RuntimeOptions $runtime * * @return GetInstancesResponse */ public function getInstancesWithOptions($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; } $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->approvedResult)) { $body['approvedResult'] = $request->approvedResult; } if (!Utils::isUnset($request->createFromTimeGMT)) { $body['createFromTimeGMT'] = $request->createFromTimeGMT; } if (!Utils::isUnset($request->createToTimeGMT)) { $body['createToTimeGMT'] = $request->createToTimeGMT; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->instanceStatus)) { $body['instanceStatus'] = $request->instanceStatus; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->modifiedFromTimeGMT)) { $body['modifiedFromTimeGMT'] = $request->modifiedFromTimeGMT; } if (!Utils::isUnset($request->modifiedToTimeGMT)) { $body['modifiedToTimeGMT'] = $request->modifiedToTimeGMT; } if (!Utils::isUnset($request->orderConfigJson)) { $body['orderConfigJson'] = $request->orderConfigJson; } if (!Utils::isUnset($request->originatorId)) { $body['originatorId'] = $request->originatorId; } if (!Utils::isUnset($request->searchFieldJson)) { $body['searchFieldJson'] = $request->searchFieldJson; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetInstances', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/processes/instances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetInstancesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetInstancesRequest $request * * @return GetInstancesResponse */ public function getInstances($request) { $runtime = new RuntimeOptions([]); $headers = new GetInstancesHeaders([]); return $this->getInstancesWithOptions($request, $headers, $runtime); } /** * @param GetInstancesByIdListRequest $request * @param GetInstancesByIdListHeaders $headers * @param RuntimeOptions $runtime * * @return GetInstancesByIdListResponse */ public function getInstancesByIdListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->processInstanceIds)) { $query['processInstanceIds'] = $request->processInstanceIds; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'GetInstancesByIdList', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/processes/instances/searchWithIds', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetInstancesByIdListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetInstancesByIdListRequest $request * * @return GetInstancesByIdListResponse */ public function getInstancesByIdList($request) { $runtime = new RuntimeOptions([]); $headers = new GetInstancesByIdListHeaders([]); return $this->getInstancesByIdListWithOptions($request, $headers, $runtime); } /** * @param string $userId * @param GetMeCorpSubmissionRequest $request * @param GetMeCorpSubmissionHeaders $headers * @param RuntimeOptions $runtime * * @return GetMeCorpSubmissionResponse */ public function getMeCorpSubmissionWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appTypes)) { $query['appTypes'] = $request->appTypes; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->createFromTimeGMT)) { $query['createFromTimeGMT'] = $request->createFromTimeGMT; } if (!Utils::isUnset($request->createToTimeGMT)) { $query['createToTimeGMT'] = $request->createToTimeGMT; } if (!Utils::isUnset($request->keyword)) { $query['keyword'] = $request->keyword; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->processCodes)) { $query['processCodes'] = $request->processCodes; } if (!Utils::isUnset($request->token)) { $query['token'] = $request->token; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetMeCorpSubmission', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/tasks/myCorpSubmission/' . $userId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return GetMeCorpSubmissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param GetMeCorpSubmissionRequest $request * * @return GetMeCorpSubmissionResponse */ public function getMeCorpSubmission($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetMeCorpSubmissionHeaders([]); return $this->getMeCorpSubmissionWithOptions($userId, $request, $headers, $runtime); } /** * @param string $userId * @param GetNotifyMeRequest $request * @param GetNotifyMeHeaders $headers * @param RuntimeOptions $runtime * * @return GetNotifyMeResponse */ public function getNotifyMeWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appTypes)) { $query['appTypes'] = $request->appTypes; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->createFromTimeGMT)) { $query['createFromTimeGMT'] = $request->createFromTimeGMT; } if (!Utils::isUnset($request->createToTimeGMT)) { $query['createToTimeGMT'] = $request->createToTimeGMT; } if (!Utils::isUnset($request->instanceCreateFromTimeGMT)) { $query['instanceCreateFromTimeGMT'] = $request->instanceCreateFromTimeGMT; } if (!Utils::isUnset($request->instanceCreateToTimeGMT)) { $query['instanceCreateToTimeGMT'] = $request->instanceCreateToTimeGMT; } if (!Utils::isUnset($request->keyword)) { $query['keyword'] = $request->keyword; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->processCodes)) { $query['processCodes'] = $request->processCodes; } if (!Utils::isUnset($request->token)) { $query['token'] = $request->token; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetNotifyMe', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/corpNotifications/' . $userId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetNotifyMeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $userId * @param GetNotifyMeRequest $request * * @return GetNotifyMeResponse */ public function getNotifyMe($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetNotifyMeHeaders([]); return $this->getNotifyMeWithOptions($userId, $request, $headers, $runtime); } /** * @param string $appType * @param GetOpenUrlRequest $request * @param GetOpenUrlHeaders $headers * @param RuntimeOptions $runtime * * @return GetOpenUrlResponse */ public function getOpenUrlWithOptions($appType, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->fileUrl)) { $query['fileUrl'] = $request->fileUrl; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } if (!Utils::isUnset($request->timeout)) { $query['timeout'] = $request->timeout; } 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' => 'GetOpenUrl', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/temporaryUrls/' . $appType . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOpenUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $appType * @param GetOpenUrlRequest $request * * @return GetOpenUrlResponse */ public function getOpenUrl($appType, $request) { $runtime = new RuntimeOptions([]); $headers = new GetOpenUrlHeaders([]); return $this->getOpenUrlWithOptions($appType, $request, $headers, $runtime); } /** * @param GetOperationRecordsRequest $request * @param GetOperationRecordsHeaders $headers * @param RuntimeOptions $runtime * * @return GetOperationRecordsResponse */ public function getOperationRecordsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->processInstanceId)) { $query['processInstanceId'] = $request->processInstanceId; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'GetOperationRecords', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/processes/operationRecords', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOperationRecordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetOperationRecordsRequest $request * * @return GetOperationRecordsResponse */ public function getOperationRecords($request) { $runtime = new RuntimeOptions([]); $headers = new GetOperationRecordsHeaders([]); return $this->getOperationRecordsWithOptions($request, $headers, $runtime); } /** * @param GetPlatformResourceRequest $request * @param GetPlatformResourceHeaders $headers * @param RuntimeOptions $runtime * * @return GetPlatformResourceResponse */ public function getPlatformResourceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUid)) { $query['callerUid'] = $request->callerUid; } 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' => 'GetPlatformResource', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/platformResources', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return GetPlatformResourceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetPlatformResourceRequest $request * * @return GetPlatformResourceResponse */ public function getPlatformResource($request) { $runtime = new RuntimeOptions([]); $headers = new GetPlatformResourceHeaders([]); return $this->getPlatformResourceWithOptions($request, $headers, $runtime); } /** * @param GetPrintAppInfoRequest $request * @param GetPrintAppInfoHeaders $headers * @param RuntimeOptions $runtime * * @return GetPrintAppInfoResponse */ public function getPrintAppInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->nameLike)) { $query['nameLike'] = $request->nameLike; } 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' => 'GetPrintAppInfo', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/printTemplates/printAppInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return GetPrintAppInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetPrintAppInfoRequest $request * * @return GetPrintAppInfoResponse */ public function getPrintAppInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetPrintAppInfoHeaders([]); return $this->getPrintAppInfoWithOptions($request, $headers, $runtime); } /** * @param GetPrintDictionaryRequest $request * @param GetPrintDictionaryHeaders $headers * @param RuntimeOptions $runtime * * @return GetPrintDictionaryResponse */ public function getPrintDictionaryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->formUuid)) { $query['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } if (!Utils::isUnset($request->version)) { $query['version'] = $request->version; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetPrintDictionary', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/printTemplates/printDictionaries', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return GetPrintDictionaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetPrintDictionaryRequest $request * * @return GetPrintDictionaryResponse */ public function getPrintDictionary($request) { $runtime = new RuntimeOptions([]); $headers = new GetPrintDictionaryHeaders([]); return $this->getPrintDictionaryWithOptions($request, $headers, $runtime); } /** * @param string $processInstanceId * @param GetProcessDefinitionRequest $request * @param GetProcessDefinitionHeaders $headers * @param RuntimeOptions $runtime * * @return GetProcessDefinitionResponse */ public function getProcessDefinitionWithOptions($processInstanceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->groupId)) { $query['groupId'] = $request->groupId; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->nameSpace_)) { $query['nameSpace'] = $request->nameSpace_; } if (!Utils::isUnset($request->orderNumber)) { $query['orderNumber'] = $request->orderNumber; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } if (!Utils::isUnset($request->systemType)) { $query['systemType'] = $request->systemType; } 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' => 'GetProcessDefinition', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/processes/definitions/' . $processInstanceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetProcessDefinitionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $processInstanceId * @param GetProcessDefinitionRequest $request * * @return GetProcessDefinitionResponse */ public function getProcessDefinition($processInstanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetProcessDefinitionHeaders([]); return $this->getProcessDefinitionWithOptions($processInstanceId, $request, $headers, $runtime); } /** * @param GetRunningTaskListRequest $request * @param GetRunningTaskListHeaders $headers * @param RuntimeOptions $runtime * * @return GetRunningTaskListResponse */ public function getRunningTaskListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->processInstanceIdList)) { $body['processInstanceIdList'] = $request->processInstanceIdList; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } if (!Utils::isUnset($request->userCorpId)) { $body['userCorpId'] = $request->userCorpId; } 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' => 'GetRunningTaskList', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/tasks/runningTasks/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRunningTaskListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetRunningTaskListRequest $request * * @return GetRunningTaskListResponse */ public function getRunningTaskList($request) { $runtime = new RuntimeOptions([]); $headers = new GetRunningTaskListHeaders([]); return $this->getRunningTaskListWithOptions($request, $headers, $runtime); } /** * @param GetRunningTasksRequest $request * @param GetRunningTasksHeaders $headers * @param RuntimeOptions $runtime * * @return GetRunningTasksResponse */ public function getRunningTasksWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->processInstanceId)) { $query['processInstanceId'] = $request->processInstanceId; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'GetRunningTasks', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/processes/tasks/getRunningTasks', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRunningTasksResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetRunningTasksRequest $request * * @return GetRunningTasksResponse */ public function getRunningTasks($request) { $runtime = new RuntimeOptions([]); $headers = new GetRunningTasksHeaders([]); return $this->getRunningTasksWithOptions($request, $headers, $runtime); } /** * @param GetSaleUserInfoByUserIdRequest $request * @param GetSaleUserInfoByUserIdHeaders $headers * @param RuntimeOptions $runtime * * @return GetSaleUserInfoByUserIdResponse */ public function getSaleUserInfoByUserIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->namespace_)) { $query['namespace'] = $request->namespace_; } 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' => 'GetSaleUserInfoByUserId', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/saleUserInfo', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return GetSaleUserInfoByUserIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSaleUserInfoByUserIdRequest $request * * @return GetSaleUserInfoByUserIdResponse */ public function getSaleUserInfoByUserId($request) { $runtime = new RuntimeOptions([]); $headers = new GetSaleUserInfoByUserIdHeaders([]); return $this->getSaleUserInfoByUserIdWithOptions($request, $headers, $runtime); } /** * @param GetSimpleCubeModelListRequest $request * @param GetSimpleCubeModelListHeaders $headers * @param RuntimeOptions $runtime * * @return GetSimpleCubeModelListResponse */ public function getSimpleCubeModelListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->cubeCode)) { $query['cubeCode'] = $request->cubeCode; } if (!Utils::isUnset($request->cubeTenantId)) { $query['cubeTenantId'] = $request->cubeTenantId; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'GetSimpleCubeModelList', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/metadata/simpleCubeModelLists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSimpleCubeModelListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetSimpleCubeModelListRequest $request * * @return GetSimpleCubeModelListResponse */ public function getSimpleCubeModelList($request) { $runtime = new RuntimeOptions([]); $headers = new GetSimpleCubeModelListHeaders([]); return $this->getSimpleCubeModelListWithOptions($request, $headers, $runtime); } /** * @param GetTaskCopiesRequest $request * @param GetTaskCopiesHeaders $headers * @param RuntimeOptions $runtime * * @return GetTaskCopiesResponse */ public function getTaskCopiesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->createFromTimeGMT)) { $query['createFromTimeGMT'] = $request->createFromTimeGMT; } if (!Utils::isUnset($request->createToTimeGMT)) { $query['createToTimeGMT'] = $request->createToTimeGMT; } if (!Utils::isUnset($request->keyword)) { $query['keyword'] = $request->keyword; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->processCodes)) { $query['processCodes'] = $request->processCodes; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'GetTaskCopies', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/tasks/taskCopies', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTaskCopiesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param GetTaskCopiesRequest $request * * @return GetTaskCopiesResponse */ public function getTaskCopies($request) { $runtime = new RuntimeOptions([]); $headers = new GetTaskCopiesHeaders([]); return $this->getTaskCopiesWithOptions($request, $headers, $runtime); } /** * @param ListApplicationRequest $request * @param ListApplicationHeaders $headers * @param RuntimeOptions $runtime * * @return ListApplicationResponse */ public function listApplicationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appFilter)) { $query['appFilter'] = $request->appFilter; } if (!Utils::isUnset($request->appNameSearchKeyword)) { $query['appNameSearchKeyword'] = $request->appNameSearchKeyword; } 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->token)) { $query['token'] = $request->token; } 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' => 'ListApplication', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/organizations/applications', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListApplicationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListApplicationRequest $request * * @return ListApplicationResponse */ public function listApplication($request) { $runtime = new RuntimeOptions([]); $headers = new ListApplicationHeaders([]); return $this->listApplicationWithOptions($request, $headers, $runtime); } /** * @param string $instanceId * @param ListApplicationAuthorizationServiceApplicationInformationRequest $request * @param ListApplicationAuthorizationServiceApplicationInformationHeaders $headers * @param RuntimeOptions $runtime * * @return ListApplicationAuthorizationServiceApplicationInformationResponse */ public function listApplicationAuthorizationServiceApplicationInformationWithOptions($instanceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUnionId)) { $query['callerUnionId'] = $request->callerUnionId; } 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' => 'ListApplicationAuthorizationServiceApplicationInformation', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/authorizations/applicationInfos/' . $instanceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return ListApplicationAuthorizationServiceApplicationInformationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $instanceId * @param ListApplicationAuthorizationServiceApplicationInformationRequest $request * * @return ListApplicationAuthorizationServiceApplicationInformationResponse */ public function listApplicationAuthorizationServiceApplicationInformation($instanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListApplicationAuthorizationServiceApplicationInformationHeaders([]); return $this->listApplicationAuthorizationServiceApplicationInformationWithOptions($instanceId, $request, $headers, $runtime); } /** * @param string $instanceId * @param ListApplicationAuthorizationServiceConnectorInformationRequest $request * @param ListApplicationAuthorizationServiceConnectorInformationHeaders $headers * @param RuntimeOptions $runtime * * @return ListApplicationAuthorizationServiceConnectorInformationResponse */ public function listApplicationAuthorizationServiceConnectorInformationWithOptions($instanceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUid)) { $query['callerUid'] = $request->callerUid; } 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' => 'ListApplicationAuthorizationServiceConnectorInformation', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/applicationAuthorizations/plugs/' . $instanceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return ListApplicationAuthorizationServiceConnectorInformationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $instanceId * @param ListApplicationAuthorizationServiceConnectorInformationRequest $request * * @return ListApplicationAuthorizationServiceConnectorInformationResponse */ public function listApplicationAuthorizationServiceConnectorInformation($instanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListApplicationAuthorizationServiceConnectorInformationHeaders([]); return $this->listApplicationAuthorizationServiceConnectorInformationWithOptions($instanceId, $request, $headers, $runtime); } /** * @param string $instanceId * @param ListApplicationInformationRequest $request * @param ListApplicationInformationHeaders $headers * @param RuntimeOptions $runtime * * @return ListApplicationInformationResponse */ public function listApplicationInformationWithOptions($instanceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUid)) { $query['callerUid'] = $request->callerUid; } 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' => 'ListApplicationInformation', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/infos/' . $instanceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return ListApplicationInformationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $instanceId * @param ListApplicationInformationRequest $request * * @return ListApplicationInformationResponse */ public function listApplicationInformation($instanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListApplicationInformationHeaders([]); return $this->listApplicationInformationWithOptions($instanceId, $request, $headers, $runtime); } /** * @param ListCommodityRequest $request * @param ListCommodityHeaders $headers * @param RuntimeOptions $runtime * * @return ListCommodityResponse */ public function listCommodityWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUid)) { $query['callerUid'] = $request->callerUid; } 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' => 'ListCommodity', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/appAuth/commodities', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return ListCommodityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListCommodityRequest $request * * @return ListCommodityResponse */ public function listCommodity($request) { $runtime = new RuntimeOptions([]); $headers = new ListCommodityHeaders([]); return $this->listCommodityWithOptions($request, $headers, $runtime); } /** * @param string $instanceId * @param ListConnectorInformationRequest $request * @param ListConnectorInformationHeaders $headers * @param RuntimeOptions $runtime * * @return ListConnectorInformationResponse */ public function listConnectorInformationWithOptions($instanceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUid)) { $query['callerUid'] = $request->callerUid; } 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' => 'ListConnectorInformation', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/plugins/infos/' . $instanceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return ListConnectorInformationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $instanceId * @param ListConnectorInformationRequest $request * * @return ListConnectorInformationResponse */ public function listConnectorInformation($instanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListConnectorInformationHeaders([]); return $this->listConnectorInformationWithOptions($instanceId, $request, $headers, $runtime); } /** * @param ListFormRemarksRequest $request * @param ListFormRemarksHeaders $headers * @param RuntimeOptions $runtime * * @return ListFormRemarksResponse */ public function listFormRemarksWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->formInstanceIdList)) { $body['formInstanceIdList'] = $request->formInstanceIdList; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'ListFormRemarks', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/remarks/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListFormRemarksResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListFormRemarksRequest $request * * @return ListFormRemarksResponse */ public function listFormRemarks($request) { $runtime = new RuntimeOptions([]); $headers = new ListFormRemarksHeaders([]); return $this->listFormRemarksWithOptions($request, $headers, $runtime); } /** * @param ListNavigationByFormTypeRequest $request * @param ListNavigationByFormTypeHeaders $headers * @param RuntimeOptions $runtime * * @return ListNavigationByFormTypeResponse */ public function listNavigationByFormTypeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->formType)) { $query['formType'] = $request->formType; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'ListNavigationByFormType', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/navigations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return ListNavigationByFormTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListNavigationByFormTypeRequest $request * * @return ListNavigationByFormTypeResponse */ public function listNavigationByFormType($request) { $runtime = new RuntimeOptions([]); $headers = new ListNavigationByFormTypeHeaders([]); return $this->listNavigationByFormTypeWithOptions($request, $headers, $runtime); } /** * @param ListOperationLogsRequest $request * @param ListOperationLogsHeaders $headers * @param RuntimeOptions $runtime * * @return ListOperationLogsResponse */ public function listOperationLogsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->formInstanceIdList)) { $body['formInstanceIdList'] = $request->formInstanceIdList; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'ListOperationLogs', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/operationsLogs/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListOperationLogsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ListOperationLogsRequest $request * * @return ListOperationLogsResponse */ public function listOperationLogs($request) { $runtime = new RuntimeOptions([]); $headers = new ListOperationLogsHeaders([]); return $this->listOperationLogsWithOptions($request, $headers, $runtime); } /** * @param string $formInstanceId * @param ListTableDataByFormInstanceIdTableIdRequest $request * @param ListTableDataByFormInstanceIdTableIdHeaders $headers * @param RuntimeOptions $runtime * * @return ListTableDataByFormInstanceIdTableIdResponse */ public function listTableDataByFormInstanceIdTableIdWithOptions($formInstanceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->formUuid)) { $query['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } if (!Utils::isUnset($request->tableFieldId)) { $query['tableFieldId'] = $request->tableFieldId; } 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' => 'ListTableDataByFormInstanceIdTableId', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/innerTables/' . $formInstanceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListTableDataByFormInstanceIdTableIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $formInstanceId * @param ListTableDataByFormInstanceIdTableIdRequest $request * * @return ListTableDataByFormInstanceIdTableIdResponse */ public function listTableDataByFormInstanceIdTableId($formInstanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListTableDataByFormInstanceIdTableIdHeaders([]); return $this->listTableDataByFormInstanceIdTableIdWithOptions($formInstanceId, $request, $headers, $runtime); } /** * @param LoginCodeGenRequest $request * @param LoginCodeGenHeaders $headers * @param RuntimeOptions $runtime * * @return LoginCodeGenResponse */ public function loginCodeGenWithOptions($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' => 'LoginCodeGen', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/authorizations/loginCodes', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return LoginCodeGenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param LoginCodeGenRequest $request * * @return LoginCodeGenResponse */ public function loginCodeGen($request) { $runtime = new RuntimeOptions([]); $headers = new LoginCodeGenHeaders([]); return $this->loginCodeGenWithOptions($request, $headers, $runtime); } /** * @param NotifyAuthorizationResultRequest $request * @param NotifyAuthorizationResultHeaders $headers * @param RuntimeOptions $runtime * * @return NotifyAuthorizationResultResponse */ public function notifyAuthorizationResultWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accessKey)) { $body['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->accountNumber)) { $body['accountNumber'] = $request->accountNumber; } if (!Utils::isUnset($request->beginTimeGMT)) { $body['beginTimeGMT'] = $request->beginTimeGMT; } if (!Utils::isUnset($request->callerUid)) { $body['callerUid'] = $request->callerUid; } if (!Utils::isUnset($request->chargeType)) { $body['chargeType'] = $request->chargeType; } if (!Utils::isUnset($request->commerceType)) { $body['commerceType'] = $request->commerceType; } if (!Utils::isUnset($request->commodityType)) { $body['commodityType'] = $request->commodityType; } if (!Utils::isUnset($request->endTimeGMT)) { $body['endTimeGMT'] = $request->endTimeGMT; } if (!Utils::isUnset($request->instanceId)) { $body['instanceId'] = $request->instanceId; } if (!Utils::isUnset($request->instanceName)) { $body['instanceName'] = $request->instanceName; } if (!Utils::isUnset($request->produceCode)) { $body['produceCode'] = $request->produceCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'NotifyAuthorizationResult', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/authorizationResults/notify', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return NotifyAuthorizationResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param NotifyAuthorizationResultRequest $request * * @return NotifyAuthorizationResultResponse */ public function notifyAuthorizationResult($request) { $runtime = new RuntimeOptions([]); $headers = new NotifyAuthorizationResultHeaders([]); return $this->notifyAuthorizationResultWithOptions($request, $headers, $runtime); } /** * @param PageAutoFlowLogRequest $request * @param PageAutoFlowLogHeaders $headers * @param RuntimeOptions $runtime * * @return PageAutoFlowLogResponse */ public function pageAutoFlowLogWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->endTimeGMT)) { $body['endTimeGMT'] = $request->endTimeGMT; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->processCode)) { $body['processCode'] = $request->processCode; } if (!Utils::isUnset($request->startTimeGMT)) { $body['startTimeGMT'] = $request->startTimeGMT; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } if (!Utils::isUnset($request->token)) { $body['token'] = $request->token; } 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' => 'PageAutoFlowLog', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/logs/automations/paginationQuery', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PageAutoFlowLogResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PageAutoFlowLogRequest $request * * @return PageAutoFlowLogResponse */ public function pageAutoFlowLog($request) { $runtime = new RuntimeOptions([]); $headers = new PageAutoFlowLogHeaders([]); return $this->pageAutoFlowLogWithOptions($request, $headers, $runtime); } /** * @param PageFormBaseInfosRequest $request * @param PageFormBaseInfosHeaders $headers * @param RuntimeOptions $runtime * * @return PageFormBaseInfosResponse */ public function pageFormBaseInfosWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appKey)) { $body['appKey'] = $request->appKey; } if (!Utils::isUnset($request->formTypeList)) { $body['formTypeList'] = $request->formTypeList; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->pageIndex)) { $body['pageIndex'] = $request->pageIndex; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'PageFormBaseInfos', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/forms/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PageFormBaseInfosResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param PageFormBaseInfosRequest $request * * @return PageFormBaseInfosResponse */ public function pageFormBaseInfos($request) { $runtime = new RuntimeOptions([]); $headers = new PageFormBaseInfosHeaders([]); return $this->pageFormBaseInfosWithOptions($request, $headers, $runtime); } /** * @param QueryServiceRecordRequest $request * @param QueryServiceRecordHeaders $headers * @param RuntimeOptions $runtime * * @return QueryServiceRecordResponse */ public function queryServiceRecordWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->formUuid)) { $query['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->hookType)) { $query['hookType'] = $request->hookType; } if (!Utils::isUnset($request->hookUuid)) { $query['hookUuid'] = $request->hookUuid; } if (!Utils::isUnset($request->instanceId)) { $query['instanceId'] = $request->instanceId; } if (!Utils::isUnset($request->invokeAfterDateGMT)) { $query['invokeAfterDateGMT'] = $request->invokeAfterDateGMT; } if (!Utils::isUnset($request->invokeBeforeDateGMT)) { $query['invokeBeforeDateGMT'] = $request->invokeBeforeDateGMT; } if (!Utils::isUnset($request->invokeStatus)) { $query['invokeStatus'] = $request->invokeStatus; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->requestUrl)) { $query['requestUrl'] = $request->requestUrl; } if (!Utils::isUnset($request->sourceUuid)) { $query['sourceUuid'] = $request->sourceUuid; } if (!Utils::isUnset($request->success)) { $query['success'] = $request->success; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'QueryServiceRecord', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/services/invocationRecords', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryServiceRecordResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param QueryServiceRecordRequest $request * * @return QueryServiceRecordResponse */ public function queryServiceRecord($request) { $runtime = new RuntimeOptions([]); $headers = new QueryServiceRecordHeaders([]); return $this->queryServiceRecordWithOptions($request, $headers, $runtime); } /** * @param RedirectTaskRequest $request * @param RedirectTaskHeaders $headers * @param RuntimeOptions $runtime * * @return RedirectTaskResponse */ public function redirectTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->byManager)) { $body['byManager'] = $request->byManager; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->nowActionExecutorId)) { $body['nowActionExecutorId'] = $request->nowActionExecutorId; } if (!Utils::isUnset($request->processInstanceId)) { $body['processInstanceId'] = $request->processInstanceId; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'RedirectTask', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/tasks/redirect', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return RedirectTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RedirectTaskRequest $request * * @return RedirectTaskResponse */ public function redirectTask($request) { $runtime = new RuntimeOptions([]); $headers = new RedirectTaskHeaders([]); return $this->redirectTaskWithOptions($request, $headers, $runtime); } /** * @param RefundCommodityRequest $request * @param RefundCommodityHeaders $headers * @param RuntimeOptions $runtime * * @return RefundCommodityResponse */ public function refundCommodityWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUid)) { $query['callerUid'] = $request->callerUid; } 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' => 'RefundCommodity', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/appAuth/commodities/refund', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return RefundCommodityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RefundCommodityRequest $request * * @return RefundCommodityResponse */ public function refundCommodity($request) { $runtime = new RuntimeOptions([]); $headers = new RefundCommodityHeaders([]); return $this->refundCommodityWithOptions($request, $headers, $runtime); } /** * @param RegisterAccountsRequest $request * @param RegisterAccountsHeaders $headers * @param RuntimeOptions $runtime * * @return RegisterAccountsResponse */ public function registerAccountsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accessKey)) { $body['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->activeCode)) { $body['activeCode'] = $request->activeCode; } if (!Utils::isUnset($request->corpId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RegisterAccounts', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/applicationAuthorizations/accounts/register', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return RegisterAccountsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RegisterAccountsRequest $request * * @return RegisterAccountsResponse */ public function registerAccounts($request) { $runtime = new RuntimeOptions([]); $headers = new RegisterAccountsHeaders([]); return $this->registerAccountsWithOptions($request, $headers, $runtime); } /** * @param ReleaseCommodityRequest $request * @param ReleaseCommodityHeaders $headers * @param RuntimeOptions $runtime * * @return ReleaseCommodityResponse */ public function releaseCommodityWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUid)) { $query['callerUid'] = $request->callerUid; } 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' => 'ReleaseCommodity', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/appAuth/commodities/release', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return ReleaseCommodityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ReleaseCommodityRequest $request * * @return ReleaseCommodityResponse */ public function releaseCommodity($request) { $runtime = new RuntimeOptions([]); $headers = new ReleaseCommodityHeaders([]); return $this->releaseCommodityWithOptions($request, $headers, $runtime); } /** * @param string $callerUid * @param RemoveTenantResourceRequest $request * @param RemoveTenantResourceHeaders $headers * @param RuntimeOptions $runtime * * @return RemoveTenantResourceResponse */ public function removeTenantResourceWithOptions($callerUid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'RemoveTenantResource', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/applications/tenantRelatedResources/' . $callerUid . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return RemoveTenantResourceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $callerUid * @param RemoveTenantResourceRequest $request * * @return RemoveTenantResourceResponse */ public function removeTenantResource($callerUid, $request) { $runtime = new RuntimeOptions([]); $headers = new RemoveTenantResourceHeaders([]); return $this->removeTenantResourceWithOptions($callerUid, $request, $headers, $runtime); } /** * @param RenderBatchCallbackRequest $request * @param RenderBatchCallbackHeaders $headers * @param RuntimeOptions $runtime * * @return RenderBatchCallbackResponse */ public function renderBatchCallbackWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->fileSize)) { $body['fileSize'] = $request->fileSize; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->namespace_)) { $body['namespace'] = $request->namespace_; } if (!Utils::isUnset($request->ossUrl)) { $body['ossUrl'] = $request->ossUrl; } if (!Utils::isUnset($request->sequenceId)) { $body['sequenceId'] = $request->sequenceId; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } if (!Utils::isUnset($request->timeZone)) { $body['timeZone'] = $request->timeZone; } 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' => 'RenderBatchCallback', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/printings/callbacks/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return RenderBatchCallbackResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RenderBatchCallbackRequest $request * * @return RenderBatchCallbackResponse */ public function renderBatchCallback($request) { $runtime = new RuntimeOptions([]); $headers = new RenderBatchCallbackHeaders([]); return $this->renderBatchCallbackWithOptions($request, $headers, $runtime); } /** * @param RenewApplicationAuthorizationServiceOrderRequest $request * @param RenewApplicationAuthorizationServiceOrderHeaders $headers * @param RuntimeOptions $runtime * * @return RenewApplicationAuthorizationServiceOrderResponse */ public function renewApplicationAuthorizationServiceOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accessKey)) { $body['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUnionId)) { $body['callerUnionId'] = $request->callerUnionId; } if (!Utils::isUnset($request->endTimeGMT)) { $body['endTimeGMT'] = $request->endTimeGMT; } if (!Utils::isUnset($request->instanceId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RenewApplicationAuthorizationServiceOrder', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/applicationAuthorizations/orders/renew', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return RenewApplicationAuthorizationServiceOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RenewApplicationAuthorizationServiceOrderRequest $request * * @return RenewApplicationAuthorizationServiceOrderResponse */ public function renewApplicationAuthorizationServiceOrder($request) { $runtime = new RuntimeOptions([]); $headers = new RenewApplicationAuthorizationServiceOrderHeaders([]); return $this->renewApplicationAuthorizationServiceOrderWithOptions($request, $headers, $runtime); } /** * @param RenewTenantOrderRequest $request * @param RenewTenantOrderHeaders $headers * @param RuntimeOptions $runtime * * @return RenewTenantOrderResponse */ public function renewTenantOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accessKey)) { $body['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUnionId)) { $body['callerUnionId'] = $request->callerUnionId; } if (!Utils::isUnset($request->endTimeGMT)) { $body['endTimeGMT'] = $request->endTimeGMT; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RenewTenantOrder', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/tenants/reorder', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return RenewTenantOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param RenewTenantOrderRequest $request * * @return RenewTenantOrderResponse */ public function renewTenantOrder($request) { $runtime = new RuntimeOptions([]); $headers = new RenewTenantOrderHeaders([]); return $this->renewTenantOrderWithOptions($request, $headers, $runtime); } /** * @param SaveFormDataRequest $request * @param SaveFormDataHeaders $headers * @param RuntimeOptions $runtime * * @return SaveFormDataResponse */ public function saveFormDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->formDataJson)) { $body['formDataJson'] = $request->formDataJson; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'SaveFormData', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/instances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveFormDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SaveFormDataRequest $request * * @return SaveFormDataResponse */ public function saveFormData($request) { $runtime = new RuntimeOptions([]); $headers = new SaveFormDataHeaders([]); return $this->saveFormDataWithOptions($request, $headers, $runtime); } /** * @param SaveFormRemarkRequest $request * @param SaveFormRemarkHeaders $headers * @param RuntimeOptions $runtime * * @return SaveFormRemarkResponse */ public function saveFormRemarkWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->atUserId)) { $body['atUserId'] = $request->atUserId; } if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->formInstanceId)) { $body['formInstanceId'] = $request->formInstanceId; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->replyId)) { $body['replyId'] = $request->replyId; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'SaveFormRemark', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/remarks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveFormRemarkResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SaveFormRemarkRequest $request * * @return SaveFormRemarkResponse */ public function saveFormRemark($request) { $runtime = new RuntimeOptions([]); $headers = new SaveFormRemarkHeaders([]); return $this->saveFormRemarkWithOptions($request, $headers, $runtime); } /** * @param SavePrintTplDetailInfoRequest $request * @param SavePrintTplDetailInfoHeaders $headers * @param RuntimeOptions $runtime * * @return SavePrintTplDetailInfoResponse */ public function savePrintTplDetailInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->fileNameConfig)) { $body['fileNameConfig'] = $request->fileNameConfig; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->formVersion)) { $body['formVersion'] = $request->formVersion; } if (!Utils::isUnset($request->setting)) { $body['setting'] = $request->setting; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->vm)) { $body['vm'] = $request->vm; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SavePrintTplDetailInfo', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/printTemplates/printTplDetailInfos', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return SavePrintTplDetailInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SavePrintTplDetailInfoRequest $request * * @return SavePrintTplDetailInfoResponse */ public function savePrintTplDetailInfo($request) { $runtime = new RuntimeOptions([]); $headers = new SavePrintTplDetailInfoHeaders([]); return $this->savePrintTplDetailInfoWithOptions($request, $headers, $runtime); } /** * @param SearchActivationCodeRequest $request * @param SearchActivationCodeHeaders $headers * @param RuntimeOptions $runtime * * @return SearchActivationCodeResponse */ public function searchActivationCodeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUid)) { $query['callerUid'] = $request->callerUid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SearchActivationCode', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/activationCode/information', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return SearchActivationCodeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchActivationCodeRequest $request * * @return SearchActivationCodeResponse */ public function searchActivationCode($request) { $runtime = new RuntimeOptions([]); $headers = new SearchActivationCodeHeaders([]); return $this->searchActivationCodeWithOptions($request, $headers, $runtime); } /** * @param SearchEmployeeFieldValuesRequest $request * @param SearchEmployeeFieldValuesHeaders $headers * @param RuntimeOptions $runtime * * @return SearchEmployeeFieldValuesResponse */ public function searchEmployeeFieldValuesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->createFromTimeGMT)) { $body['createFromTimeGMT'] = $request->createFromTimeGMT; } if (!Utils::isUnset($request->createToTimeGMT)) { $body['createToTimeGMT'] = $request->createToTimeGMT; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->modifiedFromTimeGMT)) { $body['modifiedFromTimeGMT'] = $request->modifiedFromTimeGMT; } if (!Utils::isUnset($request->modifiedToTimeGMT)) { $body['modifiedToTimeGMT'] = $request->modifiedToTimeGMT; } if (!Utils::isUnset($request->originatorId)) { $body['originatorId'] = $request->originatorId; } if (!Utils::isUnset($request->searchFieldJson)) { $body['searchFieldJson'] = $request->searchFieldJson; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } if (!Utils::isUnset($request->targetFieldJson)) { $body['targetFieldJson'] = $request->targetFieldJson; } 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' => 'SearchEmployeeFieldValues', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/employeeFields', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchEmployeeFieldValuesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchEmployeeFieldValuesRequest $request * * @return SearchEmployeeFieldValuesResponse */ public function searchEmployeeFieldValues($request) { $runtime = new RuntimeOptions([]); $headers = new SearchEmployeeFieldValuesHeaders([]); return $this->searchEmployeeFieldValuesWithOptions($request, $headers, $runtime); } /** * @param string $appType * @param string $formUuid * @param SearchFormDataIdListRequest $request * @param SearchFormDataIdListHeaders $headers * @param RuntimeOptions $runtime * * @return SearchFormDataIdListResponse */ public function searchFormDataIdListWithOptions($appType, $formUuid, $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; } $body = []; if (!Utils::isUnset($request->createFromTimeGMT)) { $body['createFromTimeGMT'] = $request->createFromTimeGMT; } if (!Utils::isUnset($request->createToTimeGMT)) { $body['createToTimeGMT'] = $request->createToTimeGMT; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->modifiedFromTimeGMT)) { $body['modifiedFromTimeGMT'] = $request->modifiedFromTimeGMT; } if (!Utils::isUnset($request->modifiedToTimeGMT)) { $body['modifiedToTimeGMT'] = $request->modifiedToTimeGMT; } if (!Utils::isUnset($request->originatorId)) { $body['originatorId'] = $request->originatorId; } if (!Utils::isUnset($request->searchFieldJson)) { $body['searchFieldJson'] = $request->searchFieldJson; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'SearchFormDataIdList', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/instances/ids/' . $appType . '/' . $formUuid . '', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchFormDataIdListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $appType * @param string $formUuid * @param SearchFormDataIdListRequest $request * * @return SearchFormDataIdListResponse */ public function searchFormDataIdList($appType, $formUuid, $request) { $runtime = new RuntimeOptions([]); $headers = new SearchFormDataIdListHeaders([]); return $this->searchFormDataIdListWithOptions($appType, $formUuid, $request, $headers, $runtime); } /** * @param SearchFormDataRemovalTableDataRequest $request * @param SearchFormDataRemovalTableDataHeaders $headers * @param RuntimeOptions $runtime * * @return SearchFormDataRemovalTableDataResponse */ public function searchFormDataRemovalTableDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->createFromTimeGMT)) { $body['createFromTimeGMT'] = $request->createFromTimeGMT; } if (!Utils::isUnset($request->createToTimeGMT)) { $body['createToTimeGMT'] = $request->createToTimeGMT; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->modifiedFromTimeGMT)) { $body['modifiedFromTimeGMT'] = $request->modifiedFromTimeGMT; } if (!Utils::isUnset($request->modifiedToTimeGMT)) { $body['modifiedToTimeGMT'] = $request->modifiedToTimeGMT; } if (!Utils::isUnset($request->orderConfigJson)) { $body['orderConfigJson'] = $request->orderConfigJson; } if (!Utils::isUnset($request->originatorId)) { $body['originatorId'] = $request->originatorId; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchFieldJson)) { $body['searchFieldJson'] = $request->searchFieldJson; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'SearchFormDataRemovalTableData', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/instances/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchFormDataRemovalTableDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchFormDataRemovalTableDataRequest $request * * @return SearchFormDataRemovalTableDataResponse */ public function searchFormDataRemovalTableData($request) { $runtime = new RuntimeOptions([]); $headers = new SearchFormDataRemovalTableDataHeaders([]); return $this->searchFormDataRemovalTableDataWithOptions($request, $headers, $runtime); } /** * @param SearchFormDataSecondGenerationRequest $request * @param SearchFormDataSecondGenerationHeaders $headers * @param RuntimeOptions $runtime * * @return SearchFormDataSecondGenerationResponse */ public function searchFormDataSecondGenerationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->createFromTimeGMT)) { $body['createFromTimeGMT'] = $request->createFromTimeGMT; } if (!Utils::isUnset($request->createToTimeGMT)) { $body['createToTimeGMT'] = $request->createToTimeGMT; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->modifiedFromTimeGMT)) { $body['modifiedFromTimeGMT'] = $request->modifiedFromTimeGMT; } if (!Utils::isUnset($request->modifiedToTimeGMT)) { $body['modifiedToTimeGMT'] = $request->modifiedToTimeGMT; } if (!Utils::isUnset($request->orderConfigJson)) { $body['orderConfigJson'] = $request->orderConfigJson; } if (!Utils::isUnset($request->originatorId)) { $body['originatorId'] = $request->originatorId; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchCondition)) { $body['searchCondition'] = $request->searchCondition; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'SearchFormDataSecondGeneration', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/instances/advances/queryAll', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchFormDataSecondGenerationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchFormDataSecondGenerationRequest $request * * @return SearchFormDataSecondGenerationResponse */ public function searchFormDataSecondGeneration($request) { $runtime = new RuntimeOptions([]); $headers = new SearchFormDataSecondGenerationHeaders([]); return $this->searchFormDataSecondGenerationWithOptions($request, $headers, $runtime); } /** * @param SearchFormDataSecondGenerationNoTableFieldRequest $request * @param SearchFormDataSecondGenerationNoTableFieldHeaders $headers * @param RuntimeOptions $runtime * * @return SearchFormDataSecondGenerationNoTableFieldResponse */ public function searchFormDataSecondGenerationNoTableFieldWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->createFromTimeGMT)) { $body['createFromTimeGMT'] = $request->createFromTimeGMT; } if (!Utils::isUnset($request->createToTimeGMT)) { $body['createToTimeGMT'] = $request->createToTimeGMT; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->modifiedFromTimeGMT)) { $body['modifiedFromTimeGMT'] = $request->modifiedFromTimeGMT; } if (!Utils::isUnset($request->modifiedToTimeGMT)) { $body['modifiedToTimeGMT'] = $request->modifiedToTimeGMT; } if (!Utils::isUnset($request->orderConfigJson)) { $body['orderConfigJson'] = $request->orderConfigJson; } if (!Utils::isUnset($request->originatorId)) { $body['originatorId'] = $request->originatorId; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchCondition)) { $body['searchCondition'] = $request->searchCondition; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'SearchFormDataSecondGenerationNoTableField', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/instances/advances/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchFormDataSecondGenerationNoTableFieldResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchFormDataSecondGenerationNoTableFieldRequest $request * * @return SearchFormDataSecondGenerationNoTableFieldResponse */ public function searchFormDataSecondGenerationNoTableField($request) { $runtime = new RuntimeOptions([]); $headers = new SearchFormDataSecondGenerationNoTableFieldHeaders([]); return $this->searchFormDataSecondGenerationNoTableFieldWithOptions($request, $headers, $runtime); } /** * @param SearchFormDatasRequest $request * @param SearchFormDatasHeaders $headers * @param RuntimeOptions $runtime * * @return SearchFormDatasResponse */ public function searchFormDatasWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->createFromTimeGMT)) { $body['createFromTimeGMT'] = $request->createFromTimeGMT; } if (!Utils::isUnset($request->createToTimeGMT)) { $body['createToTimeGMT'] = $request->createToTimeGMT; } if (!Utils::isUnset($request->currentPage)) { $body['currentPage'] = $request->currentPage; } if (!Utils::isUnset($request->dynamicOrder)) { $body['dynamicOrder'] = $request->dynamicOrder; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->modifiedFromTimeGMT)) { $body['modifiedFromTimeGMT'] = $request->modifiedFromTimeGMT; } if (!Utils::isUnset($request->modifiedToTimeGMT)) { $body['modifiedToTimeGMT'] = $request->modifiedToTimeGMT; } if (!Utils::isUnset($request->originatorId)) { $body['originatorId'] = $request->originatorId; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchFieldJson)) { $body['searchFieldJson'] = $request->searchFieldJson; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'SearchFormDatas', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/instances/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchFormDatasResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SearchFormDatasRequest $request * * @return SearchFormDatasResponse */ public function searchFormDatas($request) { $runtime = new RuntimeOptions([]); $headers = new SearchFormDatasHeaders([]); return $this->searchFormDatasWithOptions($request, $headers, $runtime); } /** * @param StartInstanceRequest $request * @param StartInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return StartInstanceResponse */ public function startInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->departmentId)) { $body['departmentId'] = $request->departmentId; } if (!Utils::isUnset($request->formDataJson)) { $body['formDataJson'] = $request->formDataJson; } if (!Utils::isUnset($request->formUuid)) { $body['formUuid'] = $request->formUuid; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->processCode)) { $body['processCode'] = $request->processCode; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'StartInstance', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/processes/instances/start', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return StartInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param StartInstanceRequest $request * * @return StartInstanceResponse */ public function startInstance($request) { $runtime = new RuntimeOptions([]); $headers = new StartInstanceHeaders([]); return $this->startInstanceWithOptions($request, $headers, $runtime); } /** * @param TerminateCloudAuthorizationRequest $request * @param TerminateCloudAuthorizationHeaders $headers * @param RuntimeOptions $runtime * * @return TerminateCloudAuthorizationResponse */ public function terminateCloudAuthorizationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accessKey)) { $body['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUnionId)) { $body['callerUnionId'] = $request->callerUnionId; } if (!Utils::isUnset($request->instanceId)) { $body['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, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'TerminateCloudAuthorization', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/cloudAuthorizations/terminate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return TerminateCloudAuthorizationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param TerminateCloudAuthorizationRequest $request * * @return TerminateCloudAuthorizationResponse */ public function terminateCloudAuthorization($request) { $runtime = new RuntimeOptions([]); $headers = new TerminateCloudAuthorizationHeaders([]); return $this->terminateCloudAuthorizationWithOptions($request, $headers, $runtime); } /** * @param TerminateInstanceRequest $request * @param TerminateInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return TerminateInstanceResponse */ public function terminateInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appType)) { $query['appType'] = $request->appType; } if (!Utils::isUnset($request->language)) { $query['language'] = $request->language; } if (!Utils::isUnset($request->processInstanceId)) { $query['processInstanceId'] = $request->processInstanceId; } if (!Utils::isUnset($request->systemToken)) { $query['systemToken'] = $request->systemToken; } 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' => 'TerminateInstance', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/processes/instances/terminate', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return TerminateInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param TerminateInstanceRequest $request * * @return TerminateInstanceResponse */ public function terminateInstance($request) { $runtime = new RuntimeOptions([]); $headers = new TerminateInstanceHeaders([]); return $this->terminateInstanceWithOptions($request, $headers, $runtime); } /** * @param UpdateCloudAccountInformationRequest $request * @param UpdateCloudAccountInformationHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateCloudAccountInformationResponse */ public function updateCloudAccountInformationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accessKey)) { $body['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->accountNumber)) { $body['accountNumber'] = $request->accountNumber; } if (!Utils::isUnset($request->callerUnionId)) { $body['callerUnionId'] = $request->callerUnionId; } if (!Utils::isUnset($request->commodityType)) { $body['commodityType'] = $request->commodityType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateCloudAccountInformation', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/cloudAccountInfos', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateCloudAccountInformationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateCloudAccountInformationRequest $request * * @return UpdateCloudAccountInformationResponse */ public function updateCloudAccountInformation($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateCloudAccountInformationHeaders([]); return $this->updateCloudAccountInformationWithOptions($request, $headers, $runtime); } /** * @param UpdateFormDataRequest $request * @param UpdateFormDataHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateFormDataResponse */ public function updateFormDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->formInstanceId)) { $body['formInstanceId'] = $request->formInstanceId; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } if (!Utils::isUnset($request->updateFormDataJson)) { $body['updateFormDataJson'] = $request->updateFormDataJson; } if (!Utils::isUnset($request->useLatestVersion)) { $body['useLatestVersion'] = $request->useLatestVersion; } 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' => 'UpdateFormData', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/instances', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return UpdateFormDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateFormDataRequest $request * * @return UpdateFormDataResponse */ public function updateFormData($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateFormDataHeaders([]); return $this->updateFormDataWithOptions($request, $headers, $runtime); } /** * @param UpdateInstanceRequest $request * @param UpdateInstanceHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateInstanceResponse */ public function updateInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->processInstanceId)) { $body['processInstanceId'] = $request->processInstanceId; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } if (!Utils::isUnset($request->updateFormDataJson)) { $body['updateFormDataJson'] = $request->updateFormDataJson; } 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' => 'UpdateInstance', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/processes/instances', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateInstanceRequest $request * * @return UpdateInstanceResponse */ public function updateInstance($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInstanceHeaders([]); return $this->updateInstanceWithOptions($request, $headers, $runtime); } /** * @param UpdateStatusRequest $request * @param UpdateStatusHeaders $headers * @param RuntimeOptions $runtime * * @return UpdateStatusResponse */ public function updateStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appType)) { $body['appType'] = $request->appType; } if (!Utils::isUnset($request->errorLines)) { $body['errorLines'] = $request->errorLines; } if (!Utils::isUnset($request->importSequence)) { $body['importSequence'] = $request->importSequence; } if (!Utils::isUnset($request->language)) { $body['language'] = $request->language; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } if (!Utils::isUnset($request->systemToken)) { $body['systemToken'] = $request->systemToken; } 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' => 'UpdateStatus', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/forms/status', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpdateStatusRequest $request * * @return UpdateStatusResponse */ public function updateStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateStatusHeaders([]); return $this->updateStatusWithOptions($request, $headers, $runtime); } /** * @param UpgradeTenantInformationRequest $request * @param UpgradeTenantInformationHeaders $headers * @param RuntimeOptions $runtime * * @return UpgradeTenantInformationResponse */ public function upgradeTenantInformationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accessKey)) { $body['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->accountNumber)) { $body['accountNumber'] = $request->accountNumber; } if (!Utils::isUnset($request->callerUnionId)) { $body['callerUnionId'] = $request->callerUnionId; } if (!Utils::isUnset($request->commodityType)) { $body['commodityType'] = $request->commodityType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpgradeTenantInformation', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/tenantInfos', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpgradeTenantInformationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param UpgradeTenantInformationRequest $request * * @return UpgradeTenantInformationResponse */ public function upgradeTenantInformation($request) { $runtime = new RuntimeOptions([]); $headers = new UpgradeTenantInformationHeaders([]); return $this->upgradeTenantInformationWithOptions($request, $headers, $runtime); } /** * @param string $instanceId * @param ValidateApplicationAuthorizationOrderRequest $request * @param ValidateApplicationAuthorizationOrderHeaders $headers * @param RuntimeOptions $runtime * * @return ValidateApplicationAuthorizationOrderResponse */ public function validateApplicationAuthorizationOrderWithOptions($instanceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUnionId)) { $query['callerUnionId'] = $request->callerUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ValidateApplicationAuthorizationOrder', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/applicationOrderUpdateAuthorizations/' . $instanceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return ValidateApplicationAuthorizationOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $instanceId * @param ValidateApplicationAuthorizationOrderRequest $request * * @return ValidateApplicationAuthorizationOrderResponse */ public function validateApplicationAuthorizationOrder($instanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new ValidateApplicationAuthorizationOrderHeaders([]); return $this->validateApplicationAuthorizationOrderWithOptions($instanceId, $request, $headers, $runtime); } /** * @param string $callerUid * @param ValidateApplicationAuthorizationServiceOrderRequest $request * @param ValidateApplicationAuthorizationServiceOrderHeaders $headers * @param RuntimeOptions $runtime * * @return ValidateApplicationAuthorizationServiceOrderResponse */ public function validateApplicationAuthorizationServiceOrderWithOptions($callerUid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ValidateApplicationAuthorizationServiceOrder', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/appsAuthorizations/freshOrderInfoReviews/' . $callerUid . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return ValidateApplicationAuthorizationServiceOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $callerUid * @param ValidateApplicationAuthorizationServiceOrderRequest $request * * @return ValidateApplicationAuthorizationServiceOrderResponse */ public function validateApplicationAuthorizationServiceOrder($callerUid, $request) { $runtime = new RuntimeOptions([]); $headers = new ValidateApplicationAuthorizationServiceOrderHeaders([]); return $this->validateApplicationAuthorizationServiceOrderWithOptions($callerUid, $request, $headers, $runtime); } /** * @param string $callerUnionid * @param ValidateApplicationServiceOrderUpgradeRequest $request * @param ValidateApplicationServiceOrderUpgradeHeaders $headers * @param RuntimeOptions $runtime * * @return ValidateApplicationServiceOrderUpgradeResponse */ public function validateApplicationServiceOrderUpgradeWithOptions($callerUnionid, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ValidateApplicationServiceOrderUpgrade', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/applications/orderValidations/' . $callerUnionid . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return ValidateApplicationServiceOrderUpgradeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $callerUnionid * @param ValidateApplicationServiceOrderUpgradeRequest $request * * @return ValidateApplicationServiceOrderUpgradeResponse */ public function validateApplicationServiceOrderUpgrade($callerUnionid, $request) { $runtime = new RuntimeOptions([]); $headers = new ValidateApplicationServiceOrderUpgradeHeaders([]); return $this->validateApplicationServiceOrderUpgradeWithOptions($callerUnionid, $request, $headers, $runtime); } /** * @param ValidateOrderBuyRequest $request * @param ValidateOrderBuyHeaders $headers * @param RuntimeOptions $runtime * * @return ValidateOrderBuyResponse */ public function validateOrderBuyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUid)) { $query['callerUid'] = $request->callerUid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ValidateOrderBuy', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/orderBuy/validate', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return ValidateOrderBuyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ValidateOrderBuyRequest $request * * @return ValidateOrderBuyResponse */ public function validateOrderBuy($request) { $runtime = new RuntimeOptions([]); $headers = new ValidateOrderBuyHeaders([]); return $this->validateOrderBuyWithOptions($request, $headers, $runtime); } /** * @param string $instanceId * @param ValidateOrderUpdateRequest $request * @param ValidateOrderUpdateHeaders $headers * @param RuntimeOptions $runtime * * @return ValidateOrderUpdateResponse */ public function validateOrderUpdateWithOptions($instanceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUid)) { $query['callerUid'] = $request->callerUid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ValidateOrderUpdate', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/orders/renewalReviews/' . $instanceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return ValidateOrderUpdateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param string $instanceId * @param ValidateOrderUpdateRequest $request * * @return ValidateOrderUpdateResponse */ public function validateOrderUpdate($instanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new ValidateOrderUpdateHeaders([]); return $this->validateOrderUpdateWithOptions($instanceId, $request, $headers, $runtime); } /** * @param ValidateOrderUpgradeRequest $request * @param ValidateOrderUpgradeHeaders $headers * @param RuntimeOptions $runtime * * @return ValidateOrderUpgradeResponse */ public function validateOrderUpgradeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accessKey)) { $query['accessKey'] = $request->accessKey; } if (!Utils::isUnset($request->callerUid)) { $query['callerUid'] = $request->callerUid; } 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' => 'ValidateOrderUpgrade', 'version' => 'yida_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yida/apps/orderUpgrade/validate', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return ValidateOrderUpgradeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param ValidateOrderUpgradeRequest $request * * @return ValidateOrderUpgradeResponse */ public function validateOrderUpgrade($request) { $runtime = new RuntimeOptions([]); $headers = new ValidateOrderUpgradeHeaders([]); return $this->validateOrderUpgradeWithOptions($request, $headers, $runtime); } } src/yida_1_0/Models/AppLoginCodeGenHeaders.php000064400000002332146412132660015113 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AppLoginCodeGenHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/AppLoginCodeGenRequest.php000064400000004153146412132660015173 0ustar00 'appKey', 'signTimestampStr' => 'signTimestampStr', 'signature' => 'signature', 'fullUrl' => 'fullUrl', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->signTimestampStr) { $res['signTimestampStr'] = $this->signTimestampStr; } if (null !== $this->signature) { $res['signature'] = $this->signature; } if (null !== $this->fullUrl) { $res['fullUrl'] = $this->fullUrl; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return AppLoginCodeGenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['signTimestampStr'])) { $model->signTimestampStr = $map['signTimestampStr']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } if (isset($map['fullUrl'])) { $model->fullUrl = $map['fullUrl']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/AppLoginCodeGenResponse.php000064400000002726146412132660015345 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AppLoginCodeGenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AppLoginCodeGenResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/AppLoginCodeGenResponseBody.php000064400000001530146412132660016153 0ustar00 'loginCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->loginCode) { $res['loginCode'] = $this->loginCode; } return $res; } /** * @param array $map * * @return AppLoginCodeGenResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['loginCode'])) { $model->loginCode = $map['loginCode']; } return $model; } } src/yida_1_0/Models/BatchGetFormDataByIdListHeaders.php000064400000002354146412132660016664 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchGetFormDataByIdListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/BatchGetFormDataByIdListRequest.php000064400000005602146412132660016740 0ustar00 'appType', 'formInstanceIdList' => 'formInstanceIdList', 'formUuid' => 'formUuid', 'needFormInstanceValue' => 'needFormInstanceValue', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->formInstanceIdList) { $res['formInstanceIdList'] = $this->formInstanceIdList; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->needFormInstanceValue) { $res['needFormInstanceValue'] = $this->needFormInstanceValue; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return BatchGetFormDataByIdListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['formInstanceIdList'])) { if (!empty($map['formInstanceIdList'])) { $model->formInstanceIdList = $map['formInstanceIdList']; } } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['needFormInstanceValue'])) { $model->needFormInstanceValue = $map['needFormInstanceValue']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/BatchGetFormDataByIdListResponse.php000064400000002772146412132660017113 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchGetFormDataByIdListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchGetFormDataByIdListResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/BatchGetFormDataByIdListResponseBody.php000064400000002635146412132660017727 0ustar00 '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 BatchGetFormDataByIdListResponseBody */ 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/yida_1_0/Models/BatchGetFormDataByIdListResponseBody/result.php000064400000015512146412132660021243 0ustar00 'createTimeGMT', 'creatorUserId' => 'creatorUserId', 'formData' => 'formData', 'formInstanceId' => 'formInstanceId', 'formUuid' => 'formUuid', 'id' => 'id', 'instanceValue' => 'instanceValue', 'modifiedTimeGMT' => 'modifiedTimeGMT', 'modifier' => 'modifier', 'modifyUser' => 'modifyUser', 'originator' => 'originator', 'sequence' => 'sequence', 'serialNumber' => 'serialNumber', 'title' => 'title', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTimeGMT) { $res['createTimeGMT'] = $this->createTimeGMT; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->formData) { $res['formData'] = $this->formData; } if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->instanceValue) { $res['instanceValue'] = $this->instanceValue; } if (null !== $this->modifiedTimeGMT) { $res['modifiedTimeGMT'] = $this->modifiedTimeGMT; } if (null !== $this->modifier) { $res['modifier'] = $this->modifier; } if (null !== $this->modifyUser) { $res['modifyUser'] = null !== $this->modifyUser ? $this->modifyUser->toMap() : null; } if (null !== $this->originator) { $res['originator'] = null !== $this->originator ? $this->originator->toMap() : null; } if (null !== $this->sequence) { $res['sequence'] = $this->sequence; } if (null !== $this->serialNumber) { $res['serialNumber'] = $this->serialNumber; } if (null !== $this->title) { $res['title'] = $this->title; } 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['createTimeGMT'])) { $model->createTimeGMT = $map['createTimeGMT']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['formData'])) { $model->formData = $map['formData']; } if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['instanceValue'])) { $model->instanceValue = $map['instanceValue']; } if (isset($map['modifiedTimeGMT'])) { $model->modifiedTimeGMT = $map['modifiedTimeGMT']; } if (isset($map['modifier'])) { $model->modifier = $map['modifier']; } if (isset($map['modifyUser'])) { $model->modifyUser = modifyUser::fromMap($map['modifyUser']); } if (isset($map['originator'])) { $model->originator = originator::fromMap($map['originator']); } if (isset($map['sequence'])) { $model->sequence = $map['sequence']; } if (isset($map['serialNumber'])) { $model->serialNumber = $map['serialNumber']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/yida_1_0/Models/BatchGetFormDataByIdListResponseBody/result/modifyUser.php000064400000002420146412132660023363 0ustar00 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = null !== $this->name ? $this->name->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return modifyUser */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = name::fromMap($map['name']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/BatchGetFormDataByIdListResponseBody/result/modifyUser/name.php000064400000002420146412132660024303 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } return $res; } /** * @param array $map * * @return name */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } return $model; } } src/yida_1_0/Models/BatchGetFormDataByIdListResponseBody/result/originator.php000064400000002420146412132660023412 0ustar00 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = null !== $this->name ? $this->name->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return originator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = name::fromMap($map['name']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/BatchGetFormDataByIdListResponseBody/result/originator/name.php000064400000002420146412132660024332 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } return $res; } /** * @param array $map * * @return name */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } return $model; } } src/yida_1_0/Models/BatchRemovalByFormInstanceIdListHeaders.php000064400000002374146412132660020447 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchRemovalByFormInstanceIdListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/BatchRemovalByFormInstanceIdListRequest.php000064400000006441146412132660020523 0ustar00 'appType', 'asynchronousExecution' => 'asynchronousExecution', 'executeExpression' => 'executeExpression', 'formInstanceIdList' => 'formInstanceIdList', 'formUuid' => 'formUuid', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->asynchronousExecution) { $res['asynchronousExecution'] = $this->asynchronousExecution; } if (null !== $this->executeExpression) { $res['executeExpression'] = $this->executeExpression; } if (null !== $this->formInstanceIdList) { $res['formInstanceIdList'] = $this->formInstanceIdList; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return BatchRemovalByFormInstanceIdListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['asynchronousExecution'])) { $model->asynchronousExecution = $map['asynchronousExecution']; } if (isset($map['executeExpression'])) { $model->executeExpression = $map['executeExpression']; } if (isset($map['formInstanceIdList'])) { if (!empty($map['formInstanceIdList'])) { $model->formInstanceIdList = $map['formInstanceIdList']; } } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/BatchRemovalByFormInstanceIdListResponse.php000064400000002224146412132660020664 0ustar00 '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 BatchRemovalByFormInstanceIdListResponse */ 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/yida_1_0/Models/BatchSaveFormDataHeaders.php000064400000002336146412132660015437 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchSaveFormDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/BatchSaveFormDataRequest.php000064400000010040146412132660015503 0ustar00 'appType', 'asynchronousExecution' => 'asynchronousExecution', 'formDataJsonList' => 'formDataJsonList', 'formUuid' => 'formUuid', 'keepRunningAfterException' => 'keepRunningAfterException', 'noExecuteExpression' => 'noExecuteExpression', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->asynchronousExecution) { $res['asynchronousExecution'] = $this->asynchronousExecution; } if (null !== $this->formDataJsonList) { $res['formDataJsonList'] = $this->formDataJsonList; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->keepRunningAfterException) { $res['keepRunningAfterException'] = $this->keepRunningAfterException; } if (null !== $this->noExecuteExpression) { $res['noExecuteExpression'] = $this->noExecuteExpression; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return BatchSaveFormDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['asynchronousExecution'])) { $model->asynchronousExecution = $map['asynchronousExecution']; } if (isset($map['formDataJsonList'])) { if (!empty($map['formDataJsonList'])) { $model->formDataJsonList = $map['formDataJsonList']; } } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['keepRunningAfterException'])) { $model->keepRunningAfterException = $map['keepRunningAfterException']; } if (isset($map['noExecuteExpression'])) { $model->noExecuteExpression = $map['noExecuteExpression']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/BatchSaveFormDataResponse.php000064400000002736146412132660015666 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchSaveFormDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchSaveFormDataResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/BatchSaveFormDataResponseBody.php000064400000001577146412132660016506 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return BatchSaveFormDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = $map['result']; } } return $model; } } src/yida_1_0/Models/BatchUpdateFormDataByInstanceIdHeaders.php000064400000002372146412132660020220 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchUpdateFormDataByInstanceIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/BatchUpdateFormDataByInstanceIdRequest.php000064400000011540146412132660020272 0ustar00 'appType', 'asynchronousExecution' => 'asynchronousExecution', 'formInstanceIdList' => 'formInstanceIdList', 'formUuid' => 'formUuid', 'ignoreEmpty' => 'ignoreEmpty', 'noExecuteExpression' => 'noExecuteExpression', 'systemToken' => 'systemToken', 'updateFormDataJson' => 'updateFormDataJson', 'useLatestFormSchemaVersion' => 'useLatestFormSchemaVersion', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->asynchronousExecution) { $res['asynchronousExecution'] = $this->asynchronousExecution; } if (null !== $this->formInstanceIdList) { $res['formInstanceIdList'] = $this->formInstanceIdList; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->ignoreEmpty) { $res['ignoreEmpty'] = $this->ignoreEmpty; } if (null !== $this->noExecuteExpression) { $res['noExecuteExpression'] = $this->noExecuteExpression; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->updateFormDataJson) { $res['updateFormDataJson'] = $this->updateFormDataJson; } if (null !== $this->useLatestFormSchemaVersion) { $res['useLatestFormSchemaVersion'] = $this->useLatestFormSchemaVersion; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return BatchUpdateFormDataByInstanceIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['asynchronousExecution'])) { $model->asynchronousExecution = $map['asynchronousExecution']; } if (isset($map['formInstanceIdList'])) { if (!empty($map['formInstanceIdList'])) { $model->formInstanceIdList = $map['formInstanceIdList']; } } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['ignoreEmpty'])) { $model->ignoreEmpty = $map['ignoreEmpty']; } if (isset($map['noExecuteExpression'])) { $model->noExecuteExpression = $map['noExecuteExpression']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['updateFormDataJson'])) { $model->updateFormDataJson = $map['updateFormDataJson']; } if (isset($map['useLatestFormSchemaVersion'])) { $model->useLatestFormSchemaVersion = $map['useLatestFormSchemaVersion']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/BatchUpdateFormDataByInstanceIdResponse.php000064400000003026146412132660020440 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchUpdateFormDataByInstanceIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchUpdateFormDataByInstanceIdResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/BatchUpdateFormDataByInstanceIdResponseBody.php000064400000001633146412132660021260 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return BatchUpdateFormDataByInstanceIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = $map['result']; } } return $model; } } src/yida_1_0/Models/BatchUpdateFormDataByInstanceMapHeaders.php000064400000002374146412132660020403 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchUpdateFormDataByInstanceMapHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/BatchUpdateFormDataByInstanceMapRequest.php000064400000010251146412132660020451 0ustar00 'appType', 'asynchronousExecution' => 'asynchronousExecution', 'formUuid' => 'formUuid', 'ignoreEmpty' => 'ignoreEmpty', 'noExecuteExpression' => 'noExecuteExpression', 'systemToken' => 'systemToken', 'updateFormDataJsonMap' => 'updateFormDataJsonMap', 'useLatestFormSchemaVersion' => 'useLatestFormSchemaVersion', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->asynchronousExecution) { $res['asynchronousExecution'] = $this->asynchronousExecution; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->ignoreEmpty) { $res['ignoreEmpty'] = $this->ignoreEmpty; } if (null !== $this->noExecuteExpression) { $res['noExecuteExpression'] = $this->noExecuteExpression; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->updateFormDataJsonMap) { $res['updateFormDataJsonMap'] = $this->updateFormDataJsonMap; } if (null !== $this->useLatestFormSchemaVersion) { $res['useLatestFormSchemaVersion'] = $this->useLatestFormSchemaVersion; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return BatchUpdateFormDataByInstanceMapRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['asynchronousExecution'])) { $model->asynchronousExecution = $map['asynchronousExecution']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['ignoreEmpty'])) { $model->ignoreEmpty = $map['ignoreEmpty']; } if (isset($map['noExecuteExpression'])) { $model->noExecuteExpression = $map['noExecuteExpression']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['updateFormDataJsonMap'])) { $model->updateFormDataJsonMap = $map['updateFormDataJsonMap']; } if (isset($map['useLatestFormSchemaVersion'])) { $model->useLatestFormSchemaVersion = $map['useLatestFormSchemaVersion']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/BatchUpdateFormDataByInstanceMapResponse.php000064400000003032146412132660020616 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchUpdateFormDataByInstanceMapResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchUpdateFormDataByInstanceMapResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/BatchUpdateFormDataByInstanceMapResponseBody.php000064400000001635146412132660021443 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return BatchUpdateFormDataByInstanceMapResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = $map['result']; } } return $model; } } src/yida_1_0/Models/BuyAuthorizationOrderHeaders.php000064400000002346146412132660016476 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BuyAuthorizationOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/BuyAuthorizationOrderRequest.php000064400000010522146412132660016546 0ustar00 'accessKey', 'accountNumber' => 'accountNumber', 'beginTimeGMT' => 'beginTimeGMT', 'callerUnionId' => 'callerUnionId', 'chargeType' => 'chargeType', 'commerceType' => 'commerceType', 'commodityType' => 'commodityType', 'endTimeGMT' => 'endTimeGMT', 'instanceId' => 'instanceId', 'instanceName' => 'instanceName', 'produceCode' => 'produceCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->accountNumber) { $res['accountNumber'] = $this->accountNumber; } if (null !== $this->beginTimeGMT) { $res['beginTimeGMT'] = $this->beginTimeGMT; } if (null !== $this->callerUnionId) { $res['callerUnionId'] = $this->callerUnionId; } if (null !== $this->chargeType) { $res['chargeType'] = $this->chargeType; } if (null !== $this->commerceType) { $res['commerceType'] = $this->commerceType; } if (null !== $this->commodityType) { $res['commodityType'] = $this->commodityType; } if (null !== $this->endTimeGMT) { $res['endTimeGMT'] = $this->endTimeGMT; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->instanceName) { $res['instanceName'] = $this->instanceName; } if (null !== $this->produceCode) { $res['produceCode'] = $this->produceCode; } return $res; } /** * @param array $map * * @return BuyAuthorizationOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['accountNumber'])) { $model->accountNumber = $map['accountNumber']; } if (isset($map['beginTimeGMT'])) { $model->beginTimeGMT = $map['beginTimeGMT']; } if (isset($map['callerUnionId'])) { $model->callerUnionId = $map['callerUnionId']; } if (isset($map['chargeType'])) { $model->chargeType = $map['chargeType']; } if (isset($map['commerceType'])) { $model->commerceType = $map['commerceType']; } if (isset($map['commodityType'])) { $model->commodityType = $map['commodityType']; } if (isset($map['endTimeGMT'])) { $model->endTimeGMT = $map['endTimeGMT']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['instanceName'])) { $model->instanceName = $map['instanceName']; } if (isset($map['produceCode'])) { $model->produceCode = $map['produceCode']; } return $model; } } src/yida_1_0/Models/BuyAuthorizationOrderResponse.php000064400000002756146412132660016726 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BuyAuthorizationOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BuyAuthorizationOrderResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/BuyAuthorizationOrderResponseBody.php000064400000001507146412132660017535 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return BuyAuthorizationOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/BuyFreshOrderHeaders.php000064400000002326146412132660014703 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BuyFreshOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/BuyFreshOrderRequest.php000064400000010502146412132660014753 0ustar00 'accessKey', 'accountNumber' => 'accountNumber', 'beginTimeGMT' => 'beginTimeGMT', 'callerUnionId' => 'callerUnionId', 'chargeType' => 'chargeType', 'commerceType' => 'commerceType', 'commodityType' => 'commodityType', 'endTimeGMT' => 'endTimeGMT', 'instanceId' => 'instanceId', 'instanceName' => 'instanceName', 'produceCode' => 'produceCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->accountNumber) { $res['accountNumber'] = $this->accountNumber; } if (null !== $this->beginTimeGMT) { $res['beginTimeGMT'] = $this->beginTimeGMT; } if (null !== $this->callerUnionId) { $res['callerUnionId'] = $this->callerUnionId; } if (null !== $this->chargeType) { $res['chargeType'] = $this->chargeType; } if (null !== $this->commerceType) { $res['commerceType'] = $this->commerceType; } if (null !== $this->commodityType) { $res['commodityType'] = $this->commodityType; } if (null !== $this->endTimeGMT) { $res['endTimeGMT'] = $this->endTimeGMT; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->instanceName) { $res['instanceName'] = $this->instanceName; } if (null !== $this->produceCode) { $res['produceCode'] = $this->produceCode; } return $res; } /** * @param array $map * * @return BuyFreshOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['accountNumber'])) { $model->accountNumber = $map['accountNumber']; } if (isset($map['beginTimeGMT'])) { $model->beginTimeGMT = $map['beginTimeGMT']; } if (isset($map['callerUnionId'])) { $model->callerUnionId = $map['callerUnionId']; } if (isset($map['chargeType'])) { $model->chargeType = $map['chargeType']; } if (isset($map['commerceType'])) { $model->commerceType = $map['commerceType']; } if (isset($map['commodityType'])) { $model->commodityType = $map['commodityType']; } if (isset($map['endTimeGMT'])) { $model->endTimeGMT = $map['endTimeGMT']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['instanceName'])) { $model->instanceName = $map['instanceName']; } if (isset($map['produceCode'])) { $model->produceCode = $map['produceCode']; } return $model; } } src/yida_1_0/Models/BuyFreshOrderResponse.php000064400000002716146412132660015131 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BuyFreshOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BuyFreshOrderResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/BuyFreshOrderResponseBody.php000064400000001467146412132660015751 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return BuyFreshOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/CheckCloudAccountStatusHeaders.php000064400000002352146412132660016704 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CheckCloudAccountStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/CheckCloudAccountStatusRequest.php000064400000001536146412132660016764 0ustar00 'accessKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } return $res; } /** * @param array $map * * @return CheckCloudAccountStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } return $model; } } src/yida_1_0/Models/CheckCloudAccountStatusResponse.php000064400000002766146412132660017140 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CheckCloudAccountStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CheckCloudAccountStatusResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/CheckCloudAccountStatusResponseBody.php000064400000001513146412132660017743 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CheckCloudAccountStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/CreateOrUpdateFormDataHeaders.php000064400000002350146412132660016442 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateOrUpdateFormDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/CreateOrUpdateFormDataRequest.php000064400000006440146412132660016523 0ustar00 'appType', 'formDataJson' => 'formDataJson', 'formUuid' => 'formUuid', 'noExecuteExpression' => 'noExecuteExpression', 'searchCondition' => 'searchCondition', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->formDataJson) { $res['formDataJson'] = $this->formDataJson; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->noExecuteExpression) { $res['noExecuteExpression'] = $this->noExecuteExpression; } if (null !== $this->searchCondition) { $res['searchCondition'] = $this->searchCondition; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CreateOrUpdateFormDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['formDataJson'])) { $model->formDataJson = $map['formDataJson']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['noExecuteExpression'])) { $model->noExecuteExpression = $map['noExecuteExpression']; } if (isset($map['searchCondition'])) { $model->searchCondition = $map['searchCondition']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/CreateOrUpdateFormDataResponse.php000064400000002762146412132660016674 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateOrUpdateFormDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateOrUpdateFormDataResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/CreateOrUpdateFormDataResponseBody.php000064400000001611146412132660017502 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CreateOrUpdateFormDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = $map['result']; } } return $model; } } src/yida_1_0/Models/DeleteFormDataHeaders.php000064400000002330146412132660014773 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteFormDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/DeleteFormDataRequest.php000064400000004326146412132660015057 0ustar00 'appType', 'formInstanceId' => 'formInstanceId', 'language' => 'language', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DeleteFormDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/DeleteFormDataResponse.php000064400000002160146412132660015217 0ustar00 '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 DeleteFormDataResponse */ 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/yida_1_0/Models/DeleteInstanceHeaders.php000064400000002330146412132660015042 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/DeleteInstanceRequest.php000064400000004375146412132660015132 0ustar00 'appType', 'language' => 'language', 'processInstanceId' => 'processInstanceId', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DeleteInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/DeleteInstanceResponse.php000064400000002160146412132660015266 0ustar00 '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 DeleteInstanceResponse */ 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/yida_1_0/Models/DeleteSequenceHeaders.php000064400000002330146412132660015046 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteSequenceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/DeleteSequenceRequest.php000064400000003722146412132660015131 0ustar00 'appType', 'language' => 'language', 'sequence' => 'sequence', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->sequence) { $res['sequence'] = $this->sequence; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DeleteSequenceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['sequence'])) { $model->sequence = $map['sequence']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/DeleteSequenceResponse.php000064400000002160146412132660015272 0ustar00 '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 DeleteSequenceResponse */ 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/yida_1_0/Models/DeployFunctionCallbackHeaders.php000064400000002350146412132660016534 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeployFunctionCallbackHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/DeployFunctionCallbackRequest.php000064400000005272146412132660016617 0ustar00 'appId', 'customDomain' => 'customDomain', 'deployStage' => 'deployStage', 'gateWayAppKey' => 'gateWayAppKey', 'gateWayAppSecret' => 'gateWayAppSecret', 'gateWayDomain' => 'gateWayDomain', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->customDomain) { $res['customDomain'] = $this->customDomain; } if (null !== $this->deployStage) { $res['deployStage'] = $this->deployStage; } if (null !== $this->gateWayAppKey) { $res['gateWayAppKey'] = $this->gateWayAppKey; } if (null !== $this->gateWayAppSecret) { $res['gateWayAppSecret'] = $this->gateWayAppSecret; } if (null !== $this->gateWayDomain) { $res['gateWayDomain'] = $this->gateWayDomain; } return $res; } /** * @param array $map * * @return DeployFunctionCallbackRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['customDomain'])) { $model->customDomain = $map['customDomain']; } if (isset($map['deployStage'])) { $model->deployStage = $map['deployStage']; } if (isset($map['gateWayAppKey'])) { $model->gateWayAppKey = $map['gateWayAppKey']; } if (isset($map['gateWayAppSecret'])) { $model->gateWayAppSecret = $map['gateWayAppSecret']; } if (isset($map['gateWayDomain'])) { $model->gateWayDomain = $map['gateWayDomain']; } return $model; } } src/yida_1_0/Models/DeployFunctionCallbackResponse.php000064400000002762146412132660016766 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeployFunctionCallbackResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeployFunctionCallbackResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/DeployFunctionCallbackResponseBody.php000064400000001511146412132660017573 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeployFunctionCallbackResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/ExecuteBatchTaskHeaders.php000064400000002334146412132660015346 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ExecuteBatchTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ExecuteBatchTaskRequest.php000064400000005417146412132660015430 0ustar00 'appType', 'outResult' => 'outResult', 'remark' => 'remark', 'systemToken' => 'systemToken', 'taskInformationList' => 'taskInformationList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->outResult) { $res['outResult'] = $this->outResult; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->taskInformationList) { $res['taskInformationList'] = $this->taskInformationList; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ExecuteBatchTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['outResult'])) { $model->outResult = $map['outResult']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['taskInformationList'])) { $model->taskInformationList = $map['taskInformationList']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/ExecuteBatchTaskResponse.php000064400000002732146412132660015573 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ExecuteBatchTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ExecuteBatchTaskResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ExecuteBatchTaskResponseBody.php000064400000003002146412132660016400 0ustar00 'failNumber', 'successNumber' => 'successNumber', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failNumber) { $res['failNumber'] = $this->failNumber; } if (null !== $this->successNumber) { $res['successNumber'] = $this->successNumber; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return ExecuteBatchTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failNumber'])) { $model->failNumber = $map['failNumber']; } if (isset($map['successNumber'])) { $model->successNumber = $map['successNumber']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/yida_1_0/Models/ExecuteCustomApiHeaders.php000064400000002334146412132660015406 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ExecuteCustomApiHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ExecuteCustomApiRequest.php000064400000004341146412132660015463 0ustar00 'appType', 'data' => 'data', 'language' => 'language', 'serviceId' => 'serviceId', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->serviceId) { $res['serviceId'] = $this->serviceId; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ExecuteCustomApiRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['serviceId'])) { $model->serviceId = $map['serviceId']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/ExecuteCustomApiResponse.php000064400000002732146412132660015633 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ExecuteCustomApiResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ExecuteCustomApiResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ExecuteCustomApiResponseBody.php000064400000001477146412132660016456 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ExecuteCustomApiResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/ExecutePlatformTaskHeaders.php000064400000002342146412132660016110 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ExecutePlatformTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ExecutePlatformTaskRequest.php000064400000007312146412132660016167 0ustar00 'appType', 'formDataJson' => 'formDataJson', 'language' => 'language', 'noExecuteExpressions' => 'noExecuteExpressions', 'outResult' => 'outResult', 'processInstanceId' => 'processInstanceId', 'remark' => 'remark', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->formDataJson) { $res['formDataJson'] = $this->formDataJson; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->noExecuteExpressions) { $res['noExecuteExpressions'] = $this->noExecuteExpressions; } if (null !== $this->outResult) { $res['outResult'] = $this->outResult; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ExecutePlatformTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['formDataJson'])) { $model->formDataJson = $map['formDataJson']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['noExecuteExpressions'])) { $model->noExecuteExpressions = $map['noExecuteExpressions']; } if (isset($map['outResult'])) { $model->outResult = $map['outResult']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/ExecutePlatformTaskResponse.php000064400000002172146412132660016334 0ustar00 '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 ExecutePlatformTaskResponse */ 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/yida_1_0/Models/ExecuteTaskHeaders.php000064400000002322146412132660014401 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ExecuteTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ExecuteTaskRequest.php000064400000010603146412132660014457 0ustar00 'appType', 'digitalSignUrl' => 'digitalSignUrl', 'formDataJson' => 'formDataJson', 'language' => 'language', 'noExecuteExpressions' => 'noExecuteExpressions', 'outResult' => 'outResult', 'processInstanceId' => 'processInstanceId', 'remark' => 'remark', 'systemToken' => 'systemToken', 'taskId' => 'taskId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->digitalSignUrl) { $res['digitalSignUrl'] = $this->digitalSignUrl; } if (null !== $this->formDataJson) { $res['formDataJson'] = $this->formDataJson; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->noExecuteExpressions) { $res['noExecuteExpressions'] = $this->noExecuteExpressions; } if (null !== $this->outResult) { $res['outResult'] = $this->outResult; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ExecuteTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['digitalSignUrl'])) { $model->digitalSignUrl = $map['digitalSignUrl']; } if (isset($map['formDataJson'])) { $model->formDataJson = $map['formDataJson']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['noExecuteExpressions'])) { $model->noExecuteExpressions = $map['noExecuteExpressions']; } if (isset($map['outResult'])) { $model->outResult = $map['outResult']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/ExecuteTaskResponse.php000064400000002152146412132660014625 0ustar00 '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 ExecuteTaskResponse */ 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/yida_1_0/Models/ExpireCommodityHeaders.php000064400000002332146412132660015276 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ExpireCommodityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ExpireCommodityRequest.php000064400000002653146412132660015361 0ustar00 'accessKey', 'callerUid' => 'callerUid', 'instanceId' => 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUid) { $res['callerUid'] = $this->callerUid; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return ExpireCommodityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUid'])) { $model->callerUid = $map['callerUid']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/yida_1_0/Models/ExpireCommodityResponse.php000064400000002726146412132660015530 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ExpireCommodityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ExpireCommodityResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ExpireCommodityResponseBody.php000064400000002133146412132660016336 0ustar00 'message', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->message) { $res['message'] = $this->message; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ExpireCommodityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/yida_1_0/Models/GetActivationCodeByCallerUnionIdHeaders.php000064400000002374146412132660020423 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetActivationCodeByCallerUnionIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetActivationCodeByCallerUnionIdRequest.php000064400000001560146412132660020474 0ustar00 'accessKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } return $res; } /** * @param array $map * * @return GetActivationCodeByCallerUnionIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } return $model; } } src/yida_1_0/Models/GetActivationCodeByCallerUnionIdResponse.php000064400000003032146412132660020636 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetActivationCodeByCallerUnionIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetActivationCodeByCallerUnionIdResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetActivationCodeByCallerUnionIdResponseBody.php000064400000001537146412132660021464 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetActivationCodeByCallerUnionIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/GetActivityButtonListHeaders.php000064400000002346146412132660016446 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetActivityButtonListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetActivityButtonListRequest.php000064400000002776146412132660016532 0ustar00 'language', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetActivityButtonListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetActivityButtonListResponse.php000064400000002756146412132660016676 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetActivityButtonListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetActivityButtonListResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetActivityButtonListResponseBody.php000064400000002624146412132660017506 0ustar00 '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 GetActivityButtonListResponseBody */ 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/yida_1_0/Models/GetActivityButtonListResponseBody/result.php000064400000002416146412132660021023 0ustar00 'aliasInChinese', 'aliasInEnglish' => 'aliasInEnglish', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->aliasInChinese) { $res['aliasInChinese'] = $this->aliasInChinese; } if (null !== $this->aliasInEnglish) { $res['aliasInEnglish'] = $this->aliasInEnglish; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['aliasInChinese'])) { $model->aliasInChinese = $map['aliasInChinese']; } if (isset($map['aliasInEnglish'])) { $model->aliasInEnglish = $map['aliasInEnglish']; } return $model; } } src/yida_1_0/Models/GetActivityListHeaders.php000064400000002332146412132660015245 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetActivityListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetActivityListRequest.php000064400000003754146412132660015333 0ustar00 'appType', 'language' => 'language', 'processCode' => 'processCode', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetActivityListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetActivityListResponse.php000064400000002726146412132660015477 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetActivityListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetActivityListResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetActivityListResponseBody.php000064400000002602146412132660016306 0ustar00 '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 GetActivityListResponseBody */ 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/yida_1_0/Models/GetActivityListResponseBody/result.php000064400000003100146412132660017616 0ustar00 'activityId', 'activityName' => 'activityName', 'activityNameInEnglish' => 'activityNameInEnglish', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } if (null !== $this->activityName) { $res['activityName'] = $this->activityName; } if (null !== $this->activityNameInEnglish) { $res['activityNameInEnglish'] = $this->activityNameInEnglish; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } if (isset($map['activityName'])) { $model->activityName = $map['activityName']; } if (isset($map['activityNameInEnglish'])) { $model->activityNameInEnglish = $map['activityNameInEnglish']; } return $model; } } src/yida_1_0/Models/GetAllAuthCubesHeaders.php000064400000002332146412132660015131 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAllAuthCubesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetAllAuthCubesRequest.php000064400000005435146412132660015215 0ustar00 'appType', 'corpId' => 'corpId', 'keywords' => 'keywords', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->keywords) { $res['keywords'] = $this->keywords; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetAllAuthCubesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['keywords'])) { $model->keywords = $map['keywords']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetAllAuthCubesResponse.php000064400000002726146412132660015363 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAllAuthCubesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAllAuthCubesResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetAllAuthCubesResponseBody.php000064400000003240146412132660016171 0ustar00 'count', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->count) { $res['count'] = $this->count; } 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 GetAllAuthCubesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['count'])) { $model->count = $map['count']; } 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/yida_1_0/Models/GetAllAuthCubesResponseBody/result.php000064400000030774146412132660017523 0ustar00 'apappliedCount', 'appCode' => 'appCode', 'appInstanceCode' => 'appInstanceCode', 'appStoreCode' => 'appStoreCode', 'authMode' => 'authMode', 'authorizationType' => 'authorizationType', 'businessProcessCode' => 'businessProcessCode', 'categoriesFirst' => 'categoriesFirst', 'categoriesSecond' => 'categoriesSecond', 'createTimeGMT' => 'createTimeGMT', 'creatorUserId' => 'creatorUserId', 'cubeAuthType' => 'cubeAuthType', 'cubeCode' => 'cubeCode', 'cubeDataRange' => 'cubeDataRange', 'cubeDataRanges' => 'cubeDataRanges', 'cubeSource' => 'cubeSource', 'dataCacheTimeConfiguration' => 'dataCacheTimeConfiguration', 'dataflowCode' => 'dataflowCode', 'description' => 'description', 'domainCode' => 'domainCode', 'enableCache' => 'enableCache', 'id' => 'id', 'isNeedApplication' => 'isNeedApplication', 'isTrend' => 'isTrend', 'modifiedTimeGMT' => 'modifiedTimeGMT', 'modifier' => 'modifier', 'name' => 'name', 'namespaceCode' => 'namespaceCode', 'owner' => 'owner', 'sharedDataSet' => 'sharedDataSet', 'tenantCorpId' => 'tenantCorpId', 'type' => 'type', 'userInformation' => 'userInformation', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->apappliedCount) { $res['apappliedCount'] = $this->apappliedCount; } if (null !== $this->appCode) { $res['appCode'] = $this->appCode; } if (null !== $this->appInstanceCode) { $res['appInstanceCode'] = $this->appInstanceCode; } if (null !== $this->appStoreCode) { $res['appStoreCode'] = $this->appStoreCode; } if (null !== $this->authMode) { $res['authMode'] = $this->authMode; } if (null !== $this->authorizationType) { $res['authorizationType'] = $this->authorizationType; } if (null !== $this->businessProcessCode) { $res['businessProcessCode'] = $this->businessProcessCode; } if (null !== $this->categoriesFirst) { $res['categoriesFirst'] = $this->categoriesFirst; } if (null !== $this->categoriesSecond) { $res['categoriesSecond'] = $this->categoriesSecond; } if (null !== $this->createTimeGMT) { $res['createTimeGMT'] = $this->createTimeGMT; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->cubeAuthType) { $res['cubeAuthType'] = $this->cubeAuthType; } if (null !== $this->cubeCode) { $res['cubeCode'] = $this->cubeCode; } if (null !== $this->cubeDataRange) { $res['cubeDataRange'] = $this->cubeDataRange; } if (null !== $this->cubeDataRanges) { $res['cubeDataRanges'] = []; if (null !== $this->cubeDataRanges && \is_array($this->cubeDataRanges)) { $n = 0; foreach ($this->cubeDataRanges as $item) { $res['cubeDataRanges'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->cubeSource) { $res['cubeSource'] = $this->cubeSource; } if (null !== $this->dataCacheTimeConfiguration) { $res['dataCacheTimeConfiguration'] = $this->dataCacheTimeConfiguration; } if (null !== $this->dataflowCode) { $res['dataflowCode'] = $this->dataflowCode; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->domainCode) { $res['domainCode'] = $this->domainCode; } if (null !== $this->enableCache) { $res['enableCache'] = $this->enableCache; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isNeedApplication) { $res['isNeedApplication'] = $this->isNeedApplication; } if (null !== $this->isTrend) { $res['isTrend'] = $this->isTrend; } if (null !== $this->modifiedTimeGMT) { $res['modifiedTimeGMT'] = $this->modifiedTimeGMT; } if (null !== $this->modifier) { $res['modifier'] = $this->modifier; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->namespaceCode) { $res['namespaceCode'] = $this->namespaceCode; } if (null !== $this->owner) { $res['owner'] = $this->owner; } if (null !== $this->sharedDataSet) { $res['sharedDataSet'] = $this->sharedDataSet; } if (null !== $this->tenantCorpId) { $res['tenantCorpId'] = $this->tenantCorpId; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->userInformation) { $res['userInformation'] = null !== $this->userInformation ? $this->userInformation->toMap() : null; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['apappliedCount'])) { $model->apappliedCount = $map['apappliedCount']; } if (isset($map['appCode'])) { $model->appCode = $map['appCode']; } if (isset($map['appInstanceCode'])) { $model->appInstanceCode = $map['appInstanceCode']; } if (isset($map['appStoreCode'])) { $model->appStoreCode = $map['appStoreCode']; } if (isset($map['authMode'])) { $model->authMode = $map['authMode']; } if (isset($map['authorizationType'])) { $model->authorizationType = $map['authorizationType']; } if (isset($map['businessProcessCode'])) { $model->businessProcessCode = $map['businessProcessCode']; } if (isset($map['categoriesFirst'])) { $model->categoriesFirst = $map['categoriesFirst']; } if (isset($map['categoriesSecond'])) { $model->categoriesSecond = $map['categoriesSecond']; } if (isset($map['createTimeGMT'])) { $model->createTimeGMT = $map['createTimeGMT']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['cubeAuthType'])) { $model->cubeAuthType = $map['cubeAuthType']; } if (isset($map['cubeCode'])) { $model->cubeCode = $map['cubeCode']; } if (isset($map['cubeDataRange'])) { $model->cubeDataRange = $map['cubeDataRange']; } if (isset($map['cubeDataRanges'])) { if (!empty($map['cubeDataRanges'])) { $model->cubeDataRanges = []; $n = 0; foreach ($map['cubeDataRanges'] as $item) { $model->cubeDataRanges[$n++] = null !== $item ? cubeDataRanges::fromMap($item) : $item; } } } if (isset($map['cubeSource'])) { $model->cubeSource = $map['cubeSource']; } if (isset($map['dataCacheTimeConfiguration'])) { $model->dataCacheTimeConfiguration = $map['dataCacheTimeConfiguration']; } if (isset($map['dataflowCode'])) { $model->dataflowCode = $map['dataflowCode']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['domainCode'])) { $model->domainCode = $map['domainCode']; } if (isset($map['enableCache'])) { $model->enableCache = $map['enableCache']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isNeedApplication'])) { $model->isNeedApplication = $map['isNeedApplication']; } if (isset($map['isTrend'])) { $model->isTrend = $map['isTrend']; } if (isset($map['modifiedTimeGMT'])) { $model->modifiedTimeGMT = $map['modifiedTimeGMT']; } if (isset($map['modifier'])) { $model->modifier = $map['modifier']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['namespaceCode'])) { $model->namespaceCode = $map['namespaceCode']; } if (isset($map['owner'])) { $model->owner = $map['owner']; } if (isset($map['sharedDataSet'])) { $model->sharedDataSet = $map['sharedDataSet']; } if (isset($map['tenantCorpId'])) { $model->tenantCorpId = $map['tenantCorpId']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['userInformation'])) { $model->userInformation = userInformation::fromMap($map['userInformation']); } return $model; } } src/yida_1_0/Models/GetAllAuthCubesResponseBody/result/cubeDataRanges.php000064400000005063146412132660022364 0ustar00 'classifiedCode', 'conditionKey' => 'conditionKey', 'conditionValue' => 'conditionValue', 'elementCode' => 'elementCode', 'elementType' => 'elementType', 'operator' => 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classifiedCode) { $res['classifiedCode'] = $this->classifiedCode; } if (null !== $this->conditionKey) { $res['conditionKey'] = $this->conditionKey; } if (null !== $this->conditionValue) { $res['conditionValue'] = $this->conditionValue; } if (null !== $this->elementCode) { $res['elementCode'] = $this->elementCode; } if (null !== $this->elementType) { $res['elementType'] = $this->elementType; } if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return cubeDataRanges */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classifiedCode'])) { $model->classifiedCode = $map['classifiedCode']; } if (isset($map['conditionKey'])) { $model->conditionKey = $map['conditionKey']; } if (isset($map['conditionValue'])) { if (!empty($map['conditionValue'])) { $model->conditionValue = $map['conditionValue']; } } if (isset($map['elementCode'])) { $model->elementCode = $map['elementCode']; } if (isset($map['elementType'])) { $model->elementType = $map['elementType']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/yida_1_0/Models/GetAllAuthCubesResponseBody/result/userInformation.php000064400000006720146412132660022701 0ustar00 'authProvider', 'corpId' => 'corpId', 'departmentName' => 'departmentName', 'name' => 'name', 'nickName' => 'nickName', 'realmId' => 'realmId', 'refererNamespaceCode' => 'refererNamespaceCode', 'showName' => 'showName', 'workNo' => 'workNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authProvider) { $res['authProvider'] = $this->authProvider; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->realmId) { $res['realmId'] = $this->realmId; } if (null !== $this->refererNamespaceCode) { $res['refererNamespaceCode'] = $this->refererNamespaceCode; } if (null !== $this->showName) { $res['showName'] = $this->showName; } if (null !== $this->workNo) { $res['workNo'] = $this->workNo; } return $res; } /** * @param array $map * * @return userInformation */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authProvider'])) { $model->authProvider = $map['authProvider']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['realmId'])) { $model->realmId = $map['realmId']; } if (isset($map['refererNamespaceCode'])) { $model->refererNamespaceCode = $map['refererNamespaceCode']; } if (isset($map['showName'])) { $model->showName = $map['showName']; } if (isset($map['workNo'])) { $model->workNo = $map['workNo']; } return $model; } } src/yida_1_0/Models/GetApplicationAuthorizationServicePlatformResourceHeaders.php000064400000002440146412132660024377 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetApplicationAuthorizationServicePlatformResourceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetApplicationAuthorizationServicePlatformResourceRequest.php000064400000002761146412132660024462 0ustar00 'accessKey', 'callerUid' => 'callerUid', 'instanceId' => 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUid) { $res['callerUid'] = $this->callerUid; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return GetApplicationAuthorizationServicePlatformResourceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUid'])) { $model->callerUid = $map['callerUid']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/yida_1_0/Models/GetApplicationAuthorizationServicePlatformResourceResponse.php000064400000003142146412132660024622 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetApplicationAuthorizationServicePlatformResourceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetApplicationAuthorizationServicePlatformResourceResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetApplicationAuthorizationServicePlatformResourceResponseBody.php000064400000007632146412132660025450 0ustar00 'accountTotalAmount', 'accountUsageAmount' => 'accountUsageAmount', 'appTotalAmount' => 'appTotalAmount', 'attachmentTotalAmount' => 'attachmentTotalAmount', 'attachmentUsageAmount' => 'attachmentUsageAmount', 'instanceId' => 'instanceId', 'instanceTotalAmount' => 'instanceTotalAmount', 'instanceUsageAmount' => 'instanceUsageAmount', 'pluginUsageAmount' => 'pluginUsageAmount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountTotalAmount) { $res['accountTotalAmount'] = $this->accountTotalAmount; } if (null !== $this->accountUsageAmount) { $res['accountUsageAmount'] = $this->accountUsageAmount; } if (null !== $this->appTotalAmount) { $res['appTotalAmount'] = $this->appTotalAmount; } if (null !== $this->attachmentTotalAmount) { $res['attachmentTotalAmount'] = $this->attachmentTotalAmount; } if (null !== $this->attachmentUsageAmount) { $res['attachmentUsageAmount'] = $this->attachmentUsageAmount; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->instanceTotalAmount) { $res['instanceTotalAmount'] = $this->instanceTotalAmount; } if (null !== $this->instanceUsageAmount) { $res['instanceUsageAmount'] = $this->instanceUsageAmount; } if (null !== $this->pluginUsageAmount) { $res['pluginUsageAmount'] = $this->pluginUsageAmount; } return $res; } /** * @param array $map * * @return GetApplicationAuthorizationServicePlatformResourceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountTotalAmount'])) { $model->accountTotalAmount = $map['accountTotalAmount']; } if (isset($map['accountUsageAmount'])) { $model->accountUsageAmount = $map['accountUsageAmount']; } if (isset($map['appTotalAmount'])) { $model->appTotalAmount = $map['appTotalAmount']; } if (isset($map['attachmentTotalAmount'])) { $model->attachmentTotalAmount = $map['attachmentTotalAmount']; } if (isset($map['attachmentUsageAmount'])) { $model->attachmentUsageAmount = $map['attachmentUsageAmount']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['instanceTotalAmount'])) { $model->instanceTotalAmount = $map['instanceTotalAmount']; } if (isset($map['instanceUsageAmount'])) { $model->instanceUsageAmount = $map['instanceUsageAmount']; } if (isset($map['pluginUsageAmount'])) { $model->pluginUsageAmount = $map['pluginUsageAmount']; } return $model; } } src/yida_1_0/Models/GetAutoFlowLogDetailHeaders.php000064400000002344146412132660016145 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAutoFlowLogDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetAutoFlowLogDetailRequest.php000064400000004750146412132660016225 0ustar00 'corpId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'procInstanceId' => 'procInstanceId', 'token' => 'token', 'userId' => 'userId', ]; 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; } if (null !== $this->procInstanceId) { $res['procInstanceId'] = $this->procInstanceId; } if (null !== $this->token) { $res['token'] = $this->token; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetAutoFlowLogDetailRequest */ 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']; } if (isset($map['procInstanceId'])) { $model->procInstanceId = $map['procInstanceId']; } if (isset($map['token'])) { $model->token = $map['token']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetAutoFlowLogDetailResponse.php000064400000002752146412132660016373 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAutoFlowLogDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAutoFlowLogDetailResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetAutoFlowLogDetailResponseBody.php000064400000004535146412132660017212 0ustar00 'data', 'hasMoreData' => 'hasMoreData', 'pageNumber' => 'pageNumber', '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->hasMoreData) { $res['hasMoreData'] = $this->hasMoreData; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return GetAutoFlowLogDetailResponseBody */ 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['hasMoreData'])) { $model->hasMoreData = $map['hasMoreData']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/GetAutoFlowLogDetailResponseBody/data.php000064400000007052146412132660020120 0ustar00 'activityKey', 'elapsedTimeGMT' => 'elapsedTimeGMT', 'finishTimeGMT' => 'finishTimeGMT', 'flag' => 'flag', 'inputParams' => 'inputParams', 'name' => 'name', 'others' => 'others', 'outputParams' => 'outputParams', 'status' => 'status', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityKey) { $res['activityKey'] = $this->activityKey; } if (null !== $this->elapsedTimeGMT) { $res['elapsedTimeGMT'] = $this->elapsedTimeGMT; } if (null !== $this->finishTimeGMT) { $res['finishTimeGMT'] = $this->finishTimeGMT; } if (null !== $this->flag) { $res['flag'] = $this->flag; } if (null !== $this->inputParams) { $res['inputParams'] = $this->inputParams; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->others) { $res['others'] = $this->others; } if (null !== $this->outputParams) { $res['outputParams'] = $this->outputParams; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityKey'])) { $model->activityKey = $map['activityKey']; } if (isset($map['elapsedTimeGMT'])) { $model->elapsedTimeGMT = $map['elapsedTimeGMT']; } if (isset($map['finishTimeGMT'])) { $model->finishTimeGMT = $map['finishTimeGMT']; } if (isset($map['flag'])) { $model->flag = $map['flag']; } if (isset($map['inputParams'])) { $model->inputParams = $map['inputParams']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['others'])) { $model->others = $map['others']; } if (isset($map['outputParams'])) { $model->outputParams = $map['outputParams']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/yida_1_0/Models/GetCorpAccomplishmentTasksHeaders.php000064400000002360146412132660017416 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCorpAccomplishmentTasksHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetCorpAccomplishmentTasksRequest.php000064400000007111146412132660017472 0ustar00 'appTypes', 'createFromTimeGMT' => 'createFromTimeGMT', 'createToTimeGMT' => 'createToTimeGMT', 'keyword' => 'keyword', 'language' => 'language', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'processCodes' => 'processCodes', 'token' => 'token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appTypes) { $res['appTypes'] = $this->appTypes; } if (null !== $this->createFromTimeGMT) { $res['createFromTimeGMT'] = $this->createFromTimeGMT; } if (null !== $this->createToTimeGMT) { $res['createToTimeGMT'] = $this->createToTimeGMT; } if (null !== $this->keyword) { $res['keyword'] = $this->keyword; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->processCodes) { $res['processCodes'] = $this->processCodes; } if (null !== $this->token) { $res['token'] = $this->token; } return $res; } /** * @param array $map * * @return GetCorpAccomplishmentTasksRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appTypes'])) { $model->appTypes = $map['appTypes']; } if (isset($map['createFromTimeGMT'])) { $model->createFromTimeGMT = $map['createFromTimeGMT']; } if (isset($map['createToTimeGMT'])) { $model->createToTimeGMT = $map['createToTimeGMT']; } if (isset($map['keyword'])) { $model->keyword = $map['keyword']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['processCodes'])) { $model->processCodes = $map['processCodes']; } if (isset($map['token'])) { $model->token = $map['token']; } return $model; } } src/yida_1_0/Models/GetCorpAccomplishmentTasksResponse.php000064400000003002146412132660017633 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCorpAccomplishmentTasksResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCorpAccomplishmentTasksResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetCorpAccomplishmentTasksResponseBody.php000064400000004027146412132660020461 0ustar00 'data', 'pageNumber' => 'pageNumber', '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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return GetCorpAccomplishmentTasksResponseBody */ 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['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/GetCorpAccomplishmentTasksResponseBody/data.php000064400000016544146412132660021401 0ustar00 'activeTimeGMT', 'actualActionerId' => 'actualActionerId', 'appType' => 'appType', 'createTimeGMT' => 'createTimeGMT', 'finishTimeGMT' => 'finishTimeGMT', 'originatorEmail' => 'originatorEmail', 'originatorId' => 'originatorId', 'originatorName' => 'originatorName', 'originatorNameInEnglish' => 'originatorNameInEnglish', 'originatorNickName' => 'originatorNickName', 'originatorNickNameInEnglish' => 'originatorNickNameInEnglish', 'originatorPhoto' => 'originatorPhoto', 'outResult' => 'outResult', 'outResultName' => 'outResultName', 'processInstanceId' => 'processInstanceId', 'status' => 'status', 'taskId' => 'taskId', 'taskType' => 'taskType', 'title' => 'title', 'titleInEnglish' => 'titleInEnglish', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activeTimeGMT) { $res['activeTimeGMT'] = $this->activeTimeGMT; } if (null !== $this->actualActionerId) { $res['actualActionerId'] = $this->actualActionerId; } if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->createTimeGMT) { $res['createTimeGMT'] = $this->createTimeGMT; } if (null !== $this->finishTimeGMT) { $res['finishTimeGMT'] = $this->finishTimeGMT; } if (null !== $this->originatorEmail) { $res['originatorEmail'] = $this->originatorEmail; } if (null !== $this->originatorId) { $res['originatorId'] = $this->originatorId; } if (null !== $this->originatorName) { $res['originatorName'] = $this->originatorName; } if (null !== $this->originatorNameInEnglish) { $res['originatorNameInEnglish'] = $this->originatorNameInEnglish; } if (null !== $this->originatorNickName) { $res['originatorNickName'] = $this->originatorNickName; } if (null !== $this->originatorNickNameInEnglish) { $res['originatorNickNameInEnglish'] = $this->originatorNickNameInEnglish; } if (null !== $this->originatorPhoto) { $res['originatorPhoto'] = $this->originatorPhoto; } if (null !== $this->outResult) { $res['outResult'] = $this->outResult; } if (null !== $this->outResultName) { $res['outResultName'] = $this->outResultName; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->taskType) { $res['taskType'] = $this->taskType; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->titleInEnglish) { $res['titleInEnglish'] = $this->titleInEnglish; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activeTimeGMT'])) { $model->activeTimeGMT = $map['activeTimeGMT']; } if (isset($map['actualActionerId'])) { $model->actualActionerId = $map['actualActionerId']; } if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['createTimeGMT'])) { $model->createTimeGMT = $map['createTimeGMT']; } if (isset($map['finishTimeGMT'])) { $model->finishTimeGMT = $map['finishTimeGMT']; } if (isset($map['originatorEmail'])) { $model->originatorEmail = $map['originatorEmail']; } if (isset($map['originatorId'])) { $model->originatorId = $map['originatorId']; } if (isset($map['originatorName'])) { $model->originatorName = $map['originatorName']; } if (isset($map['originatorNameInEnglish'])) { $model->originatorNameInEnglish = $map['originatorNameInEnglish']; } if (isset($map['originatorNickName'])) { $model->originatorNickName = $map['originatorNickName']; } if (isset($map['originatorNickNameInEnglish'])) { $model->originatorNickNameInEnglish = $map['originatorNickNameInEnglish']; } if (isset($map['originatorPhoto'])) { $model->originatorPhoto = $map['originatorPhoto']; } if (isset($map['outResult'])) { $model->outResult = $map['outResult']; } if (isset($map['outResultName'])) { $model->outResultName = $map['outResultName']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['taskType'])) { $model->taskType = $map['taskType']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['titleInEnglish'])) { $model->titleInEnglish = $map['titleInEnglish']; } return $model; } } src/yida_1_0/Models/GetCorpLevelByAccountIdHeaders.php000064400000002352146412132660016577 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCorpLevelByAccountIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetCorpLevelByAccountIdRequest.php000064400000001536146412132660016657 0ustar00 'accountId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } return $res; } /** * @param array $map * * @return GetCorpLevelByAccountIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } return $model; } } src/yida_1_0/Models/GetCorpLevelByAccountIdResponse.php000064400000002766146412132660017033 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCorpLevelByAccountIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCorpLevelByAccountIdResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetCorpLevelByAccountIdResponseBody.php000064400000001515146412132660017640 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetCorpLevelByAccountIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/GetCorpTasksHeaders.php000064400000002324146412132660014527 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCorpTasksHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetCorpTasksRequest.php000064400000010233146412132660014602 0ustar00 'appTypes', 'corpId' => 'corpId', 'createFromTimeGMT' => 'createFromTimeGMT', 'createToTimeGMT' => 'createToTimeGMT', 'keyword' => 'keyword', 'language' => 'language', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'processCodes' => 'processCodes', 'token' => 'token', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appTypes) { $res['appTypes'] = $this->appTypes; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->createFromTimeGMT) { $res['createFromTimeGMT'] = $this->createFromTimeGMT; } if (null !== $this->createToTimeGMT) { $res['createToTimeGMT'] = $this->createToTimeGMT; } if (null !== $this->keyword) { $res['keyword'] = $this->keyword; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->processCodes) { $res['processCodes'] = $this->processCodes; } if (null !== $this->token) { $res['token'] = $this->token; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetCorpTasksRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appTypes'])) { $model->appTypes = $map['appTypes']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['createFromTimeGMT'])) { $model->createFromTimeGMT = $map['createFromTimeGMT']; } if (isset($map['createToTimeGMT'])) { $model->createToTimeGMT = $map['createToTimeGMT']; } if (isset($map['keyword'])) { $model->keyword = $map['keyword']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['processCodes'])) { $model->processCodes = $map['processCodes']; } if (isset($map['token'])) { $model->token = $map['token']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetCorpTasksResponse.php000064400000002712146412132660014753 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCorpTasksResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCorpTasksResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetCorpTasksResponseBody.php000064400000003755146412132660015601 0ustar00 'data', 'pageNumber' => 'pageNumber', '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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return GetCorpTasksResponseBody */ 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['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/GetCorpTasksResponseBody/data.php000064400000016316146412132660016507 0ustar00 'activeTimeGMT', 'actualActionerId' => 'actualActionerId', 'appType' => 'appType', 'createTimeGMT' => 'createTimeGMT', 'finishTimeGMT' => 'finishTimeGMT', 'originatorEmail' => 'originatorEmail', 'originatorId' => 'originatorId', 'originatorName' => 'originatorName', 'originatorNameInEnglish' => 'originatorNameInEnglish', 'originatorNickName' => 'originatorNickName', 'originatorNickNameEn' => 'originatorNickNameEn', 'originatorPhoto' => 'originatorPhoto', 'outResult' => 'outResult', 'outResultName' => 'outResultName', 'processInstanceId' => 'processInstanceId', 'status' => 'status', 'taskId' => 'taskId', 'taskType' => 'taskType', 'title' => 'title', 'titleInEnglish' => 'titleInEnglish', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activeTimeGMT) { $res['activeTimeGMT'] = $this->activeTimeGMT; } if (null !== $this->actualActionerId) { $res['actualActionerId'] = $this->actualActionerId; } if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->createTimeGMT) { $res['createTimeGMT'] = $this->createTimeGMT; } if (null !== $this->finishTimeGMT) { $res['finishTimeGMT'] = $this->finishTimeGMT; } if (null !== $this->originatorEmail) { $res['originatorEmail'] = $this->originatorEmail; } if (null !== $this->originatorId) { $res['originatorId'] = $this->originatorId; } if (null !== $this->originatorName) { $res['originatorName'] = $this->originatorName; } if (null !== $this->originatorNameInEnglish) { $res['originatorNameInEnglish'] = $this->originatorNameInEnglish; } if (null !== $this->originatorNickName) { $res['originatorNickName'] = $this->originatorNickName; } if (null !== $this->originatorNickNameEn) { $res['originatorNickNameEn'] = $this->originatorNickNameEn; } if (null !== $this->originatorPhoto) { $res['originatorPhoto'] = $this->originatorPhoto; } if (null !== $this->outResult) { $res['outResult'] = $this->outResult; } if (null !== $this->outResultName) { $res['outResultName'] = $this->outResultName; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->taskType) { $res['taskType'] = $this->taskType; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->titleInEnglish) { $res['titleInEnglish'] = $this->titleInEnglish; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activeTimeGMT'])) { $model->activeTimeGMT = $map['activeTimeGMT']; } if (isset($map['actualActionerId'])) { $model->actualActionerId = $map['actualActionerId']; } if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['createTimeGMT'])) { $model->createTimeGMT = $map['createTimeGMT']; } if (isset($map['finishTimeGMT'])) { $model->finishTimeGMT = $map['finishTimeGMT']; } if (isset($map['originatorEmail'])) { $model->originatorEmail = $map['originatorEmail']; } if (isset($map['originatorId'])) { $model->originatorId = $map['originatorId']; } if (isset($map['originatorName'])) { $model->originatorName = $map['originatorName']; } if (isset($map['originatorNameInEnglish'])) { $model->originatorNameInEnglish = $map['originatorNameInEnglish']; } if (isset($map['originatorNickName'])) { $model->originatorNickName = $map['originatorNickName']; } if (isset($map['originatorNickNameEn'])) { $model->originatorNickNameEn = $map['originatorNickNameEn']; } if (isset($map['originatorPhoto'])) { $model->originatorPhoto = $map['originatorPhoto']; } if (isset($map['outResult'])) { $model->outResult = $map['outResult']; } if (isset($map['outResultName'])) { $model->outResultName = $map['outResultName']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['taskType'])) { $model->taskType = $map['taskType']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['titleInEnglish'])) { $model->titleInEnglish = $map['titleInEnglish']; } return $model; } } src/yida_1_0/Models/GetDbConfigHeaders.php000064400000002322146412132660014267 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDbConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetDbConfigRequest.php000064400000003553146412132660014353 0ustar00 'appType', 'corpId' => 'corpId', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetDbConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetDbConfigResponse.php000064400000002706146412132660014520 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDbConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDbConfigResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetDbConfigResponseBody.php000064400000007346146412132660015343 0ustar00 'config', 'corpId' => 'corpId', 'createTimeGMT' => 'createTimeGMT', 'creator' => 'creator', 'exclusive' => 'exclusive', 'id' => 'id', 'modifiedTimeGMT' => 'modifiedTimeGMT', 'modifier' => 'modifier', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->config) { $res['config'] = $this->config; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->createTimeGMT) { $res['createTimeGMT'] = $this->createTimeGMT; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->exclusive) { $res['exclusive'] = $this->exclusive; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->modifiedTimeGMT) { $res['modifiedTimeGMT'] = $this->modifiedTimeGMT; } if (null !== $this->modifier) { $res['modifier'] = $this->modifier; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return GetDbConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['config'])) { $model->config = $map['config']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['createTimeGMT'])) { $model->createTimeGMT = $map['createTimeGMT']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['exclusive'])) { $model->exclusive = $map['exclusive']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['modifiedTimeGMT'])) { $model->modifiedTimeGMT = $map['modifiedTimeGMT']; } if (isset($map['modifier'])) { $model->modifier = $map['modifier']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/yida_1_0/Models/GetFieldDefByUuidHeaders.php000064400000002336146412132660015405 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFieldDefByUuidHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetFieldDefByUuidRequest.php000064400000003617146412132660015465 0ustar00 'appType', 'formUuid' => 'formUuid', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetFieldDefByUuidRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetFieldDefByUuidResponse.php000064400000002736146412132660015634 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFieldDefByUuidResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFieldDefByUuidResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetFieldDefByUuidResponseBody.php000064400000003236146412132660016446 0ustar00 '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 GetFieldDefByUuidResponseBody */ 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/yida_1_0/Models/GetFieldDefByUuidResponseBody/result.php000064400000004357146412132660017771 0ustar00 'behavior', 'children' => 'children', 'componentName' => 'componentName', 'fieldId' => 'fieldId', 'label' => 'label', 'props' => 'props', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->behavior) { $res['behavior'] = $this->behavior; } if (null !== $this->children) { $res['children'] = $this->children; } if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->props) { $res['props'] = $this->props; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['behavior'])) { $model->behavior = $map['behavior']; } if (isset($map['children'])) { $model->children = $map['children']; } if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['props'])) { $model->props = $map['props']; } return $model; } } src/yida_1_0/Models/GetFormComponentDefinitionListHeaders.php000064400000002370146412132660020252 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFormComponentDefinitionListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetFormComponentDefinitionListRequest.php000064400000003476146412132660020337 0ustar00 'language', 'systemToken' => 'systemToken', 'userId' => 'userId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return GetFormComponentDefinitionListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/yida_1_0/Models/GetFormComponentDefinitionListResponse.php000064400000003022146412132660020470 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFormComponentDefinitionListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFormComponentDefinitionListResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetFormComponentDefinitionListResponseBody.php000064400000002657146412132660021323 0ustar00 '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 GetFormComponentDefinitionListResponseBody */ 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/yida_1_0/Models/GetFormComponentDefinitionListResponseBody/result.php000064400000003314146412132660022630 0ustar00 'componentName', 'fieldId' => 'fieldId', 'label' => 'label', 'parentId' => 'parentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } return $model; } } src/yida_1_0/Models/GetFormDataByIDHeaders.php000064400000002332146412132660015022 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFormDataByIDHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetFormDataByIDRequest.php000064400000003433146412132660015102 0ustar00 'appType', 'language' => 'language', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetFormDataByIDRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetFormDataByIDResponse.php000064400000002726146412132660015254 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFormDataByIDResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFormDataByIDResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetFormDataByIDResponseBody.php000064400000007607146412132660016075 0ustar00 'formData', 'formInstId' => 'formInstId', 'modifiedTimeGMT' => 'modifiedTimeGMT', 'originator' => 'originator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formData) { $res['formData'] = $this->formData; } if (null !== $this->formInstId) { $res['formInstId'] = $this->formInstId; } if (null !== $this->modifiedTimeGMT) { $res['modifiedTimeGMT'] = $this->modifiedTimeGMT; } if (null !== $this->originator) { $res['originator'] = null !== $this->originator ? $this->originator->toMap() : null; } return $res; } /** * @param array $map * * @return GetFormDataByIDResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formData'])) { $model->formData = $map['formData']; } if (isset($map['formInstId'])) { $model->formInstId = $map['formInstId']; } if (isset($map['modifiedTimeGMT'])) { $model->modifiedTimeGMT = $map['modifiedTimeGMT']; } if (isset($map['originator'])) { $model->originator = originator::fromMap($map['originator']); } return $model; } } src/yida_1_0/Models/GetFormDataByIDResponseBody/originator.php000064400000003532146412132660020243 0ustar00 'departmentName', 'email' => 'email', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->name) { $res['name'] = null !== $this->name ? $this->name->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return originator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['name'])) { $model->name = name::fromMap($map['name']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetFormDataByIDResponseBody/originator/name.php000064400000003041146412132660021156 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return name */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/yida_1_0/Models/GetFormListInAppHeaders.php000064400000002334146412132660015306 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFormListInAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetFormListInAppRequest.php000064400000004711146412132660015364 0ustar00 'appType', 'formTypes' => 'formTypes', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->formTypes) { $res['formTypes'] = $this->formTypes; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetFormListInAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['formTypes'])) { $model->formTypes = $map['formTypes']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetFormListInAppResponse.php000064400000002732146412132660015533 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFormListInAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFormListInAppResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetFormListInAppResponseBody.php000064400000002343146412132660016347 0ustar00 '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 GetFormListInAppResponseBody */ 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/yida_1_0/Models/GetFormListInAppResponseBody/result.php000064400000003710146412132660017664 0ustar00 'currentPage', 'data' => 'data', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->currentPage) { $res['currentPage'] = $this->currentPage; } 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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } 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['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/GetFormListInAppResponseBody/result/data.php000064400000004110146412132660020570 0ustar00 'creator', 'formType' => 'formType', 'formUuid' => 'formUuid', 'gmtCreate' => 'gmtCreate', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->formType) { $res['formType'] = $this->formType; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->title) { $res['title'] = null !== $this->title ? $this->title->toMap() : null; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['formType'])) { $model->formType = $map['formType']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['title'])) { $model->title = title::fromMap($map['title']); } return $model; } } src/yida_1_0/Models/GetFormListInAppResponseBody/result/data/title.php000064400000002044146412132660021715 0ustar00 'enUS', 'zhCN' => 'zhCN', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enUS) { $res['enUS'] = $this->enUS; } if (null !== $this->zhCN) { $res['zhCN'] = $this->zhCN; } return $res; } /** * @param array $map * * @return title */ public static function fromMap($map = []) { $model = new self(); if (isset($map['enUS'])) { $model->enUS = $map['enUS']; } if (isset($map['zhCN'])) { $model->zhCN = $map['zhCN']; } return $model; } } src/yida_1_0/Models/GetInstanceByIdHeaders.php000064400000002332146412132660015131 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetInstanceByIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetInstanceByIdRequest.php000064400000003472146412132660015214 0ustar00 'appType', 'language' => 'language', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetInstanceByIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetInstanceByIdResponse.php000064400000002726146412132660015363 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetInstanceByIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetInstanceByIdResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetInstanceByIdResponseBody.php000064400000012143146412132660016173 0ustar00 'actionExecutor', 'approvedResult' => 'approvedResult', 'createTimeGMT' => 'createTimeGMT', 'data' => 'data', 'formUuid' => 'formUuid', 'instanceStatus' => 'instanceStatus', 'modifiedTimeGMT' => 'modifiedTimeGMT', 'originator' => 'originator', 'processCode' => 'processCode', 'processInstanceId' => 'processInstanceId', 'title' => 'title', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionExecutor) { $res['actionExecutor'] = []; if (null !== $this->actionExecutor && \is_array($this->actionExecutor)) { $n = 0; foreach ($this->actionExecutor as $item) { $res['actionExecutor'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->approvedResult) { $res['approvedResult'] = $this->approvedResult; } if (null !== $this->createTimeGMT) { $res['createTimeGMT'] = $this->createTimeGMT; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->instanceStatus) { $res['instanceStatus'] = $this->instanceStatus; } if (null !== $this->modifiedTimeGMT) { $res['modifiedTimeGMT'] = $this->modifiedTimeGMT; } if (null !== $this->originator) { $res['originator'] = null !== $this->originator ? $this->originator->toMap() : null; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return GetInstanceByIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionExecutor'])) { if (!empty($map['actionExecutor'])) { $model->actionExecutor = []; $n = 0; foreach ($map['actionExecutor'] as $item) { $model->actionExecutor[$n++] = null !== $item ? actionExecutor::fromMap($item) : $item; } } } if (isset($map['approvedResult'])) { $model->approvedResult = $map['approvedResult']; } if (isset($map['createTimeGMT'])) { $model->createTimeGMT = $map['createTimeGMT']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['instanceStatus'])) { $model->instanceStatus = $map['instanceStatus']; } if (isset($map['modifiedTimeGMT'])) { $model->modifiedTimeGMT = $map['modifiedTimeGMT']; } if (isset($map['originator'])) { $model->originator = originator::fromMap($map['originator']); } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/yida_1_0/Models/GetInstanceByIdResponseBody/actionExecutor.php000064400000003375146412132660021176 0ustar00 'deptName', 'email' => 'email', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->name) { $res['name'] = null !== $this->name ? $this->name->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return actionExecutor */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['name'])) { $model->name = name::fromMap($map['name']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetInstanceByIdResponseBody/actionExecutor/name.php000064400000003011146412132660022101 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return name */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/yida_1_0/Models/GetInstanceByIdResponseBody/originator.php000064400000003361146412132660020352 0ustar00 'deptName', 'email' => 'email', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->name) { $res['name'] = null !== $this->name ? $this->name->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return originator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['name'])) { $model->name = name::fromMap($map['name']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetInstanceByIdResponseBody/originator/name.php000064400000003005146412132660021265 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return name */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/yida_1_0/Models/GetInstanceIdListHeaders.php000064400000002336146412132660015476 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetInstanceIdListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetInstanceIdListRequest.php000064400000014253146412132660015554 0ustar00 'appType', 'approvedResult' => 'approvedResult', 'createFromTimeGMT' => 'createFromTimeGMT', 'createToTimeGMT' => 'createToTimeGMT', 'formUuid' => 'formUuid', 'instanceStatus' => 'instanceStatus', 'language' => 'language', 'modifiedFromTimeGMT' => 'modifiedFromTimeGMT', 'modifiedToTimeGMT' => 'modifiedToTimeGMT', 'originatorId' => 'originatorId', 'searchFieldJson' => 'searchFieldJson', 'systemToken' => 'systemToken', 'taskId' => 'taskId', 'userId' => 'userId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->approvedResult) { $res['approvedResult'] = $this->approvedResult; } if (null !== $this->createFromTimeGMT) { $res['createFromTimeGMT'] = $this->createFromTimeGMT; } if (null !== $this->createToTimeGMT) { $res['createToTimeGMT'] = $this->createToTimeGMT; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->instanceStatus) { $res['instanceStatus'] = $this->instanceStatus; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->modifiedFromTimeGMT) { $res['modifiedFromTimeGMT'] = $this->modifiedFromTimeGMT; } if (null !== $this->modifiedToTimeGMT) { $res['modifiedToTimeGMT'] = $this->modifiedToTimeGMT; } if (null !== $this->originatorId) { $res['originatorId'] = $this->originatorId; } if (null !== $this->searchFieldJson) { $res['searchFieldJson'] = $this->searchFieldJson; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return GetInstanceIdListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['approvedResult'])) { $model->approvedResult = $map['approvedResult']; } if (isset($map['createFromTimeGMT'])) { $model->createFromTimeGMT = $map['createFromTimeGMT']; } if (isset($map['createToTimeGMT'])) { $model->createToTimeGMT = $map['createToTimeGMT']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['instanceStatus'])) { $model->instanceStatus = $map['instanceStatus']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['modifiedFromTimeGMT'])) { $model->modifiedFromTimeGMT = $map['modifiedFromTimeGMT']; } if (isset($map['modifiedToTimeGMT'])) { $model->modifiedToTimeGMT = $map['modifiedToTimeGMT']; } if (isset($map['originatorId'])) { $model->originatorId = $map['originatorId']; } if (isset($map['searchFieldJson'])) { $model->searchFieldJson = $map['searchFieldJson']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/yida_1_0/Models/GetInstanceIdListResponse.php000064400000002736146412132660015725 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetInstanceIdListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetInstanceIdListResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetInstanceIdListResponseBody.php000064400000003003146412132660016527 0ustar00 'data', 'pageNumber' => 'pageNumber', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return GetInstanceIdListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { if (!empty($map['data'])) { $model->data = $map['data']; } } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/GetInstancesByIdListHeaders.php000064400000002344146412132660016153 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetInstancesByIdListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetInstancesByIdListRequest.php000064400000004474146412132660016236 0ustar00 'appType', 'language' => 'language', 'processInstanceIds' => 'processInstanceIds', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->processInstanceIds) { $res['processInstanceIds'] = $this->processInstanceIds; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetInstancesByIdListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['processInstanceIds'])) { $model->processInstanceIds = $map['processInstanceIds']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetInstancesByIdListResponse.php000064400000002752146412132660016401 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetInstancesByIdListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetInstancesByIdListResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetInstancesByIdListResponseBody.php000064400000002621146412132660017212 0ustar00 '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 GetInstancesByIdListResponseBody */ 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/yida_1_0/Models/GetInstancesByIdListResponseBody/result.php000064400000013173146412132660020534 0ustar00 'actionExecutor', 'approvedResult' => 'approvedResult', 'data' => 'data', 'formUuid' => 'formUuid', 'instanceStatus' => 'instanceStatus', 'originator' => 'originator', 'processCode' => 'processCode', 'processInstanceId' => 'processInstanceId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionExecutor) { $res['actionExecutor'] = []; if (null !== $this->actionExecutor && \is_array($this->actionExecutor)) { $n = 0; foreach ($this->actionExecutor as $item) { $res['actionExecutor'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->approvedResult) { $res['approvedResult'] = $this->approvedResult; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->instanceStatus) { $res['instanceStatus'] = $this->instanceStatus; } if (null !== $this->originator) { $res['originator'] = null !== $this->originator ? $this->originator->toMap() : null; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } 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['actionExecutor'])) { if (!empty($map['actionExecutor'])) { $model->actionExecutor = []; $n = 0; foreach ($map['actionExecutor'] as $item) { $model->actionExecutor[$n++] = null !== $item ? actionExecutor::fromMap($item) : $item; } } } if (isset($map['approvedResult'])) { $model->approvedResult = $map['approvedResult']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['instanceStatus'])) { $model->instanceStatus = $map['instanceStatus']; } if (isset($map['originator'])) { $model->originator = originator::fromMap($map['originator']); } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/yida_1_0/Models/GetInstancesByIdListResponseBody/result/actionExecutor.php000064400000003576146412132660023536 0ustar00 'departmentName', 'email' => 'email', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->name) { $res['name'] = null !== $this->name ? $this->name->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return actionExecutor */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['name'])) { $model->name = name::fromMap($map['name']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetInstancesByIdListResponseBody/result/actionExecutor/name.php000064400000003061146412132660024443 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return name */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/yida_1_0/Models/GetInstancesByIdListResponseBody/result/originator.php000064400000003562146412132660022712 0ustar00 'departmentName', 'email' => 'email', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->name) { $res['name'] = null !== $this->name ? $this->name->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return originator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['name'])) { $model->name = name::fromMap($map['name']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetInstancesByIdListResponseBody/result/originator/name.php000064400000003055146412132660023627 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return name */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/yida_1_0/Models/GetInstancesHeaders.php000064400000002324146412132660014545 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetInstancesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetInstancesRequest.php000064400000016105146412132660014624 0ustar00 'appType', 'approvedResult' => 'approvedResult', 'createFromTimeGMT' => 'createFromTimeGMT', 'createToTimeGMT' => 'createToTimeGMT', 'formUuid' => 'formUuid', 'instanceStatus' => 'instanceStatus', 'language' => 'language', 'modifiedFromTimeGMT' => 'modifiedFromTimeGMT', 'modifiedToTimeGMT' => 'modifiedToTimeGMT', 'orderConfigJson' => 'orderConfigJson', 'originatorId' => 'originatorId', 'searchFieldJson' => 'searchFieldJson', 'systemToken' => 'systemToken', 'taskId' => 'taskId', 'userId' => 'userId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->approvedResult) { $res['approvedResult'] = $this->approvedResult; } if (null !== $this->createFromTimeGMT) { $res['createFromTimeGMT'] = $this->createFromTimeGMT; } if (null !== $this->createToTimeGMT) { $res['createToTimeGMT'] = $this->createToTimeGMT; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->instanceStatus) { $res['instanceStatus'] = $this->instanceStatus; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->modifiedFromTimeGMT) { $res['modifiedFromTimeGMT'] = $this->modifiedFromTimeGMT; } if (null !== $this->modifiedToTimeGMT) { $res['modifiedToTimeGMT'] = $this->modifiedToTimeGMT; } if (null !== $this->orderConfigJson) { $res['orderConfigJson'] = $this->orderConfigJson; } if (null !== $this->originatorId) { $res['originatorId'] = $this->originatorId; } if (null !== $this->searchFieldJson) { $res['searchFieldJson'] = $this->searchFieldJson; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return GetInstancesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['approvedResult'])) { $model->approvedResult = $map['approvedResult']; } if (isset($map['createFromTimeGMT'])) { $model->createFromTimeGMT = $map['createFromTimeGMT']; } if (isset($map['createToTimeGMT'])) { $model->createToTimeGMT = $map['createToTimeGMT']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['instanceStatus'])) { $model->instanceStatus = $map['instanceStatus']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['modifiedFromTimeGMT'])) { $model->modifiedFromTimeGMT = $map['modifiedFromTimeGMT']; } if (isset($map['modifiedToTimeGMT'])) { $model->modifiedToTimeGMT = $map['modifiedToTimeGMT']; } if (isset($map['orderConfigJson'])) { $model->orderConfigJson = $map['orderConfigJson']; } if (isset($map['originatorId'])) { $model->originatorId = $map['originatorId']; } if (isset($map['searchFieldJson'])) { $model->searchFieldJson = $map['searchFieldJson']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/yida_1_0/Models/GetInstancesResponse.php000064400000002712146412132660014771 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetInstancesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetInstancesResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetInstancesResponseBody.php000064400000003755146412132660015617 0ustar00 'data', 'pageNumber' => 'pageNumber', '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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return GetInstancesResponseBody */ 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['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/GetInstancesResponseBody/data.php000064400000012122146412132660016514 0ustar00 'actionExecutor', 'approvedResult' => 'approvedResult', 'createTimeGMT' => 'createTimeGMT', 'data' => 'data', 'formUuid' => 'formUuid', 'instanceStatus' => 'instanceStatus', 'modifiedTimeGMT' => 'modifiedTimeGMT', 'originator' => 'originator', 'processCode' => 'processCode', 'processInstanceId' => 'processInstanceId', 'title' => 'title', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionExecutor) { $res['actionExecutor'] = []; if (null !== $this->actionExecutor && \is_array($this->actionExecutor)) { $n = 0; foreach ($this->actionExecutor as $item) { $res['actionExecutor'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->approvedResult) { $res['approvedResult'] = $this->approvedResult; } if (null !== $this->createTimeGMT) { $res['createTimeGMT'] = $this->createTimeGMT; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->instanceStatus) { $res['instanceStatus'] = $this->instanceStatus; } if (null !== $this->modifiedTimeGMT) { $res['modifiedTimeGMT'] = $this->modifiedTimeGMT; } if (null !== $this->originator) { $res['originator'] = null !== $this->originator ? $this->originator->toMap() : null; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionExecutor'])) { if (!empty($map['actionExecutor'])) { $model->actionExecutor = []; $n = 0; foreach ($map['actionExecutor'] as $item) { $model->actionExecutor[$n++] = null !== $item ? actionExecutor::fromMap($item) : $item; } } } if (isset($map['approvedResult'])) { $model->approvedResult = $map['approvedResult']; } if (isset($map['createTimeGMT'])) { $model->createTimeGMT = $map['createTimeGMT']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['instanceStatus'])) { $model->instanceStatus = $map['instanceStatus']; } if (isset($map['modifiedTimeGMT'])) { $model->modifiedTimeGMT = $map['modifiedTimeGMT']; } if (isset($map['originator'])) { $model->originator = originator::fromMap($map['originator']); } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/yida_1_0/Models/GetInstancesResponseBody/data/actionExecutor.php000064400000003401146412132660021510 0ustar00 'deptName', 'email' => 'email', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->name) { $res['name'] = null !== $this->name ? $this->name->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return actionExecutor */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['name'])) { $model->name = name::fromMap($map['name']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetInstancesResponseBody/data/actionExecutor/name.php000064400000003013146412132660022427 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return name */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/yida_1_0/Models/GetInstancesResponseBody/data/originator.php000064400000003365146412132660020702 0ustar00 'deptName', 'email' => 'email', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->name) { $res['name'] = null !== $this->name ? $this->name->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return originator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['name'])) { $model->name = name::fromMap($map['name']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetInstancesResponseBody/data/originator/name.php000064400000003007146412132660021613 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return name */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/yida_1_0/Models/GetMeCorpSubmissionHeaders.php000064400000002342146412132660016057 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMeCorpSubmissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetMeCorpSubmissionRequest.php000064400000007562146412132660016145 0ustar00 'appTypes', 'corpId' => 'corpId', 'createFromTimeGMT' => 'createFromTimeGMT', 'createToTimeGMT' => 'createToTimeGMT', 'keyword' => 'keyword', 'language' => 'language', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'processCodes' => 'processCodes', 'token' => 'token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appTypes) { $res['appTypes'] = $this->appTypes; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->createFromTimeGMT) { $res['createFromTimeGMT'] = $this->createFromTimeGMT; } if (null !== $this->createToTimeGMT) { $res['createToTimeGMT'] = $this->createToTimeGMT; } if (null !== $this->keyword) { $res['keyword'] = $this->keyword; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->processCodes) { $res['processCodes'] = $this->processCodes; } if (null !== $this->token) { $res['token'] = $this->token; } return $res; } /** * @param array $map * * @return GetMeCorpSubmissionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appTypes'])) { $model->appTypes = $map['appTypes']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['createFromTimeGMT'])) { $model->createFromTimeGMT = $map['createFromTimeGMT']; } if (isset($map['createToTimeGMT'])) { $model->createToTimeGMT = $map['createToTimeGMT']; } if (isset($map['keyword'])) { $model->keyword = $map['keyword']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['processCodes'])) { $model->processCodes = $map['processCodes']; } if (isset($map['token'])) { $model->token = $map['token']; } return $model; } } src/yida_1_0/Models/GetMeCorpSubmissionResponse.php000064400000002746146412132660016312 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMeCorpSubmissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMeCorpSubmissionResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetMeCorpSubmissionResponseBody.php000064400000004002146412132660017113 0ustar00 'data', 'pageNumber' => 'pageNumber', '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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return GetMeCorpSubmissionResponseBody */ 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['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/GetMeCorpSubmissionResponseBody/data.php000064400000025564146412132660020044 0ustar00 'actioner', 'actionerId' => 'actionerId', 'actionerName' => 'actionerName', 'appType' => 'appType', 'createTimeGMT' => 'createTimeGMT', 'currentActivityInstances' => 'currentActivityInstances', 'dataMap' => 'dataMap', 'dataType' => 'dataType', 'finishTimeGMT' => 'finishTimeGMT', 'formInstanceId' => 'formInstanceId', 'formUuid' => 'formUuid', 'instanceValue' => 'instanceValue', 'modifiedTimeGMT' => 'modifiedTimeGMT', 'originatorAvatar' => 'originatorAvatar', 'originatorDisplayName' => 'originatorDisplayName', 'originatorId' => 'originatorId', 'processApprovedResult' => 'processApprovedResult', 'processApprovedResultText' => 'processApprovedResultText', 'processCode' => 'processCode', 'processId' => 'processId', 'processInstanceId' => 'processInstanceId', 'processInstanceStatus' => 'processInstanceStatus', 'processInstanceStatusText' => 'processInstanceStatusText', 'processName' => 'processName', 'title' => 'title', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actioner) { $res['actioner'] = []; if (null !== $this->actioner && \is_array($this->actioner)) { $n = 0; foreach ($this->actioner as $item) { $res['actioner'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->actionerId) { $res['actionerId'] = $this->actionerId; } if (null !== $this->actionerName) { $res['actionerName'] = $this->actionerName; } if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->createTimeGMT) { $res['createTimeGMT'] = $this->createTimeGMT; } if (null !== $this->currentActivityInstances) { $res['currentActivityInstances'] = []; if (null !== $this->currentActivityInstances && \is_array($this->currentActivityInstances)) { $n = 0; foreach ($this->currentActivityInstances as $item) { $res['currentActivityInstances'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->dataMap) { $res['dataMap'] = $this->dataMap; } if (null !== $this->dataType) { $res['dataType'] = $this->dataType; } if (null !== $this->finishTimeGMT) { $res['finishTimeGMT'] = $this->finishTimeGMT; } if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->instanceValue) { $res['instanceValue'] = $this->instanceValue; } if (null !== $this->modifiedTimeGMT) { $res['modifiedTimeGMT'] = $this->modifiedTimeGMT; } if (null !== $this->originatorAvatar) { $res['originatorAvatar'] = $this->originatorAvatar; } if (null !== $this->originatorDisplayName) { $res['originatorDisplayName'] = $this->originatorDisplayName; } if (null !== $this->originatorId) { $res['originatorId'] = $this->originatorId; } if (null !== $this->processApprovedResult) { $res['processApprovedResult'] = $this->processApprovedResult; } if (null !== $this->processApprovedResultText) { $res['processApprovedResultText'] = $this->processApprovedResultText; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->processId) { $res['processId'] = $this->processId; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->processInstanceStatus) { $res['processInstanceStatus'] = $this->processInstanceStatus; } if (null !== $this->processInstanceStatusText) { $res['processInstanceStatusText'] = $this->processInstanceStatusText; } if (null !== $this->processName) { $res['processName'] = $this->processName; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actioner'])) { if (!empty($map['actioner'])) { $model->actioner = []; $n = 0; foreach ($map['actioner'] as $item) { $model->actioner[$n++] = null !== $item ? actioner::fromMap($item) : $item; } } } if (isset($map['actionerId'])) { if (!empty($map['actionerId'])) { $model->actionerId = $map['actionerId']; } } if (isset($map['actionerName'])) { if (!empty($map['actionerName'])) { $model->actionerName = $map['actionerName']; } } if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['createTimeGMT'])) { $model->createTimeGMT = $map['createTimeGMT']; } if (isset($map['currentActivityInstances'])) { if (!empty($map['currentActivityInstances'])) { $model->currentActivityInstances = []; $n = 0; foreach ($map['currentActivityInstances'] as $item) { $model->currentActivityInstances[$n++] = null !== $item ? currentActivityInstances::fromMap($item) : $item; } } } if (isset($map['dataMap'])) { $model->dataMap = $map['dataMap']; } if (isset($map['dataType'])) { $model->dataType = $map['dataType']; } if (isset($map['finishTimeGMT'])) { $model->finishTimeGMT = $map['finishTimeGMT']; } if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['instanceValue'])) { $model->instanceValue = $map['instanceValue']; } if (isset($map['modifiedTimeGMT'])) { $model->modifiedTimeGMT = $map['modifiedTimeGMT']; } if (isset($map['originatorAvatar'])) { $model->originatorAvatar = $map['originatorAvatar']; } if (isset($map['originatorDisplayName'])) { $model->originatorDisplayName = $map['originatorDisplayName']; } if (isset($map['originatorId'])) { $model->originatorId = $map['originatorId']; } if (isset($map['processApprovedResult'])) { $model->processApprovedResult = $map['processApprovedResult']; } if (isset($map['processApprovedResultText'])) { $model->processApprovedResultText = $map['processApprovedResultText']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['processId'])) { $model->processId = $map['processId']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['processInstanceStatus'])) { $model->processInstanceStatus = $map['processInstanceStatus']; } if (isset($map['processInstanceStatusText'])) { $model->processInstanceStatusText = $map['processInstanceStatusText']; } if (isset($map['processName'])) { $model->processName = $map['processName']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/yida_1_0/Models/GetMeCorpSubmissionResponseBody/data/actioner.php000064400000014614146412132660021642 0ustar00 'buName', 'email' => 'email', 'employeeType' => 'employeeType', 'employeeTypeInformation' => 'employeeTypeInformation', 'humanResourceGroupWorkNumber' => 'humanResourceGroupWorkNumber', 'isSystemAdmin' => 'isSystemAdmin', 'level' => 'level', 'name' => 'name', 'nickName' => 'nickName', 'orderNumber' => 'orderNumber', 'personalPhoto' => 'personalPhoto', 'personalPhotoUrl' => 'personalPhotoUrl', 'pinyinNameAll' => 'pinyinNameAll', 'pinyinNickName' => 'pinyinNickName', 'state' => 'state', 'superUserId' => 'superUserId', 'tbWang' => 'tbWang', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->buName) { $res['buName'] = $this->buName; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->employeeType) { $res['employeeType'] = $this->employeeType; } if (null !== $this->employeeTypeInformation) { $res['employeeTypeInformation'] = $this->employeeTypeInformation; } if (null !== $this->humanResourceGroupWorkNumber) { $res['humanResourceGroupWorkNumber'] = $this->humanResourceGroupWorkNumber; } if (null !== $this->isSystemAdmin) { $res['isSystemAdmin'] = $this->isSystemAdmin; } if (null !== $this->level) { $res['level'] = $this->level; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->orderNumber) { $res['orderNumber'] = $this->orderNumber; } if (null !== $this->personalPhoto) { $res['personalPhoto'] = $this->personalPhoto; } if (null !== $this->personalPhotoUrl) { $res['personalPhotoUrl'] = $this->personalPhotoUrl; } if (null !== $this->pinyinNameAll) { $res['pinyinNameAll'] = $this->pinyinNameAll; } if (null !== $this->pinyinNickName) { $res['pinyinNickName'] = $this->pinyinNickName; } if (null !== $this->state) { $res['state'] = $this->state; } if (null !== $this->superUserId) { $res['superUserId'] = $this->superUserId; } if (null !== $this->tbWang) { $res['tbWang'] = $this->tbWang; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return actioner */ public static function fromMap($map = []) { $model = new self(); if (isset($map['buName'])) { $model->buName = $map['buName']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['employeeType'])) { $model->employeeType = $map['employeeType']; } if (isset($map['employeeTypeInformation'])) { $model->employeeTypeInformation = $map['employeeTypeInformation']; } if (isset($map['humanResourceGroupWorkNumber'])) { $model->humanResourceGroupWorkNumber = $map['humanResourceGroupWorkNumber']; } if (isset($map['isSystemAdmin'])) { $model->isSystemAdmin = $map['isSystemAdmin']; } if (isset($map['level'])) { $model->level = $map['level']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['orderNumber'])) { $model->orderNumber = $map['orderNumber']; } if (isset($map['personalPhoto'])) { $model->personalPhoto = $map['personalPhoto']; } if (isset($map['personalPhotoUrl'])) { $model->personalPhotoUrl = $map['personalPhotoUrl']; } if (isset($map['pinyinNameAll'])) { $model->pinyinNameAll = $map['pinyinNameAll']; } if (isset($map['pinyinNickName'])) { $model->pinyinNickName = $map['pinyinNickName']; } if (isset($map['state'])) { $model->state = $map['state']; } if (isset($map['superUserId'])) { $model->superUserId = $map['superUserId']; } if (isset($map['tbWang'])) { $model->tbWang = $map['tbWang']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetMeCorpSubmissionResponseBody/data/currentActivityInstances.php000064400000004321146412132660025077 0ustar00 'activityId', 'activityInstanceStatus' => 'activityInstanceStatus', 'activityName' => 'activityName', 'activityNameEn' => 'activityNameEn', 'id' => 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } if (null !== $this->activityInstanceStatus) { $res['activityInstanceStatus'] = $this->activityInstanceStatus; } if (null !== $this->activityName) { $res['activityName'] = $this->activityName; } if (null !== $this->activityNameEn) { $res['activityNameEn'] = $this->activityNameEn; } if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return currentActivityInstances */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } if (isset($map['activityInstanceStatus'])) { $model->activityInstanceStatus = $map['activityInstanceStatus']; } if (isset($map['activityName'])) { $model->activityName = $map['activityName']; } if (isset($map['activityNameEn'])) { $model->activityNameEn = $map['activityNameEn']; } if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/yida_1_0/Models/GetNotifyMeHeaders.php000064400000002322146412132660014346 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetNotifyMeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetNotifyMeRequest.php000064400000011512146412132660014424 0ustar00 'appTypes', 'corpId' => 'corpId', 'createFromTimeGMT' => 'createFromTimeGMT', 'createToTimeGMT' => 'createToTimeGMT', 'instanceCreateFromTimeGMT' => 'instanceCreateFromTimeGMT', 'instanceCreateToTimeGMT' => 'instanceCreateToTimeGMT', 'keyword' => 'keyword', 'language' => 'language', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'processCodes' => 'processCodes', 'token' => 'token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appTypes) { $res['appTypes'] = $this->appTypes; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->createFromTimeGMT) { $res['createFromTimeGMT'] = $this->createFromTimeGMT; } if (null !== $this->createToTimeGMT) { $res['createToTimeGMT'] = $this->createToTimeGMT; } if (null !== $this->instanceCreateFromTimeGMT) { $res['instanceCreateFromTimeGMT'] = $this->instanceCreateFromTimeGMT; } if (null !== $this->instanceCreateToTimeGMT) { $res['instanceCreateToTimeGMT'] = $this->instanceCreateToTimeGMT; } if (null !== $this->keyword) { $res['keyword'] = $this->keyword; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->processCodes) { $res['processCodes'] = $this->processCodes; } if (null !== $this->token) { $res['token'] = $this->token; } return $res; } /** * @param array $map * * @return GetNotifyMeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appTypes'])) { $model->appTypes = $map['appTypes']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['createFromTimeGMT'])) { $model->createFromTimeGMT = $map['createFromTimeGMT']; } if (isset($map['createToTimeGMT'])) { $model->createToTimeGMT = $map['createToTimeGMT']; } if (isset($map['instanceCreateFromTimeGMT'])) { $model->instanceCreateFromTimeGMT = $map['instanceCreateFromTimeGMT']; } if (isset($map['instanceCreateToTimeGMT'])) { $model->instanceCreateToTimeGMT = $map['instanceCreateToTimeGMT']; } if (isset($map['keyword'])) { $model->keyword = $map['keyword']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['processCodes'])) { $model->processCodes = $map['processCodes']; } if (isset($map['token'])) { $model->token = $map['token']; } return $model; } } src/yida_1_0/Models/GetNotifyMeResponse.php000064400000002706146412132660014577 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetNotifyMeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetNotifyMeResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetNotifyMeResponseBody.php000064400000003752146412132660015417 0ustar00 'data', 'pageNumber' => 'pageNumber', '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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return GetNotifyMeResponseBody */ 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['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/GetNotifyMeResponseBody/data.php000064400000011054146412132660016322 0ustar00 'activityId', 'appType' => 'appType', 'corpId' => 'corpId', 'createTimeGMT' => 'createTimeGMT', 'creatorUserId' => 'creatorUserId', 'formInstanceId' => 'formInstanceId', 'instStatus' => 'instStatus', 'mobileUrl' => 'mobileUrl', 'modifiedTimeGMT' => 'modifiedTimeGMT', 'processCode' => 'processCode', 'title' => 'title', 'titleInEnglish' => 'titleInEnglish', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->createTimeGMT) { $res['createTimeGMT'] = $this->createTimeGMT; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } if (null !== $this->instStatus) { $res['instStatus'] = $this->instStatus; } if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->modifiedTimeGMT) { $res['modifiedTimeGMT'] = $this->modifiedTimeGMT; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->titleInEnglish) { $res['titleInEnglish'] = $this->titleInEnglish; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['createTimeGMT'])) { $model->createTimeGMT = $map['createTimeGMT']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } if (isset($map['instStatus'])) { $model->instStatus = $map['instStatus']; } if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['modifiedTimeGMT'])) { $model->modifiedTimeGMT = $map['modifiedTimeGMT']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['titleInEnglish'])) { $model->titleInEnglish = $map['titleInEnglish']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/yida_1_0/Models/GetOpenUrlHeaders.php000064400000002320146412132660014176 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOpenUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetOpenUrlRequest.php000064400000004331146412132660014257 0ustar00 'fileUrl', 'language' => 'language', 'systemToken' => 'systemToken', 'timeout' => 'timeout', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileUrl) { $res['fileUrl'] = $this->fileUrl; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->timeout) { $res['timeout'] = $this->timeout; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetOpenUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileUrl'])) { $model->fileUrl = $map['fileUrl']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['timeout'])) { $model->timeout = $map['timeout']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetOpenUrlResponse.php000064400000002702146412132660014425 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOpenUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOpenUrlResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetOpenUrlResponseBody.php000064400000001463146412132660015246 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetOpenUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/GetOperationRecordsHeaders.php000064400000002342146412132660016100 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOperationRecordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetOperationRecordsRequest.php000064400000004407146412132660016161 0ustar00 'appType', 'language' => 'language', 'processInstanceId' => 'processInstanceId', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetOperationRecordsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetOperationRecordsResponse.php000064400000002746146412132660016333 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOperationRecordsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOperationRecordsResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetOperationRecordsResponseBody.php000064400000002616146412132660017145 0ustar00 '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 GetOperationRecordsResponseBody */ 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/yida_1_0/Models/GetOperationRecordsResponseBody/result.php000064400000020104146412132660020453 0ustar00 'action', 'actionExit' => 'actionExit', 'activeTimeGMT' => 'activeTimeGMT', 'activityId' => 'activityId', 'dataId' => 'dataId', 'digitalSign' => 'digitalSign', 'files' => 'files', 'operateTimeGMT' => 'operateTimeGMT', 'operateType' => 'operateType', 'operatorDisplayName' => 'operatorDisplayName', 'operatorName' => 'operatorName', 'operatorNickName' => 'operatorNickName', 'operatorPhotoUrl' => 'operatorPhotoUrl', 'operatorStatus' => 'operatorStatus', 'operatorUserId' => 'operatorUserId', 'processInstanceId' => 'processInstanceId', 'remark' => 'remark', 'showName' => 'showName', 'size' => 'size', 'taskExecuteType' => 'taskExecuteType', 'taskHoldTimeGMT' => 'taskHoldTimeGMT', 'taskId' => 'taskId', 'taskType' => 'taskType', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->actionExit) { $res['actionExit'] = $this->actionExit; } if (null !== $this->activeTimeGMT) { $res['activeTimeGMT'] = $this->activeTimeGMT; } if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } if (null !== $this->dataId) { $res['dataId'] = $this->dataId; } if (null !== $this->digitalSign) { $res['digitalSign'] = $this->digitalSign; } if (null !== $this->files) { $res['files'] = $this->files; } if (null !== $this->operateTimeGMT) { $res['operateTimeGMT'] = $this->operateTimeGMT; } if (null !== $this->operateType) { $res['operateType'] = $this->operateType; } if (null !== $this->operatorDisplayName) { $res['operatorDisplayName'] = $this->operatorDisplayName; } if (null !== $this->operatorName) { $res['operatorName'] = $this->operatorName; } if (null !== $this->operatorNickName) { $res['operatorNickName'] = $this->operatorNickName; } if (null !== $this->operatorPhotoUrl) { $res['operatorPhotoUrl'] = $this->operatorPhotoUrl; } if (null !== $this->operatorStatus) { $res['operatorStatus'] = $this->operatorStatus; } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->showName) { $res['showName'] = $this->showName; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->taskExecuteType) { $res['taskExecuteType'] = $this->taskExecuteType; } if (null !== $this->taskHoldTimeGMT) { $res['taskHoldTimeGMT'] = $this->taskHoldTimeGMT; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->taskType) { $res['taskType'] = $this->taskType; } 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['action'])) { $model->action = $map['action']; } if (isset($map['actionExit'])) { $model->actionExit = $map['actionExit']; } if (isset($map['activeTimeGMT'])) { $model->activeTimeGMT = $map['activeTimeGMT']; } if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } if (isset($map['dataId'])) { $model->dataId = $map['dataId']; } if (isset($map['digitalSign'])) { $model->digitalSign = $map['digitalSign']; } if (isset($map['files'])) { $model->files = $map['files']; } if (isset($map['operateTimeGMT'])) { $model->operateTimeGMT = $map['operateTimeGMT']; } if (isset($map['operateType'])) { $model->operateType = $map['operateType']; } if (isset($map['operatorDisplayName'])) { $model->operatorDisplayName = $map['operatorDisplayName']; } if (isset($map['operatorName'])) { $model->operatorName = $map['operatorName']; } if (isset($map['operatorNickName'])) { $model->operatorNickName = $map['operatorNickName']; } if (isset($map['operatorPhotoUrl'])) { $model->operatorPhotoUrl = $map['operatorPhotoUrl']; } if (isset($map['operatorStatus'])) { $model->operatorStatus = $map['operatorStatus']; } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['showName'])) { $model->showName = $map['showName']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['taskExecuteType'])) { $model->taskExecuteType = $map['taskExecuteType']; } if (isset($map['taskHoldTimeGMT'])) { $model->taskHoldTimeGMT = $map['taskHoldTimeGMT']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['taskType'])) { $model->taskType = $map['taskType']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/yida_1_0/Models/GetPlatformResourceHeaders.php000064400000002342146412132660016112 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPlatformResourceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetPlatformResourceRequest.php000064400000002663146412132660016175 0ustar00 'accessKey', 'callerUid' => 'callerUid', 'instanceId' => 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUid) { $res['callerUid'] = $this->callerUid; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return GetPlatformResourceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUid'])) { $model->callerUid = $map['callerUid']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/yida_1_0/Models/GetPlatformResourceResponse.php000064400000002746146412132660016345 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPlatformResourceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPlatformResourceResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetPlatformResourceResponseBody.php000064400000007037146412132660017161 0ustar00 'accountTotalAmount', 'accountUsageAmount' => 'accountUsageAmount', 'appTotalAmount' => 'appTotalAmount', 'attachmentTotalAmount' => 'attachmentTotalAmount', 'attachmentUsageAmount' => 'attachmentUsageAmount', 'instanceTotalAmount' => 'instanceTotalAmount', 'instanceUsageAmount' => 'instanceUsageAmount', 'pluginUsageAmount' => 'pluginUsageAmount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountTotalAmount) { $res['accountTotalAmount'] = $this->accountTotalAmount; } if (null !== $this->accountUsageAmount) { $res['accountUsageAmount'] = $this->accountUsageAmount; } if (null !== $this->appTotalAmount) { $res['appTotalAmount'] = $this->appTotalAmount; } if (null !== $this->attachmentTotalAmount) { $res['attachmentTotalAmount'] = $this->attachmentTotalAmount; } if (null !== $this->attachmentUsageAmount) { $res['attachmentUsageAmount'] = $this->attachmentUsageAmount; } if (null !== $this->instanceTotalAmount) { $res['instanceTotalAmount'] = $this->instanceTotalAmount; } if (null !== $this->instanceUsageAmount) { $res['instanceUsageAmount'] = $this->instanceUsageAmount; } if (null !== $this->pluginUsageAmount) { $res['pluginUsageAmount'] = $this->pluginUsageAmount; } return $res; } /** * @param array $map * * @return GetPlatformResourceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountTotalAmount'])) { $model->accountTotalAmount = $map['accountTotalAmount']; } if (isset($map['accountUsageAmount'])) { $model->accountUsageAmount = $map['accountUsageAmount']; } if (isset($map['appTotalAmount'])) { $model->appTotalAmount = $map['appTotalAmount']; } if (isset($map['attachmentTotalAmount'])) { $model->attachmentTotalAmount = $map['attachmentTotalAmount']; } if (isset($map['attachmentUsageAmount'])) { $model->attachmentUsageAmount = $map['attachmentUsageAmount']; } if (isset($map['instanceTotalAmount'])) { $model->instanceTotalAmount = $map['instanceTotalAmount']; } if (isset($map['instanceUsageAmount'])) { $model->instanceUsageAmount = $map['instanceUsageAmount']; } if (isset($map['pluginUsageAmount'])) { $model->pluginUsageAmount = $map['pluginUsageAmount']; } return $model; } } src/yida_1_0/Models/GetPrintAppInfoHeaders.php000064400000002332146412132660015166 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPrintAppInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetPrintAppInfoRequest.php000064400000002216146412132660015244 0ustar00 'nameLike', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameLike) { $res['nameLike'] = $this->nameLike; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetPrintAppInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameLike'])) { $model->nameLike = $map['nameLike']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetPrintAppInfoResponse.php000064400000002726146412132660015420 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPrintAppInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPrintAppInfoResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetPrintAppInfoResponseBody.php000064400000002602146412132660016227 0ustar00 '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 GetPrintAppInfoResponseBody */ 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/yida_1_0/Models/GetPrintAppInfoResponseBody/result.php000064400000004550146412132660017551 0ustar00 'appName', 'appType' => 'appType', 'formInfoList' => 'formInfoList', 'iconUrl' => 'iconUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->formInfoList) { $res['formInfoList'] = []; if (null !== $this->formInfoList && \is_array($this->formInfoList)) { $n = 0; foreach ($this->formInfoList as $item) { $res['formInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->iconUrl) { $res['iconUrl'] = $this->iconUrl; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['formInfoList'])) { if (!empty($map['formInfoList'])) { $model->formInfoList = []; $n = 0; foreach ($map['formInfoList'] as $item) { $model->formInfoList[$n++] = null !== $item ? formInfoList::fromMap($item) : $item; } } } if (isset($map['iconUrl'])) { $model->iconUrl = $map['iconUrl']; } return $model; } } src/yida_1_0/Models/GetPrintAppInfoResponseBody/result/formInfoList.php000064400000002164146412132660022163 0ustar00 'formName', 'formUuid' => 'formUuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formName) { $res['formName'] = $this->formName; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } return $res; } /** * @param array $map * * @return formInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formName'])) { $model->formName = $map['formName']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } return $model; } } src/yida_1_0/Models/GetPrintDictionaryHeaders.php000064400000002340146412132660015736 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPrintDictionaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetPrintDictionaryRequest.php000064400000003406146412132660016017 0ustar00 'appType', 'formUuid' => 'formUuid', 'userId' => 'userId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return GetPrintDictionaryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/yida_1_0/Models/GetPrintDictionaryResponse.php000064400000002742146412132660016167 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPrintDictionaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPrintDictionaryResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetPrintDictionaryResponseBody.php000064400000001503146412132660016777 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetPrintDictionaryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/GetProcessDefinitionHeaders.php000064400000002344146412132660016247 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetProcessDefinitionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetProcessDefinitionRequest.php000064400000006202146412132660016321 0ustar00 'appType', 'corpId' => 'corpId', 'groupId' => 'groupId', 'language' => 'language', 'nameSpace' => 'nameSpace', 'orderNumber' => 'orderNumber', 'systemToken' => 'systemToken', 'systemType' => 'systemType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->nameSpace) { $res['nameSpace'] = $this->nameSpace; } if (null !== $this->orderNumber) { $res['orderNumber'] = $this->orderNumber; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->systemType) { $res['systemType'] = $this->systemType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetProcessDefinitionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['nameSpace'])) { $model->nameSpace = $map['nameSpace']; } if (isset($map['orderNumber'])) { $model->orderNumber = $map['orderNumber']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['systemType'])) { $model->systemType = $map['systemType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetProcessDefinitionResponse.php000064400000002752146412132660016475 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetProcessDefinitionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetProcessDefinitionResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetProcessDefinitionResponseBody.php000064400000011441146412132660017306 0ustar00 'formUuid', 'originator' => 'originator', 'outResult' => 'outResult', 'owners' => 'owners', 'processId' => 'processId', 'processInstanceId' => 'processInstanceId', 'status' => 'status', 'tasks' => 'tasks', 'title' => 'title', 'variables' => 'variables', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->originator) { $res['originator'] = null !== $this->originator ? $this->originator->toMap() : null; } if (null !== $this->outResult) { $res['outResult'] = $this->outResult; } if (null !== $this->owners) { $res['owners'] = []; if (null !== $this->owners && \is_array($this->owners)) { $n = 0; foreach ($this->owners as $item) { $res['owners'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->processId) { $res['processId'] = $this->processId; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->tasks) { $res['tasks'] = []; if (null !== $this->tasks && \is_array($this->tasks)) { $n = 0; foreach ($this->tasks as $item) { $res['tasks'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->variables) { $res['variables'] = $this->variables; } return $res; } /** * @param array $map * * @return GetProcessDefinitionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['originator'])) { $model->originator = originator::fromMap($map['originator']); } if (isset($map['outResult'])) { $model->outResult = $map['outResult']; } if (isset($map['owners'])) { if (!empty($map['owners'])) { $model->owners = []; $n = 0; foreach ($map['owners'] as $item) { $model->owners[$n++] = null !== $item ? owners::fromMap($item) : $item; } } } if (isset($map['processId'])) { $model->processId = $map['processId']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['tasks'])) { if (!empty($map['tasks'])) { $model->tasks = []; $n = 0; foreach ($map['tasks'] as $item) { $model->tasks[$n++] = null !== $item ? tasks::fromMap($item) : $item; } } } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['variables'])) { $model->variables = $map['variables']; } return $model; } } src/yida_1_0/Models/GetProcessDefinitionResponseBody/originator.php000064400000010754146412132660021471 0ustar00 'departmentDescription', 'displayEnName' => 'displayEnName', 'displayName' => 'displayName', 'masterDataDepartments' => 'masterDataDepartments', 'orderNumber' => 'orderNumber', 'personalPhoto' => 'personalPhoto', 'status' => 'status', 'tbWang' => 'tbWang', 'userId' => 'userId', 'userInfo' => 'userInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentDescription) { $res['departmentDescription'] = $this->departmentDescription; } if (null !== $this->displayEnName) { $res['displayEnName'] = $this->displayEnName; } if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->masterDataDepartments) { $res['masterDataDepartments'] = []; if (null !== $this->masterDataDepartments && \is_array($this->masterDataDepartments)) { $n = 0; foreach ($this->masterDataDepartments as $item) { $res['masterDataDepartments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->orderNumber) { $res['orderNumber'] = $this->orderNumber; } if (null !== $this->personalPhoto) { $res['personalPhoto'] = $this->personalPhoto; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->tbWang) { $res['tbWang'] = $this->tbWang; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userInfo) { $res['userInfo'] = $this->userInfo; } return $res; } /** * @param array $map * * @return originator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentDescription'])) { $model->departmentDescription = $map['departmentDescription']; } if (isset($map['displayEnName'])) { $model->displayEnName = $map['displayEnName']; } if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['masterDataDepartments'])) { if (!empty($map['masterDataDepartments'])) { $model->masterDataDepartments = []; $n = 0; foreach ($map['masterDataDepartments'] as $item) { $model->masterDataDepartments[$n++] = null !== $item ? masterDataDepartments::fromMap($item) : $item; } } } if (isset($map['orderNumber'])) { $model->orderNumber = $map['orderNumber']; } if (isset($map['personalPhoto'])) { $model->personalPhoto = $map['personalPhoto']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['tbWang'])) { $model->tbWang = $map['tbWang']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userInfo'])) { $model->userInfo = $map['userInfo']; } return $model; } } src/yida_1_0/Models/GetProcessDefinitionResponseBody/originator/masterDataDepartments.php000064400000006424146412132660025764 0ustar00 'deptName', 'deptNameInEnglish' => 'deptNameInEnglish', 'deptNo' => 'deptNo', 'deptPath' => 'deptPath', 'humanSourceGroupOrderNumber' => 'humanSourceGroupOrderNumber', 'humanSourceGroupWorkNo' => 'humanSourceGroupWorkNo', 'id' => 'id', 'masterWorkNo' => 'masterWorkNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->deptNameInEnglish) { $res['deptNameInEnglish'] = $this->deptNameInEnglish; } if (null !== $this->deptNo) { $res['deptNo'] = $this->deptNo; } if (null !== $this->deptPath) { $res['deptPath'] = $this->deptPath; } if (null !== $this->humanSourceGroupOrderNumber) { $res['humanSourceGroupOrderNumber'] = $this->humanSourceGroupOrderNumber; } if (null !== $this->humanSourceGroupWorkNo) { $res['humanSourceGroupWorkNo'] = $this->humanSourceGroupWorkNo; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->masterWorkNo) { $res['masterWorkNo'] = $this->masterWorkNo; } return $res; } /** * @param array $map * * @return masterDataDepartments */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['deptNameInEnglish'])) { $model->deptNameInEnglish = $map['deptNameInEnglish']; } if (isset($map['deptNo'])) { $model->deptNo = $map['deptNo']; } if (isset($map['deptPath'])) { $model->deptPath = $map['deptPath']; } if (isset($map['humanSourceGroupOrderNumber'])) { $model->humanSourceGroupOrderNumber = $map['humanSourceGroupOrderNumber']; } if (isset($map['humanSourceGroupWorkNo'])) { $model->humanSourceGroupWorkNo = $map['humanSourceGroupWorkNo']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['masterWorkNo'])) { $model->masterWorkNo = $map['masterWorkNo']; } return $model; } } src/yida_1_0/Models/GetProcessDefinitionResponseBody/owners.php000064400000010740146412132660020624 0ustar00 'departmentDescription', 'displayEnName' => 'displayEnName', 'displayName' => 'displayName', 'masterDataDepartments' => 'masterDataDepartments', 'orderNumber' => 'orderNumber', 'personalPhoto' => 'personalPhoto', 'status' => 'status', 'tbWang' => 'tbWang', 'userId' => 'userId', 'userInfo' => 'userInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentDescription) { $res['departmentDescription'] = $this->departmentDescription; } if (null !== $this->displayEnName) { $res['displayEnName'] = $this->displayEnName; } if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->masterDataDepartments) { $res['masterDataDepartments'] = []; if (null !== $this->masterDataDepartments && \is_array($this->masterDataDepartments)) { $n = 0; foreach ($this->masterDataDepartments as $item) { $res['masterDataDepartments'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->orderNumber) { $res['orderNumber'] = $this->orderNumber; } if (null !== $this->personalPhoto) { $res['personalPhoto'] = $this->personalPhoto; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->tbWang) { $res['tbWang'] = $this->tbWang; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userInfo) { $res['userInfo'] = $this->userInfo; } return $res; } /** * @param array $map * * @return owners */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentDescription'])) { $model->departmentDescription = $map['departmentDescription']; } if (isset($map['displayEnName'])) { $model->displayEnName = $map['displayEnName']; } if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['masterDataDepartments'])) { if (!empty($map['masterDataDepartments'])) { $model->masterDataDepartments = []; $n = 0; foreach ($map['masterDataDepartments'] as $item) { $model->masterDataDepartments[$n++] = null !== $item ? masterDataDepartments::fromMap($item) : $item; } } } if (isset($map['orderNumber'])) { $model->orderNumber = $map['orderNumber']; } if (isset($map['personalPhoto'])) { $model->personalPhoto = $map['personalPhoto']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['tbWang'])) { $model->tbWang = $map['tbWang']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userInfo'])) { $model->userInfo = $map['userInfo']; } return $model; } } src/yida_1_0/Models/GetProcessDefinitionResponseBody/owners/masterDataDepartments.php000064400000006420146412132660025120 0ustar00 'deptName', 'deptNameInEnglish' => 'deptNameInEnglish', 'deptNo' => 'deptNo', 'deptPath' => 'deptPath', 'humanSourceGroupOrderNumber' => 'humanSourceGroupOrderNumber', 'humanSourceGroupWorkNo' => 'humanSourceGroupWorkNo', 'id' => 'id', 'masterWorkNo' => 'masterWorkNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->deptNameInEnglish) { $res['deptNameInEnglish'] = $this->deptNameInEnglish; } if (null !== $this->deptNo) { $res['deptNo'] = $this->deptNo; } if (null !== $this->deptPath) { $res['deptPath'] = $this->deptPath; } if (null !== $this->humanSourceGroupOrderNumber) { $res['humanSourceGroupOrderNumber'] = $this->humanSourceGroupOrderNumber; } if (null !== $this->humanSourceGroupWorkNo) { $res['humanSourceGroupWorkNo'] = $this->humanSourceGroupWorkNo; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->masterWorkNo) { $res['masterWorkNo'] = $this->masterWorkNo; } return $res; } /** * @param array $map * * @return masterDataDepartments */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['deptNameInEnglish'])) { $model->deptNameInEnglish = $map['deptNameInEnglish']; } if (isset($map['deptNo'])) { $model->deptNo = $map['deptNo']; } if (isset($map['deptPath'])) { $model->deptPath = $map['deptPath']; } if (isset($map['humanSourceGroupOrderNumber'])) { $model->humanSourceGroupOrderNumber = $map['humanSourceGroupOrderNumber']; } if (isset($map['humanSourceGroupWorkNo'])) { $model->humanSourceGroupWorkNo = $map['humanSourceGroupWorkNo']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['masterWorkNo'])) { $model->masterWorkNo = $map['masterWorkNo']; } return $model; } } src/yida_1_0/Models/GetProcessDefinitionResponseBody/tasks.php000064400000003471146412132660020437 0ustar00 'actionerId', 'activity' => 'activity', 'status' => 'status', 'taskId' => 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionerId) { $res['actionerId'] = $this->actionerId; } if (null !== $this->activity) { $res['activity'] = null !== $this->activity ? $this->activity->toMap() : null; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return tasks */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionerId'])) { $model->actionerId = $map['actionerId']; } if (isset($map['activity'])) { $model->activity = activity::fromMap($map['activity']); } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/yida_1_0/Models/GetProcessDefinitionResponseBody/tasks/activity.php000064400000004353146412132660022273 0ustar00 'activityId', 'activityInstanceStatus' => 'activityInstanceStatus', 'activityName' => 'activityName', 'activityNameInEnglish' => 'activityNameInEnglish', 'id' => 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } if (null !== $this->activityInstanceStatus) { $res['activityInstanceStatus'] = $this->activityInstanceStatus; } if (null !== $this->activityName) { $res['activityName'] = $this->activityName; } if (null !== $this->activityNameInEnglish) { $res['activityNameInEnglish'] = $this->activityNameInEnglish; } if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return activity */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } if (isset($map['activityInstanceStatus'])) { $model->activityInstanceStatus = $map['activityInstanceStatus']; } if (isset($map['activityName'])) { $model->activityName = $map['activityName']; } if (isset($map['activityNameInEnglish'])) { $model->activityNameInEnglish = $map['activityNameInEnglish']; } if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/yida_1_0/Models/GetRunningTaskListHeaders.php000064400000002340146412132660015713 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRunningTaskListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetRunningTaskListRequest.php000064400000004260146412132660015773 0ustar00 'appType', 'processInstanceIdList' => 'processInstanceIdList', 'systemToken' => 'systemToken', 'userCorpId' => 'userCorpId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->processInstanceIdList) { $res['processInstanceIdList'] = $this->processInstanceIdList; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userCorpId) { $res['userCorpId'] = $this->userCorpId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetRunningTaskListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['processInstanceIdList'])) { $model->processInstanceIdList = $map['processInstanceIdList']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userCorpId'])) { $model->userCorpId = $map['userCorpId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetRunningTaskListResponse.php000064400000002742146412132660016144 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRunningTaskListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRunningTaskListResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetRunningTaskListResponseBody.php000064400000002613146412132660016757 0ustar00 '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 GetRunningTaskListResponseBody */ 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/yida_1_0/Models/GetRunningTaskListResponseBody/result.php000064400000017311146412132660020276 0ustar00 'activeTimeGMT', 'actualActionExecutorId' => 'actualActionExecutorId', 'appType' => 'appType', 'createTimeGMT' => 'createTimeGMT', 'finishTimeGMT' => 'finishTimeGMT', 'originatorEmail' => 'originatorEmail', 'originatorId' => 'originatorId', 'originatorName' => 'originatorName', 'originatorNameInEnglish' => 'originatorNameInEnglish', 'originatorNickName' => 'originatorNickName', 'originatorNickNameInEnglish' => 'originatorNickNameInEnglish', 'originatorPhoto' => 'originatorPhoto', 'outResult' => 'outResult', 'outResultName' => 'outResultName', 'processInstanceId' => 'processInstanceId', 'status' => 'status', 'taskId' => 'taskId', 'taskType' => 'taskType', 'title' => 'title', 'titleInEnglish' => 'titleInEnglish', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activeTimeGMT) { $res['activeTimeGMT'] = $this->activeTimeGMT; } if (null !== $this->actualActionExecutorId) { $res['actualActionExecutorId'] = $this->actualActionExecutorId; } if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->createTimeGMT) { $res['createTimeGMT'] = $this->createTimeGMT; } if (null !== $this->finishTimeGMT) { $res['finishTimeGMT'] = $this->finishTimeGMT; } if (null !== $this->originatorEmail) { $res['originatorEmail'] = $this->originatorEmail; } if (null !== $this->originatorId) { $res['originatorId'] = $this->originatorId; } if (null !== $this->originatorName) { $res['originatorName'] = $this->originatorName; } if (null !== $this->originatorNameInEnglish) { $res['originatorNameInEnglish'] = $this->originatorNameInEnglish; } if (null !== $this->originatorNickName) { $res['originatorNickName'] = $this->originatorNickName; } if (null !== $this->originatorNickNameInEnglish) { $res['originatorNickNameInEnglish'] = $this->originatorNickNameInEnglish; } if (null !== $this->originatorPhoto) { $res['originatorPhoto'] = $this->originatorPhoto; } if (null !== $this->outResult) { $res['outResult'] = $this->outResult; } if (null !== $this->outResultName) { $res['outResultName'] = $this->outResultName; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->taskType) { $res['taskType'] = $this->taskType; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->titleInEnglish) { $res['titleInEnglish'] = $this->titleInEnglish; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activeTimeGMT'])) { $model->activeTimeGMT = $map['activeTimeGMT']; } if (isset($map['actualActionExecutorId'])) { $model->actualActionExecutorId = $map['actualActionExecutorId']; } if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['createTimeGMT'])) { $model->createTimeGMT = $map['createTimeGMT']; } if (isset($map['finishTimeGMT'])) { $model->finishTimeGMT = $map['finishTimeGMT']; } if (isset($map['originatorEmail'])) { $model->originatorEmail = $map['originatorEmail']; } if (isset($map['originatorId'])) { $model->originatorId = $map['originatorId']; } if (isset($map['originatorName'])) { $model->originatorName = $map['originatorName']; } if (isset($map['originatorNameInEnglish'])) { $model->originatorNameInEnglish = $map['originatorNameInEnglish']; } if (isset($map['originatorNickName'])) { $model->originatorNickName = $map['originatorNickName']; } if (isset($map['originatorNickNameInEnglish'])) { $model->originatorNickNameInEnglish = $map['originatorNickNameInEnglish']; } if (isset($map['originatorPhoto'])) { $model->originatorPhoto = $map['originatorPhoto']; } if (isset($map['outResult'])) { $model->outResult = $map['outResult']; } if (isset($map['outResultName'])) { $model->outResultName = $map['outResultName']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['taskType'])) { $model->taskType = $map['taskType']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['titleInEnglish'])) { $model->titleInEnglish = $map['titleInEnglish']; } return $model; } } src/yida_1_0/Models/GetRunningTasksHeaders.php000064400000002332146412132660015243 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRunningTasksHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetRunningTasksRequest.php000064400000004072146412132660015323 0ustar00 'appType', 'language' => 'language', 'processInstanceId' => 'processInstanceId', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetRunningTasksRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetRunningTasksResponse.php000064400000002726146412132660015475 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRunningTasksResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRunningTasksResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetRunningTasksResponseBody.php000064400000002602146412132660016304 0ustar00 '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 GetRunningTasksResponseBody */ 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/yida_1_0/Models/GetRunningTasksResponseBody/result.php000064400000010465146412132660017630 0ustar00 'activeTimeGMT', 'activityId' => 'activityId', 'actualActionerId' => 'actualActionerId', 'createTimeGMT' => 'createTimeGMT', 'finishTimeGMT' => 'finishTimeGMT', 'originatorId' => 'originatorId', 'processInstanceId' => 'processInstanceId', 'status' => 'status', 'taskId' => 'taskId', 'taskType' => 'taskType', 'title' => 'title', 'titleInEnglish' => 'titleInEnglish', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activeTimeGMT) { $res['activeTimeGMT'] = $this->activeTimeGMT; } if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } if (null !== $this->actualActionerId) { $res['actualActionerId'] = $this->actualActionerId; } if (null !== $this->createTimeGMT) { $res['createTimeGMT'] = $this->createTimeGMT; } if (null !== $this->finishTimeGMT) { $res['finishTimeGMT'] = $this->finishTimeGMT; } if (null !== $this->originatorId) { $res['originatorId'] = $this->originatorId; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->taskType) { $res['taskType'] = $this->taskType; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->titleInEnglish) { $res['titleInEnglish'] = $this->titleInEnglish; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activeTimeGMT'])) { $model->activeTimeGMT = $map['activeTimeGMT']; } if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } if (isset($map['actualActionerId'])) { $model->actualActionerId = $map['actualActionerId']; } if (isset($map['createTimeGMT'])) { $model->createTimeGMT = $map['createTimeGMT']; } if (isset($map['finishTimeGMT'])) { $model->finishTimeGMT = $map['finishTimeGMT']; } if (isset($map['originatorId'])) { $model->originatorId = $map['originatorId']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['taskType'])) { $model->taskType = $map['taskType']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['titleInEnglish'])) { $model->titleInEnglish = $map['titleInEnglish']; } return $model; } } src/yida_1_0/Models/GetSaleUserInfoByUserIdHeaders.php000064400000002352146412132660016565 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSaleUserInfoByUserIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetSaleUserInfoByUserIdRequest.php000064400000002600146412132660016636 0ustar00 'corpId', 'namespace' => 'namespace', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->namespace) { $res['namespace'] = $this->namespace; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetSaleUserInfoByUserIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['namespace'])) { $model->namespace = $map['namespace']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetSaleUserInfoByUserIdResponse.php000064400000002766146412132660017021 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSaleUserInfoByUserIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSaleUserInfoByUserIdResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetSaleUserInfoByUserIdResponseBody.php000064400000004427146412132660017633 0ustar00 'accountId', 'corpList' => 'corpList', 'userId' => 'userId', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->corpList) { $res['corpList'] = []; if (null !== $this->corpList && \is_array($this->corpList)) { $n = 0; foreach ($this->corpList as $item) { $res['corpList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return GetSaleUserInfoByUserIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['corpList'])) { if (!empty($map['corpList'])) { $model->corpList = []; $n = 0; foreach ($map['corpList'] as $item) { $model->corpList[$n++] = null !== $item ? corpList::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/yida_1_0/Models/GetSaleUserInfoByUserIdResponseBody/corpList.php000064400000002610146412132660021422 0ustar00 'corpId', 'corpName' => 'corpName', 'namespace' => 'namespace', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->corpName) { $res['corpName'] = $this->corpName; } if (null !== $this->namespace) { $res['namespace'] = $this->namespace; } return $res; } /** * @param array $map * * @return corpList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['corpName'])) { $model->corpName = $map['corpName']; } if (isset($map['namespace'])) { $model->namespace = $map['namespace']; } return $model; } } src/yida_1_0/Models/GetSimpleCubeModelListHeaders.php000064400000002350146412132660016462 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSimpleCubeModelListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetSimpleCubeModelListRequest.php000064400000005154146412132660016544 0ustar00 'appType', 'corpId' => 'corpId', 'cubeCode' => 'cubeCode', 'cubeTenantId' => 'cubeTenantId', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->cubeCode) { $res['cubeCode'] = $this->cubeCode; } if (null !== $this->cubeTenantId) { $res['cubeTenantId'] = $this->cubeTenantId; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetSimpleCubeModelListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['cubeCode'])) { $model->cubeCode = $map['cubeCode']; } if (isset($map['cubeTenantId'])) { $model->cubeTenantId = $map['cubeTenantId']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetSimpleCubeModelListResponse.php000064400000002762146412132660016714 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSimpleCubeModelListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSimpleCubeModelListResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetSimpleCubeModelListResponseBody.php000064400000002627146412132660017532 0ustar00 '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 GetSimpleCubeModelListResponseBody */ 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/yida_1_0/Models/GetSimpleCubeModelListResponseBody/result.php000064400000004376146412132660021053 0ustar00 'children', 'id' => 'id', 'isDimension' => 'isDimension', 'text' => 'text', ]; 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->id) { $res['id'] = $this->id; } if (null !== $this->isDimension) { $res['isDimension'] = $this->isDimension; } if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return result */ 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['id'])) { $model->id = $map['id']; } if (isset($map['isDimension'])) { $model->isDimension = $map['isDimension']; } if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/yida_1_0/Models/GetSimpleCubeModelListResponseBody/result/children.php000064400000010404146412132660022630 0ustar00 'classifiedCode', 'cubeCode' => 'cubeCode', 'dataType' => 'dataType', 'dimensionType' => 'dimensionType', 'fieldCode' => 'fieldCode', 'id' => 'id', 'isDimension' => 'isDimension', 'isVisible' => 'isVisible', 'measureType' => 'measureType', 'text' => 'text', 'timeFormat' => 'timeFormat', 'timeGranularityType' => 'timeGranularityType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classifiedCode) { $res['classifiedCode'] = $this->classifiedCode; } if (null !== $this->cubeCode) { $res['cubeCode'] = $this->cubeCode; } if (null !== $this->dataType) { $res['dataType'] = $this->dataType; } if (null !== $this->dimensionType) { $res['dimensionType'] = $this->dimensionType; } if (null !== $this->fieldCode) { $res['fieldCode'] = $this->fieldCode; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isDimension) { $res['isDimension'] = $this->isDimension; } if (null !== $this->isVisible) { $res['isVisible'] = $this->isVisible; } if (null !== $this->measureType) { $res['measureType'] = $this->measureType; } if (null !== $this->text) { $res['text'] = $this->text; } if (null !== $this->timeFormat) { $res['timeFormat'] = $this->timeFormat; } if (null !== $this->timeGranularityType) { $res['timeGranularityType'] = $this->timeGranularityType; } return $res; } /** * @param array $map * * @return children */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classifiedCode'])) { $model->classifiedCode = $map['classifiedCode']; } if (isset($map['cubeCode'])) { $model->cubeCode = $map['cubeCode']; } if (isset($map['dataType'])) { $model->dataType = $map['dataType']; } if (isset($map['dimensionType'])) { $model->dimensionType = $map['dimensionType']; } if (isset($map['fieldCode'])) { $model->fieldCode = $map['fieldCode']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isDimension'])) { $model->isDimension = $map['isDimension']; } if (isset($map['isVisible'])) { $model->isVisible = $map['isVisible']; } if (isset($map['measureType'])) { $model->measureType = $map['measureType']; } if (isset($map['text'])) { $model->text = $map['text']; } if (isset($map['timeFormat'])) { $model->timeFormat = $map['timeFormat']; } if (isset($map['timeGranularityType'])) { $model->timeGranularityType = $map['timeGranularityType']; } return $model; } } src/yida_1_0/Models/GetTaskCopiesHeaders.php000064400000002326146412132660014665 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTaskCopiesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/GetTaskCopiesRequest.php000064400000007505146412132660014746 0ustar00 'appType', 'createFromTimeGMT' => 'createFromTimeGMT', 'createToTimeGMT' => 'createToTimeGMT', 'keyword' => 'keyword', 'language' => 'language', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'processCodes' => 'processCodes', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->createFromTimeGMT) { $res['createFromTimeGMT'] = $this->createFromTimeGMT; } if (null !== $this->createToTimeGMT) { $res['createToTimeGMT'] = $this->createToTimeGMT; } if (null !== $this->keyword) { $res['keyword'] = $this->keyword; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->processCodes) { $res['processCodes'] = $this->processCodes; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetTaskCopiesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['createFromTimeGMT'])) { $model->createFromTimeGMT = $map['createFromTimeGMT']; } if (isset($map['createToTimeGMT'])) { $model->createToTimeGMT = $map['createToTimeGMT']; } if (isset($map['keyword'])) { $model->keyword = $map['keyword']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['processCodes'])) { $model->processCodes = $map['processCodes']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/GetTaskCopiesResponse.php000064400000002716146412132660015113 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTaskCopiesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTaskCopiesResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/GetTaskCopiesResponseBody.php000064400000003760146412132660015731 0ustar00 'data', 'pageNumber' => 'pageNumber', '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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return GetTaskCopiesResponseBody */ 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['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/GetTaskCopiesResponseBody/data.php000064400000026040146412132660016636 0ustar00 'actionExecutorId', 'actionExecutorName' => 'actionExecutorName', 'appType' => 'appType', 'carbonActivityId' => 'carbonActivityId', 'createTimeGMT' => 'createTimeGMT', 'currentActivityInstances' => 'currentActivityInstances', 'dataMap' => 'dataMap', 'dataType' => 'dataType', 'finishTimeGMT' => 'finishTimeGMT', 'formInstanceId' => 'formInstanceId', 'formUuid' => 'formUuid', 'instanceValue' => 'instanceValue', 'modifiedTimeGMT' => 'modifiedTimeGMT', 'originatorAvatar' => 'originatorAvatar', 'originatorDisplayName' => 'originatorDisplayName', 'originatorId' => 'originatorId', 'processApprovedResult' => 'processApprovedResult', 'processApprovedResultText' => 'processApprovedResultText', 'processCode' => 'processCode', 'processId' => 'processId', 'processInstanceId' => 'processInstanceId', 'processInstanceStatus' => 'processInstanceStatus', 'processInstanceStatusText' => 'processInstanceStatusText', 'processName' => 'processName', 'serialNumber' => 'serialNumber', 'title' => 'title', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionExecutorId) { $res['actionExecutorId'] = $this->actionExecutorId; } if (null !== $this->actionExecutorName) { $res['actionExecutorName'] = $this->actionExecutorName; } if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->carbonActivityId) { $res['carbonActivityId'] = $this->carbonActivityId; } if (null !== $this->createTimeGMT) { $res['createTimeGMT'] = $this->createTimeGMT; } if (null !== $this->currentActivityInstances) { $res['currentActivityInstances'] = []; if (null !== $this->currentActivityInstances && \is_array($this->currentActivityInstances)) { $n = 0; foreach ($this->currentActivityInstances as $item) { $res['currentActivityInstances'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->dataMap) { $res['dataMap'] = $this->dataMap; } if (null !== $this->dataType) { $res['dataType'] = $this->dataType; } if (null !== $this->finishTimeGMT) { $res['finishTimeGMT'] = $this->finishTimeGMT; } if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->instanceValue) { $res['instanceValue'] = $this->instanceValue; } if (null !== $this->modifiedTimeGMT) { $res['modifiedTimeGMT'] = $this->modifiedTimeGMT; } if (null !== $this->originatorAvatar) { $res['originatorAvatar'] = $this->originatorAvatar; } if (null !== $this->originatorDisplayName) { $res['originatorDisplayName'] = $this->originatorDisplayName; } if (null !== $this->originatorId) { $res['originatorId'] = $this->originatorId; } if (null !== $this->processApprovedResult) { $res['processApprovedResult'] = $this->processApprovedResult; } if (null !== $this->processApprovedResultText) { $res['processApprovedResultText'] = $this->processApprovedResultText; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->processId) { $res['processId'] = $this->processId; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->processInstanceStatus) { $res['processInstanceStatus'] = $this->processInstanceStatus; } if (null !== $this->processInstanceStatusText) { $res['processInstanceStatusText'] = $this->processInstanceStatusText; } if (null !== $this->processName) { $res['processName'] = $this->processName; } if (null !== $this->serialNumber) { $res['serialNumber'] = $this->serialNumber; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionExecutorId'])) { if (!empty($map['actionExecutorId'])) { $model->actionExecutorId = $map['actionExecutorId']; } } if (isset($map['actionExecutorName'])) { if (!empty($map['actionExecutorName'])) { $model->actionExecutorName = $map['actionExecutorName']; } } if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['carbonActivityId'])) { $model->carbonActivityId = $map['carbonActivityId']; } if (isset($map['createTimeGMT'])) { $model->createTimeGMT = $map['createTimeGMT']; } if (isset($map['currentActivityInstances'])) { if (!empty($map['currentActivityInstances'])) { $model->currentActivityInstances = []; $n = 0; foreach ($map['currentActivityInstances'] as $item) { $model->currentActivityInstances[$n++] = null !== $item ? currentActivityInstances::fromMap($item) : $item; } } } if (isset($map['dataMap'])) { $model->dataMap = $map['dataMap']; } if (isset($map['dataType'])) { $model->dataType = $map['dataType']; } if (isset($map['finishTimeGMT'])) { $model->finishTimeGMT = $map['finishTimeGMT']; } if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['instanceValue'])) { $model->instanceValue = $map['instanceValue']; } if (isset($map['modifiedTimeGMT'])) { $model->modifiedTimeGMT = $map['modifiedTimeGMT']; } if (isset($map['originatorAvatar'])) { $model->originatorAvatar = $map['originatorAvatar']; } if (isset($map['originatorDisplayName'])) { $model->originatorDisplayName = $map['originatorDisplayName']; } if (isset($map['originatorId'])) { $model->originatorId = $map['originatorId']; } if (isset($map['processApprovedResult'])) { $model->processApprovedResult = $map['processApprovedResult']; } if (isset($map['processApprovedResultText'])) { $model->processApprovedResultText = $map['processApprovedResultText']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['processId'])) { $model->processId = $map['processId']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['processInstanceStatus'])) { $model->processInstanceStatus = $map['processInstanceStatus']; } if (isset($map['processInstanceStatusText'])) { $model->processInstanceStatusText = $map['processInstanceStatusText']; } if (isset($map['processName'])) { $model->processName = $map['processName']; } if (isset($map['serialNumber'])) { $model->serialNumber = $map['serialNumber']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/yida_1_0/Models/GetTaskCopiesResponseBody/data/currentActivityInstances.php000064400000004654146412132660023714 0ustar00 'activityId', 'activityInstanceStatus' => 'activityInstanceStatus', 'activityName' => 'activityName', 'activityNameInEnglish' => 'activityNameInEnglish', 'id' => 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } if (null !== $this->activityInstanceStatus) { $res['activityInstanceStatus'] = $this->activityInstanceStatus; } if (null !== $this->activityName) { $res['activityName'] = $this->activityName; } if (null !== $this->activityNameInEnglish) { $res['activityNameInEnglish'] = $this->activityNameInEnglish; } if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return currentActivityInstances */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } if (isset($map['activityInstanceStatus'])) { $model->activityInstanceStatus = $map['activityInstanceStatus']; } if (isset($map['activityName'])) { $model->activityName = $map['activityName']; } if (isset($map['activityNameInEnglish'])) { $model->activityNameInEnglish = $map['activityNameInEnglish']; } if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/yida_1_0/Models/ListApplicationAuthorizationServiceApplicationInformationHeaders.php000064400000002456146412132660025757 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListApplicationAuthorizationServiceApplicationInformationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ListApplicationAuthorizationServiceApplicationInformationRequest.php000064400000003507146412132660026032 0ustar00 'accessKey', 'callerUnionId' => 'callerUnionId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUnionId) { $res['callerUnionId'] = $this->callerUnionId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return ListApplicationAuthorizationServiceApplicationInformationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUnionId'])) { $model->callerUnionId = $map['callerUnionId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/yida_1_0/Models/ListApplicationAuthorizationServiceApplicationInformationResponse.php000064400000003176146412132660026202 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListApplicationAuthorizationServiceApplicationInformationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListApplicationAuthorizationServiceApplicationInformationResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ListApplicationAuthorizationServiceApplicationInformationResponseBody.php000064400000005420146412132660027012 0ustar00 'applicationInformation', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->applicationInformation) { $res['applicationInformation'] = []; if (null !== $this->applicationInformation && \is_array($this->applicationInformation)) { $n = 0; foreach ($this->applicationInformation as $item) { $res['applicationInformation'][$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 ListApplicationAuthorizationServiceApplicationInformationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['applicationInformation'])) { if (!empty($map['applicationInformation'])) { $model->applicationInformation = []; $n = 0; foreach ($map['applicationInformation'] as $item) { $model->applicationInformation[$n++] = null !== $item ? applicationInformation::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; } } ListApplicationAuthorizationServiceApplicationInformationResponseBody/applicationInformation.php000064400000005722146412132660033451 0ustar00src/yida_1_0/Models 'appName', 'appType' => 'appType', 'attachmentUsageAmount' => 'attachmentUsageAmount', 'instanceUsageAmount' => 'instanceUsageAmount', 'usagePlugins' => 'usagePlugins', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->attachmentUsageAmount) { $res['attachmentUsageAmount'] = $this->attachmentUsageAmount; } if (null !== $this->instanceUsageAmount) { $res['instanceUsageAmount'] = $this->instanceUsageAmount; } if (null !== $this->usagePlugins) { $res['usagePlugins'] = []; if (null !== $this->usagePlugins && \is_array($this->usagePlugins)) { $n = 0; foreach ($this->usagePlugins as $item) { $res['usagePlugins'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return applicationInformation */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['attachmentUsageAmount'])) { $model->attachmentUsageAmount = $map['attachmentUsageAmount']; } if (isset($map['instanceUsageAmount'])) { $model->instanceUsageAmount = $map['instanceUsageAmount']; } if (isset($map['usagePlugins'])) { if (!empty($map['usagePlugins'])) { $model->usagePlugins = []; $n = 0; foreach ($map['usagePlugins'] as $item) { $model->usagePlugins[$n++] = null !== $item ? usagePlugins::fromMap($item) : $item; } } } return $model; } } applicationInformation/usagePlugins.php000064400000002272146412132660036114 0ustar00src/yida_1_0/Models/ListApplicationAuthorizationServiceApplicationInformationResponseBody 'iconUrl', 'pluginName' => 'pluginName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->iconUrl) { $res['iconUrl'] = $this->iconUrl; } if (null !== $this->pluginName) { $res['pluginName'] = $this->pluginName; } return $res; } /** * @param array $map * * @return usagePlugins */ public static function fromMap($map = []) { $model = new self(); if (isset($map['iconUrl'])) { $model->iconUrl = $map['iconUrl']; } if (isset($map['pluginName'])) { $model->pluginName = $map['pluginName']; } return $model; } } src/yida_1_0/Models/ListApplicationAuthorizationServiceConnectorInformationHeaders.php000064400000002452146412132660025442 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListApplicationAuthorizationServiceConnectorInformationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ListApplicationAuthorizationServiceConnectorInformationRequest.php000064400000003427146412132660025522 0ustar00 'accessKey', 'callerUid' => 'callerUid', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUid) { $res['callerUid'] = $this->callerUid; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return ListApplicationAuthorizationServiceConnectorInformationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUid'])) { $model->callerUid = $map['callerUid']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/yida_1_0/Models/ListApplicationAuthorizationServiceConnectorInformationResponse.php000064400000003166146412132660025670 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListApplicationAuthorizationServiceConnectorInformationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListApplicationAuthorizationServiceConnectorInformationResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ListApplicationAuthorizationServiceConnectorInformationResponseBody.php000064400000005167146412132660026511 0ustar00 'pageNumber', 'pageSize' => 'pageSize', 'plugInformation' => 'plugInformation', 'totalCount' => 'totalCount', ]; 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->plugInformation) { $res['plugInformation'] = []; if (null !== $this->plugInformation && \is_array($this->plugInformation)) { $n = 0; foreach ($this->plugInformation as $item) { $res['plugInformation'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return ListApplicationAuthorizationServiceConnectorInformationResponseBody */ 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['plugInformation'])) { if (!empty($map['plugInformation'])) { $model->plugInformation = []; $n = 0; foreach ($map['plugInformation'] as $item) { $model->plugInformation[$n++] = null !== $item ? plugInformation::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } Models/ListApplicationAuthorizationServiceConnectorInformationResponseBody/plugInformation.php000064400000007352146412132660031605 0ustar00src/yida_1_0 'applications', 'iconUrl' => 'iconUrl', 'plugName' => 'plugName', 'plugPayType' => 'plugPayType', 'plugStatus' => 'plugStatus', 'plugTotalAmount' => 'plugTotalAmount', 'plugUsageAmount' => 'plugUsageAmount', 'plugUuid' => 'plugUuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->applications) { $res['applications'] = []; if (null !== $this->applications && \is_array($this->applications)) { $n = 0; foreach ($this->applications as $item) { $res['applications'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->iconUrl) { $res['iconUrl'] = $this->iconUrl; } if (null !== $this->plugName) { $res['plugName'] = $this->plugName; } if (null !== $this->plugPayType) { $res['plugPayType'] = $this->plugPayType; } if (null !== $this->plugStatus) { $res['plugStatus'] = $this->plugStatus; } if (null !== $this->plugTotalAmount) { $res['plugTotalAmount'] = $this->plugTotalAmount; } if (null !== $this->plugUsageAmount) { $res['plugUsageAmount'] = $this->plugUsageAmount; } if (null !== $this->plugUuid) { $res['plugUuid'] = $this->plugUuid; } return $res; } /** * @param array $map * * @return plugInformation */ public static function fromMap($map = []) { $model = new self(); if (isset($map['applications'])) { if (!empty($map['applications'])) { $model->applications = []; $n = 0; foreach ($map['applications'] as $item) { $model->applications[$n++] = null !== $item ? applications::fromMap($item) : $item; } } } if (isset($map['iconUrl'])) { $model->iconUrl = $map['iconUrl']; } if (isset($map['plugName'])) { $model->plugName = $map['plugName']; } if (isset($map['plugPayType'])) { $model->plugPayType = $map['plugPayType']; } if (isset($map['plugStatus'])) { $model->plugStatus = $map['plugStatus']; } if (isset($map['plugTotalAmount'])) { $model->plugTotalAmount = $map['plugTotalAmount']; } if (isset($map['plugUsageAmount'])) { $model->plugUsageAmount = $map['plugUsageAmount']; } if (isset($map['plugUuid'])) { $model->plugUuid = $map['plugUuid']; } return $model; } } ListApplicationAuthorizationServiceConnectorInformationResponseBody/plugInformation/applications.php000064400000001574146412132660034273 0ustar00src/yida_1_0/Models 'appName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appName) { $res['appName'] = $this->appName; } return $res; } /** * @param array $map * * @return applications */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appName'])) { $model->appName = $map['appName']; } return $model; } } src/yida_1_0/Models/ListApplicationHeaders.php000064400000002332146412132660015254 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListApplicationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ListApplicationInformationHeaders.php000064400000002360146412132660017463 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListApplicationInformationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ListApplicationInformationRequest.php000064400000003335146412132660017543 0ustar00 'accessKey', 'callerUid' => 'callerUid', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUid) { $res['callerUid'] = $this->callerUid; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return ListApplicationInformationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUid'])) { $model->callerUid = $map['callerUid']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/yida_1_0/Models/ListApplicationInformationResponse.php000064400000003002146412132660017700 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListApplicationInformationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListApplicationInformationResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ListApplicationInformationResponseBody.php000064400000005263146412132660020531 0ustar00 'applicationInformation', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->applicationInformation) { $res['applicationInformation'] = []; if (null !== $this->applicationInformation && \is_array($this->applicationInformation)) { $n = 0; foreach ($this->applicationInformation as $item) { $res['applicationInformation'][$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 ListApplicationInformationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['applicationInformation'])) { if (!empty($map['applicationInformation'])) { $model->applicationInformation = []; $n = 0; foreach ($map['applicationInformation'] as $item) { $model->applicationInformation[$n++] = null !== $item ? applicationInformation::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/yida_1_0/Models/ListApplicationInformationResponseBody/applicationInformation.php000064400000005624146412132660025243 0ustar00 'appName', 'appType' => 'appType', 'attachmentUsageAmount' => 'attachmentUsageAmount', 'instanceUsageAmount' => 'instanceUsageAmount', 'usagePlugins' => 'usagePlugins', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->attachmentUsageAmount) { $res['attachmentUsageAmount'] = $this->attachmentUsageAmount; } if (null !== $this->instanceUsageAmount) { $res['instanceUsageAmount'] = $this->instanceUsageAmount; } if (null !== $this->usagePlugins) { $res['usagePlugins'] = []; if (null !== $this->usagePlugins && \is_array($this->usagePlugins)) { $n = 0; foreach ($this->usagePlugins as $item) { $res['usagePlugins'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return applicationInformation */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['attachmentUsageAmount'])) { $model->attachmentUsageAmount = $map['attachmentUsageAmount']; } if (isset($map['instanceUsageAmount'])) { $model->instanceUsageAmount = $map['instanceUsageAmount']; } if (isset($map['usagePlugins'])) { if (!empty($map['usagePlugins'])) { $model->usagePlugins = []; $n = 0; foreach ($map['usagePlugins'] as $item) { $model->usagePlugins[$n++] = null !== $item ? usagePlugins::fromMap($item) : $item; } } } return $model; } } src/yida_1_0/Models/ListApplicationInformationResponseBody/applicationInformation/usagePlugins.php000064400000002233146412132660027702 0ustar00 'iconUrl', 'pluginName' => 'pluginName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->iconUrl) { $res['iconUrl'] = $this->iconUrl; } if (null !== $this->pluginName) { $res['pluginName'] = $this->pluginName; } return $res; } /** * @param array $map * * @return usagePlugins */ public static function fromMap($map = []) { $model = new self(); if (isset($map['iconUrl'])) { $model->iconUrl = $map['iconUrl']; } if (isset($map['pluginName'])) { $model->pluginName = $map['pluginName']; } return $model; } } src/yida_1_0/Models/ListApplicationRequest.php000064400000005666146412132660015346 0ustar00 'appFilter', 'appNameSearchKeyword' => 'appNameSearchKeyword', 'corpId' => 'corpId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'token' => 'token', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appFilter) { $res['appFilter'] = $this->appFilter; } if (null !== $this->appNameSearchKeyword) { $res['appNameSearchKeyword'] = $this->appNameSearchKeyword; } 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->token) { $res['token'] = $this->token; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ListApplicationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appFilter'])) { $model->appFilter = $map['appFilter']; } if (isset($map['appNameSearchKeyword'])) { $model->appNameSearchKeyword = $map['appNameSearchKeyword']; } 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['token'])) { $model->token = $map['token']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/ListApplicationResponse.php000064400000002726146412132660015506 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListApplicationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListApplicationResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ListApplicationResponseBody.php000064400000003766146412132660016331 0ustar00 'data', 'pageNumber' => 'pageNumber', '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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return ListApplicationResponseBody */ 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['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/ListApplicationResponseBody/data.php000064400000011737146412132660017237 0ustar00 'appConfig', 'appType' => 'appType', 'applicationStatus' => 'applicationStatus', 'corpId' => 'corpId', 'creatorUserId' => 'creatorUserId', 'description' => 'description', 'icon' => 'icon', 'inexistence' => 'inexistence', 'name' => 'name', 'subCorpId' => 'subCorpId', 'systemToken' => 'systemToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appConfig) { $res['appConfig'] = $this->appConfig; } if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->applicationStatus) { $res['applicationStatus'] = $this->applicationStatus; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->inexistence) { $res['inexistence'] = $this->inexistence; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->subCorpId) { $res['subCorpId'] = $this->subCorpId; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appConfig'])) { $model->appConfig = $map['appConfig']; } if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['applicationStatus'])) { $model->applicationStatus = $map['applicationStatus']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['inexistence'])) { $model->inexistence = $map['inexistence']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['subCorpId'])) { $model->subCorpId = $map['subCorpId']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } return $model; } } src/yida_1_0/Models/ListCommodityHeaders.php000064400000002326146412132660014760 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListCommodityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ListCommodityRequest.php000064400000003510146412132660015031 0ustar00 'accessKey', 'callerUid' => 'callerUid', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUid) { $res['callerUid'] = $this->callerUid; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return ListCommodityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUid'])) { $model->callerUid = $map['callerUid']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/yida_1_0/Models/ListCommodityResponse.php000064400000002716146412132660015206 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListCommodityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListCommodityResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ListCommodityResponseBody.php000064400000004771146412132660016027 0ustar00 'commodityVOList', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commodityVOList) { $res['commodityVOList'] = []; if (null !== $this->commodityVOList && \is_array($this->commodityVOList)) { $n = 0; foreach ($this->commodityVOList as $item) { $res['commodityVOList'][$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 ListCommodityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commodityVOList'])) { if (!empty($map['commodityVOList'])) { $model->commodityVOList = []; $n = 0; foreach ($map['commodityVOList'] as $item) { $model->commodityVOList[$n++] = null !== $item ? commodityVOList::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/yida_1_0/Models/ListCommodityResponseBody/commodityVOList.php000064400000006300146412132660021122 0ustar00 'accountDistributionNumber', 'accountNumber' => 'accountNumber', 'activationCode' => 'activationCode', 'buyDateGMT' => 'buyDateGMT', 'expireDateGMT' => 'expireDateGMT', 'instanceId' => 'instanceId', 'status' => 'status', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountDistributionNumber) { $res['accountDistributionNumber'] = $this->accountDistributionNumber; } if (null !== $this->accountNumber) { $res['accountNumber'] = $this->accountNumber; } if (null !== $this->activationCode) { $res['activationCode'] = $this->activationCode; } if (null !== $this->buyDateGMT) { $res['buyDateGMT'] = $this->buyDateGMT; } if (null !== $this->expireDateGMT) { $res['expireDateGMT'] = $this->expireDateGMT; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return commodityVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountDistributionNumber'])) { $model->accountDistributionNumber = $map['accountDistributionNumber']; } if (isset($map['accountNumber'])) { $model->accountNumber = $map['accountNumber']; } if (isset($map['activationCode'])) { $model->activationCode = $map['activationCode']; } if (isset($map['buyDateGMT'])) { $model->buyDateGMT = $map['buyDateGMT']; } if (isset($map['expireDateGMT'])) { $model->expireDateGMT = $map['expireDateGMT']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/yida_1_0/Models/ListConnectorInformationHeaders.php000064400000002354146412132660017155 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListConnectorInformationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ListConnectorInformationRequest.php000064400000003331146412132660017226 0ustar00 'accessKey', 'callerUid' => 'callerUid', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUid) { $res['callerUid'] = $this->callerUid; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return ListConnectorInformationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUid'])) { $model->callerUid = $map['callerUid']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/yida_1_0/Models/ListConnectorInformationResponse.php000064400000002772146412132660017404 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListConnectorInformationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListConnectorInformationResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ListConnectorInformationResponseBody.php000064400000004706146412132660020221 0ustar00 'pageNumber', 'pageSize' => 'pageSize', 'pluginInfos' => 'pluginInfos', 'totalCount' => 'totalCount', ]; 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->pluginInfos) { $res['pluginInfos'] = []; if (null !== $this->pluginInfos && \is_array($this->pluginInfos)) { $n = 0; foreach ($this->pluginInfos as $item) { $res['pluginInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return ListConnectorInformationResponseBody */ 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['pluginInfos'])) { if (!empty($map['pluginInfos'])) { $model->pluginInfos = []; $n = 0; foreach ($map['pluginInfos'] as $item) { $model->pluginInfos[$n++] = null !== $item ? pluginInfos::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/ListConnectorInformationResponseBody/pluginInfos.php000064400000007210146412132660022507 0ustar00 'apps', 'iconUrl' => 'iconUrl', 'pluginName' => 'pluginName', 'pluginPayType' => 'pluginPayType', 'pluginStatus' => 'pluginStatus', 'pluginTotalAmount' => 'pluginTotalAmount', 'pluginUsageAmount' => 'pluginUsageAmount', 'pluginUuid' => 'pluginUuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->apps) { $res['apps'] = []; if (null !== $this->apps && \is_array($this->apps)) { $n = 0; foreach ($this->apps as $item) { $res['apps'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->iconUrl) { $res['iconUrl'] = $this->iconUrl; } if (null !== $this->pluginName) { $res['pluginName'] = $this->pluginName; } if (null !== $this->pluginPayType) { $res['pluginPayType'] = $this->pluginPayType; } if (null !== $this->pluginStatus) { $res['pluginStatus'] = $this->pluginStatus; } if (null !== $this->pluginTotalAmount) { $res['pluginTotalAmount'] = $this->pluginTotalAmount; } if (null !== $this->pluginUsageAmount) { $res['pluginUsageAmount'] = $this->pluginUsageAmount; } if (null !== $this->pluginUuid) { $res['pluginUuid'] = $this->pluginUuid; } return $res; } /** * @param array $map * * @return pluginInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['apps'])) { if (!empty($map['apps'])) { $model->apps = []; $n = 0; foreach ($map['apps'] as $item) { $model->apps[$n++] = null !== $item ? apps::fromMap($item) : $item; } } } if (isset($map['iconUrl'])) { $model->iconUrl = $map['iconUrl']; } if (isset($map['pluginName'])) { $model->pluginName = $map['pluginName']; } if (isset($map['pluginPayType'])) { $model->pluginPayType = $map['pluginPayType']; } if (isset($map['pluginStatus'])) { $model->pluginStatus = $map['pluginStatus']; } if (isset($map['pluginTotalAmount'])) { $model->pluginTotalAmount = $map['pluginTotalAmount']; } if (isset($map['pluginUsageAmount'])) { $model->pluginUsageAmount = $map['pluginUsageAmount']; } if (isset($map['pluginUuid'])) { $model->pluginUuid = $map['pluginUuid']; } return $model; } } src/yida_1_0/Models/ListConnectorInformationResponseBody/pluginInfos/apps.php000064400000001511146412132660023450 0ustar00 'appName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appName) { $res['appName'] = $this->appName; } return $res; } /** * @param array $map * * @return apps */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appName'])) { $model->appName = $map['appName']; } return $model; } } src/yida_1_0/Models/ListFormRemarksHeaders.php000064400000002332146412132660015241 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListFormRemarksHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ListFormRemarksRequest.php000064400000004622146412132660015322 0ustar00 'appType', 'formInstanceIdList' => 'formInstanceIdList', 'formUuid' => 'formUuid', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->formInstanceIdList) { $res['formInstanceIdList'] = $this->formInstanceIdList; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ListFormRemarksRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['formInstanceIdList'])) { if (!empty($map['formInstanceIdList'])) { $model->formInstanceIdList = $map['formInstanceIdList']; } } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/ListFormRemarksResponse.php000064400000002726146412132660015473 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListFormRemarksResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListFormRemarksResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ListFormRemarksResponseBody.php000064400000003106146412132660016302 0ustar00 'formRemarkVoMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formRemarkVoMap) { $res['formRemarkVoMap'] = $this->formRemarkVoMap; } return $res; } /** * @param array $map * * @return ListFormRemarksResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formRemarkVoMap'])) { $model->formRemarkVoMap = $map['formRemarkVoMap']; } return $model; } } src/yida_1_0/Models/ListNavigationByFormTypeHeaders.php000064400000002354146412132660017075 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListNavigationByFormTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ListNavigationByFormTypeRequest.php000064400000004215146412132660017150 0ustar00 'appType', 'formType' => 'formType', 'language' => 'language', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->formType) { $res['formType'] = $this->formType; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ListNavigationByFormTypeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['formType'])) { $model->formType = $map['formType']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/ListNavigationByFormTypeResponse.php000064400000002772146412132660017324 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListNavigationByFormTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListNavigationByFormTypeResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ListNavigationByFormTypeResponseBody.php000064400000002635146412132660020140 0ustar00 '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 ListNavigationByFormTypeResponseBody */ 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/yida_1_0/Models/ListNavigationByFormTypeResponseBody/result.php000064400000003054146412132660021452 0ustar00 'formUuid', 'processCode' => 'processCode', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->title) { $res['title'] = null !== $this->title ? $this->title->toMap() : null; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['title'])) { $model->title = title::fromMap($map['title']); } return $model; } } src/yida_1_0/Models/ListNavigationByFormTypeResponseBody/result/title.php000064400000003014146412132660022567 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return title */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/yida_1_0/Models/ListOperationLogsHeaders.php000064400000002336146412132660015602 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListOperationLogsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ListOperationLogsRequest.php000064400000004616146412132660015662 0ustar00 'appType', 'formInstanceIdList' => 'formInstanceIdList', 'formUuid' => 'formUuid', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->formInstanceIdList) { $res['formInstanceIdList'] = $this->formInstanceIdList; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ListOperationLogsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['formInstanceIdList'])) { if (!empty($map['formInstanceIdList'])) { $model->formInstanceIdList = $map['formInstanceIdList']; } } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/ListOperationLogsResponse.php000064400000002736146412132660016031 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListOperationLogsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListOperationLogsResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ListOperationLogsResponseBody.php000064400000002471146412132660016643 0ustar00 'operationLogMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operationLogMap) { $res['operationLogMap'] = $this->operationLogMap; } return $res; } /** * @param array $map * * @return ListOperationLogsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operationLogMap'])) { $model->operationLogMap = $map['operationLogMap']; } return $model; } } src/yida_1_0/Models/ListTableDataByFormInstanceIdTableIdHeaders.php000064400000002404146412132660021140 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListTableDataByFormInstanceIdTableIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ListTableDataByFormInstanceIdTableIdRequest.php000064400000005525146412132660021224 0ustar00 'appType', 'formUuid' => 'formUuid', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'systemToken' => 'systemToken', 'tableFieldId' => 'tableFieldId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->tableFieldId) { $res['tableFieldId'] = $this->tableFieldId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ListTableDataByFormInstanceIdTableIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['tableFieldId'])) { $model->tableFieldId = $map['tableFieldId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/ListTableDataByFormInstanceIdTableIdResponse.php000064400000003052146412132660021363 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListTableDataByFormInstanceIdTableIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListTableDataByFormInstanceIdTableIdResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ListTableDataByFormInstanceIdTableIdResponseBody.php000064400000003052146412132660022201 0ustar00 'data', 'pageNumber' => 'pageNumber', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return ListTableDataByFormInstanceIdTableIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { if (!empty($map['data'])) { $model->data = $map['data']; } } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/LoginCodeGenHeaders.php000064400000002324146412132660014453 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return LoginCodeGenHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/LoginCodeGenRequest.php000064400000001512146412132660014526 0ustar00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return LoginCodeGenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/LoginCodeGenResponse.php000064400000002712146412132660014677 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return LoginCodeGenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = LoginCodeGenResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/LoginCodeGenResponseBody.php000064400000001525146412132660015516 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return LoginCodeGenResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/NotifyAuthorizationResultHeaders.php000064400000002356146412132660017413 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return NotifyAuthorizationResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/NotifyAuthorizationResultRequest.php000064400000007722146412132660017472 0ustar00 'accessKey', 'accountNumber' => 'accountNumber', 'beginTimeGMT' => 'beginTimeGMT', 'callerUid' => 'callerUid', 'chargeType' => 'chargeType', 'commerceType' => 'commerceType', 'commodityType' => 'commodityType', 'endTimeGMT' => 'endTimeGMT', 'instanceId' => 'instanceId', 'instanceName' => 'instanceName', 'produceCode' => 'produceCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->accountNumber) { $res['accountNumber'] = $this->accountNumber; } if (null !== $this->beginTimeGMT) { $res['beginTimeGMT'] = $this->beginTimeGMT; } if (null !== $this->callerUid) { $res['callerUid'] = $this->callerUid; } if (null !== $this->chargeType) { $res['chargeType'] = $this->chargeType; } if (null !== $this->commerceType) { $res['commerceType'] = $this->commerceType; } if (null !== $this->commodityType) { $res['commodityType'] = $this->commodityType; } if (null !== $this->endTimeGMT) { $res['endTimeGMT'] = $this->endTimeGMT; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->instanceName) { $res['instanceName'] = $this->instanceName; } if (null !== $this->produceCode) { $res['produceCode'] = $this->produceCode; } return $res; } /** * @param array $map * * @return NotifyAuthorizationResultRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['accountNumber'])) { $model->accountNumber = $map['accountNumber']; } if (isset($map['beginTimeGMT'])) { $model->beginTimeGMT = $map['beginTimeGMT']; } if (isset($map['callerUid'])) { $model->callerUid = $map['callerUid']; } if (isset($map['chargeType'])) { $model->chargeType = $map['chargeType']; } if (isset($map['commerceType'])) { $model->commerceType = $map['commerceType']; } if (isset($map['commodityType'])) { $model->commodityType = $map['commodityType']; } if (isset($map['endTimeGMT'])) { $model->endTimeGMT = $map['endTimeGMT']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['instanceName'])) { $model->instanceName = $map['instanceName']; } if (isset($map['produceCode'])) { $model->produceCode = $map['produceCode']; } return $model; } } src/yida_1_0/Models/NotifyAuthorizationResultResponse.php000064400000002776146412132660017644 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return NotifyAuthorizationResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = NotifyAuthorizationResultResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/NotifyAuthorizationResultResponseBody.php000064400000001517146412132660020452 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return NotifyAuthorizationResultResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/PageAutoFlowLogHeaders.php000064400000002332146412132660015154 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PageAutoFlowLogHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/PageAutoFlowLogRequest.php000064400000010061146412132660015227 0ustar00 'appType', 'corpId' => 'corpId', 'endTimeGMT' => 'endTimeGMT', 'formUuid' => 'formUuid', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'processCode' => 'processCode', 'startTimeGMT' => 'startTimeGMT', 'status' => 'status', 'token' => 'token', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->endTimeGMT) { $res['endTimeGMT'] = $this->endTimeGMT; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->startTimeGMT) { $res['startTimeGMT'] = $this->startTimeGMT; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->token) { $res['token'] = $this->token; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return PageAutoFlowLogRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['endTimeGMT'])) { $model->endTimeGMT = $map['endTimeGMT']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['startTimeGMT'])) { $model->startTimeGMT = $map['startTimeGMT']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['token'])) { $model->token = $map['token']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/PageAutoFlowLogResponse.php000064400000002726146412132660015406 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PageAutoFlowLogResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PageAutoFlowLogResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/PageAutoFlowLogResponseBody.php000064400000004516146412132660016223 0ustar00 'data', 'hasMoreData' => 'hasMoreData', 'pageNumber' => 'pageNumber', '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->hasMoreData) { $res['hasMoreData'] = $this->hasMoreData; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return PageAutoFlowLogResponseBody */ 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['hasMoreData'])) { $model->hasMoreData = $map['hasMoreData']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/PageAutoFlowLogResponseBody/data.php000064400000007254146412132660017136 0ustar00 'appType', 'elapsedTimeGMT' => 'elapsedTimeGMT', 'finishTimeGMT' => 'finishTimeGMT', 'flag' => 'flag', 'procInstanceId' => 'procInstanceId', 'processCode' => 'processCode', 'srcProcInstanceFinishTimeGMT' => 'srcProcInstanceFinishTimeGMT', 'srcProcInstanceId' => 'srcProcInstanceId', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->elapsedTimeGMT) { $res['elapsedTimeGMT'] = $this->elapsedTimeGMT; } if (null !== $this->finishTimeGMT) { $res['finishTimeGMT'] = $this->finishTimeGMT; } if (null !== $this->flag) { $res['flag'] = $this->flag; } if (null !== $this->procInstanceId) { $res['procInstanceId'] = $this->procInstanceId; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->srcProcInstanceFinishTimeGMT) { $res['srcProcInstanceFinishTimeGMT'] = $this->srcProcInstanceFinishTimeGMT; } if (null !== $this->srcProcInstanceId) { $res['srcProcInstanceId'] = $this->srcProcInstanceId; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['elapsedTimeGMT'])) { $model->elapsedTimeGMT = $map['elapsedTimeGMT']; } if (isset($map['finishTimeGMT'])) { $model->finishTimeGMT = $map['finishTimeGMT']; } if (isset($map['flag'])) { $model->flag = $map['flag']; } if (isset($map['procInstanceId'])) { $model->procInstanceId = $map['procInstanceId']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['srcProcInstanceFinishTimeGMT'])) { $model->srcProcInstanceFinishTimeGMT = $map['srcProcInstanceFinishTimeGMT']; } if (isset($map['srcProcInstanceId'])) { $model->srcProcInstanceId = $map['srcProcInstanceId']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/yida_1_0/Models/PageFormBaseInfosHeaders.php000064400000002336146412132660015453 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PageFormBaseInfosHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/PageFormBaseInfosRequest.php000064400000005360146412132660015530 0ustar00 'appKey', 'formTypeList' => 'formTypeList', 'language' => 'language', 'pageIndex' => 'pageIndex', 'pageSize' => 'pageSize', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->formTypeList) { $res['formTypeList'] = $this->formTypeList; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->pageIndex) { $res['pageIndex'] = $this->pageIndex; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return PageFormBaseInfosRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['formTypeList'])) { if (!empty($map['formTypeList'])) { $model->formTypeList = $map['formTypeList']; } } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['pageIndex'])) { $model->pageIndex = $map['pageIndex']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/PageFormBaseInfosResponse.php000064400000002736146412132660015702 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PageFormBaseInfosResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PageFormBaseInfosResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/PageFormBaseInfosResponseBody.php000064400000002346146412132660016515 0ustar00 '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 PageFormBaseInfosResponseBody */ 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/yida_1_0/Models/PageFormBaseInfosResponseBody/result.php000064400000003712146412132660020031 0ustar00 'currentPage', 'data' => 'data', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->currentPage) { $res['currentPage'] = $this->currentPage; } 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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } 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['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/PageFormBaseInfosResponseBody/result/data.php000064400000004112146412132660020735 0ustar00 'creator', 'formType' => 'formType', 'formUuid' => 'formUuid', 'gmtCreate' => 'gmtCreate', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->formType) { $res['formType'] = $this->formType; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->title) { $res['title'] = null !== $this->title ? $this->title->toMap() : null; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['formType'])) { $model->formType = $map['formType']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['title'])) { $model->title = title::fromMap($map['title']); } return $model; } } src/yida_1_0/Models/PageFormBaseInfosResponseBody/result/data/title.php000064400000002045146412132660022061 0ustar00 'enUS', 'zhCN' => 'zhCN', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enUS) { $res['enUS'] = $this->enUS; } if (null !== $this->zhCN) { $res['zhCN'] = $this->zhCN; } return $res; } /** * @param array $map * * @return title */ public static function fromMap($map = []) { $model = new self(); if (isset($map['enUS'])) { $model->enUS = $map['enUS']; } if (isset($map['zhCN'])) { $model->zhCN = $map['zhCN']; } return $model; } } src/yida_1_0/Models/QueryServiceRecordHeaders.php000064400000002340146412132660015741 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryServiceRecordHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/QueryServiceRecordRequest.php000064400000013550146412132660016023 0ustar00 'appType', 'formUuid' => 'formUuid', 'hookType' => 'hookType', 'hookUuid' => 'hookUuid', 'instanceId' => 'instanceId', 'invokeAfterDateGMT' => 'invokeAfterDateGMT', 'invokeBeforeDateGMT' => 'invokeBeforeDateGMT', 'invokeStatus' => 'invokeStatus', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'requestUrl' => 'requestUrl', 'sourceUuid' => 'sourceUuid', 'success' => 'success', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->hookType) { $res['hookType'] = $this->hookType; } if (null !== $this->hookUuid) { $res['hookUuid'] = $this->hookUuid; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->invokeAfterDateGMT) { $res['invokeAfterDateGMT'] = $this->invokeAfterDateGMT; } if (null !== $this->invokeBeforeDateGMT) { $res['invokeBeforeDateGMT'] = $this->invokeBeforeDateGMT; } if (null !== $this->invokeStatus) { $res['invokeStatus'] = $this->invokeStatus; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->requestUrl) { $res['requestUrl'] = $this->requestUrl; } if (null !== $this->sourceUuid) { $res['sourceUuid'] = $this->sourceUuid; } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryServiceRecordRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['hookType'])) { $model->hookType = $map['hookType']; } if (isset($map['hookUuid'])) { $model->hookUuid = $map['hookUuid']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['invokeAfterDateGMT'])) { $model->invokeAfterDateGMT = $map['invokeAfterDateGMT']; } if (isset($map['invokeBeforeDateGMT'])) { $model->invokeBeforeDateGMT = $map['invokeBeforeDateGMT']; } if (isset($map['invokeStatus'])) { $model->invokeStatus = $map['invokeStatus']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['requestUrl'])) { $model->requestUrl = $map['requestUrl']; } if (isset($map['sourceUuid'])) { $model->sourceUuid = $map['sourceUuid']; } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/QueryServiceRecordResponse.php000064400000002742146412132660016172 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryServiceRecordResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryServiceRecordResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/QueryServiceRecordResponseBody.php000064400000003331146412132660017003 0ustar00 'totalCount', 'values' => 'values', ]; public function validate() { } public function toMap() { $res = []; 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 QueryServiceRecordResponseBody */ public static function fromMap($map = []) { $model = new self(); 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/yida_1_0/Models/QueryServiceRecordResponseBody/values.php000064400000032206146412132660020305 0ustar00 'formInstanceId', 'formUuid' => 'formUuid', 'hookType' => 'hookType', 'hookUuid' => 'hookUuid', 'invokeParameter' => 'invokeParameter', 'invokeResult' => 'invokeResult', 'invokeStatus' => 'invokeStatus', 'invokeSuccess' => 'invokeSuccess', 'invokeUrl' => 'invokeUrl', 'serviceContent' => 'serviceContent', 'serviceName' => 'serviceName', 'serviceParameter' => 'serviceParameter', 'sourceUuid' => 'sourceUuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->hookType) { $res['hookType'] = $this->hookType; } if (null !== $this->hookUuid) { $res['hookUuid'] = $this->hookUuid; } if (null !== $this->invokeParameter) { $res['invokeParameter'] = $this->invokeParameter; } if (null !== $this->invokeResult) { $res['invokeResult'] = $this->invokeResult; } if (null !== $this->invokeStatus) { $res['invokeStatus'] = $this->invokeStatus; } if (null !== $this->invokeSuccess) { $res['invokeSuccess'] = $this->invokeSuccess; } if (null !== $this->invokeUrl) { $res['invokeUrl'] = $this->invokeUrl; } if (null !== $this->serviceContent) { $res['serviceContent'] = $this->serviceContent; } if (null !== $this->serviceName) { $res['serviceName'] = $this->serviceName; } if (null !== $this->serviceParameter) { $res['serviceParameter'] = $this->serviceParameter; } if (null !== $this->sourceUuid) { $res['sourceUuid'] = $this->sourceUuid; } return $res; } /** * @param array $map * * @return values */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['hookType'])) { $model->hookType = $map['hookType']; } if (isset($map['hookUuid'])) { $model->hookUuid = $map['hookUuid']; } if (isset($map['invokeParameter'])) { $model->invokeParameter = $map['invokeParameter']; } if (isset($map['invokeResult'])) { $model->invokeResult = $map['invokeResult']; } if (isset($map['invokeStatus'])) { $model->invokeStatus = $map['invokeStatus']; } if (isset($map['invokeSuccess'])) { $model->invokeSuccess = $map['invokeSuccess']; } if (isset($map['invokeUrl'])) { $model->invokeUrl = $map['invokeUrl']; } if (isset($map['serviceContent'])) { $model->serviceContent = $map['serviceContent']; } if (isset($map['serviceName'])) { $model->serviceName = $map['serviceName']; } if (isset($map['serviceParameter'])) { $model->serviceParameter = $map['serviceParameter']; } if (isset($map['sourceUuid'])) { $model->sourceUuid = $map['sourceUuid']; } return $model; } } src/yida_1_0/Models/RedirectTaskHeaders.php000064400000002324146412132660014542 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RedirectTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/RedirectTaskRequest.php000064400000006655146412132660014632 0ustar00 'appType', 'byManager' => 'byManager', 'language' => 'language', 'nowActionExecutorId' => 'nowActionExecutorId', 'processInstanceId' => 'processInstanceId', 'remark' => 'remark', 'systemToken' => 'systemToken', 'taskId' => 'taskId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->byManager) { $res['byManager'] = $this->byManager; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->nowActionExecutorId) { $res['nowActionExecutorId'] = $this->nowActionExecutorId; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return RedirectTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['byManager'])) { $model->byManager = $map['byManager']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['nowActionExecutorId'])) { $model->nowActionExecutorId = $map['nowActionExecutorId']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/RedirectTaskResponse.php000064400000002154146412132660014766 0ustar00 '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 RedirectTaskResponse */ 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/yida_1_0/Models/RefundCommodityHeaders.php000064400000002332146412132660015265 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RefundCommodityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/RefundCommodityRequest.php000064400000002653146412132660015350 0ustar00 'accessKey', 'callerUid' => 'callerUid', 'instanceId' => 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUid) { $res['callerUid'] = $this->callerUid; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return RefundCommodityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUid'])) { $model->callerUid = $map['callerUid']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/yida_1_0/Models/RefundCommodityResponse.php000064400000002726146412132660015517 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RefundCommodityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RefundCommodityResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/RefundCommodityResponseBody.php000064400000002133146412132660016325 0ustar00 'message', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->message) { $res['message'] = $this->message; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return RefundCommodityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/yida_1_0/Models/RegisterAccountsHeaders.php000064400000002334146412132660015443 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RegisterAccountsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/RegisterAccountsRequest.php000064400000002771146412132660015525 0ustar00 'accessKey', 'activeCode' => 'activeCode', 'corpId' => 'corpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->activeCode) { $res['activeCode'] = $this->activeCode; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } return $res; } /** * @param array $map * * @return RegisterAccountsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['activeCode'])) { $model->activeCode = $map['activeCode']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } return $model; } } src/yida_1_0/Models/RegisterAccountsResponse.php000064400000002732146412132660015670 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RegisterAccountsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RegisterAccountsResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/RegisterAccountsResponseBody.php000064400000001575146412132660016512 0ustar00 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return RegisterAccountsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/yida_1_0/Models/ReleaseCommodityHeaders.php000064400000002334146412132660015424 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReleaseCommodityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ReleaseCommodityRequest.php000064400000002655146412132660015507 0ustar00 'accessKey', 'callerUid' => 'callerUid', 'instanceId' => 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUid) { $res['callerUid'] = $this->callerUid; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return ReleaseCommodityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUid'])) { $model->callerUid = $map['callerUid']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/yida_1_0/Models/ReleaseCommodityResponse.php000064400000002732146412132660015651 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReleaseCommodityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReleaseCommodityResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ReleaseCommodityResponseBody.php000064400000002135146412132660016464 0ustar00 'message', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->message) { $res['message'] = $this->message; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ReleaseCommodityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/yida_1_0/Models/RemoveTenantResourceHeaders.php000064400000002344146412132660016277 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveTenantResourceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/RemoveTenantResourceRequest.php000064400000001571146412132660016355 0ustar00 'accessKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } return $res; } /** * @param array $map * * @return RemoveTenantResourceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } return $model; } } src/yida_1_0/Models/RemoveTenantResourceResponse.php000064400000002752146412132660016525 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RemoveTenantResourceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RemoveTenantResourceResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/RemoveTenantResourceResponseBody.php000064400000001505146412132660017336 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return RemoveTenantResourceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/RenderBatchCallbackHeaders.php000064400000002342146412132660015754 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RenderBatchCallbackHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/RenderBatchCallbackRequest.php000064400000010251146412132660016027 0ustar00 'appType', 'corpId' => 'corpId', 'fileSize' => 'fileSize', 'language' => 'language', 'namespace' => 'namespace', 'ossUrl' => 'ossUrl', 'sequenceId' => 'sequenceId', 'source' => 'source', 'status' => 'status', 'systemToken' => 'systemToken', 'timeZone' => 'timeZone', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->namespace) { $res['namespace'] = $this->namespace; } if (null !== $this->ossUrl) { $res['ossUrl'] = $this->ossUrl; } if (null !== $this->sequenceId) { $res['sequenceId'] = $this->sequenceId; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return RenderBatchCallbackRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['namespace'])) { $model->namespace = $map['namespace']; } if (isset($map['ossUrl'])) { $model->ossUrl = $map['ossUrl']; } if (isset($map['sequenceId'])) { $model->sequenceId = $map['sequenceId']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/RenderBatchCallbackResponse.php000064400000002172146412132660016200 0ustar00 '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 RenderBatchCallbackResponse */ 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/yida_1_0/Models/RenewApplicationAuthorizationServiceOrderHeaders.php000064400000002416146412132660022522 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RenewApplicationAuthorizationServiceOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/RenewApplicationAuthorizationServiceOrderRequest.php000064400000003670146412132660022602 0ustar00 'accessKey', 'callerUnionId' => 'callerUnionId', 'endTimeGMT' => 'endTimeGMT', 'instanceId' => 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUnionId) { $res['callerUnionId'] = $this->callerUnionId; } if (null !== $this->endTimeGMT) { $res['endTimeGMT'] = $this->endTimeGMT; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return RenewApplicationAuthorizationServiceOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUnionId'])) { $model->callerUnionId = $map['callerUnionId']; } if (isset($map['endTimeGMT'])) { $model->endTimeGMT = $map['endTimeGMT']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/yida_1_0/Models/RenewApplicationAuthorizationServiceOrderResponse.php000064400000003076146412132660022750 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RenewApplicationAuthorizationServiceOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RenewApplicationAuthorizationServiceOrderResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/RenewApplicationAuthorizationServiceOrderResponseBody.php000064400000001557146412132660023570 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return RenewApplicationAuthorizationServiceOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/RenewTenantOrderHeaders.php000064400000002334146412132660015405 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RenewTenantOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/RenewTenantOrderRequest.php000064400000003067146412132660015466 0ustar00 'accessKey', 'callerUnionId' => 'callerUnionId', 'endTimeGMT' => 'endTimeGMT', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUnionId) { $res['callerUnionId'] = $this->callerUnionId; } if (null !== $this->endTimeGMT) { $res['endTimeGMT'] = $this->endTimeGMT; } return $res; } /** * @param array $map * * @return RenewTenantOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUnionId'])) { $model->callerUnionId = $map['callerUnionId']; } if (isset($map['endTimeGMT'])) { $model->endTimeGMT = $map['endTimeGMT']; } return $model; } } src/yida_1_0/Models/RenewTenantOrderResponse.php000064400000002732146412132660015632 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RenewTenantOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RenewTenantOrderResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/RenewTenantOrderResponseBody.php000064400000001475146412132660016453 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return RenewTenantOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/SaveFormDataHeaders.php000064400000002324146412132660014472 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveFormDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/SaveFormDataRequest.php000064400000005041146412132660014546 0ustar00 'appType', 'formDataJson' => 'formDataJson', 'formUuid' => 'formUuid', 'language' => 'language', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->formDataJson) { $res['formDataJson'] = $this->formDataJson; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SaveFormDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['formDataJson'])) { $model->formDataJson = $map['formDataJson']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/SaveFormDataResponse.php000064400000002712146412132660014716 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveFormDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveFormDataResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/SaveFormDataResponseBody.php000064400000001573146412132660015540 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SaveFormDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/SaveFormRemarkHeaders.php000064400000002330146412132660015037 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveFormRemarkHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/SaveFormRemarkRequest.php000064400000006247146412132660015127 0ustar00 'appType', 'atUserId' => 'atUserId', 'content' => 'content', 'formInstanceId' => 'formInstanceId', 'language' => 'language', 'replyId' => 'replyId', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->atUserId) { $res['atUserId'] = $this->atUserId; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->replyId) { $res['replyId'] = $this->replyId; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SaveFormRemarkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['atUserId'])) { $model->atUserId = $map['atUserId']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['replyId'])) { $model->replyId = $map['replyId']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/SaveFormRemarkResponse.php000064400000002722146412132660015267 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveFormRemarkResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveFormRemarkResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/SaveFormRemarkResponseBody.php000064400000001523146412132660016103 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SaveFormRemarkResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/SavePrintTplDetailInfoHeaders.php000064400000002350146412132660016507 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SavePrintTplDetailInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/SavePrintTplDetailInfoRequest.php000064400000007200146412132660016563 0ustar00 'appType', 'description' => 'description', 'fileNameConfig' => 'fileNameConfig', 'formUuid' => 'formUuid', 'formVersion' => 'formVersion', 'setting' => 'setting', 'templateId' => 'templateId', 'title' => 'title', 'userId' => 'userId', 'vm' => 'vm', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->fileNameConfig) { $res['fileNameConfig'] = $this->fileNameConfig; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->formVersion) { $res['formVersion'] = $this->formVersion; } if (null !== $this->setting) { $res['setting'] = $this->setting; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->vm) { $res['vm'] = $this->vm; } return $res; } /** * @param array $map * * @return SavePrintTplDetailInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['fileNameConfig'])) { $model->fileNameConfig = $map['fileNameConfig']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['formVersion'])) { $model->formVersion = $map['formVersion']; } if (isset($map['setting'])) { $model->setting = $map['setting']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['vm'])) { $model->vm = $map['vm']; } return $model; } } src/yida_1_0/Models/SavePrintTplDetailInfoResponse.php000064400000002762146412132660016741 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SavePrintTplDetailInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SavePrintTplDetailInfoResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/SavePrintTplDetailInfoResponseBody.php000064400000001510146412132660017545 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SavePrintTplDetailInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/SearchActivationCodeHeaders.php000064400000002344146412132660016202 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchActivationCodeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/SearchActivationCodeRequest.php000064400000002201146412132660016247 0ustar00 'accessKey', 'callerUid' => 'callerUid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUid) { $res['callerUid'] = $this->callerUid; } return $res; } /** * @param array $map * * @return SearchActivationCodeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUid'])) { $model->callerUid = $map['callerUid']; } return $model; } } src/yida_1_0/Models/SearchActivationCodeResponse.php000064400000002752146412132660016430 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchActivationCodeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchActivationCodeResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/SearchActivationCodeResponseBody.php000064400000004114146412132660017240 0ustar00 'activationCode', 'authType' => 'authType', 'expireTimeGMT' => 'expireTimeGMT', 'instanceId' => 'instanceId', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activationCode) { $res['activationCode'] = $this->activationCode; } if (null !== $this->authType) { $res['authType'] = $this->authType; } if (null !== $this->expireTimeGMT) { $res['expireTimeGMT'] = $this->expireTimeGMT; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return SearchActivationCodeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activationCode'])) { $model->activationCode = $map['activationCode']; } if (isset($map['authType'])) { $model->authType = $map['authType']; } if (isset($map['expireTimeGMT'])) { $model->expireTimeGMT = $map['expireTimeGMT']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/yida_1_0/Models/SearchEmployeeFieldValuesHeaders.php000064400000002356146412132660017214 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchEmployeeFieldValuesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/SearchEmployeeFieldValuesRequest.php000064400000010755146412132660017273 0ustar00 'appType', 'createFromTimeGMT' => 'createFromTimeGMT', 'createToTimeGMT' => 'createToTimeGMT', 'formUuid' => 'formUuid', 'language' => 'language', 'modifiedFromTimeGMT' => 'modifiedFromTimeGMT', 'modifiedToTimeGMT' => 'modifiedToTimeGMT', 'originatorId' => 'originatorId', 'searchFieldJson' => 'searchFieldJson', 'systemToken' => 'systemToken', 'targetFieldJson' => 'targetFieldJson', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->createFromTimeGMT) { $res['createFromTimeGMT'] = $this->createFromTimeGMT; } if (null !== $this->createToTimeGMT) { $res['createToTimeGMT'] = $this->createToTimeGMT; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->modifiedFromTimeGMT) { $res['modifiedFromTimeGMT'] = $this->modifiedFromTimeGMT; } if (null !== $this->modifiedToTimeGMT) { $res['modifiedToTimeGMT'] = $this->modifiedToTimeGMT; } if (null !== $this->originatorId) { $res['originatorId'] = $this->originatorId; } if (null !== $this->searchFieldJson) { $res['searchFieldJson'] = $this->searchFieldJson; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->targetFieldJson) { $res['targetFieldJson'] = $this->targetFieldJson; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SearchEmployeeFieldValuesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['createFromTimeGMT'])) { $model->createFromTimeGMT = $map['createFromTimeGMT']; } if (isset($map['createToTimeGMT'])) { $model->createToTimeGMT = $map['createToTimeGMT']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['modifiedFromTimeGMT'])) { $model->modifiedFromTimeGMT = $map['modifiedFromTimeGMT']; } if (isset($map['modifiedToTimeGMT'])) { $model->modifiedToTimeGMT = $map['modifiedToTimeGMT']; } if (isset($map['originatorId'])) { $model->originatorId = $map['originatorId']; } if (isset($map['searchFieldJson'])) { $model->searchFieldJson = $map['searchFieldJson']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['targetFieldJson'])) { $model->targetFieldJson = $map['targetFieldJson']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/SearchEmployeeFieldValuesResponse.php000064400000002776146412132660017445 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchEmployeeFieldValuesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchEmployeeFieldValuesResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/SearchEmployeeFieldValuesResponseBody.php000064400000001521146412132660020246 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SearchEmployeeFieldValuesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/SearchFormDataIdListHeaders.php000064400000002344146412132660016114 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchFormDataIdListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/SearchFormDataIdListRequest.php000064400000010624146412132660016171 0ustar00 'createFromTimeGMT', 'createToTimeGMT' => 'createToTimeGMT', 'language' => 'language', 'modifiedFromTimeGMT' => 'modifiedFromTimeGMT', 'modifiedToTimeGMT' => 'modifiedToTimeGMT', 'originatorId' => 'originatorId', 'searchFieldJson' => 'searchFieldJson', 'systemToken' => 'systemToken', 'userId' => 'userId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createFromTimeGMT) { $res['createFromTimeGMT'] = $this->createFromTimeGMT; } if (null !== $this->createToTimeGMT) { $res['createToTimeGMT'] = $this->createToTimeGMT; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->modifiedFromTimeGMT) { $res['modifiedFromTimeGMT'] = $this->modifiedFromTimeGMT; } if (null !== $this->modifiedToTimeGMT) { $res['modifiedToTimeGMT'] = $this->modifiedToTimeGMT; } if (null !== $this->originatorId) { $res['originatorId'] = $this->originatorId; } if (null !== $this->searchFieldJson) { $res['searchFieldJson'] = $this->searchFieldJson; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return SearchFormDataIdListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createFromTimeGMT'])) { $model->createFromTimeGMT = $map['createFromTimeGMT']; } if (isset($map['createToTimeGMT'])) { $model->createToTimeGMT = $map['createToTimeGMT']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['modifiedFromTimeGMT'])) { $model->modifiedFromTimeGMT = $map['modifiedFromTimeGMT']; } if (isset($map['modifiedToTimeGMT'])) { $model->modifiedToTimeGMT = $map['modifiedToTimeGMT']; } if (isset($map['originatorId'])) { $model->originatorId = $map['originatorId']; } if (isset($map['searchFieldJson'])) { $model->searchFieldJson = $map['searchFieldJson']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/yida_1_0/Models/SearchFormDataIdListResponse.php000064400000002752146412132660016342 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchFormDataIdListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchFormDataIdListResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/SearchFormDataIdListResponseBody.php000064400000003011146412132660017145 0ustar00 'data', 'pageNumber' => 'pageNumber', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return SearchFormDataIdListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { if (!empty($map['data'])) { $model->data = $map['data']; } } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/SearchFormDataRemovalTableDataHeaders.php000064400000002370146412132660020072 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchFormDataRemovalTableDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/SearchFormDataRemovalTableDataRequest.php000064400000013415146412132660020151 0ustar00 'appType', 'createFromTimeGMT' => 'createFromTimeGMT', 'createToTimeGMT' => 'createToTimeGMT', 'formUuid' => 'formUuid', 'modifiedFromTimeGMT' => 'modifiedFromTimeGMT', 'modifiedToTimeGMT' => 'modifiedToTimeGMT', 'orderConfigJson' => 'orderConfigJson', 'originatorId' => 'originatorId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'searchFieldJson' => 'searchFieldJson', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->createFromTimeGMT) { $res['createFromTimeGMT'] = $this->createFromTimeGMT; } if (null !== $this->createToTimeGMT) { $res['createToTimeGMT'] = $this->createToTimeGMT; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->modifiedFromTimeGMT) { $res['modifiedFromTimeGMT'] = $this->modifiedFromTimeGMT; } if (null !== $this->modifiedToTimeGMT) { $res['modifiedToTimeGMT'] = $this->modifiedToTimeGMT; } if (null !== $this->orderConfigJson) { $res['orderConfigJson'] = $this->orderConfigJson; } if (null !== $this->originatorId) { $res['originatorId'] = $this->originatorId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchFieldJson) { $res['searchFieldJson'] = $this->searchFieldJson; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SearchFormDataRemovalTableDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['createFromTimeGMT'])) { $model->createFromTimeGMT = $map['createFromTimeGMT']; } if (isset($map['createToTimeGMT'])) { $model->createToTimeGMT = $map['createToTimeGMT']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['modifiedFromTimeGMT'])) { $model->modifiedFromTimeGMT = $map['modifiedFromTimeGMT']; } if (isset($map['modifiedToTimeGMT'])) { $model->modifiedToTimeGMT = $map['modifiedToTimeGMT']; } if (isset($map['orderConfigJson'])) { $model->orderConfigJson = $map['orderConfigJson']; } if (isset($map['originatorId'])) { $model->originatorId = $map['originatorId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchFieldJson'])) { $model->searchFieldJson = $map['searchFieldJson']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/SearchFormDataRemovalTableDataResponse.php000064400000003022146412132660020310 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchFormDataRemovalTableDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchFormDataRemovalTableDataResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/SearchFormDataRemovalTableDataResponseBody.php000064400000004573146412132660021142 0ustar00 'data', 'hasMoreData' => 'hasMoreData', 'pageNumber' => 'pageNumber', '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->hasMoreData) { $res['hasMoreData'] = $this->hasMoreData; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return SearchFormDataRemovalTableDataResponseBody */ 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['hasMoreData'])) { $model->hasMoreData = $map['hasMoreData']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/SearchFormDataRemovalTableDataResponseBody/data.php000064400000014024146412132660022043 0ustar00 'createTimeGMT', 'creatorUserId' => 'creatorUserId', 'formData' => 'formData', 'formInstanceId' => 'formInstanceId', 'formUuid' => 'formUuid', 'id' => 'id', 'instanceValue' => 'instanceValue', 'modifiedTimeGMT' => 'modifiedTimeGMT', 'modifier' => 'modifier', 'modifyUser' => 'modifyUser', 'originator' => 'originator', 'sequence' => 'sequence', 'serialNumber' => 'serialNumber', 'title' => 'title', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTimeGMT) { $res['createTimeGMT'] = $this->createTimeGMT; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->formData) { $res['formData'] = $this->formData; } if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->instanceValue) { $res['instanceValue'] = $this->instanceValue; } if (null !== $this->modifiedTimeGMT) { $res['modifiedTimeGMT'] = $this->modifiedTimeGMT; } if (null !== $this->modifier) { $res['modifier'] = $this->modifier; } if (null !== $this->modifyUser) { $res['modifyUser'] = null !== $this->modifyUser ? $this->modifyUser->toMap() : null; } if (null !== $this->originator) { $res['originator'] = null !== $this->originator ? $this->originator->toMap() : null; } if (null !== $this->sequence) { $res['sequence'] = $this->sequence; } if (null !== $this->serialNumber) { $res['serialNumber'] = $this->serialNumber; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTimeGMT'])) { $model->createTimeGMT = $map['createTimeGMT']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['formData'])) { $model->formData = $map['formData']; } if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['instanceValue'])) { $model->instanceValue = $map['instanceValue']; } if (isset($map['modifiedTimeGMT'])) { $model->modifiedTimeGMT = $map['modifiedTimeGMT']; } if (isset($map['modifier'])) { $model->modifier = $map['modifier']; } if (isset($map['modifyUser'])) { $model->modifyUser = modifyUser::fromMap($map['modifyUser']); } if (isset($map['originator'])) { $model->originator = originator::fromMap($map['originator']); } if (isset($map['sequence'])) { $model->sequence = $map['sequence']; } if (isset($map['serialNumber'])) { $model->serialNumber = $map['serialNumber']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/yida_1_0/Models/SearchFormDataRemovalTableDataResponseBody/data/modifyUser.php000064400000003724146412132660024176 0ustar00 'departmentName', 'email' => 'email', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->name) { $res['name'] = null !== $this->name ? $this->name->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return modifyUser */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['name'])) { $model->name = name::fromMap($map['name']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/SearchFormDataRemovalTableDataResponseBody/data/modifyUser/name.php000064400000002424146412132660025112 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } return $res; } /** * @param array $map * * @return name */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } return $model; } } src/yida_1_0/Models/SearchFormDataRemovalTableDataResponseBody/data/originator.php000064400000003724146412132660024225 0ustar00 'departmentName', 'email' => 'email', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->name) { $res['name'] = null !== $this->name ? $this->name->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return originator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['name'])) { $model->name = name::fromMap($map['name']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/SearchFormDataRemovalTableDataResponseBody/data/originator/name.php000064400000002424146412132660025141 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } return $res; } /** * @param array $map * * @return name */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationHeaders.php000064400000002370146412132660020152 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchFormDataSecondGenerationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationNoTableFieldHeaders.php000064400000002420146412132660022357 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchFormDataSecondGenerationNoTableFieldHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationNoTableFieldRequest.php000064400000013235146412132660022442 0ustar00 'appType', 'createFromTimeGMT' => 'createFromTimeGMT', 'createToTimeGMT' => 'createToTimeGMT', 'formUuid' => 'formUuid', 'modifiedFromTimeGMT' => 'modifiedFromTimeGMT', 'modifiedToTimeGMT' => 'modifiedToTimeGMT', 'orderConfigJson' => 'orderConfigJson', 'originatorId' => 'originatorId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'searchCondition' => 'searchCondition', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->createFromTimeGMT) { $res['createFromTimeGMT'] = $this->createFromTimeGMT; } if (null !== $this->createToTimeGMT) { $res['createToTimeGMT'] = $this->createToTimeGMT; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->modifiedFromTimeGMT) { $res['modifiedFromTimeGMT'] = $this->modifiedFromTimeGMT; } if (null !== $this->modifiedToTimeGMT) { $res['modifiedToTimeGMT'] = $this->modifiedToTimeGMT; } if (null !== $this->orderConfigJson) { $res['orderConfigJson'] = $this->orderConfigJson; } if (null !== $this->originatorId) { $res['originatorId'] = $this->originatorId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchCondition) { $res['searchCondition'] = $this->searchCondition; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SearchFormDataSecondGenerationNoTableFieldRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['createFromTimeGMT'])) { $model->createFromTimeGMT = $map['createFromTimeGMT']; } if (isset($map['createToTimeGMT'])) { $model->createToTimeGMT = $map['createToTimeGMT']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['modifiedFromTimeGMT'])) { $model->modifiedFromTimeGMT = $map['modifiedFromTimeGMT']; } if (isset($map['modifiedToTimeGMT'])) { $model->modifiedToTimeGMT = $map['modifiedToTimeGMT']; } if (isset($map['orderConfigJson'])) { $model->orderConfigJson = $map['orderConfigJson']; } if (isset($map['originatorId'])) { $model->originatorId = $map['originatorId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchCondition'])) { $model->searchCondition = $map['searchCondition']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationNoTableFieldResponse.php000064400000003102146412132660022600 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchFormDataSecondGenerationNoTableFieldResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchFormDataSecondGenerationNoTableFieldResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationNoTableFieldResponseBody.php000064400000004107146412132660023424 0ustar00 'data', 'pageNumber' => 'pageNumber', '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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return SearchFormDataSecondGenerationNoTableFieldResponseBody */ 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['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationNoTableFieldResponseBody/data.php000064400000023660146412132660024342 0ustar00你好,这是测试\r\n
测试
\r\n
 
","rateField_l0c1cwis":3,"countrySelectField_l0c1cwiu":[],"attachmentField_l0ghkwv3":"[{\"downloadUrl\":\"/ossFileHandle?appType=APP_K6IGJJ6PFAARLPDSWKXQ&fileName=APP_K6IGJJ6PFAARLPDSWKXQ_MTczMjU1NjYyMzg3MzI0NF8wUDk2NlQ2MVIzR1lHV1RaMjMxQ1A5U1Y1NU1NM1lMWVY1QzBMMQ$$.jpg&instId=&type=download\",\"name\":\"Bts2Z0e6oxA.jpg\",\"previewUrl\":\"/ossFileHandle?appType=APP_K6IGJJ6PFAARLPDSWKXQ&fileName=APP_K6IGJJ6PFAARLPDSWKXQ_MTczMjU1NjYyMzg3MzI0NF8wUDk2NlQ2MVIzR1lHV1RaMjMxQ1A5U1Y1NU1NM1lMWVY1QzBMMQ$$.jpg&instId=&type=open&process=image/resize,m_fill,w_200,h_200,limit_0/quality,q_80\",\"size\":2610734,\"url\":\"/ossFileHandle?appType=APP_K6IGJJ6PFAARLPDSWKXQ&fileName=APP_K6IGJJ6PFAARLPDSWKXQ_MTczMjU1NjYyMzg3MzI0NF8wUDk2NlQ2MVIzR1lHV1RaMjMxQ1A5U1Y1NU1NM1lMWVY1QzBMMQ$$.jpg&instId=&type=download\"}]","addressField_l0c1cwiy":"{\"address\":\"111\",\"regionIds\":[460000,469027,469023401],\"regionText\":[{\"en_US\":\"hai+nan+sheng\",\"zh_CN\":\"海南省\"},{\"en_US\":\"cheng+mai+xian\",\"zh_CN\":\"澄迈县\"},{\"en_US\":\"guo+ying+hong+gang+nong+chang\",\"zh_CN\":\"国营红岗农场\"}]}"} * * @var mixed[] */ public $formData; /** * @example FINST-J8766S91O2UYN87ZX3XOF1MY8MBA2912BSV0L24 * * @var string */ public $formInstanceId; /** * @example FORM-GX866MC1NC1VOFF6WVQW33FD16E23L3CPMKVKA * * @var string */ public $formUuid; /** * @example 12345 * * @var int */ public $id; /** * @example [{"componentName":"AddressField","dateType":null,"fieldData":{"value":{"address":"白帝城","regionIds":[340000,340800,340803,340803401],"regionText":[{"en_US":"an hui sheng","zh_CN":"安徽省"},{"en_US":"an qing shi","zh_CN":"安庆市"},{"en_US":"da guan qu","zh_CN":"大观区"},{"en_US":"an hui an qing hai kou jing ji kai fa qu","zh_CN":"安徽安庆海口经济开发区"}]}},"fieldDataUpdated":false,"fieldId":"addressField_kwod1oza","format":null,"formatControls":null,"listNum":null,"options":[{"label":{"pureEn_US":"an hui sheng","en_US":"an hui sheng","zh_CN":"安徽省","type":"i18n","key":null},"value":340000},{"label":{"pureEn_US":"an qing shi","en_US":"an qing shi","zh_CN":"安庆市","type":"i18n","key":null},"value":340800},{"label":{"pureEn_US":"da guan qu","en_US":"da guan qu","zh_CN":"大观区","type":"i18n","key":null},"value":340803},{"label":{"pureEn_US":"an hui an qing hai kou jing ji kai fa qu","en_US":"an hui an qing hai kou jing ji kai fa qu","zh_CN":"安徽安庆海口经济开发区","type":"i18n","key":null},"value":340803401}],"rowId":null}] * * @var string */ public $instanceValue; /** * @example 2021-05-01 * * @var string */ public $modifiedTimeGMT; /** * @example manager123 * * @var string */ public $modifier; /** * @var modifyUser */ public $modifyUser; /** * @var originator */ public $originator; /** * @example IMPORT-388664B1BAUVB3AYZE1RIUE88TDM1QI9WIOWK2 * * @var string */ public $sequence; /** * @example YIDA909202202250027 * * @var string */ public $serialNumber; /** * @example 李四发起的请购单 * * @var string */ public $title; /** * @example 1.0 * * @var int */ public $version; protected $_name = [ 'createTimeGMT' => 'createTimeGMT', 'creatorUserId' => 'creatorUserId', 'formData' => 'formData', 'formInstanceId' => 'formInstanceId', 'formUuid' => 'formUuid', 'id' => 'id', 'instanceValue' => 'instanceValue', 'modifiedTimeGMT' => 'modifiedTimeGMT', 'modifier' => 'modifier', 'modifyUser' => 'modifyUser', 'originator' => 'originator', 'sequence' => 'sequence', 'serialNumber' => 'serialNumber', 'title' => 'title', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTimeGMT) { $res['createTimeGMT'] = $this->createTimeGMT; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->formData) { $res['formData'] = $this->formData; } if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->instanceValue) { $res['instanceValue'] = $this->instanceValue; } if (null !== $this->modifiedTimeGMT) { $res['modifiedTimeGMT'] = $this->modifiedTimeGMT; } if (null !== $this->modifier) { $res['modifier'] = $this->modifier; } if (null !== $this->modifyUser) { $res['modifyUser'] = null !== $this->modifyUser ? $this->modifyUser->toMap() : null; } if (null !== $this->originator) { $res['originator'] = null !== $this->originator ? $this->originator->toMap() : null; } if (null !== $this->sequence) { $res['sequence'] = $this->sequence; } if (null !== $this->serialNumber) { $res['serialNumber'] = $this->serialNumber; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTimeGMT'])) { $model->createTimeGMT = $map['createTimeGMT']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['formData'])) { $model->formData = $map['formData']; } if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['instanceValue'])) { $model->instanceValue = $map['instanceValue']; } if (isset($map['modifiedTimeGMT'])) { $model->modifiedTimeGMT = $map['modifiedTimeGMT']; } if (isset($map['modifier'])) { $model->modifier = $map['modifier']; } if (isset($map['modifyUser'])) { $model->modifyUser = modifyUser::fromMap($map['modifyUser']); } if (isset($map['originator'])) { $model->originator = originator::fromMap($map['originator']); } if (isset($map['sequence'])) { $model->sequence = $map['sequence']; } if (isset($map['serialNumber'])) { $model->serialNumber = $map['serialNumber']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationNoTableFieldResponseBody/data/modifyUser.php000064400000002460146412132660026463 0ustar00 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = null !== $this->name ? $this->name->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return modifyUser */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = name::fromMap($map['name']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationNoTableFieldResponseBody/data/modifyUser/name.php000064400000002440146412132660027401 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } return $res; } /** * @param array $map * * @return name */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationNoTableFieldResponseBody/data/originator.php000064400000002460146412132660026512 0ustar00 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = null !== $this->name ? $this->name->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return originator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = name::fromMap($map['name']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationNoTableFieldResponseBody/data/originator/name.php000064400000002440146412132660027430 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } return $res; } /** * @param array $map * * @return name */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationRequest.php000064400000013202146412132660020223 0ustar00 'appType', 'createFromTimeGMT' => 'createFromTimeGMT', 'createToTimeGMT' => 'createToTimeGMT', 'formUuid' => 'formUuid', 'modifiedFromTimeGMT' => 'modifiedFromTimeGMT', 'modifiedToTimeGMT' => 'modifiedToTimeGMT', 'orderConfigJson' => 'orderConfigJson', 'originatorId' => 'originatorId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'searchCondition' => 'searchCondition', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->createFromTimeGMT) { $res['createFromTimeGMT'] = $this->createFromTimeGMT; } if (null !== $this->createToTimeGMT) { $res['createToTimeGMT'] = $this->createToTimeGMT; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->modifiedFromTimeGMT) { $res['modifiedFromTimeGMT'] = $this->modifiedFromTimeGMT; } if (null !== $this->modifiedToTimeGMT) { $res['modifiedToTimeGMT'] = $this->modifiedToTimeGMT; } if (null !== $this->orderConfigJson) { $res['orderConfigJson'] = $this->orderConfigJson; } if (null !== $this->originatorId) { $res['originatorId'] = $this->originatorId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchCondition) { $res['searchCondition'] = $this->searchCondition; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SearchFormDataSecondGenerationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['createFromTimeGMT'])) { $model->createFromTimeGMT = $map['createFromTimeGMT']; } if (isset($map['createToTimeGMT'])) { $model->createToTimeGMT = $map['createToTimeGMT']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['modifiedFromTimeGMT'])) { $model->modifiedFromTimeGMT = $map['modifiedFromTimeGMT']; } if (isset($map['modifiedToTimeGMT'])) { $model->modifiedToTimeGMT = $map['modifiedToTimeGMT']; } if (isset($map['orderConfigJson'])) { $model->orderConfigJson = $map['orderConfigJson']; } if (isset($map['originatorId'])) { $model->originatorId = $map['originatorId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchCondition'])) { $model->searchCondition = $map['searchCondition']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationResponse.php000064400000003022146412132660020370 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchFormDataSecondGenerationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchFormDataSecondGenerationResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationResponseBody.php000064400000004043146412132660021212 0ustar00 'data', 'pageNumber' => 'pageNumber', '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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return SearchFormDataSecondGenerationResponseBody */ 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['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationResponseBody/data.php000064400000032057146412132660022131 0ustar00你好,这是测试\r\n
测试
\r\n
 
","rateField_l0c1cwis":3,"countrySelectField_l0c1cwiu":[],"attachmentField_l0ghkwv3":"[{\"downloadUrl\":\"/ossFileHandle?appType=APP_K6IGJJ6PFAARLPDSWKXQ&fileName=APP_K6IGJJ6PFAARLPDSWKXQ_MTczMjU1NjYyMzg3MzI0NF8wUDk2NlQ2MVIzR1lHV1RaMjMxQ1A5U1Y1NU1NM1lMWVY1QzBMMQ$$.jpg&instId=&type=download\",\"name\":\"Bts2Z0e6oxA.jpg\",\"previewUrl\":\"/ossFileHandle?appType=APP_K6IGJJ6PFAARLPDSWKXQ&fileName=APP_K6IGJJ6PFAARLPDSWKXQ_MTczMjU1NjYyMzg3MzI0NF8wUDk2NlQ2MVIzR1lHV1RaMjMxQ1A5U1Y1NU1NM1lMWVY1QzBMMQ$$.jpg&instId=&type=open&process=image/resize,m_fill,w_200,h_200,limit_0/quality,q_80\",\"size\":2610734,\"url\":\"/ossFileHandle?appType=APP_K6IGJJ6PFAARLPDSWKXQ&fileName=APP_K6IGJJ6PFAARLPDSWKXQ_MTczMjU1NjYyMzg3MzI0NF8wUDk2NlQ2MVIzR1lHV1RaMjMxQ1A5U1Y1NU1NM1lMWVY1QzBMMQ$$.jpg&instId=&type=download\"}]","addressField_l0c1cwiy":"{\"address\":\"111\",\"regionIds\":[460000,469027,469023401],\"regionText\":[{\"en_US\":\"hai+nan+sheng\",\"zh_CN\":\"海南省\"},{\"en_US\":\"cheng+mai+xian\",\"zh_CN\":\"澄迈县\"},{\"en_US\":\"guo+ying+hong+gang+nong+chang\",\"zh_CN\":\"国营红岗农场\"}]}"} * * @var mixed[] */ public $formData; /** * @example FINST-J8766S91O2UYN87ZX3XOF1MY8MBA2912BSV0L24 * * @var string */ public $formInstanceId; /** * @example FORM-GX866MC1NC1VOFF6WVQW33FD16E23L3CPMKVKA * * @var string */ public $formUuid; /** * @example 12345 * * @var int */ public $id; /** * @example [{"componentName":"CountrySelectField","dateType":null,"fieldData":{"value":[{"text":{"en_US":"Papua New Guinea","zh_CN":"巴布亚新几内亚","type":"i18n"},"value":"PG"}]},"fieldDataUpdated":false,"fieldId":"countrySelectField_l0c1cwiu","format":null,"formatControls":null,"listNum":null,"options":[{"label":{"$ref":"$[0].fieldData.value[0].text"},"value":"PG"}],"rowId":null},{"componentName":"AssociationFormField","dateType":null,"fieldData":{"value":[{"formType":"receipt","formUuid":"FORM-QQ866JB1QW8YM5XZZZ64VQB61OGM1MLWE1C0LG","instanceId":"FINST-CC666Y6198RY0LAN39XGND212MSX3TFT95S0LN31","subTitle":"{\"type\":\"div\",\"props\":{\"children\":{\"type\":\"a\",\"props\":{\"children\":\"查看签名\",\"className\":\"inst-cell-item-link\",\"style\":{\"cursor\":\"pointer\",\"color\":\"#0068ff\"}}},\"className\":\"inst-cell-item\"}}","appType":"APP_K6IGJJ6PFAARLPDSWKXQ","title":"1"}]},"fieldDataUpdated":false,"fieldId":"associationFormField_l0c1hdz4","format":null,"formatControls":null,"listNum":null,"options":[],"rowId":null},{"componentName":"ImageField","dateType":null,"fieldData":{"value":[{"previewUrl":"/ossFileHandle?appType=APP_K6IGJJ6PFAARLPDSWKXQ&fileName=APP_K6IGJJ6PFAARLPDSWKXQ_MTczMjU1NjYyMzg3MzI0NF8wUDk2NlQ2MVIzR1lHV1RaMjMxQ1A5U1Y1NU1NM1lMWVY1QzBMMQ$$.jpg&instId=&type=open&process=image/resize,m_fill,w_200,h_200,limit_0/quality,q_80","size":2610734,"name":"Bts2Z0e6oxA.jpg","downloadUrl":"/ossFileHandle?appType=APP_K6IGJJ6PFAARLPDSWKXQ&fileName=APP_K6IGJJ6PFAARLPDSWKXQ_MTczMjU1NjYyMzg3MzI0NF8wUDk2NlQ2MVIzR1lHV1RaMjMxQ1A5U1Y1NU1NM1lMWVY1QzBMMQ$$.jpg&instId=&type=download","url":"/ossFileHandle?appType=APP_K6IGJJ6PFAARLPDSWKXQ&fileName=APP_K6IGJJ6PFAARLPDSWKXQ_MTczMjU1NjYyMzg3MzI0NF8wUDk2NlQ2MVIzR1lHV1RaMjMxQ1A5U1Y1NU1NM1lMWVY1QzBMMQ$$.jpg&instId=&type=download"}]},"fieldDataUpdated":false,"fieldId":"imageField_l0c1cwit","format":null,"formatControls":null,"listNum":null,"options":[],"rowId":null},{"componentName":"AddressField","dateType":null,"fieldData":{"value":{"address":"111","regionIds":[460000,469027,469023401],"regionText":[{"en_US":"hai+nan+sheng","zh_CN":"海南省"},{"en_US":"cheng+mai+xian","zh_CN":"澄迈县"},{"en_US":"guo+ying+hong+gang+nong+chang","zh_CN":"国营红岗农场"}]}},"fieldDataUpdated":false,"fieldId":"addressField_l0c1cwiy","format":null,"formatControls":null,"listNum":null,"options":[{"label":{"pureEn_US":"hai+nan+sheng","en_US":"hai+nan+sheng","zh_CN":"海南省","type":"i18n","key":null},"value":460000},{"label":{"pureEn_US":"cheng+mai+xian","en_US":"cheng+mai+xian","zh_CN":"澄迈县","type":"i18n","key":null},"value":469027},{"label":{"pureEn_US":"guo+ying+hong+gang+nong+chang","en_US":"guo+ying+hong+gang+nong+chang","zh_CN":"国营红岗农场","type":"i18n","key":null},"value":469023401}],"rowId":null},{"componentName":"EditorField","dateType":null,"fieldData":{"value":"
你好,这是测试
\r\n
测试
\r\n
 
"},"fieldDataUpdated":false,"fieldId":"editorField_l0c1cwiz","format":null,"formatControls":null,"listNum":null,"options":[],"rowId":null},{"componentName":"RateField","dateType":null,"fieldData":{"value":"3"},"fieldDataUpdated":false,"fieldId":"rateField_l0c1cwis","format":null,"formatControls":null,"listNum":null,"options":[],"rowId":null},{"componentName":"AttachmentField","dateType":null,"fieldData":{"value":[{"previewUrl":"/ossFileHandle?appType=APP_K6IGJJ6PFAARLPDSWKXQ&fileName=APP_K6IGJJ6PFAARLPDSWKXQ_MTczMjU1NjYyMzg3MzI0NF8wUDk2NlQ2MVIzR1lHV1RaMjMxQ1A5U1Y1NU1NM1lMWVY1QzBMMQ$$.jpg&instId=&type=open&process=image/resize,m_fill,w_200,h_200,limit_0/quality,q_80","size":2610734,"name":"Bts2Z0e6oxA.jpg","downloadUrl":"/ossFileHandle?appType=APP_K6IGJJ6PFAARLPDSWKXQ&fileName=APP_K6IGJJ6PFAARLPDSWKXQ_MTczMjU1NjYyMzg3MzI0NF8wUDk2NlQ2MVIzR1lHV1RaMjMxQ1A5U1Y1NU1NM1lMWVY1QzBMMQ$$.jpg&instId=&type=download","url":"/ossFileHandle?appType=APP_K6IGJJ6PFAARLPDSWKXQ&fileName=APP_K6IGJJ6PFAARLPDSWKXQ_MTczMjU1NjYyMzg3MzI0NF8wUDk2NlQ2MVIzR1lHV1RaMjMxQ1A5U1Y1NU1NM1lMWVY1QzBMMQ$$.jpg&instId=&type=download"}]},"fieldDataUpdated":false,"fieldId":"attachmentField_l0ghkwv3","format":null,"formatControls":null,"listNum":null,"options":[],"rowId":null}] * * @var string */ public $instanceValue; /** * @example 2021-05-01 * * @var string */ public $modifiedTimeGMT; /** * @example manager123 * * @var string */ public $modifier; /** * @var modifyUser */ public $modifyUser; /** * @var originator */ public $originator; /** * @example IMPORT-388664B1BAUVB3AYZE1RIUE88TDM1QI9WIOWK2 * * @var string */ public $sequence; /** * @example YIDA909202202250027 * * @var string */ public $serialNumber; /** * @example 李四发起的请购单 * * @var string */ public $title; /** * @example 1.0 * * @var int */ public $version; protected $_name = [ 'createTimeGMT' => 'createTimeGMT', 'creatorUserId' => 'creatorUserId', 'formData' => 'formData', 'formInstanceId' => 'formInstanceId', 'formUuid' => 'formUuid', 'id' => 'id', 'instanceValue' => 'instanceValue', 'modifiedTimeGMT' => 'modifiedTimeGMT', 'modifier' => 'modifier', 'modifyUser' => 'modifyUser', 'originator' => 'originator', 'sequence' => 'sequence', 'serialNumber' => 'serialNumber', 'title' => 'title', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTimeGMT) { $res['createTimeGMT'] = $this->createTimeGMT; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->formData) { $res['formData'] = $this->formData; } if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->instanceValue) { $res['instanceValue'] = $this->instanceValue; } if (null !== $this->modifiedTimeGMT) { $res['modifiedTimeGMT'] = $this->modifiedTimeGMT; } if (null !== $this->modifier) { $res['modifier'] = $this->modifier; } if (null !== $this->modifyUser) { $res['modifyUser'] = null !== $this->modifyUser ? $this->modifyUser->toMap() : null; } if (null !== $this->originator) { $res['originator'] = null !== $this->originator ? $this->originator->toMap() : null; } if (null !== $this->sequence) { $res['sequence'] = $this->sequence; } if (null !== $this->serialNumber) { $res['serialNumber'] = $this->serialNumber; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTimeGMT'])) { $model->createTimeGMT = $map['createTimeGMT']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['formData'])) { $model->formData = $map['formData']; } if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['instanceValue'])) { $model->instanceValue = $map['instanceValue']; } if (isset($map['modifiedTimeGMT'])) { $model->modifiedTimeGMT = $map['modifiedTimeGMT']; } if (isset($map['modifier'])) { $model->modifier = $map['modifier']; } if (isset($map['modifyUser'])) { $model->modifyUser = modifyUser::fromMap($map['modifyUser']); } if (isset($map['originator'])) { $model->originator = originator::fromMap($map['originator']); } if (isset($map['sequence'])) { $model->sequence = $map['sequence']; } if (isset($map['serialNumber'])) { $model->serialNumber = $map['serialNumber']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationResponseBody/data/modifyUser.php000064400000002430146412132660024247 0ustar00 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = null !== $this->name ? $this->name->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return modifyUser */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = name::fromMap($map['name']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationResponseBody/data/modifyUser/name.php000064400000002424146412132660025172 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } return $res; } /** * @param array $map * * @return name */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationResponseBody/data/originator.php000064400000002430146412132660024276 0ustar00 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = null !== $this->name ? $this->name->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return originator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = name::fromMap($map['name']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/SearchFormDataSecondGenerationResponseBody/data/originator/name.php000064400000002424146412132660025221 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } return $res; } /** * @param array $map * * @return name */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } return $model; } } src/yida_1_0/Models/SearchFormDatasHeaders.php000064400000002332146412132660015163 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchFormDatasHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/SearchFormDatasRequest.php000064400000014217146412132660015245 0ustar00 'appType', 'createFromTimeGMT' => 'createFromTimeGMT', 'createToTimeGMT' => 'createToTimeGMT', 'currentPage' => 'currentPage', 'dynamicOrder' => 'dynamicOrder', 'formUuid' => 'formUuid', 'language' => 'language', 'modifiedFromTimeGMT' => 'modifiedFromTimeGMT', 'modifiedToTimeGMT' => 'modifiedToTimeGMT', 'originatorId' => 'originatorId', 'pageSize' => 'pageSize', 'searchFieldJson' => 'searchFieldJson', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->createFromTimeGMT) { $res['createFromTimeGMT'] = $this->createFromTimeGMT; } if (null !== $this->createToTimeGMT) { $res['createToTimeGMT'] = $this->createToTimeGMT; } if (null !== $this->currentPage) { $res['currentPage'] = $this->currentPage; } if (null !== $this->dynamicOrder) { $res['dynamicOrder'] = $this->dynamicOrder; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->modifiedFromTimeGMT) { $res['modifiedFromTimeGMT'] = $this->modifiedFromTimeGMT; } if (null !== $this->modifiedToTimeGMT) { $res['modifiedToTimeGMT'] = $this->modifiedToTimeGMT; } if (null !== $this->originatorId) { $res['originatorId'] = $this->originatorId; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchFieldJson) { $res['searchFieldJson'] = $this->searchFieldJson; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SearchFormDatasRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['createFromTimeGMT'])) { $model->createFromTimeGMT = $map['createFromTimeGMT']; } if (isset($map['createToTimeGMT'])) { $model->createToTimeGMT = $map['createToTimeGMT']; } if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } if (isset($map['dynamicOrder'])) { $model->dynamicOrder = $map['dynamicOrder']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['modifiedFromTimeGMT'])) { $model->modifiedFromTimeGMT = $map['modifiedFromTimeGMT']; } if (isset($map['modifiedToTimeGMT'])) { $model->modifiedToTimeGMT = $map['modifiedToTimeGMT']; } if (isset($map['originatorId'])) { $model->originatorId = $map['originatorId']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchFieldJson'])) { $model->searchFieldJson = $map['searchFieldJson']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/SearchFormDatasResponse.php000064400000002726146412132660015415 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchFormDatasResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchFormDatasResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/SearchFormDatasResponseBody.php000064400000004001146412132660016217 0ustar00 'currentPage', 'data' => 'data', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->currentPage) { $res['currentPage'] = $this->currentPage; } 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->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return SearchFormDatasResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['currentPage'])) { $model->currentPage = $map['currentPage']; } 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['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/yida_1_0/Models/SearchFormDatasResponseBody/data.php000064400000016506146412132660017145 0ustar00 'createdTimeGMT', 'creatorUserId' => 'creatorUserId', 'dataId' => 'dataId', 'formData' => 'formData', 'formInstanceId' => 'formInstanceId', 'formUuid' => 'formUuid', 'instanceValue' => 'instanceValue', 'modelUuid' => 'modelUuid', 'modifiedTimeGMT' => 'modifiedTimeGMT', 'modifierUserId' => 'modifierUserId', 'modifyUser' => 'modifyUser', 'originator' => 'originator', 'sequence' => 'sequence', 'serialNo' => 'serialNo', 'title' => 'title', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createdTimeGMT) { $res['createdTimeGMT'] = $this->createdTimeGMT; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->dataId) { $res['dataId'] = $this->dataId; } if (null !== $this->formData) { $res['formData'] = $this->formData; } if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->instanceValue) { $res['instanceValue'] = $this->instanceValue; } if (null !== $this->modelUuid) { $res['modelUuid'] = $this->modelUuid; } if (null !== $this->modifiedTimeGMT) { $res['modifiedTimeGMT'] = $this->modifiedTimeGMT; } if (null !== $this->modifierUserId) { $res['modifierUserId'] = $this->modifierUserId; } if (null !== $this->modifyUser) { $res['modifyUser'] = null !== $this->modifyUser ? $this->modifyUser->toMap() : null; } if (null !== $this->originator) { $res['originator'] = null !== $this->originator ? $this->originator->toMap() : null; } if (null !== $this->sequence) { $res['sequence'] = $this->sequence; } if (null !== $this->serialNo) { $res['serialNo'] = $this->serialNo; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createdTimeGMT'])) { $model->createdTimeGMT = $map['createdTimeGMT']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['dataId'])) { $model->dataId = $map['dataId']; } if (isset($map['formData'])) { $model->formData = $map['formData']; } if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['instanceValue'])) { $model->instanceValue = $map['instanceValue']; } if (isset($map['modelUuid'])) { $model->modelUuid = $map['modelUuid']; } if (isset($map['modifiedTimeGMT'])) { $model->modifiedTimeGMT = $map['modifiedTimeGMT']; } if (isset($map['modifierUserId'])) { $model->modifierUserId = $map['modifierUserId']; } if (isset($map['modifyUser'])) { $model->modifyUser = modifyUser::fromMap($map['modifyUser']); } if (isset($map['originator'])) { $model->originator = originator::fromMap($map['originator']); } if (isset($map['sequence'])) { $model->sequence = $map['sequence']; } if (isset($map['serialNo'])) { $model->serialNo = $map['serialNo']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/yida_1_0/Models/SearchFormDatasResponseBody/data/modifyUser.php000064400000002403146412132660021262 0ustar00 'userId', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userName) { $res['userName'] = null !== $this->userName ? $this->userName->toMap() : null; } return $res; } /** * @param array $map * * @return modifyUser */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = userName::fromMap($map['userName']); } return $model; } } src/yida_1_0/Models/SearchFormDatasResponseBody/data/modifyUser/userName.php000064400000003056146412132660023046 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return userName */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/yida_1_0/Models/SearchFormDatasResponseBody/data/originator.php000064400000002403146412132660021311 0ustar00 'userId', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userName) { $res['userName'] = null !== $this->userName ? $this->userName->toMap() : null; } return $res; } /** * @param array $map * * @return originator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = userName::fromMap($map['userName']); } return $model; } } src/yida_1_0/Models/SearchFormDatasResponseBody/data/originator/userName.php000064400000003056146412132660023075 0ustar00 'nameInChinese', 'nameInEnglish' => 'nameInEnglish', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nameInChinese) { $res['nameInChinese'] = $this->nameInChinese; } if (null !== $this->nameInEnglish) { $res['nameInEnglish'] = $this->nameInEnglish; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return userName */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nameInChinese'])) { $model->nameInChinese = $map['nameInChinese']; } if (isset($map['nameInEnglish'])) { $model->nameInEnglish = $map['nameInEnglish']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/yida_1_0/Models/StartInstanceHeaders.php000064400000002326146412132660014742 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return StartInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/StartInstanceRequest.php000064400000006451146412132660015022 0ustar00 'appType', 'departmentId' => 'departmentId', 'formDataJson' => 'formDataJson', 'formUuid' => 'formUuid', 'language' => 'language', 'processCode' => 'processCode', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->formDataJson) { $res['formDataJson'] = $this->formDataJson; } if (null !== $this->formUuid) { $res['formUuid'] = $this->formUuid; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return StartInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['formDataJson'])) { $model->formDataJson = $map['formDataJson']; } if (isset($map['formUuid'])) { $model->formUuid = $map['formUuid']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/StartInstanceResponse.php000064400000002716146412132660015170 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return StartInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = StartInstanceResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/StartInstanceResponseBody.php000064400000001565146412132660016007 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return StartInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/TerminateCloudAuthorizationHeaders.php000064400000002362146412132660017660 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return TerminateCloudAuthorizationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/TerminateCloudAuthorizationRequest.php000064400000003105146412132660017731 0ustar00 'accessKey', 'callerUnionId' => 'callerUnionId', 'instanceId' => 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUnionId) { $res['callerUnionId'] = $this->callerUnionId; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return TerminateCloudAuthorizationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUnionId'])) { $model->callerUnionId = $map['callerUnionId']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/yida_1_0/Models/TerminateCloudAuthorizationResponse.php000064400000003006146412132660020077 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return TerminateCloudAuthorizationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = TerminateCloudAuthorizationResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/TerminateCloudAuthorizationResponseBody.php000064400000001523146412132660020717 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return TerminateCloudAuthorizationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/TerminateInstanceHeaders.php000064400000002336146412132660015576 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return TerminateInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/TerminateInstanceRequest.php000064400000004403146412132660015650 0ustar00 'appType', 'language' => 'language', 'processInstanceId' => 'processInstanceId', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return TerminateInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/TerminateInstanceResponse.php000064400000002166146412132660016022 0ustar00 '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 TerminateInstanceResponse */ 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/yida_1_0/Models/UpdateCloudAccountInformationHeaders.php000064400000002366146412132660020120 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateCloudAccountInformationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/UpdateCloudAccountInformationRequest.php000064400000003717146412132660020176 0ustar00 'accessKey', 'accountNumber' => 'accountNumber', 'callerUnionId' => 'callerUnionId', 'commodityType' => 'commodityType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->accountNumber) { $res['accountNumber'] = $this->accountNumber; } if (null !== $this->callerUnionId) { $res['callerUnionId'] = $this->callerUnionId; } if (null !== $this->commodityType) { $res['commodityType'] = $this->commodityType; } return $res; } /** * @param array $map * * @return UpdateCloudAccountInformationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['accountNumber'])) { $model->accountNumber = $map['accountNumber']; } if (isset($map['callerUnionId'])) { $model->callerUnionId = $map['callerUnionId']; } if (isset($map['commodityType'])) { $model->commodityType = $map['commodityType']; } return $model; } } src/yida_1_0/Models/UpdateCloudAccountInformationResponse.php000064400000003016146412132660020334 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateCloudAccountInformationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateCloudAccountInformationResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/UpdateCloudAccountInformationResponseBody.php000064400000001527146412132660021157 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateCloudAccountInformationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/UpdateFormDataHeaders.php000064400000002330146412132660015013 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateFormDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/UpdateFormDataRequest.php000064400000011140146412132660015067 0ustar00 'appType', 'formInstanceId' => 'formInstanceId', 'language' => 'language', 'systemToken' => 'systemToken', 'updateFormDataJson' => 'updateFormDataJson', 'useLatestVersion' => 'useLatestVersion', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->formInstanceId) { $res['formInstanceId'] = $this->formInstanceId; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->updateFormDataJson) { $res['updateFormDataJson'] = $this->updateFormDataJson; } if (null !== $this->useLatestVersion) { $res['useLatestVersion'] = $this->useLatestVersion; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateFormDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['formInstanceId'])) { $model->formInstanceId = $map['formInstanceId']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['updateFormDataJson'])) { $model->updateFormDataJson = $map['updateFormDataJson']; } if (isset($map['useLatestVersion'])) { $model->useLatestVersion = $map['useLatestVersion']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/UpdateFormDataResponse.php000064400000002160146412132660015237 0ustar00 '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 UpdateFormDataResponse */ 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/yida_1_0/Models/UpdateInstanceHeaders.php000064400000002330146412132660015062 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/UpdateInstanceRequest.php000064400000005177146412132660015153 0ustar00 'appType', 'language' => 'language', 'processInstanceId' => 'processInstanceId', 'systemToken' => 'systemToken', 'updateFormDataJson' => 'updateFormDataJson', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->updateFormDataJson) { $res['updateFormDataJson'] = $this->updateFormDataJson; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['updateFormDataJson'])) { $model->updateFormDataJson = $map['updateFormDataJson']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/UpdateInstanceResponse.php000064400000002160146412132660015306 0ustar00 '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 UpdateInstanceResponse */ 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/yida_1_0/Models/UpdateStatusHeaders.php000064400000002324146412132660014604 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/UpdateStatusRequest.php000064400000005230146412132660014660 0ustar00 'appType', 'errorLines' => 'errorLines', 'importSequence' => 'importSequence', 'language' => 'language', 'status' => 'status', 'systemToken' => 'systemToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->errorLines) { $res['errorLines'] = $this->errorLines; } if (null !== $this->importSequence) { $res['importSequence'] = $this->importSequence; } if (null !== $this->language) { $res['language'] = $this->language; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->systemToken) { $res['systemToken'] = $this->systemToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['errorLines'])) { if (!empty($map['errorLines'])) { $model->errorLines = $map['errorLines']; } } if (isset($map['importSequence'])) { $model->importSequence = $map['importSequence']; } if (isset($map['language'])) { $model->language = $map['language']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['systemToken'])) { $model->systemToken = $map['systemToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/yida_1_0/Models/UpdateStatusResponse.php000064400000002154146412132660015030 0ustar00 '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 UpdateStatusResponse */ 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/yida_1_0/Models/UpgradeTenantInformationHeaders.php000064400000002354146412132660017130 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpgradeTenantInformationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/UpgradeTenantInformationRequest.php000064400000003705146412132660017206 0ustar00 'accessKey', 'accountNumber' => 'accountNumber', 'callerUnionId' => 'callerUnionId', 'commodityType' => 'commodityType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->accountNumber) { $res['accountNumber'] = $this->accountNumber; } if (null !== $this->callerUnionId) { $res['callerUnionId'] = $this->callerUnionId; } if (null !== $this->commodityType) { $res['commodityType'] = $this->commodityType; } return $res; } /** * @param array $map * * @return UpgradeTenantInformationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['accountNumber'])) { $model->accountNumber = $map['accountNumber']; } if (isset($map['callerUnionId'])) { $model->callerUnionId = $map['callerUnionId']; } if (isset($map['commodityType'])) { $model->commodityType = $map['commodityType']; } return $model; } } src/yida_1_0/Models/UpgradeTenantInformationResponse.php000064400000002772146412132660017357 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpgradeTenantInformationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpgradeTenantInformationResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/UpgradeTenantInformationResponseBody.php000064400000001515146412132660020167 0ustar00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpgradeTenantInformationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/yida_1_0/Models/ValidateApplicationAuthorizationOrderHeaders.php000064400000002406146412132660021651 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ValidateApplicationAuthorizationOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ValidateApplicationAuthorizationOrderRequest.php000064400000002313146412132660021723 0ustar00 'accessKey', 'callerUnionId' => 'callerUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUnionId) { $res['callerUnionId'] = $this->callerUnionId; } return $res; } /** * @param array $map * * @return ValidateApplicationAuthorizationOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUnionId'])) { $model->callerUnionId = $map['callerUnionId']; } return $model; } } src/yida_1_0/Models/ValidateApplicationAuthorizationOrderResponse.php000064400000003056146412132660022076 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ValidateApplicationAuthorizationOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ValidateApplicationAuthorizationOrderResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ValidateApplicationAuthorizationOrderResponseBody.php000064400000002176146412132660022716 0ustar00 'message', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->message) { $res['message'] = $this->message; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return ValidateApplicationAuthorizationOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/yida_1_0/Models/ValidateApplicationAuthorizationServiceOrderHeaders.php000064400000002424146412132660023172 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ValidateApplicationAuthorizationServiceOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ValidateApplicationAuthorizationServiceOrderRequest.php000064400000001610146412132660023243 0ustar00 'accessKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } return $res; } /** * @param array $map * * @return ValidateApplicationAuthorizationServiceOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } return $model; } } src/yida_1_0/Models/ValidateApplicationAuthorizationServiceOrderResponse.php000064400000003112146412132660023410 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ValidateApplicationAuthorizationServiceOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ValidateApplicationAuthorizationServiceOrderResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ValidateApplicationAuthorizationServiceOrderResponseBody.php000064400000002214146412132660024230 0ustar00 'message', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->message) { $res['message'] = $this->message; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return ValidateApplicationAuthorizationServiceOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/yida_1_0/Models/ValidateApplicationServiceOrderUpgradeHeaders.php000064400000002410146412132660021714 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ValidateApplicationServiceOrderUpgradeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ValidateApplicationServiceOrderUpgradeRequest.php000064400000001635146412132660022001 0ustar00 'accessKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } return $res; } /** * @param array $map * * @return ValidateApplicationServiceOrderUpgradeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } return $model; } } src/yida_1_0/Models/ValidateApplicationServiceOrderUpgradeResponse.php000064400000003062146412132660022143 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ValidateApplicationServiceOrderUpgradeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ValidateApplicationServiceOrderUpgradeResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ValidateApplicationServiceOrderUpgradeResponseBody.php000064400000002200146412132660022752 0ustar00 'message', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->message) { $res['message'] = $this->message; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return ValidateApplicationServiceOrderUpgradeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/yida_1_0/Models/ValidateOrderBuyHeaders.php000064400000002334146412132660015364 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ValidateOrderBuyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ValidateOrderBuyRequest.php000064400000002171146412132660015440 0ustar00 'accessKey', 'callerUid' => 'callerUid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUid) { $res['callerUid'] = $this->callerUid; } return $res; } /** * @param array $map * * @return ValidateOrderBuyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUid'])) { $model->callerUid = $map['callerUid']; } return $model; } } src/yida_1_0/Models/ValidateOrderBuyResponse.php000064400000002732146412132660015611 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ValidateOrderBuyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ValidateOrderBuyResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ValidateOrderBuyResponseBody.php000064400000002124146412132660016422 0ustar00 'message', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->message) { $res['message'] = $this->message; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return ValidateOrderBuyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/yida_1_0/Models/ValidateOrderUpdateHeaders.php000064400000002342146412132660016046 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ValidateOrderUpdateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ValidateOrderUpdateRequest.php000064400000002177146412132660016131 0ustar00 'accessKey', 'callerUid' => 'callerUid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUid) { $res['callerUid'] = $this->callerUid; } return $res; } /** * @param array $map * * @return ValidateOrderUpdateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUid'])) { $model->callerUid = $map['callerUid']; } return $model; } } src/yida_1_0/Models/ValidateOrderUpdateResponse.php000064400000002746146412132660016301 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ValidateOrderUpdateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ValidateOrderUpdateResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ValidateOrderUpdateResponseBody.php000064400000002132146412132660017104 0ustar00 'message', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->message) { $res['message'] = $this->message; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return ValidateOrderUpdateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/yida_1_0/Models/ValidateOrderUpgradeHeaders.php000064400000002344146412132660016215 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ValidateOrderUpgradeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yida_1_0/Models/ValidateOrderUpgradeRequest.php000064400000002665146412132660016300 0ustar00 'accessKey', 'callerUid' => 'callerUid', 'instanceId' => 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKey) { $res['accessKey'] = $this->accessKey; } if (null !== $this->callerUid) { $res['callerUid'] = $this->callerUid; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return ValidateOrderUpgradeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKey'])) { $model->accessKey = $map['accessKey']; } if (isset($map['callerUid'])) { $model->callerUid = $map['callerUid']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/yida_1_0/Models/ValidateOrderUpgradeResponse.php000064400000002752146412132660016443 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ValidateOrderUpgradeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ValidateOrderUpgradeResponseBody::fromMap($map['body']); } return $model; } } src/yida_1_0/Models/ValidateOrderUpgradeResponseBody.php000064400000002134146412132660017253 0ustar00 'message', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->message) { $res['message'] = $this->message; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return ValidateOrderUpgradeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/yun_shu_1_0/Dingtalk.php000064400000006277146412132660011753 0ustar00_client = new DarabonbaGatewayDingTalkClient(); $this->_spi = $this->_client; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @param SaveOpenExternalLogRequest $request * @param SaveOpenExternalLogHeaders $headers * @param RuntimeOptions $runtime * * @return SaveOpenExternalLogResponse */ public function saveOpenExternalLogWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->logSource)) { $body['logSource'] = $request->logSource; } if (!Utils::isUnset($request->logType)) { $body['logType'] = $request->logType; } if (!Utils::isUnset($request->openExt)) { $body['openExt'] = $request->openExt; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SaveOpenExternalLog', 'version' => 'yunShu_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/yunShu/externalLogs/save', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveOpenExternalLogResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @param SaveOpenExternalLogRequest $request * * @return SaveOpenExternalLogResponse */ public function saveOpenExternalLog($request) { $runtime = new RuntimeOptions([]); $headers = new SaveOpenExternalLogHeaders([]); return $this->saveOpenExternalLogWithOptions($request, $headers, $runtime); } } src/yun_shu_1_0/Models/SaveOpenExternalLogHeaders.php000064400000002345146412132660016612 0ustar00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveOpenExternalLogHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/yun_shu_1_0/Models/SaveOpenExternalLogRequest.php000064400000003633146412132660016670 0ustar00 'corpId', 'logSource' => 'logSource', 'logType' => 'logType', 'openExt' => 'openExt', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->logSource) { $res['logSource'] = $this->logSource; } if (null !== $this->logType) { $res['logType'] = $this->logType; } if (null !== $this->openExt) { $res['openExt'] = $this->openExt; } return $res; } /** * @param array $map * * @return SaveOpenExternalLogRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['logSource'])) { $model->logSource = $map['logSource']; } if (isset($map['logType'])) { $model->logType = $map['logType']; } if (isset($map['openExt'])) { $model->openExt = $map['openExt']; } return $model; } } src/yun_shu_1_0/Models/SaveOpenExternalLogResponse.php000064400000002751146412132660017036 0ustar00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveOpenExternalLogResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveOpenExternalLogResponseBody::fromMap($map['body']); } return $model; } } src/yun_shu_1_0/Models/SaveOpenExternalLogResponseBody.php000064400000001517146412132660017653 0ustar00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SaveOpenExternalLogResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } }